FAQ_MA35D1_H.264 Decoder with MP4 Video
Posted: 11 Jan 2023, 16:41
Nuvoton provides hardware decoder VC8000 to decode H.264 format video
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
After translation, you can put those files to MA35D1 root file system and use the following command to play the vide
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