After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 755205 - mp4mux generate bad file for raw video
mp4mux generate bad file for raw video
Status: RESOLVED INCOMPLETE
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
unspecified
Other Linux
: Normal normal
: NONE
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2015-09-18 07:12 UTC by Gie Strimer
Modified: 2016-05-22 19:37 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
raw h264 stream (1.01 MB, video/x-flv)
2015-09-18 07:12 UTC, Gie Strimer
Details

Description Gie Strimer 2015-09-18 07:12:37 UTC
Created attachment 311608 [details]
raw h264 stream

I have raw stream and I wat to pack into MP4 (or FLV) containter.

Failed:
======
gst-launch-1.0 -v filesrc location=stream.h264 ! queue ! video/x-h264,width=640,height=480,framerate=67/12 ! h264parse ! mp4mux ! filesink location=stream.mp4

gst-launch-1.0 -v filesrc location=stream.h264 ! queue ! video/x-h264,width=640,height=480,framerate=67/12 ! h264parse ! flvmux ! filesink location=stream.flv


Success:
=======

gst-launch-1.0 -v filesrc location=stream.h264 ! queue ! video/x-h264,width=640,height=480,framerate=67/12 ! h264parse ! avimux ! filesink location=stream.avi

gst-launch-1.0 -v filesrc location=stream.h264 ! queue ! video/x-h264,width=640,height=480,framerate=67/12 ! h264parse ! avmux_mp4 ! filesink location=stream.mp4
Comment 1 Tim-Philipp Müller 2016-02-01 17:39:29 UTC
Thanks for the bug report, I'm a bit confused though.

The stream you have attached is not a 'raw h264 stream', it is an FLV file (gst-typefind-1.0 stream.h264 => video/x-flv).

Your pipeline fails for me with "ERROR: from element ... h264parse0: No valid frames found before end of stream", which is entirely expected in this case, and happens with any muxer for me.

What GStreamer version are you using?
Comment 2 Tim-Philipp Müller 2016-05-22 19:37:33 UTC
Closing this bug report as no further information has been provided. Please feel free to reopen this bug report if you can provide the information that was asked for in a previous comment.
Thanks!