doc:appunti:linux:video:mplayer
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| doc:appunti:linux:video:mplayer [2009/09/18 10:35] – niccolo | doc:appunti:linux:video:mplayer [2020/04/21 08:54] (current) – [How to extract subtitles from a DVD-Video into VobSub format] niccolo | ||
|---|---|---|---|
| Line 2: | Line 2: | ||
| Mplayer was also very useful in extracting audio (AC3) and video (MPEG2) from a badly encoded DVD, see **[[dvd_ifo_errors]]**. | Mplayer was also very useful in extracting audio (AC3) and video (MPEG2) from a badly encoded DVD, see **[[dvd_ifo_errors]]**. | ||
| - | |||
| ===== mplayer ===== | ===== mplayer ===== | ||
| Line 48: | Line 47: | ||
| ==== How to extract subtitles from a DVD-Video into VobSub format ==== | ==== How to extract subtitles from a DVD-Video into VobSub format ==== | ||
| - | **A better way to convert DVD-Video subtitles** into VobSub format is to use [[transcode#how_to_extract_subtitles_from_a_dvd-video_into_vobsub_format|transcode]]. | + | **A better way to convert DVD-Video subtitles** into VobSub format is to use **[[ripping_dvds_with_mencoder#subtitles|transcode]]**. |
| This is because mencoder seems to produce different image data into the '' | This is because mencoder seems to produce different image data into the '' | ||
| Line 75: | Line 74: | ||
| </ | </ | ||
| - | With [[subtitleripper]] you can convert VobSub subtitles into single .pgm images. | + | With [[subtitleripper|vobsub2pgm]] you can convert VobSub subtitles into single .pgm images. |
| + | |||
| + | ==== Ripping a DVD with mplayer ==== | ||
| + | |||
| + | Sometimes trascoding a video DVD with **'' | ||
| + | |||
| + | **'' | ||
| + | |||
| + | First of all, we can play a DVD track from an .iso image mounted with the loop option. In this example we play track #27, using audio track ID 130 and no subtitles: | ||
| + | |||
| + | < | ||
| + | mount -o loop,ro dvdimage.iso / | ||
| + | mplayer dvd:// | ||
| + | </ | ||
| + | |||
| + | With this command we will dump track #27 to a raw compressed file, the file will contains all the audio tracks and subtitles: | ||
| + | |||
| + | < | ||
| + | mplayer dvd:// | ||
| + | </ | ||
| + | |||
| + | The dumped file can be played with '' | ||
doc/appunti/linux/video/mplayer.1253262950.txt.gz · Last modified: by niccolo
