Re: [Mjpeg-users] Problem with mpeg2enc

2003-11-02 Thread Matto Marjanovic
>> $ cat result3.yuv | mpeg2enc -v -o result3.m1v >> **ERROR: [mpeg2enc] Could not read YUV4MPEG2 header: bad header magic! >Have you tried running that in gdb, so you can find out where is really >crashes. > >But I guess that the problem is not really in mpeg2enc. The "-v" to mpeg2enc req

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

[Mjpeg-users] yuvscaler and interlaced material

2003-11-02 Thread Laurent Pinchart
Hi, Could anyone tell me how yuvscaler handles interlaced material ? Does it deinterlace it before applying the scaling ? If so, is there a way to turn that off for progressive input ? And if not, doesn't it have an impact on quality ? Laurent Pinchart --

[Mjpeg-users] MPEG2 encoding performance

2003-11-02 Thread Laurent Pinchart
Hi everybody, This is not the first mail about MPEG2 encoding performance, and probably not the last one either. I'm comparing here the encoding performances of ffmpeg (MPEG4) and mpeg2enc. On a PIII-800, the former encodes in real time while the later encodes at around 3fps. I might be wrong

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

Re: [Mjpeg-users] Timer expired with latest 2.6 kernels

2003-11-02 Thread Bert van Oort
Op zo 02-11-2003, om 12:00 schreef Ronald Bultje: > v4l2 support, videodev2 support, i2c-new support, automatic error > correction on timeouts (or well, it should be there; apparently, this > doesn't work for you), etc. And I'm now the official maintainer instead > of Serguei. > > Could you try on

Re: [Mjpeg-users] Timer expired with latest 2.6 kernels

2003-11-02 Thread Ronald Bultje
On Sun, 2003-11-02 at 10:31, Bernhard Praschinger wrote: > And nobody has yet changed the driver in the CVS. I did not change it > because I do not know what I would else break with that change. And I > forgot to inform Ronald about that change. I've fixed that several weeks ago. :). Ronald --

Re: [Mjpeg-users] Timer expired with latest 2.6 kernels

2003-11-02 Thread Ronald Bultje
Hi Bert, On Sun, 2003-11-02 at 10:14, Bert van Oort wrote: > > 2.6.0-test5 is the first to contain the new driver... > What is new about it? v4l2 support, videodev2 support, i2c-new support, automatic error correction on timeouts (or well, it should be there; apparently, this doesn't work for you

Re: [Mjpeg-users] Problem with mpeg2enc

2003-11-02 Thread Bernhard Praschinger
Hallo > Bernhard, below are the commands you suggested with the results. It > appears that mpeg2enc is failing. The problem may be with the yuv file, > but yuvplay does not appear to have any problem handling it. Please keep > the suggestions coming. I'm not soure where the problem really is. Ha

Re: [Mjpeg-users] Timer expired with latest 2.6 kernels

2003-11-02 Thread Bernhard Praschinger
Hallo > > I just forgot to mention, in the test8 kernel I had to change in > > zoran_driver.c > > the line 1267 from: > > unsigned int minor = minor(inode->i_rdev); > > to this: > > unsigned int minor = iminor(inode); > This change is already in test9. I assume you also use the driver in the > ker

Re: [Mjpeg-users] Timer expired with latest 2.6 kernels

2003-11-02 Thread Bert van Oort
Op zo 02-11-2003, om 06:30 schreef Bernhard Praschinger: > I just forgot to mention, in the test8 kernel I had to change in > zoran_driver.c > the line 1267 from: > unsigned int minor = minor(inode->i_rdev); > to this: > unsigned int minor = iminor(inode); > This change is already in test9. I as

Re: [Mjpeg-users] Timer expired with latest 2.6 kernels

2003-11-02 Thread Bert van Oort
Op za 01-11-2003, om 23:42 schreef Ronald Bultje: > Hi Bert, > > On Sat, 2003-11-01 at 14:24, Bert van Oort wrote: > > Since the latest 2.6 test kernels (test5..test9) I cannot record with > > lavrec anymore, while it used to work with 2.6.0-test4. The error > > message I get is: > > 2.6.0-test5