Closed spvkgn closed 10 years ago
The command you were using to extract the raw tracks from the DVD is actually correct but there was a known issue regarding this that has been fixed in the main master Version 1.4.64 contains the fix. Use the tag 'vgtmpeg1.4.64' to retrieve the repo for that version or try the current top of the git. Let me know if there are still problems.
I would like to copy video stream from dvd source using dvd:// protocol. Is there a way to do it? Could you take a look at this issue? Thanks.
$ vgtmpeg -i dvd://DRACONIAN_TIMES_MMXI_1 -vcodec copy -v debug output.mpg vgtmpeg version 1.4.62 Copyright (c) 2000-2013 Alberto Vigata and the FFmpeg developers built on Oct 25 2013 14:18:07 with gcc 4.6 (Ubuntu/Linaro 4.6.3-1ubuntu5) configuration: --prefix=/buildbot/ffgmt/slave/release_linux-x86_32_nb/build/gstbuilds/ffgmt/linux-x86_32/build --enable-doc --enable-pthreads --arch=x86_32 --enable-cross-compile --target-os=linux --enable-gpl --enable-nonfree --disable-shared --disable-network --enable-libvpx --enable-encoder=libvpx_vp8 --enable-libxvid --enable-encoder=libxvid --enable-libfaac --enable-encoder=libfaac --enable-libx264 --enable-encoder=libx264 --enable-libvorbis --enable-encoder=libvorbis --disable-encoder=vorbis --enable-encoder=mpeg4 --enable-libmp3lame --enable-encoder=libmp3lame --enable-protocol=bluray --enable-libbluray libavutil 52. 22.100 / 52. 22.100 libavcodec 55. 1.100 / 55. 1.100 libavformat 55. 0.100 / 55. 0.100 libavdevice 55. 0.100 / 55. 0.100 libavfilter 3. 48.100 / 3. 48.100 libswscale 2. 2.100 / 2. 2.100 libswresample 0. 17.102 / 0. 17.102 libpostproc 52. 2.100 / 52. 2.100 Splitting the commandline. Reading option '-i' ... matched as input file with argument 'dvd://DRACONIAN_TIMES_MMXI_1'. Reading option '-vcodec' ... matched as option 'vcodec' (force video codec ('copy' to copy stream)) with argument 'copy'. Reading option '-v' ... matched as option 'v' (set libav* logging level) with argument 'debug'. Reading option 'output.mpg' ... matched as output file. Finished splitting the commandline. Parsing a group of options: global . Applying option v (set libav* logging level) with argument debug. Successfully parsed a group of options. Parsing a group of options: input file dvd://DRACONIAN_TIMES_MMXI_1. Successfully parsed a group of options. Opening an input file: dvd://DRACONIAN_TIMES_MMXI_1. libdvdread: Using libdvdcss version 1.2.12 for DVD access libdvdread: Couldn't find device name. scan: scanning title 1 scan: opening IFO for VTS 1 pgc_id: 1, pgn: 1: pgc: 0xa48a860 scan: vts=1, ttn=1, cells=0->18, blocks=0->2915391, 2915392 blocks scan: duration is 01:27:52 (5272076 ms) scan: film mode is off scan: checking audio 1 scan: id=0x80bd, lang=English, 3cc=eng ext=0 scan: checking audio 2 scan: id=0x81bd, lang=English, 3cc=eng ext=0 scan: title 1 has 19 chapters hb_title_scan: adjusting chapter durations scan: chap 1 c=0->0, b=0->60608 (60609), 109357 ms scan: chap 2 c=1->1, b=60609->250242 (189634), 343358 ms scan: chap 3 c=2->2, b=250243->433694 (183452), 331431 ms scan: chap 4 c=3->3, b=433695->561458 (127764), 231341 ms scan: chap 5 c=4->4, b=561459->714794 (153336), 277522 ms scan: chap 6 c=5->5, b=714795->835154 (120360), 217279 ms scan: chap 7 c=6->6, b=835155->1006593 (171439), 310389 ms scan: chap 8 c=7->7, b=1006594->1137903 (131310), 237290 ms scan: chap 9 c=8->8, b=1137904->1297787 (159884), 289435 ms scan: chap 10 c=9->9, b=1297788->1441600 (143813), 260437 ms scan: chap 11 c=10->10, b=1441601->1588450 (146850), 265520 ms scan: chap 12 c=11->11, b=1588451->1711157 (122707), 221417 ms scan: chap 13 c=12->12, b=1711158->1858086 (146929), 265362 ms scan: chap 14 c=13->13, b=1858087->2014442 (156356), 282380 ms scan: chap 15 c=14->14, b=2014443->2167008 (152566), 276288 ms scan: chap 16 c=15->15, b=2167009->2295821 (128813), 232562 ms scan: chap 17 c=16->16, b=2295822->2475674 (179853), 325605 ms scan: chap 18 c=17->17, b=2475675->2636862 (161188), 291414 ms scan: chap 19 c=18->18, b=2636863->2915391 (278529), 503678 ms scan: aspect = 0 scan: scanning title 2 scan: opening IFO for VTS 2 pgc_id: 1, pgn: 1: pgc: 0xa48b2c8 scan: vts=2, ttn=1, cells=0->0, blocks=0->2961, 2962 blocks scan: duration is 00:00:06 (6000 ms) scan: ignoring title (too short) scan: scanning title 3 scan: opening IFO for VTS 3 pgc_id: 1, pgn: 1: pgc: 0xa48b2c8 scan: vts=3, ttn=1, cells=0->0, blocks=0->3129, 3130 blocks scan: duration is 00:00:06 (6000 ms) scan: ignoring title (too short) scan: scanning title 4 scan: opening IFO for VTS 4 pgc_id: 1, pgn: 1: pgc: 0xa48b2c8 scan: vts=4, ttn=1, cells=0->0, blocks=0->2091, 2092 blocks scan: duration is 00:00:04 (4000 ms) scan: ignoring title (too short) scan: scanning title 5 scan: opening IFO for VTS 5 pgc_id: 1, pgn: 1: pgc: 0xa48b2c8 scan: vts=5, ttn=1, cells=0->0, blocks=0->1563, 1564 blocks scan: duration is 00:00:03 (3000 ms) scan: ignoring title (too short) parse_optmedia_path: calling parse file libdvdread: Using libdvdcss version 1.2.12 for DVD access libdvdread: Couldn't find device name. dvd_open: opening title 1 scan: scanning title 1 scan: opening IFO for VTS 1 pgc_id: 1, pgn: 1: pgc: 0xa48ef40 scan: vts=1, ttn=1, cells=0->18, blocks=0->2915391, 2915392 blocks scan: duration is 01:27:52 (5272076 ms) scan: film mode is off scan: checking audio 1 scan: id=0x80bd, lang=English, 3cc=eng ext=0 scan: checking audio 2 scan: id=0x81bd, lang=English, 3cc=eng ext=0 scan: title 1 has 19 chapters hb_title_scan: adjusting chapter durations scan: chap 1 c=0->0, b=0->60608 (60609), 109357 ms scan: chap 2 c=1->1, b=60609->250242 (189634), 343358 ms scan: chap 3 c=2->2, b=250243->433694 (183452), 331431 ms scan: chap 4 c=3->3, b=433695->561458 (127764), 231341 ms scan: chap 5 c=4->4, b=561459->714794 (153336), 277522 ms scan: chap 6 c=5->5, b=714795->835154 (120360), 217279 ms scan: chap 7 c=6->6, b=835155->1006593 (171439), 310389 ms scan: chap 8 c=7->7, b=1006594->1137903 (131310), 237290 ms scan: chap 9 c=8->8, b=1137904->1297787 (159884), 289435 ms scan: chap 10 c=9->9, b=1297788->1441600 (143813), 260437 ms scan: chap 11 c=10->10, b=1441601->1588450 (146850), 265520 ms scan: chap 12 c=11->11, b=1588451->1711157 (122707), 221417 ms scan: chap 13 c=12->12, b=1711158->1858086 (146929), 265362 ms scan: chap 14 c=13->13, b=1858087->2014442 (156356), 282380 ms scan: chap 15 c=14->14, b=2014443->2167008 (152566), 276288 ms scan: chap 16 c=15->15, b=2167009->2295821 (128813), 232562 ms scan: chap 17 c=16->16, b=2295822->2475674 (179853), 325605 ms scan: chap 18 c=17->17, b=2475675->2636862 (161188), 291414 ms scan: chap 19 c=18->18, b=2636863->2915391 (278529), 503678 ms scan: aspect = 0 dvd_open: selected title 1 [mpeg @ 0xa4891e0] Format mpeg probed with size=8192 and score=52 [mpeg @ 0xa4891e0] File position before avformat_find_stream_info() is 0 [mpeg @ 0xa4891e0] first_dts 27027 not matching first dts 50067 in the queue Last message repeated 1 times [mpeg @ 0xa4891e0] first_dts 27027 not matching first dts 75987 in the queue Last message repeated 1 times [mpeg @ 0xa4891e0] first_dts 27027 not matching first dts 101907 in the queue Last message repeated 1 times [mpeg @ 0xa4891e0] first_dts 27027 not matching first dts 127827 in the queue Last message repeated 1 times [mpeg @ 0xa4891e0] first_dts 27027 not matching first dts 153747 in the queue Last message repeated 1 times [mpeg @ 0xa4891e0] first_dts 27027 not matching first dts 179667 in the queue Last message repeated 1 times [mpeg @ 0xa4891e0] first_dts 27027 not matching first dts 205587 in the queue Last message repeated 1 times [mpeg @ 0xa4891e0] first_dts 27027 not matching first dts 231507 in the queue Last message repeated 1 times [mpeg @ 0xa4891e0] first_dts 27027 not matching first dts 257427 in the queue Last message repeated 1 times [mpeg @ 0xa4891e0] first_dts 27027 not matching first dts 283347 in the queue Last message repeated 1 times [mpeg @ 0xa4891e0] first_dts 27027 not matching first dts 309267 in the queue Last message repeated 1 times [mpeg @ 0xa4891e0] first_dts 27027 not matching first dts 335187 in the queue Last message repeated 1 times [mpeg @ 0xa4891e0] first_dts 27027 not matching first dts 361107 in the queue Last message repeated 1 times [mpeg @ 0xa4891e0] first_dts 27027 not matching first dts 387027 in the queue Last message repeated 1 times [mpeg @ 0xa4891e0] first_dts 27027 not matching first dts 412947 in the queue Last message repeated 1 times [mpeg @ 0xa4891e0] Probe buffer size limit of 5000000 bytes reached [mpeg @ 0xa4891e0] File position after avformat_find_stream_info() is 0 Input #0, mpeg, from 'dvd://DRACONIAN_TIMES_MMXI_1?title=1': Metadata: source_type : dvd Duration: 01:27:52.08, start: 0.000000, bitrate: 9060 kb/s Chapter #0.0: start 0.000000, end 109.357144 Chapter #0.1: start 109.357144, end 452.715533 Chapter #0.2: start 452.715533, end 784.147467 Chapter #0.3: start 784.147467, end 1015.488933 Chapter #0.4: start 1015.488933, end 1293.011600 Chapter #0.5: start 1293.011600, end 1510.291389 Chapter #0.6: start 1510.291389, end 1820.681367 Chapter #0.7: start 1820.681367, end 2057.972044 Chapter #0.8: start 2057.972044, end 2347.407144 Chapter #0.9: start 2347.407144, end 2607.844978 Chapter #0.10: start 2607.844978, end 2873.365111 Chapter #0.11: start 2873.365111, end 3094.782211 Chapter #0.12: start 3094.782211, end 3360.145189 Chapter #0.13: start 3360.145189, end 3642.525922 Chapter #0.14: start 3642.525922, end 3918.814300 Chapter #0.15: start 3918.814300, end 4151.377033 Chapter #0.16: start 4151.377033, end 4476.982889 Chapter #0.17: start 4476.982889, end 4768.397056 Chapter #0.18: start 4768.397056, end 5272.075756 Program 1 Stream #0:0[0x100e0], 136, 1/90000: Video: mpeg2video (Main), yuv420p, 720x480 [SAR 32:27 DAR 16:9], 1001/60000, 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc Stream #0:10x10080, 136, 1/90000: Audio: ac3, 48000 Hz, stereo, fltp, 448 kb/s Metadata: language-iso639_2: eng language-simple : English language-description: English Stream #0:20x10081, 136, 1/90000: Audio: ac3, 48000 Hz, 5.1(side), fltp, 448 kb/s Metadata: language-iso639_2: eng language-simple : English language-description: English No Program Stream #0:3[0x100bf], 10, 1/90000: Data: dvd_nav_packet, 1/90000 Successfully opened the file. Parsing a group of options: output file output.mpg. Applying option vcodec (force video codec ('copy' to copy stream)) with argument copy. Successfully parsed a group of options. Opening an output file: output.mpg. Successfully opened the file. [abuffer @ 0xa47c780] Setting entry with key 'time_base' to value '1/48000' [abuffer @ 0xa47c780] Setting entry with key 'sample_rate' to value '48000' [abuffer @ 0xa47c780] Setting entry with key 'sample_fmt' to value 'fltp' [abuffer @ 0xa47c780] Setting entry with key 'channel_layout' to value '0x60f' [graph 0 input from stream 0:2 @ 0xa482360] tb:1/48000 samplefmt:fltp samplerate:48000 chlayout:0x60f [aformat @ 0xa4b25a0] Setting entry with key 'sample_fmts' to value 's16' [aformat @ 0xa4b25a0] Setting entry with key 'sample_rates' to value '44100,48000,32000,22050,24000,16000' [aformat @ 0xa4b25a0] Setting entry with key 'channel_layouts' to value '0x4,0x3' [audio format for output stream 0:1 @ 0xa482d40] auto-inserting filter 'auto-inserted resampler 0' between the filter 'Parsed_anull_0' and the filter 'audio format for output stream 0:1' 0.414214 0.000000 0.292893 0.000000 0.292893 0.000000 0.000000 0.414214 0.292893 0.000000 0.000000 0.292893 [auto-inserted resampler 0 @ 0xa486600] ch:6 chl:5.1(side) fmt:fltp r:48000Hz -> ch:2 chl:stereo fmt:s16 r:48000Hz Output #0, mpeg, to 'output.mpg': Metadata: source_type : dvd encoder : Lavf55.0.100 Chapter #0.0: start 0.000000, end 109.357144 Chapter #0.1: start 109.357144, end 452.715533 Chapter #0.2: start 452.715533, end 784.147467 Chapter #0.3: start 784.147467, end 1015.488933 Chapter #0.4: start 1015.488933, end 1293.011600 Chapter #0.5: start 1293.011600, end 1510.291389 Chapter #0.6: start 1510.291389, end 1820.681367 Chapter #0.7: start 1820.681367, end 2057.972044 Chapter #0.8: start 2057.972044, end 2347.407144 Chapter #0.9: start 2347.407144, end 2607.844978 Chapter #0.10: start 2607.844978, end 2873.365111 Chapter #0.11: start 2873.365111, end 3094.782211 Chapter #0.12: start 3094.782211, end 3360.145189 Chapter #0.13: start 3360.145189, end 3642.525922 Chapter #0.14: start 3642.525922, end 3918.814300 Chapter #0.15: start 3918.814300, end 4151.377033 Chapter #0.16: start 4151.377033, end 4476.982889 Chapter #0.17: start 4476.982889, end 4768.397056 Chapter #0.18: start 4768.397056, end 5272.075756 Stream #0:0, 0, 1/90000: Video: mpeg2video, yuv420p, 720x480 [SAR 32:27 DAR 16:9], 1001/30000, q=2-31, 29.97 fps, 90k tbn, 29.97 tbc Stream #0:1(eng), 0, 1/90000: Audio: mp2, 48000 Hz, stereo, s16, 128 kb/s Metadata: language-iso639_2: eng language-simple : English language-description: English Stream mapping: Stream #0:0 -> #0:0 (copy) Stream #0:2 -> #0:1 (ac3 -> mp2) frame= 0 fps=0.0 q=-1.0 Lsize= 0kB time=00:00:00.00 bitrate=N/A
video:0kB audio:0kB subtitle:0 global headers:0kB muxing overhead -nan% Output file is empty, nothing was encoded (check -ss / -t / -frames parameters if used) Statistics: 5111808 bytes read, 1 seeks dvd_close: closing dvd_close: closed