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 [2009/03/19 15:35] – niccolo | doc:appunti:linux:video:transcode [2017/10/12 09:19] (current) – [avisync] niccolo | ||
---|---|---|---|
Line 7: | Line 7: | ||
Per cominciare con mplayer (che pare essere più bravo a decodificare file danneggiati) si è convertito in // | Per cominciare con mplayer (che pare essere più bravo a decodificare file danneggiati) si è convertito in // | ||
- | Con '' | + | Con '' |
+ | |||
+ | < | ||
+ | transcode -i stream.yuv -R 1 -y xvid -o /dev/null | ||
+ | </ | ||
+ | |||
+ | Poi si esegue la seconda passata a bitrate variabile (-R 2), video encoder bitrate | ||
< | < | ||
transcode -i stream.yuv \ | transcode -i stream.yuv \ | ||
-J smartyuv=highq=1: | -J smartyuv=highq=1: | ||
- | -R 2 \ | + | -R 2 -w 6000, |
- | | + | |
- | | + | |
-V \ | -V \ | ||
-N 0x55 -b 96 \ | -N 0x55 -b 96 \ | ||
Line 30: | 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 44: | Line 48: | ||
Finally we used **avidemux** to convert audio to mp3 and to mux audio and video into an avi file. FIXME How to use transcode for this final step? | Finally we used **avidemux** to convert audio to mp3 and to mux audio and video into an avi file. FIXME How to use transcode for this final step? | ||
- | ===== How to extract subtitles from a DVD-Video into VobSub format | + | ===== Estrarre audio nellymoser da un Flash Video ===== |
- | **This seems to be the best method** to extract subtitles from a DVD-Video. | + | Un video .flv con audio in formato // |
- | + | ||
- | The same operation can be accomplished with [[mplayer# | + | |
- | + | ||
- | [[glossary# | + | |
- | + | ||
- | We can use '' | + | |
< | < | ||
- | mplayer | + | ffmpeg |
- | ... | + | |
- | 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 | + | ===== How to extract subtitles from a DVD-Video into VobSub format |
- | + | ||
- | < | + | |
- | 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. | + | See this paragraph: **[[ripping_dvds_with_mencoder# |
===== avisync ===== | ===== avisync ===== |
doc/appunti/linux/video/transcode.1237473332.txt.gz · Last modified: 2009/03/19 15:35 by niccolo