Video chunks not playable in chrome
Tinnefeld, Carlo
carlo.tinnefeld at smartmechatronics.de
Thu Sep 2 10:38:14 UTC 2021
Hi GStreamer Team,
I have a question concerning "corrupted" files I get, when creating video chunks with splitmuxsink.
What I am doing:
The use case is event triggered recording into file chunks.
I am developing in a bullseye docker container with GStreamer 1.18.4, the target system is an arm64 SoC running a custom Linux build with yocto, currently using GStreamer 1.16.1 (The application is running in a container, where a custom docker base image is used to utilize the VPU of the SoC).
Pipeline (simplified):
rtspsrc -> rtph264depay -> tee -> queue -> valve -> h264parse -> splitmuxsink
The "issue":
I stumbled over the fact that the created file chunks from the target application sometimes where not playable in Google-Chrome browser. I investigated this behavior, because the same files not working in Chrome worked with FireFox, VLC and the standard Linux video player. I found out, that it might have to do something with "unfixable negative timestamp" (related chrome ticket: https://bugs.chromium.org/p/chromium/issues/detail?id=715398). The "corrupted" files can be fixed by re-packing them into new mp4 containers with e.g. ffmpeg (ffmpeg -i INPUT_FILE.mp4 -c:v copy OUTPUT_FILE.mp4). I have to admit, that the file chunks, recorded with GStreamer 1.18.4 in the dev environment, seem to not have the problem. I guess updating the target GStreamer version might fix the issue. Anyway, I wanted to ask if I am missing something, or is this know behavior for version 1.16.X and if this is the case, can fix the "corrupted" files in my application without changing the GStreamer version on the target.
Thank you very much in advance and best regards,
Carlo
Smart Mechatronics ist ausgezeichnet als TOP Arbeitgeber im Mittelstand 2021!
Smart Mechatronics GmbH - Zertifiziert nach DIN EN ISO 9001:2015
Geschäftsführung: Prof. Dr.-Ing. Guido Stollt; Sven Schwarzer
Sitz der Gesellschaft: Dortmund; HRG: AG Dortmund HRB 21083; Ust-ID-Nr.: DE 258 609 757
Steuer-Nr.: 315/5770/0936
Diese E-Mail sowie alle Anlagen enthalten vertrauliche und rechtliche geschützte Informationen, die ausschließlich für den beabsichtigten Empfänger bestimmt sind. Ein Zugriff auf diese E-Mail durch Dritte ist nicht erlaubt.
Wenn Sie nicht der beabsichtigte Empfänger sind, ist jede Speicherung, Weiterleitung, Vervielfältigung oder sonstige Verwendung strengstens verboten; bitte informieren Sie sofort den Absender und vernichten Sie die E-Mail sowie alle Anlagen.
This e-mail message and its attachments contain confidential and legally privileged information which are intended solely for the use of the addressee.
Access to this e-mail by anyone else is unauthorized.
If the reader of this message is not the intended recipient, any saving, distribution, copying or other use of this e-mail or its attachments is strictly prohibited; please notify the sender immediately and delete this e-mail and its attachments.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20210902/8768349f/attachment.htm>
More information about the gstreamer-devel
mailing list