Am 2018-03-08 um 09:28 schrieb Farhad Mohammadi Majd: > Hello, I have ffmpeg v3.2.9 on Debian v9.3 > > I have searched WWW for suitable command but none of them worked for > me, and ffmpeg is complex. > > == My file == > $ ffmpeg -i VTS_01_1.VOB > ..... > ..... > ..... > ..... > Input #0, mpeg, from 'VTS_01_1.VOB': > Duration: 00:24:40.83, start: 0.040033, ..... > Stream #0:0[0x1bf]: Data: dvd_nav_packet > Stream #0:1[0x1e0]: Video: mpeg2video (Main), ..... > Stream #0:2[0x80]: Audio: ..... > Stream #0:3[0x21]: Subtitle: dvd_subtitle > Stream #0:4[0x20]: Subtitle: dvd_subtitle > > ===== > > I need to those dvd_subtitle(s). How to extract them? > > THANKS > _______________________________________________ > ffmpeg-user mailing list > [email protected] > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > > To unsubscribe, visit link above, or email > [email protected] with subject "unsubscribe". I guess your DVD-Film is concatenated of the files: for i in {1..5} do echo "file 'VTS_01_i.VOB'"; done
right? in this case you have to extract the whole concatenated VOB with mplayer and dump it into a file before you can apply ffmpeg [code] mplayer dvd://TITLE -dumpstream -dumpfile ~/media/movie.vob # be sure to select the correct TITLE - in this case it would be 1 ffmpeg -i ~/media/movie.vob -g 25 -keyint_min 3 -vf "crop=x=14:out_w=in_w-32:y=76:out_h=in_h-152" -aspect "16:9" -map 0:v -c:v libx264 -map 0:a -c:a copy OUTPUTFILE.mkv # apply ffmpeg [/code] mplayer can extract subtitles as well as much as I know. Let us know how you've done it, after you manage it.... _______________________________________________ ffmpeg-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".
