View Full Version : Need trascoding a corrupted asf (by MPC/VLC/other)
Barabba
27th February 2016, 03:03
Hi all, thank you for your kind attention.
I've a particular asf file, produced by a camera which probably don't add seek infos, or time data and so on to recored files, they look pure stream record.
I can open them with VLC and MPClassic, but I can't edit the file. VLC converter crash both Gui and DOS command line, Virtualdub opens it but complains about missing seek data. I tried to repair asf unsucessfully.
I'm guessing if there is any way to save file with MPClassic (even raw uncompressed data), or any "player" that can open videos with ffdshow and save in raw format instead of display it to screen (same infos). I would guess frap, but does it look stupid to capture a video player?
Thank you!
Asmodian
27th February 2016, 06:52
Have you tried Avisynth (http://avisynth.nl/index.php/Main_Page)? forum (http://forum.doom9.org/forumdisplay.php?f=33)
With Avisynth you can decode the asf into a raw format with timing information and VirtualDub can open the script as if it was uncompressed video. You can then save it using whatever codec you want, but it will be much larger for a similar quality. It might be extra work to process the audio and there could be problems with audio sync depending on the errors and how you decode it in Avisynth.
Barabba
27th February 2016, 15:11
Thank you very much for answer! No I didn't I just know how to use avisynth with Virtualdubmod, but how can I decode video and audio? Maybe by command line? Are you so kind to explain me? Thank you a lot!
Asmodian
27th February 2016, 20:30
As soon as you open it with Avisynth you have decoded it.
I am actually not sure if LSMASHSource or FFmpegSource work well with asf, I do not encounter asf files very often, but DSS2mod (http://forum.doom9.org/showpost.php?p=1699301&postcount=33) should work if the others do not.
It is sort of like command line, you make a script which is a text file called e.g. video.avs with only the line:
DSS2("D:\file.asf", fps=23.976)
Barabba
29th February 2016, 14:56
Thank you again! Sorry but how can I open it with avisynth? It doesn't have a GUI interface, I should use another program or dos command line, true? Can you please explain me? Sorry that I'm newbie about it..
about avs, how can I open it after? with virtualdubmod? Can you kindly describe step by step? Thank you very much!
Barabba
9th March 2016, 02:29
I opened the file with Virtdualdub mod, the solution was (for beginners like me): open virtualdubmod with avisynth installed, press ctrl+e, open an avs file where inside there is this line:
DSS2("D:\file.mkv", fps=23.976, preroll=15, lavs="L3", lavd="L3 hm1 hc5")
The output file is "frozen" as the first frame, and I don't know how to take the video stream. Is someone so kind to try the job with a test video file? Thank you!
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.