Dont you need to call av_write_trailer at the end?
2016-09-05 18:42 GMT-03:00 M N <assembler...@yandex.com>: > OK here is my code for copying frames from one video to another: > http://pastebin.com/ygXs4wAF > > Why isn't it copying? Only the header (With a different MP4 codec than the > one in vid.mp4) is written, and its not the same header as the original file, > but > _______________________________________________ > Libav-user mailing list > Libav-user@ffmpeg.org > http://ffmpeg.org/mailman/listinfo/libav-user _______________________________________________ Libav-user mailing list Libav-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/libav-user