[FFmpeg-user] converting 1080 to 720 mpeg2

Andy Sheen sheen.andy at googlemail.com
Tue Feb 28 10:05:17 CET 2012



Ian Evans wrote on Tue 28 Feb at 8:58 UK time
> On Tue, Feb 28, 2012 at 2:52 AM, John Saturday <stozher at gmail.com> wrote:
>> ffmpeg -vsync 2 -async 1 -i video-01.mpeg -t 00:10:00.000 -f mpegts
>> -c:v rawvideo -r:v 30/1.001 -filter:v scale=1280:720 -an
>> video-01.mpeg.ts
> [snip]
> 
> Hmm, getting a "Unrecognized option 'c:v'" when I run that.
> 
> My ffmpeg was installed on a 10.10 Mythbuntu system with these
> instructions back in July 2011:
> 
> http://ubuntuforums.org/showthread.php?t=786095
> 
> Think I might have to go back and update the packages. Is c:v relatively new?

Yes. I'm using one compiled Sept 15th 2011 and it still uses the "old"
command line style. The "c:v" format was introduced October/November
time last year IIRC.

If you want to try the recode with the version you have, use:

-vcodec rawvideo -vf scale=1280:720

I think you can probably drop the rate setting (r:v 30/1.001) at least
for the test.

As you're recoding to raw video, you do realise you will need LOTS of
disk space don't you?




More information about the ffmpeg-user mailing list