Re: [mythtv-users] Correcting overscan in MythVideo/mplayer

2005-12-09 Thread korebantic
$ mplayer -version
MPlayer 1.0pre7try2-3.2.3 (C) 2000-2005 MPlayer Team

Interesting that you can scale to values I can't. Maybe it has
something to do with the PVR350 Xdriver. Just for kicks I'm going to
test the multiple of 8/16 theory out.

I'll give xine a try -- I like the idea of being able to zoom via the
remote control vs having to setup config files with mplayer. Thanks
for the tuning tip, I'll give it a shot and see if quality improves.

On 12/9/05, Ian Armstrong <[EMAIL PROTECTED]> wrote:
> On Friday 09 Dec 2005 15:20, Keith C wrote:
> > On Dec 9, 2005, at 8:54 AM, korebantic wrote:
> > > mplayer -fs -display :0 -quiet -vf scale=520:-2,expand=640:480:45:40 \
> > >  -zoom -vo xv /var/video/mythvideo/Lunar_Bleach_58.avi
> > >
> > > Does the trick. I'm not sure I really understand resolutions very
> > > well. For example, scale=540:-2, along with other resolutions,
> > > completely garbled the image. Do you know how to determine "valid"
> > > resolutions without having to resort to trial and error?
> >
> > Yes, for mplayer they have to be divisible by 8, it looks like (I
> > thought it was 16, but the fact that 520 works means it must be 8).
>
> I can play that file without problems using a size of 540 with Mplayer
> 1.0pre7. It also works with 541, 542 & 543.
>
> My own preference is to use xine for playback and map the zoom controls to the
> remote. That way I can still overscan, but tweak the size to ensure the subs
> are visible.
>
> btw, for fansubs (or any other progressive video) you may find that changing
> the yuv mode can improve video quality when scaling. You can do that with the
> following.
>
> ivtvctl -d /dev/video16 --set-yuv-mode=mode=1
>
> The default mode is 0 (interlaced), so you'll probably want to reset it after
> playback.
>
> --
> Ian
>
>
> ___
> mythtv-users mailing list
> mythtv-users@mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>
>
>
___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


Re: [mythtv-users] Correcting overscan in MythVideo/mplayer

2005-12-09 Thread Ian Armstrong
On Friday 09 Dec 2005 15:20, Keith C wrote:
> On Dec 9, 2005, at 8:54 AM, korebantic wrote:
> > mplayer -fs -display :0 -quiet -vf scale=520:-2,expand=640:480:45:40 \
> >  -zoom -vo xv /var/video/mythvideo/Lunar_Bleach_58.avi
> >
> > Does the trick. I'm not sure I really understand resolutions very
> > well. For example, scale=540:-2, along with other resolutions,
> > completely garbled the image. Do you know how to determine "valid"
> > resolutions without having to resort to trial and error?
>
> Yes, for mplayer they have to be divisible by 8, it looks like (I
> thought it was 16, but the fact that 520 works means it must be 8).

I can play that file without problems using a size of 540 with Mplayer 
1.0pre7. It also works with 541, 542 & 543.

My own preference is to use xine for playback and map the zoom controls to the 
remote. That way I can still overscan, but tweak the size to ensure the subs 
are visible.

btw, for fansubs (or any other progressive video) you may find that changing 
the yuv mode can improve video quality when scaling. You can do that with the 
following.

ivtvctl -d /dev/video16 --set-yuv-mode=mode=1

The default mode is 0 (interlaced), so you'll probably want to reset it after 
playback.

-- 
Ian
___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


Re: [mythtv-users] Correcting overscan in MythVideo/mplayer

2005-12-09 Thread Steve Adeff
On Friday 09 December 2005 09:54, korebantic wrote:
> mplayer -fs -display :0 -quiet -vf scale=520:-2,expand=640:480:45:40 \
>  -zoom -vo xv /var/video/mythvideo/Lunar_Bleach_58.avi
>
> Does the trick. I'm not sure I really understand resolutions very
> well. For example, scale=540:-2, along with other resolutions,
> completely garbled the image. Do you know how to determine "valid"
> resolutions without having to resort to trial and error?

image shouldn't be garbled, might be a bug?

try multiples of 16, its an mpeg thing, shouldn't matter, but worth a shot?

-- 
Steve
___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


Re: [mythtv-users] Correcting overscan in MythVideo/mplayer

2005-12-09 Thread Keith C

On Dec 9, 2005, at 8:54 AM, korebantic wrote:


mplayer -fs -display :0 -quiet -vf scale=520:-2,expand=640:480:45:40 \
 -zoom -vo xv /var/video/mythvideo/Lunar_Bleach_58.avi

Does the trick. I'm not sure I really understand resolutions very
well. For example, scale=540:-2, along with other resolutions,
completely garbled the image. Do you know how to determine "valid"
resolutions without having to resort to trial and error?




Yes, for mplayer they have to be divisible by 8, it looks like (I  
thought it was 16, but the fact that 520 works means it must be 8).


Keith C



On 12/8/05, Keith C <[EMAIL PROTECTED]> wrote:


On Dec 8, 2005, at 8:25 PM, korebantic wrote:

The trouble seems to be with using the "-fs" option. No matter  
what I
scale the output to, the PVR350 overscan still cuts off the  
subtitles.

Is this just endemic with the PVR350 or am I doing something wrong
here?

The only thing that doesn't cut off the subtitles that I could  
get to

work was the following:

mplayer -quiet -geometry 32%:50%  -display :0 \
 -vf scale=520:-2 -zoom -vo xv /var/video/mythvideo/
Lunar_Bleach_58.avi

However, that leaves me with the window frame and a little clutter
from fluxbox to look at while I watch my videos. Would the expand
option be the correct way to blackout that area?



Yes, expand creates a black window the size you specify and drops
your scaled video into at the coordinates you specify (or centers it
if you don't specify).

Keith C


___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users




___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


Re: [mythtv-users] Correcting overscan in MythVideo/mplayer

2005-12-09 Thread korebantic
mplayer -fs -display :0 -quiet -vf scale=520:-2,expand=640:480:45:40 \
 -zoom -vo xv /var/video/mythvideo/Lunar_Bleach_58.avi

Does the trick. I'm not sure I really understand resolutions very
well. For example, scale=540:-2, along with other resolutions,
completely garbled the image. Do you know how to determine "valid"
resolutions without having to resort to trial and error?

On 12/8/05, Keith C <[EMAIL PROTECTED]> wrote:
>
> On Dec 8, 2005, at 8:25 PM, korebantic wrote:
>
> > The trouble seems to be with using the "-fs" option. No matter what I
> > scale the output to, the PVR350 overscan still cuts off the subtitles.
> > Is this just endemic with the PVR350 or am I doing something wrong
> > here?
> >
> > The only thing that doesn't cut off the subtitles that I could get to
> > work was the following:
> >
> > mplayer -quiet -geometry 32%:50%  -display :0 \
> >  -vf scale=520:-2 -zoom -vo xv /var/video/mythvideo/
> > Lunar_Bleach_58.avi
> >
> > However, that leaves me with the window frame and a little clutter
> > from fluxbox to look at while I watch my videos. Would the expand
> > option be the correct way to blackout that area?
> >
>
> Yes, expand creates a black window the size you specify and drops
> your scaled video into at the coordinates you specify (or centers it
> if you don't specify).
>
> Keith C
>
>
> ___
> mythtv-users mailing list
> mythtv-users@mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>
>
>
___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


Re: [mythtv-users] Correcting overscan in MythVideo/mplayer

2005-12-08 Thread Keith C


On Dec 8, 2005, at 8:25 PM, korebantic wrote:


The trouble seems to be with using the "-fs" option. No matter what I
scale the output to, the PVR350 overscan still cuts off the subtitles.
Is this just endemic with the PVR350 or am I doing something wrong
here?

The only thing that doesn't cut off the subtitles that I could get to
work was the following:

mplayer -quiet -geometry 32%:50%  -display :0 \
 -vf scale=520:-2 -zoom -vo xv /var/video/mythvideo/ 
Lunar_Bleach_58.avi


However, that leaves me with the window frame and a little clutter
from fluxbox to look at while I watch my videos. Would the expand
option be the correct way to blackout that area?



Yes, expand creates a black window the size you specify and drops  
your scaled video into at the coordinates you specify (or centers it  
if you don't specify).


Keith C
___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


Re: [mythtv-users] Correcting overscan in MythVideo/mplayer

2005-12-08 Thread korebantic
The trouble seems to be with using the "-fs" option. No matter what I
scale the output to, the PVR350 overscan still cuts off the subtitles.
Is this just endemic with the PVR350 or am I doing something wrong
here?

The only thing that doesn't cut off the subtitles that I could get to
work was the following:

mplayer -quiet -geometry 32%:50%  -display :0 \
 -vf scale=520:-2 -zoom -vo xv /var/video/mythvideo/Lunar_Bleach_58.avi

However, that leaves me with the window frame and a little clutter
from fluxbox to look at while I watch my videos. Would the expand
option be the correct way to blackout that area?

On 12/8/05, korebantic <[EMAIL PROTECTED]> wrote:
> That gives me something to start with, thank you sir ;-]
>
> On 12/8/05, Keith C <[EMAIL PROTECTED]> wrote:
> > On Dec 8, 2005, at 11:38 AM, korebantic wrote:
> >
> > > It looks like my overscanning problems with the PVR350 are comming
> > > back to bother me again in MythTV. All the videos I watch happen to be
> > > subtitled anime, and the subtitles are being cutoff at the bottom of
> > > my screen.
> > >
> > > Any suggestions on settings for mplayer (or maybe it needs to be
> > > somewhere else) to scale the video down some?
> > >
> >
> > I use the following in ~/.mplayer/config for my 720p output :
> >
> > vf = scale=1184:-2,expand=1280:720:38::0
> >
> > You can adjust it for your display size.  the scale argument scales
> > the video to 1184 wide and the -2 for vertical tells it to maintain
> > the original aspect ratio.  Then the expand argument creates a black
> > window 1280 wide by 720 tall, and places the newly scaled video 38
> > pixels in from the left, while centering the vertical.
> >
> > Good luck!
> >
> > Keith C
> >
> >
> > ___
> > mythtv-users mailing list
> > mythtv-users@mythtv.org
> > http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
> >
> >
> >
>
___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


Re: [mythtv-users] Correcting overscan in MythVideo/mplayer

2005-12-08 Thread korebantic
That gives me something to start with, thank you sir ;-]

On 12/8/05, Keith C <[EMAIL PROTECTED]> wrote:
> On Dec 8, 2005, at 11:38 AM, korebantic wrote:
>
> > It looks like my overscanning problems with the PVR350 are comming
> > back to bother me again in MythTV. All the videos I watch happen to be
> > subtitled anime, and the subtitles are being cutoff at the bottom of
> > my screen.
> >
> > Any suggestions on settings for mplayer (or maybe it needs to be
> > somewhere else) to scale the video down some?
> >
>
> I use the following in ~/.mplayer/config for my 720p output :
>
> vf = scale=1184:-2,expand=1280:720:38::0
>
> You can adjust it for your display size.  the scale argument scales
> the video to 1184 wide and the -2 for vertical tells it to maintain
> the original aspect ratio.  Then the expand argument creates a black
> window 1280 wide by 720 tall, and places the newly scaled video 38
> pixels in from the left, while centering the vertical.
>
> Good luck!
>
> Keith C
>
>
> ___
> mythtv-users mailing list
> mythtv-users@mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>
>
>
___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


Re: [mythtv-users] Correcting overscan in MythVideo/mplayer

2005-12-08 Thread Keith C

On Dec 8, 2005, at 11:38 AM, korebantic wrote:


It looks like my overscanning problems with the PVR350 are comming
back to bother me again in MythTV. All the videos I watch happen to be
subtitled anime, and the subtitles are being cutoff at the bottom of
my screen.

Any suggestions on settings for mplayer (or maybe it needs to be
somewhere else) to scale the video down some?



I use the following in ~/.mplayer/config for my 720p output :

vf = scale=1184:-2,expand=1280:720:38::0

You can adjust it for your display size.  the scale argument scales  
the video to 1184 wide and the -2 for vertical tells it to maintain  
the original aspect ratio.  Then the expand argument creates a black  
window 1280 wide by 720 tall, and places the newly scaled video 38  
pixels in from the left, while centering the vertical.


Good luck!

Keith C
___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users