Talk:Render options

From Synfig Studio :: Documentation
Revision as of 14:54, 19 October 2007 by Genete (Talk | contribs) (Reply to Pxegeek)

Jump to: navigation, search

I have to say that ffmpeg will take care about the extension of the file you're passing with the file name. In this way you can make a mov or a flv juts selecting ffmpeg and adding the proper extension to the file name.

When you select the extension you're selecting the container and not the codec. The codec is the one that is defined internally in the composed command line that the program send to ffmpeg. BTW it could be a cool feature to have the opportunity to select the codec and the main parameters like cinelerra does.

Almost in linux I can create .mov .flv .avi and .mpg (different containers) with same internal codec MPEG (libmpeg2).

So it is not needed to render to a png sequence and later use ffmpeg due to you can do it directly using synfig, almost in linux. --Genete 10:02, 18 October 2007 (EDT)

Can I ask you a favour? Can you go through and test that all the formats do render correctly under Linux - I'm assuming they do, but dooglus couldn't confirm.
I agree that rendering to the ffmpeg target allows you to change the extension of the filename. However, the ffmpeg target right now is hard coded to use the mpeg1video codec, no matter what the extension supplied is. So I don't know if that is creating a .mov, .flv, .avi file, but you may well get a mpg file with a .mov, .flv or .avi file extension....

The hardcoded commandline Synfig uses is:-

ffmpeg -f image2pipe -vcodec ppm -an -r %f -i pipe: -loop -hq -title \"%s\" -vcodec mpeg1video -y \"%s\"
where %f is the framerate, the first %s is the canvas title and the second %s is the filename.

So, if you want to create a .flv file, I can't see how you would do it except by exporting the individual frames and then manually setting up the ffmpeg command line. (Unless you're doing some clever magic with ffmpeg under Linux that Synfig doesn't know about)

Also, under Windows, the ffmpeg target has been broken up to SVN 934 (17 October 2007)
P.S. I just tried rendering from Synfig with ffmpeg to a .flv file and got a 0 byte file...Hmmmm.... Pxegeek 01:37, 19 October 2007 (EDT)


OK, I'll do it and update to the Render Options page and to this talk page. Also I'll upload the file results to let you (or others) verify if the file is correct or not. I'll include my ffmpeg version (maybe it is important).--Genete 08:54, 19 October 2007 (EDT)