Hi,
i am trying to encode a UHD 4k video with gstreamer.
gst-launch.exe -e videotestsrc pattern=snow ! video/x-raw,width=3840,height=2160 ! queue ! x265enc ! matroskamux ! filesink location=test.mkv
WARNUNG: Fehlerhafte Leitung: x265enc0 konnte nicht mit matroskamux0 verknüpft werden sorry for the german error message. must be something like could not link x265enc0 to matraskamux or similar.
gst-launch.exe -e videotestsrc pattern=snow ! video/x-raw,width=3840,height=2160 ! queue ! x265enc ! avimux ! filesink location=test.avi
results in same error message
The following works:
gst-launch.exe -e videotestsrc pattern=snow ! video/x-raw,width=3840,height=2160 ! queue ! x265enc ! mpegtsmux ! filesink location=test.ts
But my TV cannot play this file. What are other muxers i can try? Am i using the right encoder (x265) for 4k videos?
Thanks,
Jens _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Le mardi 02 mai 2017 à 16:19 +0200, [hidden email] a écrit :
> Hi, > > i am trying to encode a UHD 4k video with gstreamer. > > gst-launch.exe -e videotestsrc pattern=snow ! video/x- > raw,width=3840,height=2160 ! queue ! x265enc ! matroskamux ! filesink > location=test.mkv > WARNUNG: Fehlerhafte Leitung: x265enc0 konnte nicht mit matroskamux0 > verknüpft werden > > sorry for the german error message. must be something like could not > link x265enc0 to matraskamux or similar. > > gst-launch.exe -e videotestsrc pattern=snow ! video/x- > raw,width=3840,height=2160 ! queue ! x265enc ! avimux ! filesink > location=test.avi > results in same error message > > > The following works: > gst-launch.exe -e videotestsrc pattern=snow ! video/x- > raw,width=3840,height=2160 ! queue ! x265enc ! mpegtsmux ! filesink > location=test.ts > > But my TV cannot play this file. What are other muxers i can try? Am > i using the right encoder (x265) for 4k videos? Most TV should play those. > > Thanks, > Jens > _______________________________________________ > 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 signature.asc (188 bytes) Download Attachment |
Hi,
thanks, but this results in the same error:
> gst-launch.exe -e videotestsrc pattern=snow ! video/x-raw,width=3840,height=2160 ! queue ! x265enc ! qtmux ! filesink location=test.mov
WARNUNG: Fehlerhafte Leitung: x265enc0 konnte nicht mit qtmux0 verknüpft werden > gst-launch.exe --version
gst-launch-1.0 version 1.10.2 GStreamer 1.10.2 Jens
Gesendet: Dienstag, 02. Mai 2017 um 19:14 Uhr
Von: "Nicolas Dufresne" <[hidden email]> An: "Discussion of the development of and with GStreamer" <[hidden email]> Betreff: Re: looking for supported muxers for x265enc Le mardi 02 mai 2017 à 16:19 +0200, [hidden email] a écrit :
> Hi, > > i am trying to encode a UHD 4k video with gstreamer. > > gst-launch.exe -e videotestsrc pattern=snow ! video/x- > raw,width=3840,height=2160 ! queue ! x265enc ! matroskamux ! filesink > location=test.mkv > WARNUNG: Fehlerhafte Leitung: x265enc0 konnte nicht mit matroskamux0 > verknüpft werden > > sorry for the german error message. must be something like could not > link x265enc0 to matraskamux or similar. > > gst-launch.exe -e videotestsrc pattern=snow ! video/x- > raw,width=3840,height=2160 ! queue ! x265enc ! avimux ! filesink > location=test.avi > results in same error message > > > The following works: > gst-launch.exe -e videotestsrc pattern=snow ! video/x- > raw,width=3840,height=2160 ! queue ! x265enc ! mpegtsmux ! filesink > location=test.ts > > But my TV cannot play this file. What are other muxers i can try? Am > i using the right encoder (x265) for 4k videos? You can use qtmux which generates ISOMP4 commonly known as mov files. Most TV should play those. > > Thanks, > Jens > _______________________________________________ > 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 _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Administrator
|
In reply to this post by Nicolas Dufresne-5
Try running <gst-inspect-1.0 -a | grep video/x-h265> to see what all muxers support H265 muxing
|
You need to insert h265parse between encoder and muxer.
|
In reply to this post by Baby Octopus
Hi,
the output of gst-inspect is:
>gst-inspect.exe -a | grep video/x-h265
x265enc: video/x-h265 h265parse: video/x-h265 h265parse: video/x-h265 WARNING: no real random source present! rtph265pay: video/x-h265 rtph265pay: video/x-h265 rtph265depay: video/x-h265 mpegtsmux: video/x-h265 tsdemux: video/x-h265 matroskamux: video/x-h265 libde265dec: video/x-h265 (gst-inspect-1.0:8284): GStreamer-CRITICAL **: gst_pad_new_from_template: assertion 'GST_IS_PAD_TEMPLATE (templ)' f
(gst-inspect-1.0:8284): GStreamer-CRITICAL **: gst_pad_template_get_caps: assertion 'GST_IS_PAD_TEMPLATE (templ)' f ** (gst-inspect-1.0:8284): CRITICAL **: gst_pad_set_caps: assertion 'GST_IS_PAD (pad)' failed (gst-inspect-1.0:8284): GStreamer-CRITICAL **: gst_element_add_pad: assertion 'GST_IS_PAD (pad)' failed
avdec_h265: video/x-h265 I was wondering that matroskamux is shown. So i tried my pipeline again with h265parse before x265enc and now it works. could not test it on my tv yet but i mkv has worked always.
My pipeline:
gst-launch.exe -v -e videotestsrc pattern=snow ! video/x-raw,width=3840,height=2160 ! x265enc ! h265parse ! matroskamux ! filesink location=test.mkv
Thanks,
Jens
Gesendet: Mittwoch, 03. Mai 2017 um 07:49 Uhr
Von: "Baby Octopus" <[hidden email]> An: [hidden email] Betreff: Re: looking for supported muxers for x265enc Try running <gst-inspect-1.0 -a | grep video/x-h265> to see what all muxers
support H265 muxing -- View this message in context: http://gstreamer-devel.966125.n4.nabble.com/looking-for-supported-muxers-for-x265enc-tp4682879p4682893.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 |