palopezv / sinthgunt

Automatically exported from code.google.com/p/sinthgunt
GNU General Public License v3.0
0 stars 1 forks source link

Most presets fail with newer ffmpeg builds #11

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Select any of the Rockbox presets
2. Start conversion
3.

What is the expected output? What do you see instead?
Conversion fails - no output file is created

What version of the product are you using? On what operating system?
Either 2.0.2 or svn 20100912 with
ffmpeg 5:0.6~svn20100727 from the MEPIS Community Repository

Please provide any additional information below.
Newer builds of ffmpeg will no longer accept the kb suffix in -ab or -b 
switches.  So, for example, instead of -ab 128kb the switch needs to be -ab 128k

Patch to presets.xml from svn 20100912 attached that corrects all such 
swittches.

Original issue reported on code.google.com by timkb...@tampabay.rr.com on 12 Sep 2010 at 3:45

Attachments:

GoogleCodeExporter commented 9 years ago
Thank you for submitting the patch. Looks like we are having problems every 
time ffmpeg changes their command line interface.

Original comment by kare1234 on 15 Sep 2010 at 9:49

GoogleCodeExporter commented 9 years ago
There were a number of issues in my prior patch to presets.xml.
After some research, in all ffmpeg 0.6 releases

mv4 must be used instead of 4mv

-s wxh and -aspect w:h do not work with -vcodec libxvid, although they still 
work with other codecs.  using -vcodec mpeg4 results in lower quality for the 
file size.
The workaround is to use -vf scale=w:h,[aspect=w:h] instead when using libxvid.

-vcodec libx264 now requires a -vpre setting.  Since ffmpeg used to default to 
-vpre medium, that seemed appropriate to me.

I've corrected all the <params> in presets.xml and tested them.  Here is an 
updated presets.xml that works with 0.6 series ffmpegs.

Original comment by timkb...@tampabay.rr.com on 19 Sep 2010 at 9:33

Attachments:

GoogleCodeExporter commented 9 years ago
I've added some WebM HTML5 presets to the Web submenu now that ffmpeg supports 
it.

This will be my last patch as I now have the package for MEPIS working well.

Thanks for all your work on Sinthgunt.  It's quite a handy tool.

Original comment by timkb...@tampabay.rr.com on 20 Sep 2010 at 10:10

Attachments:

GoogleCodeExporter commented 9 years ago
Thank you, Tim. I will apply your patches asap!

Original comment by kare1234 on 29 Sep 2010 at 9:58