Other Parts Discussed in Thread: TDA4VH
Chip:TDA4VH
SDK:DCU_ProcessorSDK_Rtos_08_05_00_11_FAW
1.Encode Test:
root@j784s4-evm:/opt# gst-launch-1.0 filesrc location=/opt/image.yuv ! rawvideoparse width=1920 height=1200 format=nv12 framerate=1/1 ! v4l2h264enc ! filesink location=/opt/output_video.mp4 sync=true Setting pipeline to PAUSED ... Pipeline is PREROLLING ... Redistribute latency... Pipeline is PREROLLED ... Setting pipeline to PLAYING ... New clock: GstSystemClock Got EOS from element "pipeline0". Execution ended after 0:00:01.000940405 Setting pipeline to NULL ... Freeing pipeline ...


Encoded data is wrong!
2.Decode Test
root@j784s4-evm:/opt# gst-launch-1.0 filesrc location=/opt/output_video.mp4 ! matroskademux ! h264parse ! queue ! v4l2h264dec ! filesink location=/opt/output_video.yuv Setting pipeline to PAUSED ... Pipeline is PREROLLING ... ERROR: from element /GstPipeline:pipeline0/GstMatroskaDemux:matroskademux0: Could not demultiplex stream. Additional debug info: ../gst-plugins-good-1.16.3/gst/matroska/matroska-demux.c(5745): gst_matroska_demux_loop (): /GstPipeline:pipeline0/GstMatroskaDemux:matroskademux0: got eos but no streams (yet) ERROR: pipeline doesn't want to preroll. Setting pipeline to NULL ... Freeing pipeline ...
Decoding failed with file size zero!