Page 1 of 1

how to record a mms stream ?

Posted: 11 Feb 2007 22:22
by siger
hi,

i have a mms stream in a .asx file. How must I do to record it, to listen it on my ipod ?

thanks for your help

Posted: 15 Feb 2007 11:59
by loqu
using the command line,

Code: Select all

path\to\vlc.exe -vvv "path_to_asx_file.asx" :sout="#transcode{vcodec=mp4v, vb=768, acodec=mp4a, ab=96, channels=2, width=320, canvas-height=240} :standard{access=file, mux=mp4, url=my video.mp4}" vlc:quit
might work.

be sure to replace "path to vlc" with the actual location of vlc and replace "path to asx_file.asx" with the actual location of the asx file.

Posted: 15 Feb 2007 19:38
by siger
It 's not easy, this is one thing to improve.
in wich command line must I put this code ? the windows one or the vlc one ?

Posted: 15 Feb 2007 19:54
by siger
isn't there another method because it is not easy ? i founded the consol but it doesnt work !

Posted: 16 Feb 2007 00:08
by loqu
well, I can try your stream if it's publicly available ...

Since I was impatient, I decided to do some tests to make sure I could save an "asx file" and convert to video for ipod.

I used the following URI: http://raincloud.warnerbros.com/wbol/us ... rn_300.asx and vlc 8.6a

So the first thing I tried was exactly what I told you, using the command line in Windows. The program ran and quit unexpectedly without errors or output of any kind.

I tried the same technique with the GUI. I did get an output video, but It would not play on an iPod

While still in the GUI, I tried just performing a raw dump of the URL to a file with a wmv file extension. No file was saved, and the console reported "0 Kbytes dumped".

I assumed that VLC wouldn't dump the playlist for the movie, so I wanted to try the actual movie in the playlist. Opening the URI in VLC, I waited for the movie to play, hit CTRL+i to see the stream info, and saw that the actual movie is located here: http://pdl.warnerbros.com/wbol/us/whv/m ... rn_300.wmv

So now, I did a raw dump of the new URI to a file with a WMV extension, and that created a perfect file called "thundercats_asx.wmv"

To convert to iPod format, I used similar techniques as those that are at http://wiki.videolan.org/IPod/ and it created a very nice little file that plays on my iPod.

* I almost always use a batch script to convert video to iPod format. This makes it easier for me, so usually my help involves the command-line in Windows.

Does that help at all?