[FFmpeg-user] Video Standards for the Net

Mettavihari D tv.lists at gmail.com
Mon Aug 29 03:10:41 EEST 2016


We have recently installed clipbucket as a video site
I find that the compression they use is as below.
My question is whether those standards are good or they should be increased
in quality.

best regards
Mettavihari

# 1080 ffmpeg conversion
ffmpeg -i $fl -f mp4 -vcodec libx264 -preset medium -r 25 -vb 1080000 -s
1920x1080 -aspect 1.77777 -acodec libfdk_aac -ab 128000 -ar 22050
$file1-1080.mp4

#== Mp4Box Command ==
MP4Box -inter 0.5 $file1-1080.mp4

# 720 ffmpeg conversion
ffmpeg -i $fl -f mp4 -vcodec libx264 -preset medium -r 25 -vb 720000 -s
1280x720 -aspect 1.77777 -acodec libfdk_aac -ab 128000 -ar 22050
$file1-720.mp4

#= Mp4Box Command ==
MP4Box -inter 0.5 $file1-720.mp4

# 480 ffmpeg conversion
ffmpeg -i $fl -f mp4 -vcodec libx264 -preset medium -r 25 -vb 480000 -s
854x480 -aspect 1.77777 -acodec libfdk_aac -ab 128000 -ar 22050
$file1-480.mp4

#== Mp4Box Command ==
MP4Box -inter 0.5 $file1-480.mp4

# 360 ffmpeg conversion
ffmpeg -i $fl -f mp4 -vcodec libx264 -preset medium -r 25 -vb 360000 -s
640x360 -aspect 1.77777 -acodec libfdk_aac -ab 128000 -ar 22050
$file1-360.mp4

#== Mp4Box Command ==
MP4Box -inter 0.5 $file1-360.mp4

# 240 ffmpeg conversion
ffmpeg -i $fl -f mp4 -vcodec libx264 -preset medium -r 25 -vb 240000 -s
428x240 -aspect 1.77777 -acodec libfdk_aac -ab 128000 -ar 22050
$file1-240.mp4

#== Mp4Box Command ==
MP4Box -inter 0.5 $file1-240.mp4


#Create thumbs

convert $file1.png -resize 168x105 $file1-168x105-1.jpg
convert $file1.png -resize 416x260 $file1-416x260-1.jpg
convert $file1.png -resize 632x395 $file1-632x395-1.jpg
convert $file1.png -resize 768x432 $file1-768x432-1.jpg
convert $file1.png $file1-original-1.jpg


-- 
Streaming video from http://learntv.lk


More information about the ffmpeg-user mailing list