This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
copy_dvd [2021-05-05 17:51:27] mi [More options] |
copy_dvd [2021-12-26 14:54:08] (current) mi |
||
---|---|---|---|
Line 86: | Line 86: | ||
} | } | ||
</file> | </file> | ||
+ | |||
+ | =Extract subtitles | ||
+ | |||
+ | List content with ''lsdvd -x''. From the output, select the VTS index for the movie, and select the index of the wanted subtitle track. | ||
+ | |||
+ | vtsid=2 # "Title: 02, [...] VTS: 02" will use VTS_02_0.IFO | ||
+ | subid=0 # "Subtitle: 01" : 1st subtitle track is index 0 | ||
+ | |||
+ | mencoder -dvd-device VIDEO_TS dvd://1 -nosound -ovc 'copy' -o /dev/null -ifo VIDEO_TS/VTS_0${vtid}_0.IFO -sid $subid -vobsubout vobsubs-$subid | ||
+ | |||
+ | (See also https://www.rigacci.org/wiki/doku.php/doc/appunti/linux/video/vobcopy) | ||
{{tag>public video perl}} | {{tag>public video perl}} |