Benutzer-Werkzeuge

Webseiten-Werkzeuge


becki:linux:multimedia

Dies ist eine alte Version des Dokuments!


Multimedia Tools

Infos about howto play, edit and stream audio and video

Play internet radio streams on the command line

Use soma

Record internet radio streams to a file

Just use curl. The resulting file is playable with common players like mplayer, xine or vlc

Audo and video editing with ffmpeg

Install on Slack

Download from slackbuilds and build it as root using su -, not only su. Otherwise the build will fail becaus it can't find texi2html.

Extract a section

This cuts out 61 seconds of all.mp3, starting at 41 min 8 sec from the beginning and writes the section to the file part.mp3. Note that no mp3 encoder is necessary and there is no quality loss.

ffmpeg -ss 41:08 -i all.mp3 -codec copy -t 61 part.mp3 

This technique works for viedo as well.

DVD ripping with HandBrake

Install

The easiest way by far to get copies of your DVD movies is command line app HandBrake.

The Ubuntu CLI binary (Precise) works on Slack (14.0). Just download the deb package, unpack it with ar -x, untar all appearing archives and move HandBrakeCLI to /usr/local/bin.

As of Slack 14.1 the Ubuntu version handbrake - 0.10.2ppa1~vivid1 needs libass, lame and x264 from www.slackbuilds.org. And the Symlink libx264.so.142 → libx264.so.146 in /usr/lib(64).

Alternatively, as of Slack 13.0 Handbrake is available at www.slackbuilds.org. But it has many more dependencies.

How to use HandBrake is described here.

Interesting (German) link: https://wiki.ubuntuusers.de/DVDs_manuell_rippen

It has almost no dependencies1), everything is build in. Both a binary version for Linux and the source code is available.

  1. Install libdvdcss2)
  2. Download the binary and copy it to /usr/local/bin.

Note: As of version 0.9.4 no generic tarball is available any more. But is possible to compile the HandbrakeCLI source (tested on Slack 13.0). Note that in order to compile Handbrake you need yasm which is available on www.slackbuilds.org. Note also that the build process aborts with an error, but the CLI interface works. — 2009-12-30

Note: The current binary version (0.9.3) is marked as Ubuntu Package. But it is still simply a tarball which works on Slack (tested on 13.0) — 2009-10-14

A possible alternative HandBrake is Thoggen, but it has loads of dependencies and is by far more complicated to install.

Usage

Get Info about DVD:

HandBrakeCLI -i /dev/dvd -t 0 2>err.txt

and look for the longest title.

Rip Example:

HandBrakeCLI -i /dev/dvd -o movie.mp4 --preset=Normal --loose-anamorphic -L [-a 1[,2]] [-A Deutsch[,English]] [-s 1] [-c 3]

Possibly helpful scripts for:

  • Getting info about a dvd, save it into dvdinfo.txt and display it in your pager
  • Ripping a DVD wit reasonable default settings

are here

CLIGuide, Intro on Linux.com, Intro on Linux-User (german)

Cookies helfen bei der Bereitstellung von Inhalten. Diese Website verwendet Cookies. Mit der Nutzung der Website erklären Sie sich damit einverstanden, dass Cookies auf Ihrem Computer gespeichert werden. Außerdem bestätigen Sie, dass Sie unsere Datenschutzerklärung gelesen und verstanden haben. Wenn Sie nicht einverstanden sind, verlassen Sie die Website. Weitere Information
becki/linux/multimedia.1449827531.txt.gz · Zuletzt geändert: 2015-12-11 09:52 von becki

Impressum - Datenschutzerklärung