Issue with h264depay and avdec_h264 when using rtpulpfecenc/dec !
Created by: nithin-pradeep786
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
The Dot diagram for the following is also attached :
_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.
Regards, Nithin Pradeep