View Single Post
Posts: 73 | Thanked: 141 times | Joined on Oct 2010
#6
Sorry, can you explain the command?
I tried whit:
mplayer -ao pcm:file=audio.wav name_of_the_video.avi
lame audio.wav audio.mp3

But the resulting is two files: audio.wav and audio.mp3 whitout audio track

Code:
/MyDocs/.videos $ mplayer -ao pcm:file=prova.wav Allexjo.flv lame prova.wav prova.mp3
MPlayer SVN-r30099-4.2.1 (C) 2000-2009 MPlayer Team

Playing Allexjo.flv.
libavformat file format detected.
[flv @ 0xcc09c0]Estimating duration from bitrate, this may be inaccurate
[lavf] Video stream found, -vid 0
[lavf] Audio stream found, -aid 1
VIDEO:  [FLV1]  320x240  0bpp  25.000 fps  262.5 kbps (32.0 kbyte/s)
Clip info:
 duration: 195
 starttime: 0
 totalduration: 195
 width: 320
 height: 240
 videodatarate: 256
 audiodatarate: 61
 totaldatarate: 325
 framerate: 25
 bytelength: 7908316
 canseekontime: true
 sourcedata: B4A7DD2E6HH1294225369572405
 purl: 
 pmsg: 
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffflv] vfm: ffmpeg (FFmpeg Flash video)
==========================================================================
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 22050 Hz, 2 ch, s16le, 8.0 kbit/1.13% (ratio: 1000->88200)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
[AO PCM] File: prova.wav (WAVE)
PCM: Samplerate: 22050Hz Channels: Stereo Format s16le
[AO PCM] Info: Faster dumping is achieved with -vc null -vo null -ao pcm:fast
[AO PCM] Info: To write WAVE files use -ao pcm:waveheader (default).
AO: [pcm] 22050Hz 2ch s16le (2 bytes per sample)
Starting playback...
Movie-Aspect is undefined - no prescaling applied.
VO: [xv] 320x240 => 320x240 Planar YV12 
A:   2.4 V:   2.4 A-V: -0.041 ct:  0.121   0/  0 53% 18% 11

           ************************************************
           **** Your system is too SLOW to play this!  ****
           ************************************************

Possible reasons, problems, workarounds:
- Most common: broken/buggy _audio_ driver
  - Try -ao sdl or use the OSS emulation of ALSA.
  - Experiment with different values for -autosync, 30 is a good start.
- Slow video output
  - Try a different -vo driver (-vo help for a list) or try -framedrop!
- Slow CPU
  - Don't try to play a big DVD/DivX on a slow CPU! Try some of the lavdopts,
    e.g. -vfm ffmpeg -lavdopts lowres=1:fast:skiploopfilter=all.
- Broken file
  - Try various combinations of -nobps -ni -forceidx -mc 0.
- Slow media (NFS/SMB mounts, DVD, VCD etc)
  - Try -cache 8192.
- Are you using -cache to play a non-interleaved AVI file?
  - Try -nocache.
Read DOCS/HTML/en/video.html for tuning/speedup tips.
If none of this helps you, read DOCS/HTML/en/bugreports.html.

A: 194.9 V: 194.8 A-V:  0.098 ct:  0.180   0/  0 10% 24%  8

Playing lame.
File not found: 'lame'
Failed to open lame.


Playing prova.wav.
Audio only file format detected.
==========================================================================
Opening audio decoder: [pcm] Uncompressed PCM audio decoder
AUDIO: 22050 Hz, 2 ch, s16le, 705.6 kbit/100.00% (ratio: 88200->88200)
Selected audio codec: [pcm] afm: pcm (Uncompressed PCM)
==========================================================================
[AO PCM] File: prova.wav (WAVE)
PCM: Samplerate: 22050Hz Channels: Stereo Format s16le
[AO PCM] Info: Faster dumping is achieved with -vc null -vo null -ao pcm:fast
[AO PCM] Info: To write WAVE files use -ao pcm:waveheader (default).
AO: [pcm] 22050Hz 2ch s16le (2 bytes per sample)
Video: no video
Starting playback...
A:   0.0 (00.0) of 194.0 (03:14.0) ??,?%                    

Playing prova.mp3.
Seek failed


Exiting... (End of file)

Last edited by Veleno; 2011-02-15 at 12:25.