MP4 file courruption power is cut down

Tim Müller tim at centricular.com
Wed Oct 11 16:04:30 UTC 2017


On Wed, 2017-10-11 at 08:49 -0700, Waziri wrote:

Hi,

> I want you to ask that if I use segmented mpeg2ts to record rtp
> stream safely against power cut. If I use mp4mux when the power cut
> down, the last file is not playable. Can you offer me any solution
> how can I fix that mp4 to a playable video

You could play with the reserved-* properties on mp4mux to enable a
mode that regularly re-writes the mp4 headers. That way only the last
few seconds/minutes get lost, not the entire file.

Cheers
 -Tim
-- 
Tim Müller, Centricular Ltd - http://www.centricular.com

Join us at the GStreamer Conference!
21-22 October 2017 in Prague, Czech Republic
http://gstreamer.freedesktop.org/conference/


More information about the gstreamer-devel mailing list