All-
We're currently using DVRRDK-03.00.01.03 on a custom board with 2x TVP5158 front-end decoders. We can successfully capture multiple streams of H.264 (and MPEG-2) SD video, mux / de-mux them into transport streams, and play them back externally. When we attempt to play back captured streams using the DM814x, however, the output image is offset down and to the right rather than being properly aligned. I've included a number of photos and explanations below which illustrate this issue.
The reference signal we're testing with, taken directly from a signal generator into a monitor looks like this (note the 2.5% green overscan marks, as well as my sticky notes showing image extents due to scaling & cropping on the monitor):
When we pass video through our board without any encode / decode (CaptureLink --> DisplayLink), we see a similar result (chroma-slop aside):
When we capture and encode the video (CaptureLink --> DeiLink --> MergeLink --> IpcLink (m3vpss out) --> IpcLink (m3video in) --> EncLink --> IpcBitsOutLink --> IpcBitsInLink), the resultant stream shows the full extent of the test pattern when played back in VLC or mplayer as expected (note the white 0% overscan line around the outside):
However, when we decode this exact same file on the DM814x (IpcBitsOutLink --> IpcBitsInLink --> DecLink --> IpcLink (m3video out) --> IpcLink (m3vpss in) --> DisplayLink) and output via SDDAC(SEC1), the resultant image is shifted down and to the right - note the grey cruft at the top and left-hand side:
I've also verified that the SDDAC alignment looks otherwise OK when the internal colorbars are enabled:
More importantly, I've verified that the decode chain otherwise works with TI's IVAHD MPEG-2 video decode codec. We've integrated both that codec as well as a third-party MPEG-2 video encode codec into our stack. The setup for H.264 vs. MPEG-2 is almost identical except for the codec instantiated, and we see no such offset when decoding MPEG-2:
I'd appreciate any ideas on where to look for a solution to this...
- I've tried pulling in newer versions of the H.264 decode codec with no success (current version is REL.500.V.H264AVC.D.HP.IVAHD.02.00.05.00, and I've also tested with REL.500.V.H264AVC.D.HP.IVAHD.02.00.08.00).
- I've tested with both NTSC and PAL inputs. Results were similar (offset on H.264 decode on DM814x, no offset and proper 0% overscan with VLC or mplayer, no offset with MPEG-2 codec set).
- I've tested with just raw H.264 and MPEG-2 video ES (i.e. no transport stream mux / demux). Results were similar...
Thanks!
-Cory





