PDA

View Full Version : no audio in output encoded rmvb file from mpeg2 source


adrianmak
8th July 2006, 04:42
I recorded a TV programme from TV card. The recorded format is mpeg2 and to reduce the size I'm going to use rmvb.

I use GordianKnot to process the mpeg2 file e.g. deinterlace , reszie, denoise and produce a avs script

Then I pass avs script to Easy RealMedia Tools, encode to rmvb format. But the problem is there is no audio in the rmvb, I guess the avs script is eleminited the audio part

is it able to mux back an audio (e.g. mp3, mpa) back to the final rmvb ? or I should process both video and audio in rmvb encoding?

neuron2
8th July 2006, 05:22
Please read and follow forum rules, specifically, rule 12: do not ask what's best. Thank you.

http://forum.doom9.org/forum-rules.htm

Sirber
8th July 2006, 05:34
it's best to read the stickies ;)
and it's best to fellow the mods orders, else I get striked :(

adrianmak
8th July 2006, 05:43
sorry, I changed the subject title

Sirber
8th July 2006, 13:38
did you look at the stickies?

adrianmak
9th July 2006, 01:34
did you look at the stickies?


yes.......

Sirber
9th July 2006, 05:56
discovered anything? like AutoRV10? ;)

karl_lillevold
14th July 2006, 19:35
is it able to mux back an audio (e.g. mp3, mpa) back to the final rmvb ? or I should process both video and audio in rmvb encoding?
No, you can not mux non-RealAudio into an rmvb file.

I would recommend to extract/convert the sound from the source into a .wav file. Then you would need to add something like this to your .avs script:

# AUDIO SOURCE
Audio=WavSource("audio.wav")
#
# COMBINE VIDEO + AUDIO
Video=AudioDub(Video,Audio)


Alternatively, maybe this would work:

# AUDIO SOURCE
Audio=DirectShowSource("yourmpeg2file.mpeg")
#
# COMBINE VIDEO + AUDIO
Video=AudioDub(Video,Audio)


I don't know if AviSynth's DirectShowSource will extract the audio. I am sure someone else on this board knows, but you could always try yourself.

Sirber
14th July 2006, 20:42
# AUDIO SOURCE
Audio=DirectShowSource("yourmpeg2file.mpeg")
#
# COMBINE VIDEO + AUDIO
Video=AudioDub(Video,Audio)
Where does "Video" var come from? ;)

karl_lillevold
14th July 2006, 20:44
Video = whatever is the source video after processing. I don't know what the original script looks like.