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 [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
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 On Thursday, 27 October 2016 10:38 AM, Martin Maurer <[hidden email]> 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 [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
In reply to this post by Martin Maurer
Hi Vinod,
this was it, I now get playable files. Many thanks! Best regards, Martin ----- Original Message ----- From: "Vinod Kesti" <[hidden email]> To: <[hidden email]> Sent: Thursday, October 27, 2016 7:14 AM Subject: Re: No valid file with some test pipelines with openh264enc - missing elements/options? > > Hello Martin, > > mp4 and mov muxers need proper EOS event on element to write some metadata > (like ATOM). Add -e to 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 > > > > > -- > View this message in context: > http://gstreamer-devel.966125.n4.nabble.com/No-valid-file-with-some-test-pipelines-with-openh264enc-missing-elements-options-tp4680262p4680263.html > Sent from the GStreamer-devel mailing list archive at 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 |