We are using the DM8148 EVM with ezsdk 5.04 and trying to use gstreamer.
With the following pipelines:
record:
gst-launch videotestsrc is-live=true ! video/x-raw-yuv,framerate=60/1 ! \
clockoverlay auto-resize="0" shaded-background=true time-format="%y %j %H:%M:%S" ! \
gstperf ! omx_h264enc ! mpegtsmux ! filesink location=test.tsmux
playback:
gst-launch filesrc location=test.tsmux ! mpegtsdemux ! \
h264parse access-unit=true ! \
omx_h264dec ! omx_scaler ! video/x-raw-yuv,width=800,height=480 ! \
omx_ctrl display-mode=OMX_DC_MODE_1080P_60 display-device=LCD ! gstperf ! omx_videosink sync=false display-device=LCD
The test pattern is recorded and played back and the clock in the image seems to be playing at the right speed. The output of gstperf shows about 60 frames a second
both record and playback.
If the record is changed from framerate=60/1 to framerate=30/1, then the record shows 30 frames a second but the playback still shows 60 frames a second.
Is timing information supposed to be associated with the recording so that the playback can be done at the right speed? Do the pipelines need to be altered to make this happen?
Thanks.