Note

This is the documentation for the latest development branch and may refer to features that are not available in released versions. If you are looking for the documentation for a specific release, use the drop-down menu on the left and select the desired version.

MP4 Demo#

Overview#

This set of demos shows how to work with MP4 files on K230, including muxing, demuxing, and playback.

Usage#

Source Location#

  • recorder example: /src/rtsmart/examples/mpp/sample_muxer

  • demuxer example: /src/rtsmart/examples/mpp/sample_demuxer

  • player example: /src/rtsmart/examples/mpp/sample_player

Examples#

Example 1: Record an MP4 File#

./sample_muxer.elf -o /data/test.mp4

Example 2: Parse an MP4 File#

./sample_demuxer.elf /data/test.mp4

Example 3: Play an MP4 File#

./sample_player.elf /data/test.mp4 101
./sample_player.elf /data/test.mp4 20
Comments list
Comments
Log in