On Monday 24 September 2007 14:27:59 Chris wrote:
> Being recently forced to upgrade my MythTV machine due to the whole
> Schedules Direct thing I'm having some problems getting everything
> working again.  I don't think this is a MythTV specific problem
> because it happens when testing from the command line using the ivtv
> utils and 'cat /dev/video0' type testing.
>
> I'm using a PVR-350.  The issue is that capturing in MPEG-1 VCD mode
> at 320x240 no longer works.  Doing 'cat /dev/video0 > test.mpg'
> generates a 0 byte file.  Same in MythTV.     Is this a mode that is
> not normally tested?  Capturing with a 480 height seems to work
> normally.
>
> I have tested this both from unstable Debian (using the very latest
> stuff like kernel 2.6.22 and the 1.0.2 driver) and from Ubuntu Feisty
> (2.6.20 kernel and the 10.1 ivtv drivers).  Both exhibit the same
> problem with not being able to read from the capture device.   I
> don't know what my previous version of the driver was but it's
> probably a least a year or two old and it worked (very old in any
> case because once this stuff works I never touch it because of
> reasons like I'm seeing now).

MPEG 1 support isn't tested very often. I've just tested it using the 
latest and greatest driver source from the v4l-dvb repository and it 
captured fine. I did discover a bug when resizing the stream: it would 
cut off the right half of the image. I've fixed that in my repository.

So the repository at www.linuxtv.org/hg/~hverkuil/ivtv should work fine.

Note that in order to get a 320x240 MPEG1 stream you have to set the 
width and height to 640x480: when you select MPEG1 encoding the driver 
will automatically half the width and height for you. When you go back 
to MPEG2 the 640x480 resolution is enabled again. This has the 
advantage of keeping the capture image size independent from the actual 
encoding method. But I'm still not sure whether this is a feature or a 
bug.

Regards,

        Hans

_______________________________________________
ivtv-users mailing list
[email protected]
http://ivtvdriver.org/mailman/listinfo/ivtv-users

Reply via email to