User Tools

Site Tools


doc:appunti:linux:video:mplayer

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
doc:appunti:linux:video:mplayer [2012/04/16 17:26] niccolodoc:appunti:linux:video:mplayer [2020/04/21 08:54] (current) – [How to extract subtitles from a DVD-Video into VobSub format] niccolo
Line 47: 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 ''**.sub**'' file and slightly different timestamps into the index (''**.idx**'') file depending on the used video codec (''-ovc'' option): strange enough, I got different outputs using //copy// and //raw// options. Transcode instead seems to be more deterministic. This is because mencoder seems to produce different image data into the ''**.sub**'' file and slightly different timestamps into the index (''**.idx**'') file depending on the used video codec (''-ovc'' option): strange enough, I got different outputs using //copy// and //raw// options. Transcode instead seems to be more deterministic.
Line 74: Line 74:
 </code> </code>
  
-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 ==== ==== Ripping a DVD with mplayer ====
  
-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 subtitle:+Sometimes trascoding a video DVD with **''avidemux''** (my favourite transcoding program) does not give correct results. I transcode the VOB files directly from the DVD, but the resulting video gets the multi-angle scenes interlaced. I think that the problem aroses from ''avidemux'' not being able to cope with [[wp>DVD-Video#Chapters_and_angles|DVD multi-angle scenes]]. 
 + 
 +**''mplayer''** instead plays the video correctly, so I use ''mplayer'' to extract a MPEG stream, and then I user ''avidemux'' to transcode. 
 + 
 +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:
  
 <code> <code>
Line 91: Line 95:
 </code> </code>
  
-The dumped file can be played with ''mplayer'' or opened (and saved in XviD) with **''avidemux''**.+The dumped file can be played with ''mplayer'' or opened (and transcoded in XviD/mp3) with **''avidemux''**.
doc/appunti/linux/video/mplayer.1334589991.txt.gz · Last modified: 2012/04/16 17:26 by niccolo