LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Splitting video from audio in divx (https://www.linuxquestions.org/questions/linux-software-2/splitting-video-from-audio-in-divx-178879/)

Hammett 05-07-2004 06:25 AM

Splitting video from audio in divx
 
Hi all!!

As topic says, i wonder if it is possible to separate the audio from the video in a divx/xvid. I'm basically interested in the audio, is there any tool for doing that?

Thnx in advance

spuzzzzzzz 05-11-2004 06:14 AM

Yes, it is possible. After a long period of searching, I managed to find a program which dumped the audio and video quickly and easily. Unfortunately, I have forgotton the name of that program. :(
But here is what i know:
- you can dump audio to a wave file with "mplayer -ao pcm -vc dummy -vo null <filename>"
- the program for separating audio/video streams was part of a larger package. It might have been transcode. Or maybe mjpegtools or vcdimager. It could even have been part of ffmpeg, but I don't think so.

I realise this probably isn't very helpful, but its the best i can do :)

Hammett 05-11-2004 08:05 AM

Thanks a lot for the help. Any help is always wellcomed :)
I will give a shot to that mplayer instruction and see if it works. I will also see if transcode can do it with divx (with DVD can do it, don't know if with divx).

Thanx a lot ;)

[EDIT]

I tried the mplayer command, but it does not help to get the audio....will give a try to transcode

spuzzzzzzz 05-11-2004 04:26 PM

thats strange - the mplayer command was the only one I was sure of - does the sound play properly if you say "mplayer filename -vc dummy -vo null" ?

HarPaX 05-11-2004 05:11 PM

A program called virtualdub will do what you want. Unfortuantly, as far as I know there is only a windows version. If you are interested you can get it at http://www.virtualdub.org

spuzzzzzzz 05-11-2004 07:44 PM

there is a linux virtualdub clone called avidemux. Last time I tried it (about 6 months ago), it had problems with certain types of video streams. Virtualdub also has problems with some formats - audio-visual sync with vbr audio streams is pretty bad.

I still think mplayer is the way to go, if you only need the audio.


All times are GMT -5. The time now is 06:39 AM.