when i play a movie (720x576) fullscreen, mplayer prescales it to 1024x576. how do i stop mplayer doing that
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [vdpau] 720x576 => 1024x576 MPEG2 VDPAU acceleration [fs]
Swapnil Jain
_______________________________________________
MPlayer-users mailing list
MPlaye...@mplayerhq.hu
https://lists.mplayerhq.hu/mailman/listinfo/mplayer-users
On 2011.04.25 at 16:15:34 +0530, Swapnil Jain wrote next:
> when i play a movie (720x576) fullscreen, mplayer prescales it to 1024x576. how do i stop mplayer doing that
>
>
> Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
> VO: [vdpau] 720x576 => 1024x576 MPEG2 VDPAU acceleration [fs]
>
Uhh -noaspect option will do the trick, but movie dimensions will be
distorted (as you requested). "Prescaling" in mplayer means aspect fix.
--
Vladimir
> Hi Swapnil Jain!
>
> On 2011.04.25 at 16:15:34 +0530, Swapnil Jain wrote next:
>
>> when i play a movie (720x576) fullscreen, mplayer prescales it to 1024x576. how do i stop mplayer doing that
>>
>>
>> Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
>> VO: [vdpau] 720x576 => 1024x576 MPEG2 VDPAU acceleration [fs]
>>
>
> Uhh -noaspect option will do the trick, but movie dimensions will be
> distorted (as you requested). "Prescaling" in mplayer means aspect fix.
I tried that, it didnt work
On 2011.04.25 at 16:26:05 +0530, Swapnil Jain wrote next:
> > Hi Swapnil Jain!
> >
> > On 2011.04.25 at 16:15:34 +0530, Swapnil Jain wrote next:
> >
> >> when i play a movie (720x576) fullscreen, mplayer prescales it to 1024x576. how do i stop mplayer doing that
> >>
> >>
> >> Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
> >> VO: [vdpau] 720x576 => 1024x576 MPEG2 VDPAU acceleration [fs]
> >>
> >
> > Uhh -noaspect option will do the trick, but movie dimensions will be
> > distorted (as you requested). "Prescaling" in mplayer means aspect fix.
>
> I tried that, it didnt work
Hm? please show full mplayer log with
mplayer -noaspect <movie file>
It shouldn't prescale with -noaspect, at least if you use option before
list of file names.
Well there are also complicated things like aspect switches in the
middle of the movie, and dvd can have parts with different aspect
ratio, I'm not sure -noaspect works for that, it might fail with dvdnav
for that reason, for example. It has effect only on starts of the stream.
--
Vladimir
> Hi Swapnil Jain!
>
> On 2011.04.25 at 16:26:05 +0530, Swapnil Jain wrote next:
>
>>> Hi Swapnil Jain!
>>>
>>> On 2011.04.25 at 16:15:34 +0530, Swapnil Jain wrote next:
>>>
>>>> when i play a movie (720x576) fullscreen, mplayer prescales it to 1024x576. how do i stop mplayer doing that
>>>>
>>>>
>>>> Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
>>>> VO: [vdpau] 720x576 => 1024x576 MPEG2 VDPAU acceleration [fs]
>>>>
>>>
>>> Uhh -noaspect option will do the trick, but movie dimensions will be
>>> distorted (as you requested). "Prescaling" in mplayer means aspect fix.
>>
>> I tried that, it didnt work
>
> Hm? please show full mplayer log with
> mplayer -noaspect <movie file>
> It shouldn't prescale with -noaspect, at least if you use option before
> list of file names.
>
> Well there are also complicated things like aspect switches in the
> middle of the movie, and dvd can have parts with different aspect
> ratio, I'm not sure -noaspect works for that, it might fail with dvdnav
> for that reason, for example. It has effect only on starts of the stream.
if you at this output its not prescaling, but its actually doing it. the display is the same as it was while not using -noaspect.
mplayer -nolirc -noaspect -fs -vo vdpau -vc ffmpeg12vdpau upintheair.mpg
MPlayer SVN-r33060-4.4.3 (C) 2000-2011 MPlayer Team
Playing upintheair.mpg.
Connecting to server 172.16.0.7[172.16.0.7]: 80...
Cache size set to 20000 KBytes
Cache fill: 0.00% (0 bytes)
TS file format detected.
VIDEO MPEG2(pid=33) AUDIO MPA(pid=36) NO SUBS (yet)! PROGRAM N. 2
VIDEO: MPEG2 720x576 (aspect 3) 25.000 fps 4000.0 kbps (500.0 kbyte/s)
VMI3.0 is being used
==========================================================================
Forced video codec: ffmpeg12vdpau
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffmpeg12vdpau] vfm: ffmpeg (FFmpeg MPEG-1/2 (VDPAU))
==========================================================================
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 48000 Hz, 2 ch, s16le, 192.0 kbit/12.50% (ratio: 24000->192000)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
AO: [oss] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
[VD_FFMPEG] XVMC-accelerated MPEG-2.
[vdpau] Failed creating VDPAU decoder: invalid/unsupported VdpDecoderProfile value
Movie-Aspect is undefined - no prescaling applied.
VO: [vdpau] 720x576 => 720x576 MPEG2 VDPAU acceleration [fs]
V4L is 1
A: 6.9 V: 6.9 A-V: -0.000 ct: -0.476 152/152 24% 3% 1.6% 7 0 77%
On 2011.04.25 at 18:10:47 +0530, Swapnil Jain wrote next:
> if you at this output its not prescaling, but its actually doing it. the display is the same as it was while not using -noaspect.
>
>
> mplayer -nolirc -noaspect -fs -vo vdpau -vc ffmpeg12vdpau upintheair.mpg
Could it be some vdpau magic that reads aspect from stream, ignoring
mplayer or something like that?
Does it happen with other output drivers too?
Here vdpau driver clearly gets 720x576 picture from mplayer - if driver
does some scaling in itself, during rendering, then I guess mplayer's
aspect setting has no control over it.
--
Vladimir
> Hi Swapnil Jain!
>
> On 2011.04.25 at 18:10:47 +0530, Swapnil Jain wrote next:
>
>> if you at this output its not prescaling, but its actually doing it. the display is the same as it was while not using -noaspect.
>>
>>
>> mplayer -nolirc -noaspect -fs -vo vdpau -vc ffmpeg12vdpau upintheair.mpg
>
> Could it be some vdpau magic that reads aspect from stream, ignoring
> mplayer or something like that?
> Does it happen with other output drivers too?
>
> Here vdpau driver clearly gets 720x576 picture from mplayer - if driver
> does some scaling in itself, during rendering, then I guess mplayer's
> aspect setting has no control over it.
you mean vdpau is overriding mplayer setting options. than i need to talk to the vdpau developer. thanks for your support.
On 2011.04.25 at 19:59:40 +0530, Swapnil Jain wrote next:
> > Here vdpau driver clearly gets 720x576 picture from mplayer - if driver
> > does some scaling in itself, during rendering, then I guess mplayer's
> > aspect setting has no control over it.
>
> you mean vdpau is overriding mplayer setting options. than i need to talk to the vdpau developer. thanks for your support.
>
It could be mplayer's vdpau driver, not vdpau itself :) or ffmpeg part
of vdpau driver. Anyhow yes you should ask vdpau expert about this..
Just make sure first this is vdpau-specific, not file-specific, and
doesn't happen with other output drivers like xv, gl, etc
--
Vladimir
What do you mean by prescaling? -fs scales to full screen (with GPU).
mplayer -nolirc -noaspect -noconfig all -vo vdpau \
-vc ffmpeg12vdpau upintheair.mpg
mplayer -nolirc -noconfig all -vo vdpau -vc ffmpeg12vdpau upintheair.mpg
Any difference with these two?
> On 25.4.2011 15:40, Swapnil Jain wrote:
>> if you at this output its not prescaling, but its actually doing it. the display is the same as it was while not using -noaspect.
>>
>>
>> mplayer -nolirc -noaspect -fs -vo vdpau -vc ffmpeg12vdpau upintheair.mpg
>
> What do you mean by prescaling? -fs scales to full screen (with GPU).
>
> mplayer -nolirc -noaspect -noconfig all -vo vdpau \
> -vc ffmpeg12vdpau upintheair.mpg
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [vdpau] 720x576 => 720x576 MPEG2 VDPAU acceleration [fs]
> mplayer -nolirc -noconfig all -vo vdpau -vc ffmpeg12vdpau upintheair.mpg
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [vdpau] 720x576 => 1024x576 MPEG2 VDPAU acceleration [fs]
> Any difference with these two?
but display is the same, stretched.
I still haven't managed to understand what precisely
the issue is, but make sure you have configured
one of -monitor-aspect or -monitor-pixel-aspect
correctly.