[Libva] vaapiencode_h264 element cannot be used for RTP streaming

Engin Firat engin.firat at adonissyazilim.com
Tue Mar 3 05:19:04 PST 2015


Hello,

For an application we are using Wowza Streaming Engine to multicast encoded
videos. Incoming videos to Wowza, are encoded by using vaapiencode_h264
element. Although sent data can be seen successfully from the Wowza
interface, it is unable to multicast the data to viewers. In other words,
viewers cannot be able to video from Wowza Streaming Engine.

However, the another pipeline but only the encoding element is changed to
x264enc works well. Sent data can be seen from Wowza Streaming Engine and
viewers able to see them via Wowza Streaming Engine.

Here is the used pipelines:

Working one:
*VCAPS="video/x-raw,format=YV12,width=704,height=576,framerate=25/1"*

*DEST=192.168.173.250*

*gst-launch-1.0 -v rtpbin name=rtpbin \*
*           v4l2src device=/dev/video0 ! $VCAPS ! videorate max-rate=5 !
x264enc bitrate=1500 ! rtph264pay ! rtpbin.send_rtp_sink_0      \*
*                     rtpbin.send_rtp_src_0 ! queue ! udpsink host=$DEST
port=6970 ts-offset=$AOFFSET      \*
*                     rtpbin.send_rtcp_src_0 ! udpsink host=$DEST port=6971
sync=false async=false         \*
*                     udpsrc port=6976 ! rtpbin.recv_rtcp_sink_0*

Non-Working one:
*VCAPS="video/x-raw,format=YV12,width=704,height=576,framerate=25/1"*

*DEST=192.168.173.250*

*gst-launch-1.0 -v rtpbin name=rtpbin \*
*           v4l2src device=/dev/video0 ! $VCAPS ! videorate max-rate=5 !
vaapiencode_h264 rate-control=2 bitrate=1500 ! rtph264pay !
rtpbin.send_rtp_sink_0      \*
*                     rtpbin.send_rtp_src_0 ! queue ! udpsink host=$DEST
port=6970 ts-offset=$AOFFSET      \*
*                     rtpbin.send_rtcp_src_0 ! udpsink host=$DEST port=6971
sync=false async=false         \*
*                     udpsrc port=6976 ! rtpbin.recv_rtcp_sink_0*


What can be the problem?
Regards.



-- 
*Engin FIRAT*
Adoniss Yazılım Bilişim
Elektronik Araştırma Geliştirme
Limited Şirketi

+90 506 884 82 07 (Mobile)
ODTÜ Teknokent, ODTÜ-Halıcı Yazılımevi
İnönü Bulvarı / ANKARA (Address)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/libva/attachments/20150303/14de0233/attachment.html>


More information about the Libva mailing list