Page 1 of 1

A little challenge - Using VLC to restore a file

Posted: 21 Nov 2008 03:41
by Tim Josten
Hello all!

Recently I have recorded over 8 hours of a mms:// stream which was compressed with Windows Media Audio (v2). The problem is, that I have improperly set a muxer. I have set it to RAW (as I always do with MPEG streams and it works just fine). After recording, VLC cannot play this file, all other players cannot as well. This stream is really important for me, I want (with your help) somehow to restore it.

I tried to make a file with a normal header of an ASF file (made by VLC with correct settings for this stream) and the recorded raw data attached to it, but it looks like the data is in different format. Normal ASF file ripped by VLC has many blank spaces (if you open a file in some HEX editor and switch pages you can see it). My file looks solid, no such spaces at all. I presume this can be packet padding or something like this.

Please help!

Re: A little challenge - Using VLC to restore a file

Posted: 21 Nov 2008 10:42
by Jean-Baptiste Kempf
I am afraid that you need another tool than VLC for that. Maybe something like Virtual dub to remux it.

Re: A little challenge - Using VLC to restore a file

Posted: 21 Nov 2008 20:36
by Tim Josten
What is really a RAW muxer? How does it work? Does it just dump what server sends, without modifying it? Maybe I will be able to make my own version of VLC to just restore that file...

I think of the following scenario. VLC connects to the real stream, after that I am giving it my raw data.

If you're a developer, please tell, is this possible?

Re: A little challenge - Using VLC to restore a file

Posted: 25 Nov 2008 19:30
by Tim Josten
answer someone please...

Re: A little challenge - Using VLC to restore a file

Posted: 25 Nov 2008 23:00
by Jean-Baptiste Kempf
Try Virtual Dub to remux it.