Re: [Mjpeg-users] From DVD dumps to YUV

2003-11-06 Thread Stephen Mollett
Hi, Just to close the thread, and for the benefit of future archive searches: On Sunday 02 November 2003 23:09, Stephen Mollett wrote: >>> IIRC, you can make MPlayer read directly from a DVD image using the >>> "-dvd-device /path/to/image" option. >> Are you sure that the -dvd-device option can b

Re: [Mjpeg-users] From DVD dumps to YUV

2003-11-03 Thread Laurent Pinchart
> > How do I check if the input is progressive or interlaced ? still images > > in > > If it's from a DVD it is interlaced. The DVD specs do not allow > progressive streams. Right, but the interlaced stream can contain progressive material. > > I did that, and can't see any problem

Re: [Mjpeg-users] From DVD dumps to YUV

2003-11-03 Thread Laurent Pinchart
> My superquick $.02 here: > > I bet some errant printf() in mplayer is writing UI crap to stdout instead > of stderr MPlayer outputs to a file or a named pipe, not to stdout. Laurent Pinchart --- This SF.net email is sponsored by: SF.ne

Re: [Mjpeg-users] From DVD dumps to YUV

2003-11-02 Thread Matto Marjanovic
>> Next thing to try is dump the mplayer -vo yuv4mpeg output to >> a file (not all of it of course - just the first 20 frames or >> so) and find the 15 or 16th 'FRAME' word. That's not too hard >> because the frame size is known (720x576*3/2). > >I did that, and can't see a

Re: [Mjpeg-users] From DVD dumps to YUV

2003-11-02 Thread Steven M. Schultz
On Mon, 3 Nov 2003, Laurent Pinchart wrote: > How do I check if the input is progressive or interlaced ? still images in If it's from a DVD it is interlaced. The DVD specs do not allow progressive streams. The frame dominance is _usually_ (but not always) top field

Re: [Mjpeg-users] From DVD dumps to YUV

2003-11-02 Thread Laurent Pinchart
> If you really do have a progressive stream it's valid. Otherwise > the interlace tag 'Ip' is wrong. It should be either It (top > field first) or 'Ib' (bottom field first). Most DVDs that I > have looked at are 'It' while DV (from a analog->DV capture) is > alway

Re: [Mjpeg-users] From DVD dumps to YUV

2003-11-02 Thread Steven M. Schultz
On Sun, 2 Nov 2003, Laurent Pinchart wrote: > > tccat | mplayer -vo yuv4mpeg | head -1 > > YUV4MPEG2 W720 H576 F2500:100 Ip A0:0 > > Is that valid ? Note that I don't get the error on the first frame, but on > frame 15: If you really do have a progressive stream it's valid

Re: [Mjpeg-users] From DVD dumps to YUV

2003-11-02 Thread Stephen Mollett
On Sunday 02 November 2003 18:57, Laurent Pinchart wrote: > > IIRC, you can make MPlayer read directly from a DVD image using the > > "-dvd-device /path/to/image" option. > Are you sure that the -dvd-device option can be used to read from a DVD > dump ? From the man page it seems that it is used to

Re: [Mjpeg-users] From DVD dumps to YUV

2003-11-02 Thread Laurent Pinchart
Hi again, As yuvscaler gives me errors when I use MPlayer to decode the stream (I checked the output of MPlayer and I don't detect any problem. All frames have the right size - w*h*1.5 - and start by FRAME\n), I tried using transcode only to decode the input. I tried the following, which seems

Re: [Mjpeg-users] From DVD dumps to YUV

2003-11-02 Thread Laurent Pinchart
> Some days ago I forgot to copy the .ifo, but those days transcode > (about 0.6.3 or 4) had no Problem with dirs. You have to make sure > that only the vobs are in the dir IIRC. Yes, that's what I found out too. Transcode can handle vob input if you specify -x vob,null. I was trying with -x mpeg

Re: [Mjpeg-users] From DVD dumps to YUV

2003-11-02 Thread Maik Holtkamp
Hi, 0n 03/11/[EMAIL PROTECTED]:17 Laurent Pinchart told me: > This, however, becomes a bit more complicated as the material I'm trying to > convert is a DVD dump. I can read it using tccat | mplayer, but transcode > doesn't accept directories as input. Some days ago I forgot to copy the .ifo,

Re: [Mjpeg-users] From DVD dumps to YUV

2003-11-02 Thread Laurent Pinchart
> tccat | mplayer -vo yuv4mpeg | head -1 YUV4MPEG2 W720 H576 F2500:100 Ip A0:0 Is that valid ? Note that I don't get the error on the first frame, but on frame 15: INFO: [yuvscaler] yuvscaler 1.6.1.90 (10-02-2003) is a general scaling utility for yuv frames INFO: [yuvscaler

Re: [Mjpeg-users] From DVD dumps to YUV

2003-11-02 Thread Steven M. Schultz
On Sun, 2 Nov 2003, Laurent Pinchart wrote: > > mplayer dvd://TITLESET [-chapter X-Y] -dumpstream > > I can't do that, as I don't have the original DVD anymore. All I have is the > dump on my harddisc. Oh. Ok - but now you know another approach for the next time ;) > PS: I

Re: [Mjpeg-users] From DVD dumps to YUV

2003-11-02 Thread Laurent Pinchart
> IIRC, you can make MPlayer read directly from a DVD image using the > "-dvd-device /path/to/image" option. To make things even easier, I only have a partial dump (the main title), so there's no VIDEO_TS.IFO file (there's a VTS_03_0.IFO though), and MPlayer complains about not being able to ope

Re: [Mjpeg-users] From DVD dumps to YUV

2003-11-02 Thread Stephen Mollett
Hi, On Sunday 02 November 2003 17:17, Laurent Pinchart wrote: > What is the best way to convert the DVD dump ? I can use tccat | mplayer | > yuvscaler | mpeg2enc, but using programs from 3 different projects > (transcode, mplayer and mjpegtools) seems a bit complicated to do the > simple operation

Re: [Mjpeg-users] From DVD dumps to YUV

2003-11-02 Thread Laurent Pinchart
> > What is the best way to convert the DVD dump ? I can use tccat | mplayer > > | yuvscaler | mpeg2enc, but using programs from 3 different projects > > (transcode, mplayer and mjpegtools) seems a bit complicated to do the > > simple operation I'm trying to achieve. > > > > Any help will be greatl

Re: [Mjpeg-users] From DVD dumps to YUV

2003-11-02 Thread Steven M. Schultz
On Sun, 2 Nov 2003, Laurent Pinchart wrote: > I'm trying to transcode a DVD to SVCD. The usual approach is, I think, to use > mplayer or transcode to read from the DVD and output to a named pipe, and cat > the pipe to yuvscaler and mpeg2enc. Actually, for me, the usual approach is to u

[Mjpeg-users] From DVD dumps to YUV

2003-11-02 Thread Laurent Pinchart
Hi everybody, I'm trying to transcode a DVD to SVCD. The usual approach is, I think, to use mplayer or transcode to read from the DVD and output to a named pipe, and cat the pipe to yuvscaler and mpeg2enc. This, however, becomes a bit more complicated as the material I'm trying to convert is a