Christophe Gaubert wrote:

Le 30/04/06, francis <[EMAIL PROTECTED]> a écrit :

Comment extraire la bande-son d'une vidéo (.avi .mpeg ou .mov) ?
J'ai essayé avec avidemux sans résultat.

mplayer -ao pcm:output.wav ma_video.avi
suivi d'un encodage en mp3 (avec lame) ou ogg (avec oggenc), voire d'un
découpage avec audacity :)


C'est pas gagné, j'obtiens les insultes suivantes:

[EMAIL PROTECTED] musique]$ mplayer -ao pcm:output.wav drakengard.mov
MPlayer 1.0pre7-4.0.1 (C) 2000-2005 MPlayer Team
CPU: Intel Celeron 2/Pentium III Coppermine,Geyserville (Family: 6, Stepping: 3)
Detected cache-line size is 32 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
Compiled with runtime CPU detection - WARNING - this is not optimal!
To get best performance, recompile MPlayer with --disable-runtime-cpudetection.


85 audio & 196 video codecs
Linux RTC init error in ioctl (rtc_irqp_set 1024): Permission denied
Try adding "echo 1024 > /proc/sys/dev/rtc/max-user-freq" to your system startup scripts.
Opening joystick device /dev/input/js0
Can't open joystick device /dev/input/js0 : No such file or directory
Can't init input joystick
Setting up LIRC support...
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support.
You will not be able to use your remote control.
Playing drakengard.mov.
Cache fill:  0.00% (0 bytes)    QuickTime/MOV file format detected.
--------------
MOV track #0: 831 chunks, 6228 samples
MOV: Found unsupported Gamma-Correction movie atom (12)!
MOV: Found unknown movie atom SMI  (21)!
Image size: 400 x 268 (32 bpp)
Display size: 400 x 268
Fourcc: SVQ3  Codec: 'Sorenson Video 3'
--------------
MOV track #1: 415 chunks, 0 samples
Audio bits: 16  chans: 1  rate: 32000
Audio extra header: len=76  fcc=0x77617665
MOV: Found unknown audio atom >Fourcc: ms
--------------
MOV track #2: 829 chunks, 2877 samples
Generic track - not completely understood! (id: 2)
--------------
MOV track #3: 832 chunks, 6228 samples
Generic track - not completely understood! (id: 3)
--------------
MOV: longest streams: A: #1 (415 samples)  V: #0 (6228 samples)
VIDEO:  [SVQ3]  400x268  32bpp  29.970 fps    0.0 kbps ( 0.0 kbyte/s)
==========================================================================
Trying to force audio codec driver family libmad...
Opening audio decoder: [libmad] libmad mpeg audio decoder
AUDIO: 32000 Hz, 1 ch, s16le, 128.0 kbit/25.00% (ratio: 16000->64000)
Selected audio codec: [mad] afm:libmad (libMAD MPEG layer 1-2-3)
==========================================================================
vo: X11 running at 1024x768 with depth 24 and 32 bpp (":0.0" => local display)
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffsvq3] vfm:ffmpeg (FFmpeg Sorenson Video v3 (SVQ3))
==========================================================================
Checking audio filter chain for 32000Hz/1ch/s16le -> 32000Hz/2ch/s16le...
AF_pre: 32000Hz/1ch/s16le
Could not parse arguments at the position indicated below:
output.wav
^
Could not open/initialize audio device -> no sound.
Audio: no sound
Starting playback...
VDec: vo config request - 400 x 268 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO: [xv] 400x268 => 400x268 Planar YV12  [zoom]
V: 207.8 6228/6228 41%  1%  0.0% 0 0 0%

Exiting... (End of file)



=========================================
Vous souhaitez acquerir votre Pack ou des Services Mandriva?
Rendez-vous sur "http://store.mandriva.com";.
Rejoignez le club mandrake : http://www.mandrivaclub.com
=========================================

Répondre à