View Full Version : command line dvd parsing?
turbojet
17th December 2009, 09:48
Does anyone know a command line tool where you can input a dvd and get runtimes of the pgc's of every vts?
It can skip short pgc's like eac3to does with BD/HDDVD, in fact I'd prefer it did but that can be worked around.
deank
17th December 2009, 11:02
mplayer -identify -frames 0 dvd:// -dvd-device "d:\DVDs\DVD_TITLE" -vo nul
turbojet
17th December 2009, 16:29
Thanks but there's one critical thing I don't see in those results, runtime per pgc. This is a log that has 4x 43 minute pgc's in VTS02
Playing dvd://.
ID_DVD_TITLES=7
ID_DVD_TITLE_1_CHAPTERS=2
ID_DVD_TITLE_1_ANGLES=1
ID_DVD_TITLE_2_CHAPTERS=2
ID_DVD_TITLE_2_ANGLES=1
ID_DVD_TITLE_3_CHAPTERS=2
ID_DVD_TITLE_3_ANGLES=1
ID_DVD_TITLE_4_CHAPTERS=2
ID_DVD_TITLE_4_ANGLES=1
ID_DVD_TITLE_5_CHAPTERS=2
ID_DVD_TITLE_5_ANGLES=1
ID_DVD_TITLE_6_CHAPTERS=1
ID_DVD_TITLE_6_ANGLES=1
ID_DVD_TITLE_7_CHAPTERS=2
ID_DVD_TITLE_7_ANGLES=1
ID_DVD_TITLE_6_LENGTH=0.500
ID_DVD_TITLE_1_LENGTH=2570.467
ID_DVD_TITLE_2_LENGTH=2557.467
ID_DVD_TITLE_3_LENGTH=2560.500
ID_DVD_TITLE_4_LENGTH=2569.967
ID_DVD_TITLE_5_LENGTH=7.500
ID_DVD_TITLE_7_LENGTH=16.000
ID_DVD_DISC_ID=C0CA50528D076BB7026D72CCB7CCD26D
There are 7 titles on this DVD.
ID_DVD_CURRENT_TITLE=1
There are 1 angles in this DVD title.
audio stream: 0 format: ac3 (stereo) language: en aid: 128.
ID_AUDIO_ID=128
ID_AID_128_LANG=en
number of audio channels on disk: 1.
subtitle ( sid ): 2 language: en
ID_SUBTITLE_ID=2
ID_SID_2_LANG=en
subtitle ( sid ): 3 language: es
ID_SUBTITLE_ID=3
ID_SID_3_LANG=es
number of subtitles on disk: 2
CHAPTERS: 00:00:00,00:42:49,
ID_VIDEO_ID=0
MPEG-PS file format detected.
ID_AUDIO_ID=128
VIDEO: MPEG2 720x480 (aspect 3) 29.970 fps 9800.0 kbps (1225.0 kbyte/s)
ID_FILENAME=dvd://
ID_DEMUXER=mpegps
ID_VIDEO_FORMAT=0x10000002
ID_VIDEO_BITRATE=9800000
ID_VIDEO_WIDTH=720
ID_VIDEO_HEIGHT=480
ID_VIDEO_FPS=29.970
ID_VIDEO_ASPECT=0.0000
ID_AUDIO_FORMAT=8192
ID_AUDIO_BITRATE=0
ID_AUDIO_RATE=0
ID_AUDIO_NCH=0
ID_LENGTH=0.00
ID_SEEKABLE=1
ID_CHAPTERS=2
Error opening/initializing the selected video_out (-vo) device.
==========================================================================
Opening audio decoder: [liba52] AC3 decoding with liba52
Using SSE optimized IMDCT transform
Using MMX optimized resampler
AUDIO: 48000 Hz, 2 ch, s16le, 192.0 kbit/12.50% (ratio: 24000->192000)
ID_AUDIO_BITRATE=192000
ID_AUDIO_RATE=48000
ID_AUDIO_NCH=2
Selected audio codec: [a52] afm: liba52 (AC3-liba52)
==========================================================================
AO: [dsound] 48000Hz 2ch s16le (2 bytes per sample)
ID_AUDIO_CODEC=a52
Video: no video
Starting playback...
Do you have any other ideas?
stax76
17th December 2009, 16:31
I think AutoGK and HDConvertToX have what you want.
turbojet
17th December 2009, 17:33
Ya I see plenty of programs can parse them very quickly but I'm looking for a standalone tool that can be called from a gui.
stax76
17th December 2009, 18:01
Actually I know AutoGK and HDConvertToX have what you want.
deank
17th December 2009, 18:11
I'm not really into these DVD things... But my approach was like with AVCHD/Blu-ray - I'm processing "titles" and it allows me to extract video/audio/subtitles/chapters for each title, without worrying about pgc/vts/etc...
buzzqw
17th December 2009, 18:30
use vstrip_ifo.exe
BHH
turbojet
19th December 2009, 04:28
use vstrip_ifo.exe
BHH
Thanks that does what I need.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.