On 1/12/16, Roger Pack <[email protected]> wrote:
> On 12/22/15, 方柏棟 <[email protected]> wrote:
>> Dear All,
>> I have bunch of .h264 raw data, could any one tell me how to use ffmpeg
>> library to mux .h264 to  fragmented mp4 files.
>> I only know how to generate fragmented mp4 file via ffmpeg.exe, like
>> below,
>>
>> ffmpeg -i xx.h264 -vcodec copy -an -f mp4 -reset_timestamps 0 \
>> -movflags empty_moov+default_base_moof+frag_keyframe -loglevel quiet
>> xxx.mp4
>
> this generated multiple mp4 files?
> Anyway since you are using libav you "control" which frames are sent
> in, so you can monitor and create new files when required.


There is also the "segment" muxer I wonder if that could be
called/setup programmatically (unfortunately I do not use libav* much
so cannot offer much help).
_______________________________________________
Libav-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/libav-user

Reply via email to