<p dir="ltr"><br>
Le 2016-08-04 12:02, "Andres Gonzalez" <<a href="mailto:andres.agoralabs@gmail.com">andres.agoralabs@gmail.com</a>> a écrit :<br>
><br>
> Hi,<br>
><br>
> Using a pipeline with x264enc like this: ...... ! x264enc<br>
> byte-stream=true ! .....<br>
><br>
> apparently does not set the format correctly. This is the gst-launch -vv<br>
> output:<br>
><br>
> /GstPipeline:pipeline0/GstX264Enc:x264enc0.GstPad:sink: caps =<br>
> "video/x-raw\,\ width\=\(int\)1920\,\ height\=\(int\)1080\,\<br>
> framerate\=\(fraction\)30/1\,\ format\=\(string\)Y42B\,\<br>
> pixel-aspect-ratio\=\(fraction\)1/1\,\<br>
> interlace-mode\=\(string\)progressive"<br>
> Redistribute latency...<br>
> /GstPipeline:pipeline0/GstX264Enc:x264enc0.GstPad:src: caps =<br>
> "video/x-h264\,\<br>
> codec_data\=\(buffer\)017a0028ffe1001b677a0028bcd940780227e270110000030001000003003c8f18319601000568ebecb22c\,\<br>
> *stream-format\=\(string\)avc\,*\ alignment\=\(string\)au\,\<br>
> level\=\(string\)4\,\ profile\=\(string\)high-4:2:2\,\ width\=\(int\)1920\,\<br>
> height\=\(int\)1080\,\ pixel-aspect-ratio\=\(fraction\)1/1\,\<br>
> framerate\=\(fraction\)30/1"<br>
><br>
> Am I interpreting this correctly? I would think the stream-format should<br>
> be byte-stream and not avc.</p>
<p dir="ltr">Use caps filter downstream to select the stream-format. This property is deprecated and may not work as expected.</p>
<p dir="ltr">><br>
> Thanks,<br>
><br>
> -Andres<br>
><br>
><br>
><br>
><br>
> --<br>
> View this message in context: <a href="http://gstreamer-devel.966125.n4.nabble.com/x264enc-appears-to-not-set-byte-stream-correctly-tp4678963.html">http://gstreamer-devel.966125.n4.nabble.com/x264enc-appears-to-not-set-byte-stream-correctly-tp4678963.html</a><br>
> Sent from the GStreamer-devel mailing list archive at Nabble.com.<br>
> _______________________________________________<br>
> gstreamer-devel mailing list<br>
> <a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
> <a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
</p>