[Libav-user] Motion vector extraction

2012-04-30 Thread Vadim Kantorov
Hi all, I'm using libavformat / libavcodec to extract motion vectors from files encoded by different codecs (MPEG-2, H.264,...). Do I understand correctly that if motion vectors exist for macro-block or can be predicted, they are available in the motion_val field? What happens when a macro-block

Re: [Libav-user] Frame order from TS demux - mpeg2video vs h264

2012-04-30 Thread jettoblack
On Mon, Apr 30, 2012 at 2:51 AM, Kalileo [via libav-users] < ml-node+s943685n4597541...@n4.nabble.com> wrote: > > The decoder gives you the (decoded) pictures in the correct order. > > That's what I expected, and it does for MPEG-2 codec video, but not for H.264 codec within a MPEG-2 transport str

Re: [Libav-user] Frame order from TS demux - mpeg2video vs h264

2012-04-30 Thread Carl Eugen Hoyos
jettoblack writes: > I tried that and for H.264 it's definitely wrong if I use the frames > in-order from the demuxer. It does work fine for MPEG-2 video. > > Should I file a bug report? Is the problem reproducible with ffmpeg -i input -qscale 2 out.avi or ffplay file ? Carl Eugen _