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, I am waiting for your help thank you... -- Sent from: http://gstreamer-devel.966125.n4.nabble.com/ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
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/ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Hi, sir thank you for your advice but I have these problems. Please can you
help me? When I use Mp4mux, I set these properties; reservered_moov_update_period or moov_recovery_file It gives buffer has no pts error and record is stopped. How can I fix that mp4 file. It shows 0 MB until the record is stopeed. If the power is cut down while recording the mp4 file is not being able to whatch. Thank you... -- Sent from: http://gstreamer-devel.966125.n4.nabble.com/ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
In reply to this post by Tim Müller
Hi, sir thank you for your advice but I have these problems. Please can you
help me? When I use Mp4mux, I set these properties; reservered_moov_update_period or moov_recovery_file It gives buffer has no pts error and record is stopped. How can I fix that mp4 file. It shows 0 MB until the record is stopeed. If the power is cut down while recording the mp4 file is not being able to whatch. Thank you... -- Sent from: http://gstreamer-devel.966125.n4.nabble.com/ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
In reply to this post by Waziri
Hi, I use the option mux-overhead. This reserves space at the start of the file for the moov block. It then gets updated regularly so that if the system crashes or someone removes the usb-stick or similar, only the last few seconds are missing.
Grüsse -----Ursprüngliche Nachricht----- Von: gstreamer-devel [mailto:[hidden email]] Im Auftrag von Waziri Gesendet: Sonntag, 15. Oktober 2017 07:47 An: [hidden email] Betreff: Re: MP4 file courruption power is cut down Hi, sir thank you for your advice but I have these problems. Please can you help me? When I use Mp4mux, I set these properties; reservered_moov_update_period or moov_recovery_file It gives buffer has no pts error and record is stopped. How can I fix that mp4 file. It shows 0 MB until the record is stopeed. If the power is cut down while recording the mp4 file is not being able to whatch. Thank you... -- Sent from: http://gstreamer-devel.966125.n4.nabble.com/ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |