Crash resistent recording

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
Idsa
Blank Cone
Blank Cone
Posts: 78
Joined: 22 Oct 2009 10:59

Crash resistent recording

Postby Idsa » 17 Jan 2010 00:15

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?

Rémi Denis-Courmont
Developer
Developer
Posts: 15229
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Crash resistent recording

Postby Rémi Denis-Courmont » 17 Jan 2010 13:31

MPEG-TS can do that, assuming your codecs are compatible with TS.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

Idsa
Blank Cone
Blank Cone
Posts: 78
Joined: 22 Oct 2009 10:59

Re: Crash resistent recording

Postby Idsa » 18 Jan 2010 13:21

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.

Rémi Denis-Courmont
Developer
Developer
Posts: 15229
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Crash resistent recording

Postby Rémi Denis-Courmont » 18 Jan 2010 16:43

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.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

Idsa
Blank Cone
Blank Cone
Posts: 78
Joined: 22 Oct 2009 10:59

Re: Crash resistent recording

Postby Idsa » 19 Jan 2010 05:43

No timing... But can't we compute the length?


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: Majestic-12 [Bot] and 15 guests