No valid file with some test pipelines with openh264enc - missing elements/options?
vinodkesti at yahoo.com
vinodkesti at yahoo.com
Thu Oct 27 05:16:35 UTC 2016
Hello Martin,
mp4 and mov muxers need proper EOS event on pipeline to write the metadata (like ATOM). Please add -e to pipeline generate EOS on Ctr+C.
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 -e 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 -e
Regards,Vinod
Sent from Yahoo Mail. Get the app
On Thursday, 27 October 2016 10:38 AM, Martin Maurer <meinemailingliste2 at online.de> wrote:
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
_______________________________________________
gstreamer-devel mailing list
gstreamer-devel at lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20161027/79c139f9/attachment.html>
More information about the gstreamer-devel
mailing list