FAQ_MA35D1_H.264 Decoder with MP4 Video

Post Reply
ytliu6
Posts: 79
Joined: 08 Nov 2022, 10:28

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

Code: Select all

ffmpeg -i input.mp4 -c:v libx264 -profile:v baseline -s 1280*720 -acodec mp3 output.mp4
After translation, you can put those files to MA35D1 root file system and use the following command to play the vide

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

Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 4 guests