This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TDA4VH-Q1: Require assistance to understand h265 decoding using hardware VPU.

Part Number: TDA4VH-Q1

Hi team,

We are using "ti-processor-sdk-rtos-j784s4-evm-11_00_00_06" and "ti-processor-sdk-linux-adas-j784s4-evm-11_00_00_08". 

In our case we are trying to use hardware decoding VPU to decode our H265 file or Stream. At that time it is throwing "Internal data stream error". Meanwhile the avdec_h265 processing the input without any issue. Our ultimate goal is to use the hardware decoder, because our main application already needed the maximum processing of CPU.

please find the log of terminal given below:

root@j784s4-evm:~# gst-launch-1.0 -v udpsrc port=5000 !     application/x-rtp, media=video, clock-rate=90000, encoding-name=H265, payload=96 !  rtph265depay ! h265parse ! v4l2h265dec ! videoconvert ! video/x-raw, format=NV12 ! fakesink                                                                                                                                                                                               
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
/GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:src: caps = application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=(string)H265, payload=(int)96
/GstPipeline:pipeline0/GstRtpH265Depay:rtph265depay0.GstPad:src: caps = video/x-h265, stream-format=(string)byte-stream, alignment=(string)au
/GstPipeline:pipeline0/GstH265Parse:h265parse0.GstPad:sink: caps = video/x-h265, stream-format=(string)byte-stream, alignment=(string)au
/GstPipeline:pipeline0/GstRtpH265Depay:rtph265depay0.GstPad:sink: caps = application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=(string)H265, payload=(int)96
Redistribute latency...
/GstPipeline:pipeline0/GstH265Parse:h265parse0.GstPad:src: caps = video/x-h265, stream-format=(string)byte-stream, alignment=(string)au, width=(int)1280, height=(int)720, framerate=(fraction)30/1, chroma-format=(string                                                                                                                                                                                                            
ERROR: from element /GstPipeline:pipeline0/GstUDPSrc:udpsrc0: Internal data stream error.
Additional debug info:
/usr/src/debug/gstreamer1.0/1.22.12/libs/gst/base/gstbasesrc.c(3134): gst_base_src_loop (): /GstPipeline:pipeline0/GstUDPSrc:udpsrc0:
streaming stopped, reason not-negotiated (-4)
Execution ended after 0:00:00.792701025
Setting pipeline to NULL ...
Freeing pipeline ...
root@j784s4-evm:~# 

root@j784s4-evm:~# gst-launch-1.0 filesrc location=output.h265 ! h265parse ! v4l2h265dec ! videoconvert ! video/x-raw, format=NV12 ! fakesink
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
Redistribute latency...
ERROR: from element /GstPipeline:pipeline0/GstH265Parse:h265parse0: Internal data stream error.
Additional debug info:
/usr/src/debug/gstreamer1.0/1.22.12/libs/gst/base/gstbaseparse.c(3699): gst_base_parse_loop (): /GstPipeline:pipeline0/GstH265Parse:h265parse0:
streaming stopped, reason not-negotiated (-4)
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
Freeing pipeline ...
root@j784s4-evm:~# 

 Let me know if you need additional information from my end.

 

Regards,

Jenius R