Difference between revisions of "Todic Stream"

From HoerupWiki
Jump to: navigation, search
 
Line 9: Line 9:
  
 
=debian ffmpeg=
 
=debian ffmpeg=
Følg http://stream0.org/2008/01/install-ffmpeg-on-debian-etch.html
+
 
  
 
#tilføj debian multimedia til sources.list. (husk at installere <code>debian-multimedia-keyring</code>)
 
#tilføj debian multimedia til sources.list. (husk at installere <code>debian-multimedia-keyring</code>)
Line 15: Line 15:
  
 
<strike>
 
<strike>
 +
Følg http://stream0.org/2008/01/install-ffmpeg-on-debian-etch.html
 
#apt-get install build-essential  
 
#apt-get install build-essential  
 
#apt-get build-dep ffmpeg
 
#apt-get build-dep ffmpeg

Latest revision as of 09:18, 5 January 2010

ffmpeg parameters

ffmpeg -i input.avi -s 480x320 -vcodec libx264 -acodec libfaac -ac 1 -ar 16000 -r 13 -ab 32000 -aspect 3:2 output-video.h264.mp4

ffmpeg -i input.avi -s 480x320 -vcodec mpeg4 -acodec libfaac -ac 1 -ar 16000 -r 13 -ab 32000 -aspect 3:2 output-video.mp4

hust at køre filen igennem qt-faststart for progressive download


debian ffmpeg

  1. tilføj debian multimedia til sources.list. (husk at installere debian-multimedia-keyring)
  2. apt-get install ffmpeg (ffmpeg fra debian-multimedia er med alle plugins)

Følg http://stream0.org/2008/01/install-ffmpeg-on-debian-etch.html

  1. apt-get install build-essential
  2. apt-get build-dep ffmpeg

for at lave debs

  1. apt-get source ffmpeg
  2. tilret <ffmpeg-dir>/debian/confflags
  3. cd <ffmpeg-dir>
  4. dpkg-buildpackage