#!/bin/sh gst-launch filesrc location=$1 \ ! qtdemux name=demux demux.video_00 \ ! typefind \ ! TIViddec2 \ ! dmaiperf print-arm-load=TRUE engine-name=codecServer \ ! TIC6xColorspace engineName=codecServer \ ! videoscale \ ! 'video/x-raw-rgb, width=800, height=600' \ ! tidisplaysink2 -v video-standard=auto display-output=LCD mmap-buffer=true
The results are promising: we observe 24 fps and the video seems to play with the DSP at ~75% load, the ARM at about 25% load. However, it is not rescaled. And it is still shown in 640x480 resolution on the screen.
Some Questions:
- We tried using the TIVidResize codec, but it fails immediately. My guess is that it only supports devices with hardware resizers. Is there a DSP based resizer that could be used?
- Is there a way to center the VGA resolution video if no resizing is possible (instead of having it played on the top left)?
- We can re-encode the video to another codec type (mpeg, etc.) if needed. Are there any TI codecs that might support SVGA resolution?
Any insight or suggestions would be greatly appreciated.
Thanks.
-Mike