This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

HOW I CAN CUT THE STRAM ENCODE MPEG4

Hello ,

I wanted to modify the encode sample to record multiple video streams of 1 minute, once the time is up (1 minute) I close the file and i open a new file for the second flow but the problem that VLC can not play this file.

I looked in the stream MPEG4 should be cut was a good place, so either after 00 00 01 (b0 or b5 or between 00 and 1f), but the problem that in my second flow I have only  00 00 01 b6.

I thought about changing the dynParams-> intraFrameInterval = 25; for several image i and not only at the beginning but it is always the same problem

Thank you !