[Libav-user] is possible to hack av_write_trailer to write moov atom at the beginning?

2013-07-11 Thread Wenbin Ma
Hi, I want to use ffmpeg library to encode a h264 mp4 for http progressive streaming. However ffmpeg added the moov atom at the end when calling api: av_write_trailer. My basic idea is override the API: av_write_trailer to write moove atom at the beginning. For example, I have a 5 second

Re: [Libav-user] is possible to hack av_write_trailer to write moov atom at the beginning?

2013-07-11 Thread Andrey Utkin
Maybe you want to use quickstart option of mp4 muxer. -- Andrey Utkin ___ Libav-user mailing list Libav-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/libav-user

Re: [Libav-user] is possible to hack av_write_trailer to write moov atom at the beginning?

2013-07-11 Thread Anshul
On 07/11/2013 12:50 PM, Wenbin Ma wrote: Hi, I want to use ffmpeg library to encode a h264 mp4 for http progressive streaming. However ffmpeg added the moov atom at the end when calling api: av_write_trailer. My basic idea is override the API: av_write_trailer to write moove atom at the

Re: [Libav-user] is possible to hack av_write_trailer to write moov atom at the beginning?

2013-07-11 Thread Wenbin Ma
Thanks for your reply. I'm build an application linked with libavcodec.so, libavformat.so, libswscale.so, libavutil.so. how to debug into the code of these shared objects? Thanks, Wenbin On 07/11/2013 03:39 PM, Anshul wrote: On 07/11/2013 12:50 PM, Wenbin Ma wrote: Hi, I want to use

Re: [Libav-user] is possible to hack av_write_trailer to write moov atom at the beginning?

2013-07-11 Thread Carl Eugen Hoyos
Wenbin Ma wenbin.ma@... writes: I'm build an application linked with libavcodec.so, libavformat.so, libswscale.so, libavutil.so. how to debug into the code of these shared objects? configure with --disable-stripping Please do not top-post here, it is considered rude. Carl Eugen