Log in

View Full Version : Audio Demuxing and re-encode


XPecto
10th June 2009, 14:08
Hello Everyone.
What i want to ask is that, is it Aright to Trim credits and endings Avi files using Avisynth and encoding videos.
Then using trimming parameters in Virtualdub to dump Audio file
if i want to copy audio i use "Source Audio" and direct stream copy* Else Export Wave file with full processing and then re-encode

Finally muxing.


IS this okay or Just a bad way?
i also demux audio using mplayer is this okay too?
is there any other better way?:p


-----

(i case of mp3 i use hex edit to change first 4-5 bytes from Riff to ID3 to make it acceptable in Mkv merge but some 152 byte header is skipped during muxing.:() )

tebasuna51
10th June 2009, 18:19
What i want to ask is that, is it Aright to Trim credits and endings Avi files using Avisynth and encoding videos.
You can do this with VirtualDub ('Direct stream copy') with the 'Select Range' option. You don't need recode.

To extract and mux audio tracks use always VirtualDubMod

(i case of mp3 i use hex edit to change first 4-5 bytes from Riff to ID3 to make it acceptable in Mkv merge but some 152 byte header is skipped during muxing.:() )
??
Is a mp3 in a wav container, id you use 'Demux' with VirtualDubMod don't need hex edit.

XPecto
10th June 2009, 22:03
Thank you tebasuna51,

What about demuxing with mplayer?
i need something of a batch demux tool.

tebasuna51
10th June 2009, 23:34
I have problems with mplayer. I don't know.

You can use avi2raw.exe (http://pbx.mine.nu/mpeg4ip_binaries_for_windows_free_download/) with:
avi2raw -a input.avi demuxed.mp3