Page 1 of 1
Crash resistent recording
Posted: 17 Jan 2010 00:15
by Idsa
I'm recording video from LAN-camera using VLC. But I need to be sure my file will be readable even if computer or VLC is crashed. Is it possible? What muxer should I use? If it is not possible, is there any way to restore a file that was not correctly finished because of crash?
Re: Crash resistent recording
Posted: 17 Jan 2010 13:31
by Rémi Denis-Courmont
MPEG-TS can do that, assuming your codecs are compatible with TS.
Re: Crash resistent recording
Posted: 18 Jan 2010 13:21
by Idsa
When I record using TS muxer, the video length and fps are equal to zero. Inspite of this problem VLC plays such video. But I can't play it using libvlc: for example, PositionChanged event is not raised.
Re: Crash resistent recording
Posted: 18 Jan 2010 16:43
by Rémi Denis-Courmont
The TS file does not contain timing informations, but it will play fine in LibVLC.
As a French proverb says, you can't have the butter and the money for the butter.
Re: Crash resistent recording
Posted: 19 Jan 2010 05:43
by Idsa
No timing... But can't we compute the length?