SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
is unplayable by mplayer. When I try to play the .wav file, I can only hear a short burst of sound as though the whole file has been played in a fraction of a second with the following output
Quote:
MPlayer UNKNOWN-4.2.4 (C) 2000-2009 MPlayer Team
Playing audio.wav.
Audio only file format detected.
==========================================================================
Opening audio decoder: [pcm] Uncompressed PCM audio decoder
AUDIO: 44100 Hz, 2 ch, s16le, 1411.2 kbit/100.00% (ratio: 176400->176400)
Selected audio codec: [pcm] afm: pcm (Uncompressed PCM)
==========================================================================
AO: [oss] 44100Hz 2ch s16le (2 bytes per sample)
Video: no video
Starting playback...
A: 0.0 (00.0) of 0.4 (00.3) ??,?%
Exiting... (End of file)
The script flash2avi outputs the following message -
Quote:
MEncoder UNKNOWN-4.2.4 (C) 2000-2009 MPlayer Team
Option lameopts: Unknown suboption fastreset
Error parsing option on the command line: -lameopts
Exiting... (error parsing command line)
Last edited by adityavpratap; 08-08-2009 at 11:29 PM.
Reason: to add more information
I find it quite strange that mplayer can play the original flv file with sound, but can not do a simple dump. As using dumpaudio, and -ao pcm:fast:file=audio.wav is actually no different than playing the file back. Playing the file back it has to be decoded, dumpaudio demuxes without decoding, -ao pcm:$ dumps the decoded stream. If mplayer can play the file, it should be able to dump it.
That would seem the simplest way unless you want to use mplayer for a specific reason (I've never done this with mplayer, but I use ffmpeg all the time).
When the old -dumpaudio failed to work for the .mp4 files, I started using the following script to extract their audio; it seems to work for .flv files as well:
When the old -dumpaudio failed to work for the .mp4 files, I started using the following script to extract their audio; it seems to work for .flv files as well:
Here $1 is the .flv file and $2 is the output filename.
Ok! Now this command works and I am getting mplayer-playable .mp3 files. That's a major achievement. Thanks Ilgar!
However, I want to upload these mp3s to my Samsung Ultra Touch S8300 mobile. When I do this, and try to play them using the music player app in my mobile, I get the following message -
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.