Video Presets

Categories

Component ID

1096466

Component name

Video Presets

Component type

module

Maintenance status

Development status

Component security advisory coverage

covered

Downloads

18750

Component created

Component changed

Component body

Features exportable video presets for video module.

Zencoder

This module is designed for Zencoder use latest 7.x-2.x version.

FFmpge

If you use FFmpeg or you can download this http://drupal.org/node/1218482 release for FFmpeg.

Some useful commands

You can get an idea about bitrate and other information.
JWplayer compatible
/usr/bin/ffmpeg -y -i source.mov -vcodec h264 -acodec mp3 -ar 44100 -ab 128k -ac 2 -b 1664K -bt 1664K -r 25 -g 50 -keyint_min 25 -sc_threshold 40 -i_qfactor 0.71 -coder 1 -flags +loop -cmp +chroma -partitions +parti4x4+partp8x8+partb8x8 -me hex -subq 5 -me_range 16 -b_strategy 1 source.mp4
iPhone, iPad compatible
!ffmpeg -i !videofile -y -acodec libfaac -ab 128k -vcodec libx264 -vpre slow -vpre baseline -crf 10 -threads 0 -ar 44100 -s !widthx!height -r 20 !convertfile
!ffmpeg -i !videofile input -acodec aac -ab 128kb -vcodec mpeg4 -b 1200kb -mbd 2 -flags +4mv+trell -aic 2 -cmp 2 -subcmp 2 -s !widthx!height -title X !convertfile
Flash
!ffmpeg -i video_origine.avi -ab 56 -ar 44100 -b 200 -r 15 -s !widthx!height -f flv !convertfile