MP4Box Merge MP4 Files


1. Configure and Compile


git clone https : //github.com/gpac/gpac.git
cd gpac
. / configure -- static - mp4box -- use - zlib = no
make - j4
sudo make install

2. Run

#!/bin/sh
MP4Box -cat ./0.mp4 -cat ./1.mp4 -cat ./2.mp4 -cat ./3.mp4 -cat ./4.mp4 -cat ./5.mp4 \
       -cat ./6.mp4 -cat ./7.mp4 -cat ./8.mp4 -cat ./9.mp4 -cat ./10.mp4 -cat ./11.mp4 \
       -cat ./12.mp4 -cat ./13.mp4 -cat ./14.mp4 -cat ./15.mp4 all16.mp4


MP4Box -cat ./video.mp4 -cat ./video.mp4 -cat ./video.mp4 -cat ./video.mp4 -cat ./video.mp4 \
       -cat ./video.mp4 -cat ./video.mp4 -cat ./video.mp4 -cat ./video.mp4 -cat ./video.mp4 \
       -cat ./video.mp4 -cat ./video.mp4 -cat ./video.mp4 -cat ./video.mp4 -cat ./video.mp4 \
       -cat ./video.mp4 res3860.mp4

3. Verify

run vlc against all16.mp4






你可能感兴趣的:(Stream,Media)