First, you need to check the MP4 files is H.264 format or not. If not, you need to translate it to H.264.
You can use FFmpeg to translate them and change the resolution to match your display
Code: Select all
ffmpeg -i input.mp4 -c:v libx264 -profile:v baseline -s 1280*720 -acodec mp3 output.mp4
Code: Select all
gst-launch-1.0 filesrc location=/opt/videos/output.mp4 ! qtdemux name=demux demux.audio_0 ! queue ! decodebin ! audioconvert ! audioresample ! autoaudiosink demux.video_0 ! queue ! decodebin ! nufbdevsink ! fakesink sync=true