Re: Tool to extract audio from avi file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



ffmpeg does the trick very well.
See
http://www.catonmat.net/blog/how-to-extract-audio-tracks-from-youtube-videos/
for example (or search for 'ffmpeg audio extract' on your favorite
search engine).
To extract the audio track as it is encoded (no transform,
just pure copy extract) you do:
ffmpeg -i your_video.avi -acodec copy audio.something
Maybe the .something is relevant (ie. if you say .mp3
and data is not mp3 ffmpeg would complain). I don't know.
Maybe yuu also need to set video codec to null or something
like that. Just experiment.
The advantage as compared to mplayer is that you don't decode
the audio to uncompressed pcm data, it's a raw extract.

Take care,
Cédric.
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@xxxxxxxxxxxxxxxxxxxx
http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user


[Index of Archives]     [Linux Sound]     [ALSA Users]     [Pulse Audio]     [ALSA Devel]     [Sox Users]     [Linux Media]     [Kernel]     [Photo Sharing]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux