Closed GoogleCodeExporter closed 8 years ago
Try SVN, it should work better with mplayer2
Original comment by kdeko...@gmail.com
on 30 Apr 2011 at 9:20
Tried with gnome-mplayer r2039 and still have the same problem. The version of
mplayer2 is git20110422.
Original comment by jsevi83
on 1 May 2011 at 3:12
I think what you are seeing is what it is supposed to do. The window size does
not change, but the aspect of the video in the window changes.
Original comment by kdeko...@gmail.com
on 1 May 2011 at 3:50
The aspect ratio is not changing, only the size. I'm pretty sure it is not what
is supposed to do, unless you designed it to work different than with mplayer.
My screen is 16:9 and I cannot stretch a 4:3 video to use my full screen.
Original comment by jsevi83
on 1 May 2011 at 10:39
Set the aspect to "Follow Window" and then resize you window to the expected
size and then take a screen shot and post it, it if not correct.
The -1 attached screen shot is a 4:3 video, I have then set the aspect to
follow window and then resized the video to a 16:9 aspect.
The -2 attached screen is the same 4:3 video, but I have set the aspect to 16:9
and then resized the window, the video is kept at 16:9 no matter what the
window size is.
This is the way that gnome-mplayer handles the video aspect setting.
Original comment by kdeko...@gmail.com
on 1 May 2011 at 12:15
Attachments:
[deleted comment]
Okay, here are the screenshots:
The first one is the original aspect ratio, 4:3
The second one is "adapt to window" (I made the window wider)
The third one is 16:9
This issue is more clear when you watch a video fullscreen and press 'A'
several times. The video keeps the aspect ratio and changes the size, putting
borders around it (sometimes black, sometimes part of the video)
Original comment by jsevi83
on 4 May 2011 at 11:44
Attachments:
Yes, it is working as designed. I think you may want some kind of pan and scan
functionality and as of right now that feature is not available.
The video appears to change size because it actually is. With a video that is
originally 4:3 and the window size is 320x200 to make the aspect 16:9 and keep
the window size the same we need to do some math, the new video size is now
still 320 wide but to be the new aspect the height has to be smaller. 320 * 9 /
16 = 180 that is why you get the black borders, to fill in the space in the
window.
Original comment by kdeko...@gmail.com
on 4 May 2011 at 11:55
So the behavior of gnome-mplayer is different when using mplayer or mplayer2?
Using mplayer, I can watch a 4:3 video fullscreen and press 'A' to stretch it
covering all the screen. With mplayer2 this is not possible.
Original comment by jsevi83
on 4 May 2011 at 12:20
You're right that it does not work with mplayer2, I think it might be a bug.
I'll talk to the mplayer2 developers.
Original comment by kdeko...@gmail.com
on 4 May 2011 at 12:27
mplayer2 is on the left, mplayer is on the right
both videos are originally 4:3, both have aspect forced to 16:9
Original comment by kdeko...@gmail.com
on 4 May 2011 at 12:33
Attachments:
In my mplayer input.conf file I set:
F5 switch_ratio 1.5
F6 switch_ratio 1.66
F7 switch_ratio 1.78
F8 switch_ratio 1.95
Then I can change the aspect ratio when watching a video with mplayer2 just
pressing those keys. I don't know if that can help you or if it has nothing to
do with the 'A' key in gnome-mplayer.
Original comment by jsevi83
on 4 May 2011 at 12:36
Found a workaround by using -nokeepaspect with mplayer2, in SVN r2068
Original comment by kdeko...@gmail.com
on 4 May 2011 at 1:04
Original issue reported on code.google.com by
jsevi83
on 30 Apr 2011 at 9:15