logo       

change field order: msg#00238

video.ffmpeg.user

Subject: change field order


Le 20 févr. 06 à 00:46, ffmpeg-user-request@xxxxxxxxxxxx a écrit :


Message: 7
Date: Mon, 20 Feb 2006 00:28:49 +0300
From: Sergey Minaev <sergey_minaev@xxxxxxx>
Subject: [Ffmpeg-user] change field order
To: ffmpeg-user@xxxxxxxxxxxx
Message-ID: <FB9B1982-319D-464A-9A8F-241A3712B5F7@xxxxxxx>
Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed

Hi,

I need to change field order when converting from MJPEG to DV.
I am trying '-top' option but it seems not to work, with any values
(0, 1, -1) results are equal.

Does anybody know the way to change field order with ffmpeg?

Thanks!

--
sergey


use mjpeg tools for that
yuvscaler or yuvcorrect in the newer version (if I well remember)
y4mscaler make this job too

the -top option only say what field must be read first (bottom=0, top=1 or auto=write first field from "input reading")

if you want to change field order (for example switch lines from an input top-field-first to a dv output bottom-field-first) take a look to the mjpegtools

It will be something like that
ffmpeg -i <decoding>... -f yuv4mpegpipe | <mjpegtool switching lines> | ffmpeg <encoding>

bye

Hervé

<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise