Skip to content
This repository was archived by the owner on Jun 30, 2021. It is now read-only.

Commit 4da2067

Browse files
committed
1 parent 067f14b commit 4da2067

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

video-rec/bin/fix_videos.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ set -e
66
# Optimize for HTTP streaming and fix end time
77
for f in *.mp4; do
88
echo "Optimizing ${f} for HTTP streaming..."
9-
# -inter Duration : interleaves media data in chunks of
10-
# desired duration (in seconds). This is useful
11-
# to optimize the file for HTTP/FTP streaming
12-
# or reducing disk access.
9+
# -inter Duration : interleaves media data in chunks of desired
10+
# duration (in seconds). This is useful to optimize the file for
11+
# HTTP/FTP streaming or reducing disk access.
1312
# https://gpac.wp.imt.fr/mp4box/mp4box-documentation/
1413
MP4Box -isma -inter ${MP4_INTERLEAVES_MEDIA_DATA_CHUNKS_SECS} ${f}
14+
# Credits to @taskworld @dtinth https://goo.gl/JhJRI8
1515
done
1616

1717
# May need to fix perms when mounting volumes

0 commit comments

Comments
 (0)