Page 1 of 1
VLC repairs avi stream
Posted: 22 Dec 2008 01:08
by ishould
I have a long movie that other players only see the first two hours of. When I play it with VLC, it prompts to repair the stream and I can watch the whole thing, but it needs to do this every time. VD opens the file but only sees the first couple of hours. Is there any way for VLC to overwrite what its correcting so everything else can see the whole movie?
Re: VLC repairs avi stream
Posted: 23 Dec 2008 12:18
by Jean-Baptiste Kempf
You can do that by retranscoding the file, or just ignore the warning about fixing it.
Re: VLC repairs avi stream
Posted: 24 Dec 2008 02:16
by ishould
I've retranscoded a couple other times but it keeps happening. When I try to convert the file with VLC it crashes and if I ignore the warning then it only plays the first two hours out of four. Is there any option like VD's "direct stream copy" for VLC player? I wouldn't expect there would be but I thought I'd ask
Re: VLC repairs avi stream
Posted: 02 Jan 2009 20:35
by ishould
bump.
So I take it there is no way to just save the repaired avi index?
Re: VLC repairs avi stream
Posted: 02 Jan 2009 22:20
by Arite
Is there any option like VD's "direct stream copy" for VLC player? I wouldn't expect there would be but I thought I'd ask
No, AFAIK there isn't. You could just use VirtualDub to fix the file permanently though.
Arite.
Re: VLC repairs avi stream
Posted: 03 Jan 2009 06:27
by ishould
Unfortunately VD is one of the programs that only sees the first two hours of the video, and when attempting any of their error scans they only can up to that point. To this point the only program I have that has been able to "fix" this problem is VLC. Does anyone know of any free software that can do the same function that VLC is doing?
Re: VLC repairs avi stream
Posted: 03 Jan 2009 22:23
by Arite
Well you could try e.g.
Avidemux as an alternative to VirtualDub.
Arite.
Re: VLC repairs avi stream
Posted: 07 Jan 2009 06:29
by ishould
Avidemux does the same thing most everything else does; It only sees the first couple hours of the movie. I went ahead and tried both of their repair options but it only scan/attempts to fix the first two hours
Re: VLC repairs avi stream
Posted: 07 Jan 2009 20:46
by Arite
You could try streaming to a file, without transcoding, in VLC with "Play locally" enabled. For example the sout string:
Code: Select all
:sout=#duplicate{dst=display,dst=std{access=file,mux=ts,dst=H:\OUT.ts}}
Should work where "H:\OUT.ts" is the location of the output file. If it does work, then try fixing/re-saving (as AVI) the output file in e.g. Avidemux to ensure it works on other players.
Otherwise as j-b said transcoding the video to another file should also work.
Cheers, Arite.