Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
| Beide Seiten der vorigen Revision Vorhergehende Überarbeitung Nächste Überarbeitung | Vorhergehende Überarbeitung | ||
|
becki:linux:multimedia [2016-02-28 14:33] becki |
becki:linux:multimedia [2018-09-15 08:03] (aktuell) becki [Encode to x264] |
||
|---|---|---|---|
| Zeile 28: | Zeile 28: | ||
| [x265] | [x265] | ||
| </code> | </code> | ||
| + | |||
| + | Command to build the package with the optional packages enabled: | ||
| ASS=yes FAAC=yes LAME=yes X264=yes ./ffmpeg.SlackBuild | ASS=yes FAAC=yes LAME=yes X264=yes ./ffmpeg.SlackBuild | ||
| + | |||
| + | FIXME FAAC seems not necessary any morge as of ffmpeg-3.2.4. Instead try FDK_AAC | ||
| + | |||
| + | Note: To install ffmpeg on a headless server (without X) it may be necessary to install additional stock packages first and to disable some features which are enabled by default (tested): | ||
| + | |||
| + | slackpkg install libXi libXtst | ||
| + | CACA=no OPENGL=no X11GRAB=no ASS=yes FAAC=yes LAME=yes X264=yes ./ffmpeg.SlackBuild | ||
| === Docs == | === Docs == | ||
| Zeile 37: | Zeile 46: | ||
| - https://ffmpeg.org/ffmpeg-all.html | - https://ffmpeg.org/ffmpeg-all.html | ||
| - http://trac.ffmpeg.org/wiki | - http://trac.ffmpeg.org/wiki | ||
| + | - https://www.ostechnix.com/20-ffmpeg-commands-beginners/ | ||
| Note that these official docs do not contain hints about DVD ripping. | Note that these official docs do not contain hints about DVD ripping. | ||
| Zeile 108: | Zeile 118: | ||
| Useful opts: | Useful opts: | ||
| <code> | <code> | ||
| + | -tune animation - good for cartoons | ||
| -an disable audio | -an disable audio | ||
| -vn disable video | -vn disable video | ||
| </code> | </code> | ||
| + | |||
| + | ==== Stream selection == | ||
| + | Example: Select all video stream and 2nd audio stream of first (and normally only) input file: | ||
| + | |||
| + | ffmpeg -i input.vob -map 0:v -map 0:a:1 output.mkv | ||
| ===== Manual DVD ripping == | ===== Manual DVD ripping == | ||
| Zeile 118: | Zeile 134: | ||
| Extract track n with | Extract track n with | ||
| - | mplayer dvd://n -dumpstream -dumpfile title_n.vob [-chapter m] | + | mplayer dvd://n -dumpstream -dumpfile title_n.vob [-chapter m-m] |
| If reading and/or extaction does not work (check for completeness, passages with garbage!) then try the following method: | If reading and/or extaction does not work (check for completeness, passages with garbage!) then try the following method: | ||
| Zeile 137: | Zeile 153: | ||
| ==== Encode == | ==== Encode == | ||
| - | ffmpeg -f concat -i voblist.txt output.mkv | + | ffmpeg -i input.vob output.mkv |
| + | |||
| + | See above for more options | ||
| ==== Todo == | ==== Todo == | ||
| - | - Use ''-map'' to select audio and video tracks | ||
| - Chapter markers | - Chapter markers | ||
| - subtitles | - subtitles | ||
| - multiple audio tracks | - multiple audio tracks | ||
| - Test ffmpeg -aspect | - Test ffmpeg -aspect | ||
| + | |||
| ===== DVD ripping with HandBrake == | ===== DVD ripping with HandBrake == | ||
| ==== Install == | ==== Install == | ||