[libav-api] Re-encoding a time interval in existing video

Luca Barbato lu_zero at gentoo.org
Tue Feb 14 07:02:49 CET 2012


On 2/13/12 3:06 AM, Andrey Utkin wrote:
> I've solved my issue.
> Shortly:
> I remuxed MP4 file to Annex B format with -bsf h264_mp4toannexb.
> Then, concatenating pieces of original (Annex B) file, and pieces
> filtered/transcoded by ffmpeg succeeds.
> As i have guess, Annex B format does not depend on on global headers
> aka extradata, and all the decoding information lies in the frames.
> Please correct me if i am not right.
>

Sounds right, the current way to mix and match chunks is using mpegts 
(since you can concatenate it), possibly I'll add a faq entry about it.

lu


More information about the libav-api mailing list