doc:appunti:linux:video:transcode
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| doc:appunti:linux:video:transcode [2013/09/19 17:10] – [Converting from Flash Video to XviD] niccolo | doc:appunti:linux:video:transcode [2017/10/12 09:19] (current) – [avisync] niccolo | ||
|---|---|---|---|
| Line 34: | Line 34: | ||
| </ | </ | ||
| - | The output audio codec is '' | + | The output audio codec is '' |
| An insanely complicated recipe will use **mplayer to extract** the video and audio streams, then use **transcode to convert** the video to XviD (two pass, 400 kbit): | An insanely complicated recipe will use **mplayer to extract** the video and audio streams, then use **transcode to convert** the video to XviD (two pass, 400 kbit): | ||
| Line 55: | Line 55: | ||
| ffmpeg -i video.flv output_audio.wav | ffmpeg -i video.flv output_audio.wav | ||
| </ | </ | ||
| + | |||
| ===== How to extract subtitles from a DVD-Video into VobSub format ===== | ===== How to extract subtitles from a DVD-Video into VobSub format ===== | ||
| - | **This seems to be the best method** to extract subtitles from a DVD-Video. | + | See this paragraph: |
| - | + | ||
| - | The same operation can be accomplished with [[mplayer#how_to_extract_subtitles_from_a_dvd-video_into_vobsub_format|mencoder]], but mencoder seems to produce different image data into the '' | + | |
| - | + | ||
| - | [[glossary# | + | |
| - | + | ||
| - | We can use '' | + | |
| - | + | ||
| - | < | + | |
| - | mplayer -dvd-device $RIPDIR dvd:// | + | |
| - | ... | + | |
| - | ID_SUBTITLE_ID=0 | + | |
| - | ID_SID_0_LANG=it | + | |
| - | ID_SUBTITLE_ID=1 | + | |
| - | ID_SID_1_LANG=en | + | |
| - | ID_SUBTITLE_ID=2 | + | |
| - | ID_SID_2_LANG=it | + | |
| - | ... | + | |
| - | </ | + | |
| - | + | ||
| - | In the following example you will extract subtitles from a DVD-Video using the '' | + | |
| - | + | ||
| - | < | + | |
| - | tccat -i $RIPDIR -T $TITLE -L | tcextract -x ps1 -t vob -a 0x21 > subs-en | + | |
| - | subtitle2vobsub -o vobsubs-en -i $RIPDIR/ | + | |
| - | </ | + | |
| - | + | ||
| - | The '' | + | |
| - | + | ||
| - | The '' | + | |
| - | + | ||
| - | With [[subtitleripper]] you can convert VobSub subtitles into single .pgm images. | + | |
| ===== avisync ===== | ===== avisync ===== | ||
doc/appunti/linux/video/transcode.1379603445.txt.gz · Last modified: by niccolo
