Michael Niedermayer wrote:
Hi
On Wednesday 11 May 2005 16:47, Michel Bardiaux wrote:
Rich Felker wrote:
On Wed, May 11, 2005 at 11:53:20AM +0530, Mangesh Kulkarni wrote:
Hello, What should be the change in following command to convert 4:2:0 planar to 4:2:2 packed?
ffmpeg -s 720x576 -f rawvideo -pix_fmt yuv420p -i src.yuv -s 720x576 -f rawvideo -pix_fmt yuv422p dst.yuv
Specify yuv422 for output, not yuv422p.
I told you, if you do this to interlaced video without special care you'll ruin it!!
You mean, img_convert is broken?
yes, use the swscaler from mplayer/mencoder,
Cant do that, its GPL (and ISTR there was talk about changing it to LGPL, any news on that?)
img_convert will butcher interlaced video IIRC
Richard makes a lot of noise but not much info. I just found I had asked a related question some month ago, never got a clear answer: assume I have an YUV420P image, 768x576, 2 interlaced fields, what do I with lavc to zoom it down by 2? Do I need to apply the deinterlace filter first? Richard also mentionned (I think) that when it comes from a BT878, 420P is broken. So, same question w.r.t. YUV422P. And if lavc butchers the image, please you or Richard tell me exactly what, then maybe I will be able to fix it.
[...]
-- Michel Bardiaux Peaktime Belgium S.A. Bd. du Souverain, 191 B-1160 Bruxelles Tel : +32 2 790.29.41