Hi,

I'm want to mux video and audio packets into one mp4 file, where aac is used as 
audio encoder.


https://developer.apple.com/library/mac/documentation/QuickTime/QTFF/QTFFAppenG/QTFFAppenG.html


As the above link shows, aac encoder has priming samples at the start and 
remainder samples in the end, which should be removed in player site to keep av 
sync. The above url link shows solution to avoid av desync, i.e. using edit 
list or sample group structure.


Generally, write_frame() is used to write video/audio packets. What we can do 
is set pts, dts, and duration. How to create edit list entry or sample group 
structure to mark priming and remainder samples in mp4 file? Does ffmpeg have  
examples for this kind of issue?


Thanks!


B.R.


Andrew





_______________________________________________
Libav-user mailing list
Libav-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user

Reply via email to