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.

TDA4VM: TDA4VM: the question of GStreamer Pipelines in SDK8.1

Part Number: TDA4VM


Hello,

I want to have a encoder/decoder test on TDA4 SDK0801,

Can you provide a codec test demo?

When I tried to test V4L2 video decoder released in the SDK v0801 using gstreamer, I faced segment fault. 

Could you please check below error and let me know how to test V4L2 decoder with gstreamer?

1、root@j7-evm:~# gst-launch-1.0 filesrc location=/home/root/1280x720_allIframe_CBR_20mbps_HIGHSPEED_HP_CABAC.264 ! qtdemux ! h264parse ! v4l2h264dec ! video/x-raw,format=NV12 ! waylandsink
Setting pipeline to PAUSED ...
Caught SIGSEGV
#0 0x0000ffffae7427ec in waitpid () from /lib/libpthread.so.0
#1 0x0000ffffae7f2150 in g_on_error_stack_trace ()
#2 0x0000000000403fc8 in _start ()
Spinning. Please run 'gdb gst-launch-1.0 2095' to continue debugging, Ctrl-C to quit, or Ctrl-\ to dump core.

2、root@j7-evm:~# gst-launch-1.0 playbin uri=file:///home/root/1280x720_allIframe_CBR_20mbps_HIGHSPEED_HP_CABAC.264 video-sink=kmssink
Setting pipeline to PAUSED ...
ERROR: Pipeline doesn't want to pause.
ERROR: from element /GstKMSSink:kmssink0: Could not open DRM module (NULL)
Additional debug info:
../gst-plugins-bad-1.16.3/sys/kms/gstkmssink.c(835): gst_kms_sink_start (): /GstKMSSink:kmssink0:
reason: No such file or directory (2)
Setting pipeline to NULL ...
Freeing pipeline ...

Thanks and Best Regards,

  • Hi qing,

    gst-launch-1.0 filesrc location=/home/root/1280x720_allIframe_CBR_20mbps_HIGHSPEED_HP_CABAC.264 ! qtdemux ! h264parse ! v4l2h264dec ! video/x-raw,format=NV12 ! waylandsink

    qtdemux pipeline is not required if the src file is .264 encoded.

    please use,

    gst-launch-1.0 filesrc location=<file_location> ! h264parse ! v4l2h264dec ! video/x-raw,format=NV12  ! kmssink driver-name=tidss
    gst-launch-1.0 filesrc location=<file_location> ! h264parse ! v4l2h264dec ! video/x-raw,format=NV12  ! waylandsink

    As many other issues are resolved on SDK8.4, it is recommended to migrate to SDK8.4

    Regards

    Nikshith