[vdr] Firmware 0x261e and DVD playback

André Weidemann Andre.Weidemann at web.de
Fri Jun 17 15:47:28 CEST 2005


Dr. Werner Fink wrote:
> On Fri, Jun 17, 2005 at 01:21:06PM +0200, Johannes Stezenbach wrote:
> 
>>On Fri, Jun 17, 2005 at 12:43:22PM +0200, Dr. Werner Fink wrote:
>>
>>>On Thu, Jun 16, 2005 at 09:25:44PM +0200, André Weidemann wrote:
>>>
>>>>Hello Werner,
>>>>I was wondering whether or not you changed anything in the new firmware 
>>>>that improves the Pan&Scan problem inside menus we discussed a while ago.
>>>>I just tried the latest firmware under vdr-1.3.23 with the CVS-version 
>>>>of the dvd plugin. But from what I could see the Pan&Scan option still 
>>>>does nothing more than a center-cut-out.
>>>>Did you change anything in the firmware to improve the display?
>>>
>>>No ... what I'm miss is a good documentation about and
>>>if or if not this is supported by the DVB cars.
>>>
>>>Maybe Johannes knows more about.
> 
> 
> Hmmm ... the driver in av7110_hw.h knows about
> 
>   #define VID_NONE_PREF           0x00    /* No aspect ration processing preferred */
>   #define VID_PAN_SCAN_PREF       0x01    /* Pan and Scan Display preferred */
>   #define VID_VERT_COMP_PREF      0x02    /* Vertical compression display preferred */
>   #define VID_VC_AND_PS_PREF      0x03    /* PanScan and vertical Compression if allowed */
>   #define VID_CENTRE_CUT_PREF     0x05    /* PanScan with zero vector */
> 
> but in av7110_av.c it only uses:
> 
>   VID_PAN_SCAN_PREF    for argument VIDEO_PAN_SCAN
>   VID_VC_AND_PS_PREF   for argument VIDEO_LETTER_BOX
>   VID_CENTRE_CUT_PREF  for argument VIDEO_CENTER_CUT_OUT
> 
> in the ioctl VIDEO_SET_DISPLAY_FORMAT the rest is EINVAL.
> 
> Andre: you may extend the header file
> include/linux/dvb/video.h by appending two more
> numbers in the enum type video_displayformat_t
> and then add the two new cases into the
> video ioctl VIDEO_SET_DISPLAY_FORMAT in av7110_av.c
> 
> Don't know if this makes a difference. The ioctl
> VIDEO_SET_ATTRIBUTES seems to be a nop.
> 

Ok I 'll give it a try, although I'm not sure this will cure problem.
The main problem was, that the SPU data was not scaled along with the 
video. Scaling the video from 4:3 to 16:9 used to work before but 
scaling the the SPU data along, did not.
But I'll try to make the above changes as soon as I get home tonight.

Thanks for taking the time and looking into this matter.

  André



More information about the vdr mailing list