Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Compression Techniques Creating video with custom frame size

  • Creating video with custom frame size

    Posted by Caio Moreira on August 7, 2010 at 3:47 pm

    Hi,

    I’m trying to generate a 3000×500 movie with FFMpeg but I get the following error: Incorrect size.
    I’m using the following arguments: -f image2 -i FILE0%d.PNG -r 25 -s wxh OUTPUT.FLV

    My question is: how can I generate a FLV movie with a custom frame size (e.g. 3000×500)?

    Thanks in advance,
    Caio

    Caio Moreira replied 15 years, 12 months ago 2 Members · 2 Replies
  • 2 Replies
  • Michael Rampe

    August 9, 2010 at 7:13 am

    This worked for me when trying to replicate your issue:

    ffmpeg -loop_input -f image2 -i test.png -r 25 -t 20 -s 3000×500 OUTPUT.FLV

    This produced a 20 second flv file which was 3000 by 500 in size.

    What version of FFmpeg do you have installed? Can you post the full terminal output for more information?

    Michael

    “half-way to world domination A.K.A. the belligerent blue bike shed”

  • Caio Moreira

    August 9, 2010 at 10:33 am

    Hi Michael,

    I could manage to get the desired output by just suppressing the ‘-s wxh’ on the command line.

    Thanks for helping,
    Caio

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy