Difference between revisions of "Todic Stream"
(→debian ffmpeg) |
|||
(2 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
+ | =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= | =debian ffmpeg= | ||
− | + | ||
#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 6: | 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
- tilføj debian multimedia til sources.list. (husk at installere
debian-multimedia-keyring
) - 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
- apt-get install build-essential
- apt-get build-dep ffmpeg
for at lave debs
- apt-get source ffmpeg
- tilret <ffmpeg-dir>/debian/confflags
- cd <ffmpeg-dir>
- dpkg-buildpackage