WinFF / winff

Automatically exported from code.google.com/p/winff
214 stars 50 forks source link

Conversion fails - ffmpeg error: unrecognized option '--ac' #63

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Entering a value in the Audio channels field in Addition Options > Audio
Settings. Results in ffmpeg error when Convert button is clicked.

What is the expected output?
-acodec libmp3lame  -ar 48000 -ab 128kb -ac 2 

What do you see instead?
-acodec libmp3lame  -ar 48000 -ab 128kb --ac 2 ac 2 
then stops on error - unrecognized option '--ac'

What version of the product are you using? On what operating system?
openSUSE 11.2 64-bit / winff 1.1.1-9.3
(obs://build.opensuse.org/home:enzokiel) & winff 1.1.1.0.pm.1.5
(http://packman.links2linux.de)

Please provide any additional information below.
I think that winff is generating an incorrect preset switch of "--ac 2 ac
2" instead of "-ac 2" Hope this is detailed enough to reproduce the
problem. Many thanks, mac p

Original issue reported on code.google.com by macplax...@gmail.com on 12 Dec 2009 at 5:58

GoogleCodeExporter commented 9 years ago
which preset are you using?

Original comment by bgg...@gmail.com on 12 Dec 2009 at 5:49

GoogleCodeExporter commented 9 years ago
Convert to... AVI
Device Preset XviD Widescreen

Original comment by macplax...@gmail.com on 12 Dec 2009 at 10:12

GoogleCodeExporter commented 9 years ago
I couldn't reproduce it. You may try editing the preset and make sure the 
option is "-
ac 2" by deleting it and the spaces around it, then put it back in

Original comment by bgg...@gmail.com on 18 Dec 2009 at 1:43

GoogleCodeExporter commented 9 years ago

Original comment by bgg...@gmail.com on 18 Dec 2009 at 2:22

GoogleCodeExporter commented 9 years ago
I managed to work round it by using "Display CMD Line" and creating a new 
preset with
the switch corrected.

I'll try reproducing it later as I now can't "add a file" to the list to test 
as it
crashes.

Original comment by macplax...@gmail.com on 19 Dec 2009 at 7:05

GoogleCodeExporter commented 9 years ago
Same problem with -ab option
It happens when you select that option on UI.
4 instance, if you don't select audio channels number it works (you get -ac 2), 
if you type 2 then you get --ac ac 2

Original comment by demetrio...@gmail.com on 23 Sep 2010 at 9:45

GoogleCodeExporter commented 9 years ago
Matt,

I am able to reproduce the issue.

I use the MP3 preset in Audio, and insert some value in the "Sample Rate" in 
the "Audio Settings" tab of the "Additional Options" section. See --ar 22000 ar 
44100 in the following CMD output.

#!/bin/sh
echo -n "\033]0; Converting DSCF0096 (1/1)\007"
/usr/bin/ffmpeg -i "/home/paul/tmp/2010Noorwegen/all/DSCF0096.AVI" -acodec 
libmp3lame -ab 160kb -ac 2 --ar 22000 ar 44100 "/tmp/DSCF0096.mp3"
read -p "Press Enter to Continue" dumbyvar
rm "/home/paul/.winff/ff101027205852.sh"

Original comment by poipodec...@hotmail.com on 27 Oct 2010 at 7:01

GoogleCodeExporter commented 9 years ago
Bug reported for Ubuntu: 
https://bugs.launchpad.net/ubuntu/+source/winff/+bug/574921

Original comment by poipodec...@hotmail.com on 27 Oct 2010 at 7:05

GoogleCodeExporter commented 9 years ago
Fixed in svn in revision 491.

Original comment by poipodec...@hotmail.com on 30 Oct 2010 at 11:47