Log in

View Full Version : asf to avi


boombastic
29th March 2005, 11:46
I need to convert some asf files(windows media 8) to avi file with xvid,i read the guide and see that it uses TMPGenc.Is there any alternative to it?Is TMPGenc the only way?

cypher_soundz
29th March 2005, 12:16
there is a old asf supported Virtual Dub (see downlaods) but M$ voiced their concern and made Avery Lee take it out i beleive after that.
or you could try avisynth directshowsource http://www.avisynth.org/DirectShowSource
Regards
cyph

boombastic
29th March 2005, 14:40
I opened the asf file via avisynth in VirtualDubMod and this is ok,then i set the audio compressor(mp3,56 kbps,included with winxp) anc video compressor(xvid!) but when i hit save as avi the status window appears but it show 0 fps and the application hangs.What's wrong?

magicclue
29th March 2005, 15:19
Originally posted by boombastic
...then i set the audio compressor(mp3,56 kbps,included with winxp) ... and the application hangs.What's wrong?

Included in Windows is only an ACM decoder not an encoder for mp3!

I use the LAME MP3 Encoder and it works perfectly.

Steps I've done:

1. In Explorer right click on the file you want to convert and click properties to find out what sampling frequency the audio has
2. Open .ASF via Avisynth Script (directshowsource)
3. Set mp3 Encoder to sampling frequency of the file (KHz) and use a bitrate of your desire.
4. set video encoder
5. encode. done.

for a better sound you might want to demux the audio and use an external compressor like BeSweet.

boombastic
29th March 2005, 15:53
Well,for the video it's all ok,by editing the script i can also aplly some filters.But the audio is hell!The frequency is 32000,i set virtualdubmod to Full Compression and select 96 kbps,32000 KHz but it hangs.If i disable the audio the video is encoded correctly.I need to compress also the audio with virtualdub because i've got almost 40 asf file to convert,i'd like to avoid demuxing and encoding audio manually...

magicclue
29th March 2005, 20:38
Get the ACM Codec of the LAME MP3 Encoder!

It should work!


http://www.rarewares.org/mp3.html
http://www.softpedia.com/get/Multimedia/Audio/Audio-CD-Rippers-Encoders/LAME-ACM-Codec.shtml

Blue_MiSfit
30th March 2005, 20:55
I would say decompress the audio, and save it as a wav. Then use BeSweet to re-encode it to mp3 or vorbis. Then mux this encoded audio stream with your encoded video stream into mkv with mkvmerge or virtualdub :)

my $.02

~misfit

magicclue
30th March 2005, 22:28
Well exactly what I recommended 4 posts above :rolleyes:

boombastic
31st March 2005, 07:55
I know i can do that but i was looking for a unique wahy for both audio and video so i could batch convert all 40 files.Anyway i think i follow that method,thanks!

cypher_soundz
31st March 2005, 16:05
You could batch encode audio, batch encode video, then batch merge?
not perfect :sly:
Regards
cyph