x264enc appears to not set byte-stream correctly

Carlos Rafael Giani dv at pseudoterminal.org
Thu Aug 4 17:15:58 UTC 2016


I have observed this as well. Try adding a caps filter just after 
x264enc, like this:

... ! x264enc byte-stream=true ! "video/x-h264, 
stream-format=byte-stream" ! ...

This produces byte-stream output.


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



More information about the gstreamer-devel mailing list