On 27/02/2009, at 8:15 AM, Roman V. Shaposhnik wrote:

>
> ffmpeg doesn't care what's the input:
>    $ ./ffmpeg -i test.dv -f yuv4mpegpipe test.yuv

For conversion to Y4M, I'm gonna plug my avcodec to y4m tool:

http://silicontrip.net/~mark/lavtools/index.php#libav2yuv

As for converting y4m to DV.

Make sure you are using a supported resolution and frame rate. DV is  
very inflexible when it comes to this.

FFMpeg will read y4m and write a dv file...

libav2yuv yourfile.avi | yourstabilizer | ffmpeg -f yuv4mpegpipe -i -  
yourdv.dv

However I have had marginal success with FFMPEG reading DV files.   
Many of the DV files I have ffmpeg (libavcodec) will skip large  
amounts of frames.  Quicktime works fine with the DV files.

If you want the sound copied from the source you'll need to use some  
mapping magic, unfortunately I don't remember the exact command line,  
but this might get you started:

libav2yuv yourfile.avi | yourstabilizer | ffmpeg -f yuv4mpegpipe -i - - 
i yourfile.avi -map 0.0 -map 1.1 yourdv.dv


Mark

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users

Reply via email to