On Fri, Jan 29, 2016 at 1:33 PM, Hendrik Leppkes <h.lepp...@gmail.com> wrote:
> You could of course pack both field-pictures into the same AVPacket, > but that doesn't yield you proper timestamps for the second, and will > probably also screw up a bunch of other things later on. > Packing both pictures into the same AVPacket was what I did. > Did you properly test this on longer video sequences? Either it screws > up somewhere, or it'll buffer half the fields until EOS, resulting in > massive memory requirements. > I tried it with mpegts using 600 full-hd frames, and it seemed to work fine. It does say "cur_dts is invalid (this is harmless if it occurs once at the start per stream)" twice at the start of the stream, but otherwise everything seems to work. All frames are there in correct order after demuxing. I now tried it mp4, and that does break. The file kind of plays but there are obviously missing references.If I encode with all-intra the file plays in media player classic, but not with ffplay. So I guess this is not ok after all. Is there a filter that turns the frame into fields within ffmpeg? I can't find one. -Ari _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel