Topic - capturing jpeg images from DVD / vob files

Reply to this topic

Topic Starter Kira - Posted on Saturday, June 21 2008 11:43:16 PM
I'm a command line noob and I've been searching around and reading everything about it and I am just stuck. I'm trying to capture jpegs from my DVD vob files.

The problem I'm seeing is that mplayer isn't understanding how to read the entire dvd and skip to the spot I specify to capture the still images. When I point mplayer to a specific Vob file it doesn't know how to read the time counter correctly. So a 30 min vob file is only read say as 6 mins (when I play it from mplayer.) When I play the entire dvd though the time counter is correct.

It's been working fine with all other media files but vob just isn't working and also straight from dvd isnt working. I tried renaming a vob to mpeg and still has the same issue.

This is the command I'm using

mplayer -ao null -ss 0:31:57 -endpos 3 "C:xxxxVTS_01_1.VOB" -vo jpeg:outdir=moviedirectory

If instead of the vob file location i substitute D://1 it doesn't work either.

Any suggestions?

Kira - Posted on Sunday, June 22 2008 12:00:23 AM
btw Here is the message I get back which of course I'm not sure i understand

C:MPlayer-1.0rc2>mplayer -ao null -ss 0:31:
57 -endpos 3 "C:xxVTS_01_1.vob" -vo
MPlayer 1.0rc2-4.2.1 (C) 2000-2007 MPlayer Team
CPU: Intel(R) Pentium(R) D CPU 3.40GHz (Family: 15, Model: 6, Stepping: 4)
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.

Playing C:xxVTS_01_1.vob.
MPEG-PS file format detected.
VIDEO: MPEG2 720x480 (aspect 3) 29.970 fps 9800.0 kbps (1225.0 kbyte/s)
jpeg: Parsing suboptions.
jpeg: Progressive JPEG disabled.
jpeg: Baseline JPEG enabled.
jpeg: Suboptions parsed OK.
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 720 x 480 (preferred colorspace: Mpeg PES)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
Try appending the scale filter to your filter list,
e.g. -vf spp,scale instead of -vf spp.
VDecoder init failed :(
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.4.0b
Selected video codec: [mpeg12] vfm: libmpeg2 (MPEG-1 or 2 (libmpeg2))
Opening audio decoder: [liba52] AC3 decoding with liba52
Using SSE optimized IMDCT transform
Using MMX optimized resampler
AUDIO: 48000 Hz, 2 ch, s16le, 448.0 kbit/29.17% (ratio: 56000->192000)
Selected audio codec: [a52] afm: liba52 (AC3-liba52)
AO: [null] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...

Exiting... (End of file)
Kira - Posted on Sunday, June 22 2008 06:11:54 PM
I'm using windows version of mplayer
tex2us - Posted on Monday, July 14 2008 02:08:33 PM
If you only need a few still frames, open the dvd normally but add the -vf screenshot switch.
Then manually seek to the desired point and press s.
A shot000x.png should be created in the current directory for each keypress.