Hi Stefan,

> For this one, it look like "Cropping" -> "CropMode" is set to 14:9  
> and "Screen Aspect"
> set "16:9" or "default".
> 14:9:
> video.c, line 345:
>   if (afd_asp <= new_asp) {
>     swidth = (int) (0.5 + ((double) tmpWidth * afd_asp / new_asp));
>   } else {
>     sheight = (int) (0.5 + ((double) tmpHeight * new_asp / afd_asp));
>   }
>
> new_asp: assumed as 4/3 (1.3333),
> afd_asp: unknown but greater than new_asp
> -> else part will be choosen.
> so afd_asp = tmpHeight * new_asp / sheight;
> sheight: about 496 (+2 due to adjusting to YV12)
> tmpHeight: 576 (not other zoom / offset values applied)
> afd_asp is about 1.54838 ( 14 / 9 = 1.5555)
>

I think the crop mode was disabled, but the aspect was set to 16:9.  
I'll test again and pay more attention :)

>> Feb 26 23:05:14 localhost vdr: [6878] [VideoOut]: 528x576 [0,0   
>> 528x576] -> 1368x768 [170,0 1026x768]
>> Feb 26 23:05:21 localhost vdr: [6878] [VideoOut]: 528x576 [0,0   
>> 528x576] -> 1368x768 [114,0 1140x768]
>> Feb 26 23:05:22 localhost vdr: [6878] [VideoOut]: 528x576 [0,0   
>> 528x576] -> 1368x768 [136,0 1094x768]
>> Feb 26 23:05:24 localhost vdr: [6878] [VideoOut]: 528x576 [0,0   
>> 528x576] -> 1368x768 [172,0 1024x768]
>
> Did you cycle through all possible "Screen Aspect" possibilities ?
>

Yes I was cycling here, I realized that when I'd already sent the  
message that log wasn't very usefull.

> "Screen Aspect" should be set only once, so that it fits the geometry
> of your output device.
>
> So with screen aspect set to 16:9 and cropmode set to 16:9 it  
> should work,
> as long a pur 16:9 video fills the entire screen of your lcd .
> Don't know what to ask further, exept for short sample recording as  
> I've never
> seen resolution 528x576 (only 540x576).

I'll record a short clip and post back when I've put it online  
somewhere if thats ok. I think that will be later this week as I then  
have some spare time to hack on this. I'll look at vdeo.c to see if I  
can put in some printf's so that I can figure out what's going on.

Could it be that my dvb device (a dvb-t usb stick) is producing the  
weird resolution? I thought it was the broadcaster that controls that?

Thanks,

Hugo
_______________________________________________
Softdevice-devel mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/softdevice-devel

Reply via email to