Prev: pgi fortran problems
Next: OpenSuSE 10.3 installation
From: Peter Terpstra on 7 Mar 2010 08:16 Darklight wrote: > Audacity will do what you want Well there is a codec problem here no matter what kind of player I use. But I want to get rid of those windows media files by converting them to mp3. Kind Regards, Peter
From: David Bolt on 7 Mar 2010 09:38 On Sunday 07 Mar 2010 07:56, while playing with a tin of spray paint, Pipo painted this mural: > Peter Terpstra wrote: > >> >> Dear readers, >> At the moment I'm unable again to play or convert wma files. >> > > For conversion you can try ffmpeg. Something like : > > ffmpeg -i input.wma -ab 32 output.mp3 ^^ That won't work with any of the more recent releases, namely any released in the last 2-3 years. They changed from defaulting to Kbps to bps for the two options, -b and -ab, that specify a bitrate. > -ab 32 is for bit rate (32 or 64 kb/s) Almost. You need -ab 32k or -ab 64k for get 32 or 64Kbps. Regards, David Bolt -- Team Acorn: www.distributed.net OGR-NG @ ~100Mnodes RC5-72 @ ~1Mkeys/s openSUSE 11.0 32b | | | openSUSE 11.3M1 32b openSUSE 11.0 64b | openSUSE 11.1 64b | openSUSE 11.2 64b | TOS 4.02 | openSUSE 11.1 PPC | RISC OS 4.02 | RISC OS 3.11
From: Pipo on 7 Mar 2010 10:07 David Bolt wrote: > On Sunday 07 Mar 2010 07:56, while playing with a tin of spray > paint, Pipo painted this mural: > >> Peter Terpstra wrote: >> >>> >>> Dear readers, >>> At the moment I'm unable again to play or convert wma files. >>> >> >> For conversion you can try ffmpeg. Something like : >> >> ffmpeg -i input.wma -ab 32 output.mp3 > ^^ > That won't work with any of the more recent releases, namely > any released in the last 2-3 years. They changed from > defaulting to Kbps to bps for the two options, -b and -ab, that > specify a bitrate. > >> -ab 32 is for bit rate (32 or 64 kb/s) > > Almost. You need -ab 32k or -ab 64k for get 32 or 64Kbps. > > > Regards, > David Bolt > You are right. And when using 32k instead of just 32b/s the resulting file is much smaller. So in the end it is still probably better to use the -32 without the k :-) But anyway this does not explain why it worked for me and not for Peter. Mine is the latest update from the repository. I cannot see much difference between his version of ffmpeg and mine, which is a Packman built with all Packman libs : orion:~/tmp > rpm -qi ffmpeg-0.5.21861svn-0.pm.1.4.x86_64 Name : ffmpeg Relocations: (not relocatable) Version : 0.5.21861svn Vendor: http://packman.links2linux.de Release : 0.pm.1.4 Build Date: Tue 23 Feb 2010 17:44:53 GMT Install Date: Wed 24 Feb 2010 11:20:27 GMT Build Host: hauseck Group : Productivity/Multimedia/Video/Editors and Convertors Source RPM: ffmpeg-0.5.21861svn-0.pm.1.4.src.rpm Size : 1053957 License: LGPL v2 or later and some code GPL v2 or later Signature : DSA/SHA1, Tue 23 Feb 2010 17:45:31 GMT, Key ID f899f20d9a795806 Packager : mantre(a)links2linux.de URL : http://ffmpeg.mplayerhq.hu Summary : Hyper fast MPEG1/MPEG4/H263/RV and AC3/MPEG audio encoder Description : ffmpeg is a hyper fast realtime audio/video encoder, a streaming server and a generic audio and video file converter. It can grab from a standard Video4Linux video source and convert it into several file formats based on DCT/motion compensation encoding. Sound is compressed in MPEG audio layer 2 or using an AC3 compatible stream. Distribution: main_pm / openSUSE_11.2 Bertrand
From: David Bolt on 7 Mar 2010 13:20 On Sunday 07 Mar 2010 15:07, while playing with a tin of spray paint, Pipo painted this mural: > You are right. And when using 32k instead of just 32b/s the > resulting file is much smaller. So in the end it is still > probably better to use the -32 without the k :-) Interesting. I have the same version as you and when I try encoding using -ab 32, ffmpeg picks 128k as the bitrate. If add the k, I get the encoding using a 32k bitrate. > But anyway this does not explain why it worked for me and not for > Peter. In another response Peter shows the error and, from a quick Googling, it appears that the specific codec used is not yet supported by libavcodec, ffmpeg, or any other package that depends on libavcodec. Regards, David Bolt -- Team Acorn: www.distributed.net OGR-NG @ ~100Mnodes RC5-72 @ ~1Mkeys/s openSUSE 11.0 32b | | | openSUSE 11.3M1 32b openSUSE 11.0 64b | openSUSE 11.1 64b | openSUSE 11.2 64b | TOS 4.02 | openSUSE 11.1 PPC | RISC OS 4.02 | RISC OS 3.11
From: David Bolt on 7 Mar 2010 13:20
On Sunday 07 Mar 2010 09:52, while playing with a tin of spray paint, Peter Terpstra painted this mural: > Pipo wrote: > >> For conversion you can try ffmpeg. Something like : >> >> ffmpeg -i input.wma -ab 32 output.mp3 >> >> -ab 32 is for bit rate (32 or 64 kb/s) > > Thank you very much for your answer, then I get a different kind of error > also about the codecs: > > Decoder (codec id 86057) not found for input stream #0.0 From what I've managed to Google, libavcodec and the packages that depend on it such as mplayer, ffmpeg and vlc, don't yet support that codec as yet so there isn't any way to convert that at the moment. Regards, David Bolt -- Team Acorn: www.distributed.net OGR-NG @ ~100Mnodes RC5-72 @ ~1Mkeys/s openSUSE 11.0 32b | | | openSUSE 11.3M1 32b openSUSE 11.0 64b | openSUSE 11.1 64b | openSUSE 11.2 64b | TOS 4.02 | openSUSE 11.1 PPC | RISC OS 4.02 | RISC OS 3.11 |