Re: xineliboutput: viewing 16:9 content on 4:3 output device

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thank you Torgeir for you response.  Now I know the correct terminology!

Back to general comments.

I have had a look at the xineliboutput source code, and it appears that 
'centercutout' and 'pan&scan', features which I think are the ones I 
want, are at best work in progress:

xine_frontend.c: around and after line 145:

    /* Pan&Scan */
    case 5: {
       double aspect_diff /*= video_pixel_aspect - 1.0*/;
               /* TODO */
               /* does not work (?) */
aspect_diff=(video_pixel_aspect*(double)video_width/(double)video_height) 
- 4.0 / 3.0;
               if ((aspect_diff < 0.05) && (aspect_diff > -0.05)) {
                 result = (4.0/3.0 * 
(double)this->height/(double)this->width);
                 /*LOGDBG("diff: %f", aspect_diff);*/
                 /*new_cropping = 1;*/
               } else {
                 result = (16.0/9.0 * 
(double)this->height/(double)this->width);
               }
               /*result = (4.0/3.0 * 
(double)this->height/(double)this->width);*/
               break;
             }
     /* center cut-out */
     case 6: {
/*#warning center cut-out mode not implemented*/
       break;


'TODO', 'does not work (?)' and 'not implemented' are the points of 
interest.  Maybe time to contact the xineliboutput author for further info.

One more remark, if as I believe from the comments in the code above, 
that the '16:9 crop to 4:3' behaviour is not implemented in 
xineliboutput, am I the only one suffering from the lack of this 
feature?  Am I the only one still using a 4:3 TV?  I don't think so, 
what do other people do when viewing 16:9 material on a 4:3 device, 
other than put up with the black bars?


Regards,

Ian.


_______________________________________________
vdr mailing list
vdr@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr

[Index of Archives]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Big List of Linux Books]     [Fedora Users]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux