No valid file with some test pipelines with openh264enc - missing elements/options?

Martin Maurer meinemailingliste2 at online.de
Thu Oct 27 05:07:31 UTC 2016


Hello,

I am new in the world of gstreamer, so sorry, if this is a beginner question.

I am trying the following pipelines (with gstreamer 1.8.2 and 1.9.90) and try to play the resulting video files via VLC (latest version)
(all tests on Windows):

gst-launch-1.0 -v videotestsrc ! video/x-raw,format=NV12,width=1920,height=1080,framerate=60/1 ! videoconvert ! openh264enc ! h264parse ! qtmux ! filesink location=videotestsrc.mov

gst-launch-1.0 -v videotestsrc ! video/x-raw,format=NV12,width=1920,height=1080,framerate=60/1 ! videoconvert ! openh264enc ! h264parse ! mp4mux ! filesink location=videotestsrc.mp4

gst-launch-1.0 -v videotestsrc ! video/x-raw,format=NV12,width=1920,height=1080,framerate=60/1 ! videoconvert ! openh264enc ! h264parse ! avimux ! filesink location=videotestsrc.avi

I can at least play the content of the *.avi, but the *.mov and *.mp4 does not play at all.

It is a (stripped) test for something bigger, so can't change much in input format. 
I also want to use openh264enc (if possible) instead of x264enc.

Does someone know what is missing and/or wrong?

Best regards,

Martin

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20161027/584950ad/attachment.html>


More information about the gstreamer-devel mailing list