[Ffmpeg-devel] [PATCH] set interlaced_frame and top_field_first in yuv4mpeg
Thu Feb 2 16:22:06 CET 2006
now that libavcodec/raw.c permits to set the interlaced_frame and
top_field_first fields, formats using it can take advantage of such
As promised, here is a patch for libavformat/yuv4mpeg.c to correctly (I
hope :) set the two fields.
I quickly tested it, and works ok in my testcase (I captured a .y4m file
from a tv card with
./ffmpeg -y -vd /dev/video0 -ad /dev/dsp0 -pix_fmt yuv420p -s 352x288 test.y4m
and then read it with libavcodec, checking interlaced_frame and
top_field_first in the frames that I was reading from the file).
Copy this in your signature, if you think it is important:
N O W A R ! ! !
Email.it, the professional e-mail, gratis per te: http://www.email.it/f
Prova GRATIS per 15 giorni! DVDNetRent e ricevi a casa 3 film. Puoi scegliere tra migliaia di titoli
Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=4632&d=2-2
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 3080 bytes
Desc: not available
More information about the ffmpeg-devel