Skip to content

petergarbers/Voyeur

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

75 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sources
=======

How to install latest ffmpeg on Ubuntu
-------------------------------
Links
-----
* http://ubuntuforums.org/showthread.php?t=786095 (we have changed step 5)

* STEP 1
------------------------------------------------------------------------------------------
* sudo apt-get remove ffmpeg x264 libx264-dev

* STEP 2
------------------------------------------------------------------------------------------
  sudo apt-get update
  sudo apt-get install build-essential checkinstall git libfaac-dev libjack-jackd2-dev \
    libmp3lame-dev libopencore-amrnb-dev libopencore-amrwb-dev libsdl1.2-dev libtheora-dev \
    libva-dev libvdpau-dev libvorbis-dev libx11-dev libxfixes-dev texi2html yasm zlib1g-dev

* STEP 3
------------------------------------------------------------------------------------------
  git clone git://git.videolan.org/x264
  cd x264
  ./configure --enable-static
  make
  sudo checkinstall --pkgname=x264 --pkgversion="3:$(./version.sh | \
      awk -F'[" ]' '/POINT/{print $4"+git"$5}')" --backup=no --deldoc=yes \
      --fstrans=no --defaultit clone git://git.videolan.org/x264

* STEP 4
------------------------------------------------------------------------------------------
  sudo apt-get remove libvpx-devcd libvpx
  git clone http://git.chromium.org/webm/libvpx.git
  cd libvpx
  ./configure
  make
  sudo checkinstall --pkgname=libvpx --pkgversion="1:$(date +%Y%m%d%H%M)-git" --backup=no \
      --deldoc=yes --fstrans=no --default

* STEP 5
------------------------------------------------------------------------------------------
  cd
  git clone --depth 1 git://git.videolan.org/ffmpeg
  cd ffmpeg
  ./configure --enable-gpl --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb \
      --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libx264 \
      --enable-nonfree --enable-postproc --enable-version3 --enable-x11grab  --enable-libvpx
  make
  sudo checkinstall --pkgname=ffmpeg --pkgversion="5:$(date +%Y%m%d%H%M)-git" --backup=no \
    --deldoc=yes --fstrans=no --default
  hash x264 ffmpeg ffplay ffprobe
------------------------------------------------------------------------------------------


Conversion settings
-------------------
http://stackoverflow.com/questions/5487085/ffmpeg-covert-html-5-video-not-working
http://johndyer.name/ffmpeg-settings-for-html5-codecs-h264mp4-theoraogg-vp8webm/


ffmpeg -i test.mpeg -b 1500k -vcodec libx264 -vpre slow -vpre baseline -g 30 test.mp4
ffmpeg -i test.mpeg -b 1500k -vcodec libvpx -acodec libvorbis -ab 160000 -f webm -g 30 test.webm
ffmpeg -i test.mpeg -b 1500k -vcodec libtheora -acodec libvorbis -ab 160000 -g 30 test.ogv


Conversion cheat sheet
----------------------
http://rodrigopolo.com/ffmpeg/cheats.html

About

video gem

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published