Log in

View Full Version : Avidemux demux audio or video, how?


Burning Fury
9th August 2007, 03:51
Hello there.
I recently moved to linux and i've been using Avidemux for a bit,
it's pretty much straight forward but i haven't yet figure out
how to demux de audio stream of a video.

And how about video?, in VDM you could save you video(eg...avi)
without the audio, how do i demux the video without the audio?

If you could point me in the right direction i'll appreciate it.

Thanks

WalterK
10th August 2007, 05:52
Simple enough.
Load the video file.
Select your audio codec, whther it will be a copy or uncompressed wav or mp3 etc.
Then from the top bar Audio->Save.
Now you have an audio only file.

For Video Only
Load the file.
Go to the top bar Audio->Main Track select None.
Then File->Save->Save Video.
And there you go a video clip with no audio.

Burning Fury
14th August 2007, 22:16
Oh!
Thanks mate, you saved my day!

Now, can you tell me if Avidemux is capable of outputting an MPEG2 NTSC from an AVI PAL?

I tried doing a lot of things, such as changing the framerate for the video and the audio also, but i always get bad results.
I had no problems back when i used VirtualDubMod, but in Linux
i feel out of place a little bit.

Thanks bro, i appreciate any help given.

WalterK
17th August 2007, 14:16
what seems to be the problem?
If you are converting from AVI to MPEG2 NTSC

1) Select the correct output codec
Meaning DVD (mpeg2enc) or Mpeg-2 for video
AC3 or MP2 for audio output.

2) The correct Mpeg container this usually means MPEG-PS (A+V) which gives you the ability to author the finished stream for chapters etc.
Plain MPEG video as a container just gives you the raw video stream with no audio. MPEG-TS (A+V) gives you a compliant format but you will not be able to edit it to add chapters etc.

3) Converting from PAL to NTSC and other things, to get a NTSC frame rate of 29.97 Video->Frame Rate and adjust to NTSC. If its a dvd or vcd/svcd compliant file you are creating you will have to go to the video filter section and resize the output Video->Filters->resize.

lpn1160
18th August 2007, 03:02
or a simple mencoder commandline works wonders

nice -n 15 mencoder video.avi -o film.mpg -ovc lavc -oac lavc -of mpeg -mpegopts format=dvd:tsaf -srate 48000 -vf scale=656:448,expand=704:480,harddup -lavcopts vcodec=mpeg2video:dc=10:vmax_b_frames=4:vrc_minrate=4500:vbitrate=4800:vrc_maxrate=5000:vrc_buf_size=1835:mbd=2:trell:keyint=15:aspect=4/3:acodec=ac3:abitrate=192:vstrict=0 -sws 9 -ofps 30000/1001

use the force
welcome to the good side