Francesco Romani wrote:
On Sun, 02 Jul 2006 19:10:54 -0400
Joe Smith <[EMAIL PROTECTED]> wrote:
...
This should extract frame 2 as "snapshot__.ppm" from a previously ripped
vob file, and it does, except transcode never exits after the ppm file
is created.
OK, there is a couple of things to try. First, try the above command
using a single file, *and* possibly using a well-understood file format
like AVI:
$ transcode -o snapshot -y ppm,null -x ffmpeg,null -i file.mpg -c 2-3
$ transcode -o snapshot -y ppm,null -x ffmpeg,null -i file.avi -c 2-3
Thanks for all your efforts Francesco--very much appreciated!
Ok, I converted the same dvd chapter vob to an avi, then extracted a
frame from that:
$ transcode -i /mnt/tmp/temp/swi/vob/001-C005/swi-001.vob -x vob \
-y xvid -J extsub2 -U my_movie -w 1618
$ transcode -o snapshot -y ppm,null -x ffmpeg,null -i \
my_movie-ch01.avi -c 2-3
All succeeded; no hanging.
Otherwise, let's see if you're ran into the Vicious Directory Mode bug[1]:
$ transcode -x vob,null -i /some/dir/with/multiple/files/
Please report if this commands ends succesfully ...
Also successful.
BTW, ATM there is only one file in the directory (see -i above).
So, IIUC, it seems to be specific to the vob decoding process, no?
I also tried to extract a frame "on-the-fly" from the dvd, and that had
the same (hanging) behavior.
Some have suggested that a particular dvd could have a problem. I tried
extracting a frame from 11 different disks, all behaved the same way:
the image file was created but transcode failed to exit.
Two of the 11, even though they behaved exactly the same way, created
garbled images. Ripping chapters from those two disks also "succeeded"
in creating completely garbled video (sound & subtitles were ok).
By accident, I did find that "null encoding" the vob file would also
hang _sometimes_. Here's the command I was running:
$ transcode -i /mnt/tmp/temp/swi/vob/001-C005/swi-001.vob -x vob \
-U my_movie
Of 10 runs, four failed to exit cleanly at the end of the input file.
The "hung" state was slightly different: a C-c would cause transcode to
continue to a normal exit.
I'm willing to try more experiments, but I'm at the limit of my
knowledge here, so be as specific as possible with any instructions ;-)
Thanks again for your help.
<Joe