The attached patches add zero-copy support for DM365. Zero-copy support helps
in meeting real-time performance when playing audio+video clips (such as an MP4
file with H.264 video and AAC audio).
* You are using DVSDK 4.00.00.22. It is assumed that you have already applied
the patches in tracker 1236 to upgrade DM365 support to use DVSDK 4.00, which
can be downloaded from
* You are using version 839 of the trunk. Later versions will work but there is
no guarantee that the patches will apply cleanly.
* Zero-copy decode is only supported with clips whose size are as large as the
display. Support for centering and displaying small clips is not supported.
* Zero-copy decode is not enabled by default (due to the above limitation). To
enable it, you must pass padAllocOutbufs=TRUE to the TIViddec2 element.
Here's a pipeline that will play an H.264+AAC file back on DM365 in real-time
using zero-copy decode:
gst-launch filesrc location=sample.mp4 ! qtdemux name=demux demux.audio_00 !
queue max-size-buffers=8000 max-size-time=0 max-size-bytes=0 ! TIAuddec1 !
alsasink demux.video_00 ! queue ! TIViddec2 padAllocOutbufs=TRUE !
TIDmaiVideoSink videoStd=720P_60 videoOutput=component numBufs=5 hideOSD=true