Other Parts Discussed in Thread: AM67A, TDA4VM
Tool/software:
Dear Support
In SDK version 10 of the AM69A, decoding certain H264 streams using gstreamer with v4l2h264 decoding results in performance being reduced to less than half, specifically 12fps.
This issue is also observed on the AM67A and AM62A, which use the Wave5 codec IP,
while the previous generation TDA4VM with its older codec IP shows normal decoding performance.
Attached are the test command and the test streams used to reproduce this issue.
# gst-launch-1.0 -v filesrc location="./slow_decoding.mp4" ! qtdemux ! h264parse ! queue ! v4l2h264dec ! video/x-raw,format=NV12 ! fpsdisplaysink video-sink="fakesink" sync=true text-overlay=false
/GstPipeline:pipeline0/GstFPSDisplaySink:fpsdisplaysink0/GstFakeSink:fakesink0: sync = true
/GstPipeline:pipeline0/GstFPSDisplaySink:fpsdisplaysink0: last-message = rendered: 7, dropped: 0, current: 13.30, average: 13.30
/GstPipeline:pipeline0/GstFPSDisplaySink:fpsdisplaysink0: last-message = rendered: 14, dropped: 0, current: 12.58, average: 12.93
/GstPipeline:pipeline0/GstFPSDisplaySink:fpsdisplaysink0: last-message = rendered: 20, dropped: 0, current: 11.99, average: 12.63
/GstPipeline:pipeline0/GstFPSDisplaySink:fpsdisplaysink0: last-message = rendered: 26, dropped: 0, current: 11.99, average: 12.48
/GstPipeline:pipeline0/GstFPSDisplaySink:fpsdisplaysink0: last-message = rendered: 33, dropped: 0, current: 12.03, average: 12.38
/GstPipeline:pipeline0/GstFPSDisplaySink:fpsdisplaysink0: last-message = rendered: 39, dropped: 0, current: 12.00, average: 12.32
/GstPipeline:pipeline0/GstFPSDisplaySink:fpsdisplaysink0: last-message = rendered: 45, dropped: 0, current: 11.78, average: 12.24
/GstPipeline:pipeline0/GstFPSDisplaySink:fpsdisplaysink0: last-message = rendered: 51, dropped: 0, current: 11.99, average: 12.21
# gst-launch-1.0 -v filesrc location="./slow_decoding.mp4" ! qtdemux ! h264parse ! queue ! video/x-h264,stream-format=byte-stream,alignment=au ! avdec_h264 ! video/x-raw,format=NV12 ! fpsdisplaysink video-sink="fakesink" sync=true text-overlay=false
/GstPipeline:pipeline0/GstFPSDisplaySink:fpsdisplaysink0: last-message = rendered: 23, dropped: 0, current: 30.19, average: 22.24
/GstPipeline:pipeline0/GstFPSDisplaySink:fpsdisplaysink0: last-message = rendered: 39, dropped: 0, current: 29.91, average: 24.85
/GstPipeline:pipeline0/GstFPSDisplaySink:fpsdisplaysink0: last-message = rendered: 55, dropped: 0, current: 29.90, average: 26.14
/GstPipeline:pipeline0/GstFPSDisplaySink:fpsdisplaysink0: last-message = rendered: 71, dropped: 0, current: 30.19, average: 26.95
/GstPipeline:pipeline0/GstFPSDisplaySink:fpsdisplaysink0: last-message = rendered: 86, dropped: 0, current: 30.00, average: 27.44
/GstPipeline:pipeline0/GstFPSDisplaySink:fpsdisplaysink0: last-message = rendered: 101, dropped: 0, current: 29.99, average: 27.79
Test Stream Download : Link