FFMPEG issue

1,540 views
Skip to first unread message

Chris Miller- Pogue Planetarium

unread,
Mar 26, 2015, 8:14:45 AM3/26/15
to blende...@googlegroups.com
Last night I got a short Planetarium video from Scott Sumner at the Noble Planetarium in Fort Worth.  It is called "Monsters of the Cosmos" and it runs less than 4 minutes.  It is an M2V video clip with a 2048X2048 frame size and a separate audio track that is a .wav file.  Here is the text stream I typed to try to create a usable video for our MGIII system:

ffmpeg.exe -i <input video> -vcodec mpeg2video -qmin 1 -qmax 3 -s 1536x1536 -i <input audio> -acodec libmp3lame -ab 256k Monsters.avi

I get the following error message from ffmpeg:

Option video_size not found.

I have tried several different sequences, but nothing seems to work.  What am I doing wrong?
I appreciate your help.

Ron Proctor

unread,
Mar 26, 2015, 9:33:46 AM3/26/15
to blende...@googlegroups.com
With FFmpeg, the command order is meaningful. The order you used may have told FFmpeg to expect a 1536x1536 input size. Let's try re-ordering the commands and see how it goes:

ffmpeg.exe -i <input video> -i <input audio> -vcodec mpeg2video -qmin 1 -qmax 3 -s 1536x1536 -acodec libmp3lame -ab 256k Monsters.avi

If you still have trouble, see if you can post a screen shot of the command window. There might be something we're missing.

Chris Miller- Pogue Planetarium

unread,
Mar 26, 2015, 9:45:09 AM3/26/15
to blende...@googlegroups.com
I tried that and it is running!  I'll let you know if it works as soon as it finishes.  Thanks!
-Chris

Chris Miller- Pogue Planetarium

unread,
Mar 26, 2015, 9:53:06 AM3/26/15
to blende...@googlegroups.com
Success!!  I really need to learn more about ffmpeg.  Feel like creating a tutorial?
You are greatly appreciated.
Thanks,
-Chris

Ron Proctor

unread,
Mar 26, 2015, 10:01:10 AM3/26/15
to blende...@googlegroups.com
Woo-hoo!

I'm no expert in FFmpeg, but I have picked-up a few tricks along the way. I'll see about setting something up.

Scott Sumner

unread,
Mar 26, 2015, 10:28:32 AM3/26/15
to Chris Miller- Pogue Planetarium, blende...@googlegroups.com
Chris,

One more thing to note, I'm now using avconv, the "new" version of FFMPEG.  At least on the Linux side of things, FFMPEG is considered a retired product.  avconv works almost exactly the same and is just a new name to go with the latest version of the software.

If FFMPEG is working for you then stick with it!  But as new video formats and compressions come along you might look at the new name for the most up to date software

Scott


--
You received this message because you are subscribed to the Google Groups "Blendertarium" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blendertariu...@googlegroups.com.
Visit this group at http://groups.google.com/group/blendertarium.
To view this discussion on the web visit https://groups.google.com/d/msgid/blendertarium/44703b89-6f15-485a-a6a6-f907592855be%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Waylena McCully

unread,
Mar 26, 2015, 10:35:15 AM3/26/15
to Scott Sumner, Chris Miller- Pogue Planetarium, blende...@googlegroups.com
Oooo, thanks for that information, Scott! I use Linux for a good chunk of my work, but I had not paid attention to FFMPEG development. 

-Waylena

Waylena M. McCully
Champaign, IL
KD9ASP

Scott Sumner

unread,
Mar 26, 2015, 10:38:12 AM3/26/15
to Waylena McCully, Chris Miller- Pogue Planetarium, blende...@googlegroups.com
I stumbled upon it when I needed to run a sequence that didn't start at frame 1, the -start_frame option was added about the same time they did the new version.  Its great though because I've got a couple projects that I need Quicktimes for and avconv will knock them right out (FFMPEG might have been able to as well but I took the opportunity to switch over)

Scott

Reply all
Reply to author
Forward
0 new messages