[Solved] Winff Troubles

You have a problem with Salix? Post here and we'll do what we can to help.
User avatar
laplume
Donor
Posts: 348
Joined: 4. Sep 2010, 07:40
Location: (VI) Italy

[Solved] Winff Troubles

Post by laplume »

Hello all,
I am trying to convert a .flv file into .mp3 format using winff on Salix 14.1 xfce.
I have no issues making winff work under salix 13.0 and 13.37 respectively but in 14.1 install I get these messages

Code: Select all

Unable to parse option value ''160kb''
Error setting option ab to value 160kb.
Shall I have to setup ffmpeg in order to make it work correctly?
Thanks in advance for support.
Antonio
Last edited by laplume on 20. Jan 2015, 12:39, edited 1 time in total.
westms
Posts: 298
Joined: 17. Mar 2013, 18:51

Re: Winff Troubles

Post by westms »

laplume wrote:Hello all,
I am trying to convert a .flv file into .mp3 format using winff on Salix 14.1 xfce.
I have no issues making winff work under salix 13.0 and 13.37 respectively but in 14.1 install I get these messages

Code: Select all

Unable to parse option value ''160kb''
Error setting option ab to value 160kb.
Shall I have to setup ffmpeg in order to make it work correctly?
Thanks in advance for support.
Antonio
Hello laplume,

how was the program call? If there was something like -ab 160kb included, then try instead -ab 160k please.
djemos
Salix Warrior
Posts: 1464
Joined: 29. Dec 2009, 13:45
Location: Greece

Re: Winff Troubles

Post by djemos »

Winff does not have the latest preference format that the latest ffmpeg wants...namely, all data rates should be k and not kb
Open the hidden winff prefences file...
~/.winff/presets.xml
and replace all "kb " with "k " for the data rates. Do not do it automatically just do it for every one line.

Another and quickly method is the command line

Code: Select all

ffmpeg -i vid.flv -acodec copy output.mp3
User avatar
gapan
Salix Wizard
Posts: 6362
Joined: 6. Jun 2009, 17:40

Re: Winff Troubles

Post by gapan »

djemos wrote:Another and quickly method is the command line

Code: Select all

ffmpeg -i vid.flv -acodec copy output.mp3
This is not only quicker. It's a lot better in terms of quality as well, as it doesn't recompress the audio part, it just copies it over without changing it. So it doesn't reduce the audio quality.
Image
Image
User avatar
laplume
Donor
Posts: 348
Joined: 4. Sep 2010, 07:40
Location: (VI) Italy

Re: Winff Troubles

Post by laplume »

Hello All,
Thanks a lot for you kind replies. Currently I have the Salix 14.1 install on a colleague's eeepc therefore I will change winff settings once I have the machine available again. Since he's new to Linux (I have convinced him t replace win7 on his netbook, which had become to slow...) I would probably incline to something more GUI oriented.

I will keep you posted about the results.
Thanks again
Antonio

BTW: small OT, but does anyone know how to fix screen brightness to max on such machines? I googled a bit but I was not able to find anything related else than Ubuntu and grub settings. I am not willing to change Lilo, which just gets its job done (I also searched in the forum but adding the line "echo xx> /sys/class/backlight/acpi_video0/brightness'' in /etc/rc.d/rc.local did not solve the issue). Any help/suggestions are appreciated.
User avatar
gapan
Salix Wizard
Posts: 6362
Joined: 6. Jun 2009, 17:40

Re: Winff Troubles

Post by gapan »

laplume wrote:BTW: small OT, but does anyone know how to fix screen brightness to max on such machines? I googled a bit but I was not able to find anything related else than Ubuntu and grub settings. I am not willing to change Lilo, which just gets its job done
The same grub settings should work with lilo. You could try adding them to the append line in lilo.conf. You don't mention which settings those are exactly though...
laplume wrote:"echo xx> /sys/class/backlight/acpi_video0/brightness'' in /etc/rc.d/rc.local did not solve the issue)
Does it work if you run it from a terminal after having run "sudo su"?
Image
Image
User avatar
laplume
Donor
Posts: 348
Joined: 4. Sep 2010, 07:40
Location: (VI) Italy

Re: Winff Troubles

Post by laplume »

Hello gapan,
Hopefully tomorrow I will have the netbook available once again so by trying via terminal the
echo xx> /sys/class/backlight/acpi_video0/brightness
command (with xx replaced by the max brightness figure), I will check if it works.
As for the grub seetings what I have found @ http://mindboosternoori.blogspot.it/201 ... chive.html is the following procedure

Code: Select all

sudo gedit /etc/default/grub
change the line that says
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
to
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi_osi=Linux"
save the file and quit, and then, in the terminal, type:
sudo update-grub
reboot
If same settings may be performed (with appropriate modification) under Lilo I will surely try also this possibility. Anyway the xfce brightness plugin gets the job done, although it's quite annoying to set it every time the machine boots.

I will come back soon with the result of my findings.
Regards,
User avatar
gapan
Salix Wizard
Posts: 6362
Joined: 6. Jun 2009, 17:40

Re: Winff Troubles

Post by gapan »

OK, try that command first and we'll see what happens then.
Image
Image
User avatar
john256
Posts: 89
Joined: 1. Jun 2011, 07:52

Re: Winff Troubles

Post by john256 »

AFAIR, the acpi_osi=Linux boot option is needed to make the /sys/class/backlight/acpi_video0/ interface available if it isn't.

Mentioning the exact model of the EeePc would also help, but I would recommend not blowing the brightness all-up as this would not save much battery power ;-)
User avatar
laplume
Donor
Posts: 348
Joined: 4. Sep 2010, 07:40
Location: (VI) Italy

Re: Winff Troubles

Post by laplume »

All,
as for the winff issue I have amended the preferences as per djemos suggestion. Applications now works as expected.
Unfortunately I had no luck with screen brightness; running the command echo 15> /sys/class/backlight/acpi_video0/brightness as superuser apparently did not lead to any result.

Regards,
Antonio
Post Reply