[Bug 796929] New: Issue with h264depay and avdec_h264 when using rtpulpfecenc/dec !

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed Aug 8 04:53:00 UTC 2018


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

            Bug ID: 796929
           Summary: Issue with h264depay and avdec_h264 when using
                    rtpulpfecenc/dec !
    Classification: Platform
           Product: GStreamer
           Version: unspecified
                OS: Windows
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gst-plugins-good
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: nithinpradeep786 at gmail.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

Created attachment 373283
  --> https://bugzilla.gnome.org/attachment.cgi?id=373283&action=edit
Sample code for FEC sender and receiver with h264

Hello All, 

I am currently working on adding elements rtpulpfecenc and rtpulpfecdec 
to my sender and receiver pipelines respectively. The example program for 
these were written in rust and uses rtpvp8pay /depay along with vp8enc 
and vp8dec . Since my application is only compatible with 
rtph264pay/depay ,I have used , 

*Sender:* 
filesrc >> decodebin >> videoconvert >> queue >> rtph264pay >> Queue >> 
rtpbin ( rtpulpfecenc > rtpsession ) >> udpsink 
*Receiver :* 
udpsrc>> netsim >>rtpbin ( funnel > rtpsession > rtpstorage > rtpssrcdemux > 
rtpjitterbuffer > rtpptdemux > rtpulpfecdec ) >> rtph264depay >> h264parse 
>> capsfilter >> *decodebin *>>videoconvert >> videoscale >> capsfilter >> 
x264enc >> matroskamux >> filesink 

I am setting the fec percentage as 10 on sender and drop as 1 % on receiver 
side , I am getting the ratio of packets unrecovered : recovered , But Issue 
is that decode bin at the receiver side uses *avdec_h264 *internally as 
decoder , it is producing the following errors, 

/0:00:09.053600607 26017 0x7f7f6c003230 ERROR libav :0:: {] Missing 
reference picture, default is 0 
0:00:09.053652680 26017 0x7f7f6c003230 ERROR libav :0:: {] 
decode_slice_header error 
0:00:09.118489816 26017 0x7f7f6c003230 ERROR libav :0:: {] Missing reference 
picture, default is 2 
0:00:09.641810087 26017 0x7f7f6c003230 ERROR libav :0:: {] 
decode_slice_header error 
0:00:09.657737341 26017 0x7f7f6c003230 ERROR libav :0:: {] Missing 
reference/ 

Attached below is the logs related to the same : 
log_with_decode_bin_ERROR_.txt 
<http://gstreamer-devel.966125.n4.nabble.com/file/t378456/log_with_decode_bin_ERROR_.txt> 

The Dot diagram for the following is also attached : 
*SERVER:* 
<http://gstreamer-devel.966125.n4.nabble.com/file/t378456/server_h264.png> 
*CLIENT:* 
<http://gstreamer-devel.966125.n4.nabble.com/file/t378456/client_h264.png> 


Is there any elements that I need to add when i use other pay/depay instead 
of VP8 ,or is this because of any wrong configuration? / 
Please Help me with this situation, 
*Eagerly Waiting for a response.* 

Sample code for sender and receiver is also attached below:



Regards, 
Nithin Pradeep.

-- 
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