[Bug 765549] New: x265enc : Problem while encoding to h265 from udpsrc

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Mon Apr 25 16:19:23 UTC 2016


https://bugzilla.gnome.org/show_bug.cgi?id=765549

            Bug ID: 765549
           Summary: x265enc : Problem while encoding to h265 from udpsrc
    Classification: Platform
           Product: GStreamer
           Version: 1.8.1
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: common
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: javiercubelos at gmail.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

Hello! 

I'm receiving a raw RTP stream as an input and I wanted to encode it and
streaming it again through RTP.

I was using this command to do it encoding to h264 and it was working just
great:

gst-launch-1.0 udpsrc port=9001 caps = "application/x-rtp, media=(string)video,
clock-rate=(int)90000, encoding-name=(string)RAW, sampling=(string)YCbCr-4:2:0,
depth=(string)8, width=(string)1280, height=(string)960, framerate=25/1,
payload=(int)111" ! rtpvrawdepay ! x264enc bitrate=16384 ! rtph264pay ! udpsink
host=127.0.0.1 port=1234

Now, i'm trying to encode to h265 and everything just stopped working. The
command i'm using is:

gst-launch-1.0 udpsrc port=9001 caps = "application/x-rtp, media=(string)video,
clock-rate=(int)90000, encoding-name=(string)RAW, sampling=(string)YCbCr-4:2:0,
depth=(string)8, width=(string)4096, height=(string)2048, framerate=30/1,
payload=(int)111" ! rtpvrawdepay ! x265enc bitrate=16384 ! rtph265pay ! udpsink
host=127.0.0.1 port=1234

But now everything just stopped working and it returns:

"Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
/GstPipeline:pipeline0/GstUDPSrc:udpsrc0.GstPad:src: caps =
"application/x-rtp\,\ media\=\(string\)video\,\ clock-rate\=\(int\)90000\,\
encoding-name\=\(string\)RAW\,\ sampling\=\(string\)YCbCr-4:2:0\,\
depth\=\(string\)8\,\ width\=\(string\)4096\,\ height\=\(string\)2048\,\
framerate\=\(fraction\)30/1\,\ payload\=\(int\)111"
Setting pipeline to PLAYING ...
/GstPipeline:pipeline0/GstRtpVRawDepay:rtpvrawdepay0.GstPad:src: caps =
"video/x-raw\,\ format\=\(string\)I420\,\ width\=\(int\)4096\,\
height\=\(int\)2048\,\ interlace-mode\=\(string\)progressive\,\
pixel-aspect-ratio\=\(fraction\)1/1\,\ chroma-site\=\(string\)mpeg2\,\
colorimetry\=\(string\)bt709\,\ framerate\=\(fraction\)0/1"
New clock: GstSystemClock
ERROR: from element /GstPipeline:pipeline0/GstX265Enc:x265enc0: Can not
initialize x265 encoder.
Additional debug info:
gstx265enc.c(700): gst_x265_enc_init_encoder ():
/GstPipeline:pipeline0/GstX265Enc:x265enc0
Execution ended after 0:00:00.000055373
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ..."

Everything looks okay appart the framerate that is set to 0 (variable). Do you
have any idea of what could be happening? 

Thanks.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list