I have written a simple remultiplexer using libavformat - it works fine for the clips I tested on while developing it, but now I have run into a clip that it cannot handle.
The clip can be downloaded at http://folk.uio.no/hakonrk/tmp/sample_h264_300kbit.mp4 This is a small (2.4 MB) demo clip that is included with the Darwin RTSP streaming server. When I try remultiplexing it with my program, the result is a file that cannot be parsed _at_all_ by ffmpeg (or any other utility), despite being approximately the right size, and looking fairly reasonable to the human eye (with a hex editor). I tried remultiplexing the same clip using the ffmpeg executable. E.g.: ffmpeg -acodec copy -vcodec copy -i sample_h264_300kbit.mp4 output.avi This works perfectly! My own program fails, despite using libavformat to do the real work. I'm sure the problem is that I've forgotten something when initializing libavformat, and I could go into detail in how I use the library, but before spending a lot of time on that, I thought I'd ask if someone here can tell me if there are known issues that would cause an MP4 file containing H.264 and AAC (coded for RTSP streaming) to be more complicated to remultiplex than other clips. Thanks in advance for any tips! -- Haakon _______________________________________________ libav-user mailing list [email protected] https://lists.mplayerhq.hu/mailman/listinfo/libav-user
