Code: Select all
/usr/bin/mplayer dvd://${title} -dumpfile ${TMPDIR}/${DISC}-${title}.vob -dumpstream &&
/usr/bin/mkvmerge -o ${DESTDIR}/${DISC}-${title}.mkv =${TMPDIR}/${DISC}-${title}.vobCode: Select all
ffprobe raw.vob
ffprobe version 0.10.7 Copyright (c) 2007-2013 the FFmpeg developers
built on May 10 2013 18:55:46 with gcc 4.6.3
configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --mandir=/usr/share/man --enable-shared --cc=x86_64-pc-linux-gnu-gcc --cxx=x86_64-pc-linux-gnu-g++ --ar=x86_64-pc-linux-gnu-ar --optflags='-O2 -pipe -march=native -fomit-frame-pointer' --extra-cflags='-O2 -pipe -march=native -fomit-frame-pointer' --extra-cxxflags='-O2 -pipe -march=native -fomit-frame-pointer' --disable-static --enable-gpl --enable-postproc --enable-avfilter --disable-stripping --disable-debug --disable-doc --disable-network --disable-vaapi --disable-vdpau --disable-ffplay --enable-libmp3lame --enable-libx264 --enable-libxvid --enable-libfaac --enable-nonfree --disable-indev=v4l --disable-indev=v4l2 --disable-indev=alsa --disable-indev=oss --disable-indev=jack --disable-outdev=alsa --disable-outdev=oss --disable-outdev=sdl --disable-amd3dnow --disable-amd3dnowext --disable-altivec --disable-avx --disable-vis --disable-neon --enable-pic --cpu=host --enable-hardcoded-tables
libavutil 51. 35.100 / 51. 35.100
libavcodec 53. 61.100 / 53. 61.100
libavformat 53. 32.100 / 53. 32.100
libavdevice 53. 4.100 / 53. 4.100
libavfilter 2. 61.100 / 2. 61.100
libswscale 2. 1.100 / 2. 1.100
libswresample 0. 6.100 / 0. 6.100
libpostproc 52. 0.100 / 52. 0.100
[mpeg @ 0x103436a7b0] max_analyze_duration 5000000 reached at 5005000
Input #0, mpeg, from 'raw.vob':
Duration: 00:48:53.99, start: 0.280633, bitrate: 6778 kb/s
Stream #0:0[0x1e0]: Video: mpeg2video (Main), yuv420p, 720x480 [SAR 32:27 DAR 16:9], 9800 kb/s, 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc
Stream #0:1[0x80]: Audio: ac3, 48000 Hz, 5.1(side), s16, 448 kb/s
Stream #0:2[0x20]: Subtitle: dvd_subtitleCode: Select all
mkvmerge -i raw.vob
File 'raw.vob': container: MPEG program stream
Track ID 0: video (MPEG-2)
Track ID 1: audio (AC3)Code: Select all
$ mkvmerge -s 2 -o new.mkv =raw.vob
mkvmerge v6.2.0 ('Promised Land') built on Jun 25 2013 11:16:08
'raw.vob': Using the demultiplexer for the format 'MPEG program stream'.
'raw.vob' track 0: Using the output module for the format 'MPEG-1/2'.
'raw.vob' track 1: Using the output module for the format 'AC3'.
Warning: 'raw.vob': A track with the ID 2 was requested but not found in the file. The corresponding option will be ignored.
The file 'new.mkv' has been opened for writing.

