I try to display over hdmi a video encoded in H.264 with a bitrate of 499kbps and an audio stereo track encoded in MPEG-4 AAC with a bitrate of 93 kbps with gstreamer 1.0 on my iMX6Q.
When I use a pipeline without audio, I have no problem :
gst-launch-1.0 filesrc location=/media/mmcblk1p1/FILE0_5MinSyncTest.mp4 ! video/quicktime ! aiurdemux ! vpudec ! imxv4l2sink
But when I add audio in the pipeline :
gst-launch-1.0 filesrc location=/media/mmcblk1p1/FILE0_5MinSyncTest.mp4 ! video/quicktime ! aiurdemux name=demux demux. ! queue ! vpudec ! imxv4l2sink demux. ! queue ! beepdec ! alsasink
I have timestamping proble :
There may be a timestamping problem, or this computer is too slow.
If I add sync="false" to imxv4l2sink element there is no more timestamping problem but the sound is offset from the video.
I can play video with bigger bitrate without audio, I have no timestamping problem.
Is there a solution to fix this timestamping problem ?