Hi, are there any plans for a new release? After 3(!) years since 1.3.0 it's about time. Ingo
Hi all, hi Ingo! On 2019-02-15 19:56 +0100, Ingo Brückl wrote:
are there any plans for a new release?
Yes, I plan to somehow have release 1.4.0 ready on 15th of April.
After 3(!) years since 1.3.0 it's about time.
Of course that's right. I would appreciate some help, like compiling and testing latest SVN version on different operating systems (maybe with multiple compilers). Alexander
Hi, On Tue, Apr 02, 2019 at 10:29:17PM +0200, Alexander Strasser wrote:
On 2019-02-15 19:56 +0100, Ingo Brückl wrote:
are there any plans for a new release?
Yes, I plan to somehow have release 1.4.0 ready on 15th of April.
:-)
After 3(!) years since 1.3.0 it's about time.
Of course that's right.
I would appreciate some help, like compiling and testing latest SVN version on different operating systems (maybe with multiple compilers).
FWIW I have just updated my SVN checkout to the latest revision, started configure (which updated the ffmpeg git repo) and compiled MPlayer successfully on an up-to-date Ubuntu 18.04 system. I then tested one random video which played fine. I have used the distribution compiler, gcc 7.3.0. As is traditional with MPLayer, the compiler emits tons of warnings... :-( Thanks, Erik -- There are two ways of constructing a software design: One way is to make it so simple that there are obviously no deficiencies and the other way is to make it so complicated that there are no obvious deficiencies. -- C.A.R. Hoare
Hi, On Wed, Apr 03, 2019 at 09:34:15AM +0200, Erik Auerswald wrote:
On Tue, Apr 02, 2019 at 10:29:17PM +0200, Alexander Strasser wrote:
On 2019-02-15 19:56 +0100, Ingo Brückl wrote:
are there any plans for a new release?
Yes, I plan to somehow have release 1.4.0 ready on 15th of April.
:-)
After 3(!) years since 1.3.0 it's about time.
Of course that's right.
I would appreciate some help, like compiling and testing latest SVN version on different operating systems (maybe with multiple compilers).
FWIW I have just updated my SVN checkout to the latest revision, started configure (which updated the ffmpeg git repo) and compiled MPlayer successfully on an up-to-date Ubuntu 18.04 system. I then tested one random video which played fine.
I have used the distribution compiler, gcc 7.3.0.
After installing some development libraries it builds video-outs of xv and gl. On this system, -vo xv does not work correctly in fullscreen, because it does not draw the black bars, except the top one (left & right, or bottom one are missing). Thos wirks fine with -vo gl. This does not happen with the Ubuntu MPlayer package: MPlayer 1.3.0 (Debian), built with gcc-7 (C) 2000-2016 MPlayer Team Here both -vo xv and -vo gl produce black borders as needed. Since I have not used a self-compiled MPlayer on that system before, I cannot say if this is a recent problem or not. I intend to test the current SVN version of MPlayer on another system where I have used self-compiled MPlayer exclusively, soon. Thanks, Erik -- Inside every large problem is a small problem struggling to get out. -- Hoare's Law of Large Problems
Hi, On 4/3/19 13:22, Erik Auerswald wrote:
On Wed, Apr 03, 2019 at 09:34:15AM +0200, Erik Auerswald wrote:
On Tue, Apr 02, 2019 at 10:29:17PM +0200, Alexander Strasser wrote:
On 2019-02-15 19:56 +0100, Ingo Brückl wrote:
are there any plans for a new release?
Yes, I plan to somehow have release 1.4.0 ready on 15th of April.
After 3(!) years since 1.3.0 it's about time.
Of course that's right.
I would appreciate some help, like compiling and testing latest SVN version on different operating systems (maybe with multiple compilers).
FWIW I have just updated my SVN checkout to the latest revision, started configure (which updated the ffmpeg git repo) and compiled MPlayer successfully on an up-to-date Ubuntu 18.04 system. I then tested one random video which played fine.
I have used the distribution compiler, gcc 7.3.0.
After installing some development libraries it builds video-outs of xv and gl. On this system, -vo xv does not work correctly in fullscreen, because it does not draw the black bars, except the top one (left & right, or bottom one are missing). Thos wirks fine with -vo gl.
This does not happen with the Ubuntu MPlayer package: MPlayer 1.3.0 (Debian), built with gcc-7 (C) 2000-2016 MPlayer Team Here both -vo xv and -vo gl produce black borders as needed.
Since I have not used a self-compiled MPlayer on that system before, I cannot say if this is a recent problem or not. I intend to test the current SVN version of MPlayer on another system where I have used self-compiled MPlayer exclusively, soon.
Testing on my older notebook still running Ubuntu 14.04 I do not see the same problems with -vo xv, but similar one when changing the window size (but not in fullscreen mode). I think I have seen this for quite some time, so it is not really recent. It might be newer than MPlayer 1.3.0. Those problems do not occur with -vo gl. Compiler version on that system is: gcc (Ubuntu 4.9.4-2ubuntu1~14.04.1) 4.9.4 I have tested a more or less random selection of video files and a DVD without issues (except the -vo xv issue mentioned above, of course). Thanks, Erik
Hi Erik! On 2019-04-03 21:25 +0200, Erik Auerswald wrote:
On 4/3/19 13:22, Erik Auerswald wrote:
On Wed, Apr 03, 2019 at 09:34:15AM +0200, Erik Auerswald wrote:
On Tue, Apr 02, 2019 at 10:29:17PM +0200, Alexander Strasser wrote: [...]
I would appreciate some help, like compiling and testing latest SVN version on different operating systems (maybe with multiple compilers).
FWIW I have just updated my SVN checkout to the latest revision, started configure (which updated the ffmpeg git repo) and compiled MPlayer successfully on an up-to-date Ubuntu 18.04 system. I then tested one random video which played fine.
I have used the distribution compiler, gcc 7.3.0.
After installing some development libraries it builds video-outs of xv and gl. On this system, -vo xv does not work correctly in fullscreen, because it does not draw the black bars, except the top one (left & right, or bottom one are missing). Thos wirks fine with -vo gl.
This does not happen with the Ubuntu MPlayer package: MPlayer 1.3.0 (Debian), built with gcc-7 (C) 2000-2016 MPlayer Team Here both -vo xv and -vo gl produce black borders as needed.
Since I have not used a self-compiled MPlayer on that system before, I cannot say if this is a recent problem or not. I intend to test the current SVN version of MPlayer on another system where I have used self-compiled MPlayer exclusively, soon.
Testing on my older notebook still running Ubuntu 14.04 I do not see the same problems with -vo xv, but similar one when changing the window size (but not in fullscreen mode). I think I have seen this for quite some time, so it is not really recent. It might be newer than MPlayer 1.3.0. Those problems do not occur with -vo gl.
Compiler version on that system is: gcc (Ubuntu 4.9.4-2ubuntu1~14.04.1) 4.9.4
I have tested a more or less random selection of video files and a DVD without issues (except the -vo xv issue mentioned above, of course).
Thank you for testing! I will have a look into the vo xv issues. Sounds like it could be a regression. About the warnings, it is of course not a good practice. Maybe we can reduce them somewhat after the release is out. I guess some significant amount is because of the way we build with internal FFmpeg. Alexander
Hi, On Wed, Apr 03, 2019 at 11:51:58PM +0200, Alexander Strasser wrote:
On 2019-04-03 21:25 +0200, Erik Auerswald wrote:
On 4/3/19 13:22, Erik Auerswald wrote:
On Wed, Apr 03, 2019 at 09:34:15AM +0200, Erik Auerswald wrote:
On Tue, Apr 02, 2019 at 10:29:17PM +0200, Alexander Strasser wrote:
[...]
Thank you for testing!
Your welcome! I still primarily use MPlayer as first choice when watching videos, and even started to use a released MPlayer version via Ubuntu 18.04.
I will have a look into the vo xv issues. Sounds like it could be a regression.
There have been just a few commits to vo_xv.c since the release of 1.3.0, but I did not see anything obviously problematic. An older commit pertained to setting the background color (according to the commit log), but I did not look at that patch. But then I do not know that code at all. It seems as if the borders are actually drawn, but not in black, but using some other memory contents, sometimes from the video, sometimes from the root window ("desktop"). It does not look as if unitialized memory is copied. Since the commits since 1.3.0 pertained to formats: on the 18.04 system MPlayer reports "VO: [xv] 1280x720 => 1280x720 Planar YV12". Thanks, Erik -- Compile tested only, since I didn't dare boot it. -- Peter Zijlstra
On 2019-04-04 09:14 +0200, Erik Auerswald wrote:
On Wed, Apr 03, 2019 at 11:51:58PM +0200, Alexander Strasser wrote:
I will have a look into the vo xv issues. Sounds like it could be a regression.
There have been just a few commits to vo_xv.c since the release of 1.3.0, but I did not see anything obviously problematic. An older commit pertained to setting the background color (according to the commit log), but I did not look at that patch. But then I do not know that code at all.
It seems as if the borders are actually drawn, but not in black, but using some other memory contents, sometimes from the video, sometimes from the root window ("desktop"). It does not look as if unitialized memory is copied.
Since the commits since 1.3.0 pertained to formats: on the 18.04 system MPlayer reports "VO: [xv] 1280x720 => 1280x720 Planar YV12".
Did that line change compared to the version you didn't have the border drawing problems? Alexander
Hi, On 4/6/19 22:18, Alexander Strasser wrote:
On 2019-04-04 09:14 +0200, Erik Auerswald wrote:
On Wed, Apr 03, 2019 at 11:51:58PM +0200, Alexander Strasser wrote:
I will have a look into the vo xv issues. Sounds like it could be a regression.
There have been just a few commits to vo_xv.c since the release of 1.3.0, but I did not see anything obviously problematic. An older commit pertained to setting the background color (according to the commit log), but I did not look at that patch. But then I do not know that code at all.
It seems as if the borders are actually drawn, but not in black, but using some other memory contents, sometimes from the video, sometimes from the root window ("desktop"). It does not look as if unitialized memory is copied.
Since the commits since 1.3.0 pertained to formats: on the 18.04 system MPlayer reports "VO: [xv] 1280x720 => 1280x720 Planar YV12".
Did that line change compared to the version you didn't have the border drawing problems?
No, it did not. More data points: - Fullscreen black borders work with current SVN without an external monitor connected (Ubuntu 18.04). - Maximising the video image results in wrong image content instead of black bars with current SVN (all tested systems and configurations). Thanks, Erik
On 2019-04-06 23:28 +0200, Erik Auerswald wrote:
On 4/6/19 22:18, Alexander Strasser wrote:
On 2019-04-04 09:14 +0200, Erik Auerswald wrote:
On Wed, Apr 03, 2019 at 11:51:58PM +0200, Alexander Strasser wrote:
I will have a look into the vo xv issues. Sounds like it could be a regression.
There have been just a few commits to vo_xv.c since the release of 1.3.0, but I did not see anything obviously problematic. An older commit pertained to setting the background color (according to the commit log), but I did not look at that patch. But then I do not know that code at all.
It seems as if the borders are actually drawn, but not in black, but using some other memory contents, sometimes from the video, sometimes from the root window ("desktop"). It does not look as if unitialized memory is copied.
Since the commits since 1.3.0 pertained to formats: on the 18.04 system MPlayer reports "VO: [xv] 1280x720 => 1280x720 Planar YV12".
Did that line change compared to the version you didn't have the border drawing problems?
No, it did not.
More data points:
- Fullscreen black borders work with current SVN without an external monitor connected (Ubuntu 18.04).
- Maximising the video image results in wrong image content instead of black bars with current SVN (all tested systems and configurations).
It's a regression since r33522 (May 2011) I suspect a debugging modification sneaked in. If I make the following change, borders look fine again: --- a/libvo/vo_xv.c +++ b/libvo/vo_xv.c @@ -139,7 +139,7 @@ static void deallocate_xvimage(int foo); static void resize(void) { calc_src_dst_rects(image_width, image_height, &src_rect, &dst_rect, NULL, NULL); -// vo_x11_clearwindow_part(mDisplay, vo_window, dst_rect.width, dst_rect.height, vo_fs); + vo_x11_clearwindow_part(mDisplay, vo_window, dst_rect.width, dst_rect.height, vo_fs); vo_xv_draw_colorkey(dst_rect.left, dst_rect.top, dst_rect.width, dst_rect.height); } Maybe Ivan can confirm? Alexander
Hi, On Tue, Apr 09, 2019 at 01:03:20AM +0200, Alexander Strasser wrote:
On 2019-04-06 23:28 +0200, Erik Auerswald wrote:
On 4/6/19 22:18, Alexander Strasser wrote:
On 2019-04-04 09:14 +0200, Erik Auerswald wrote:
On Wed, Apr 03, 2019 at 11:51:58PM +0200, Alexander Strasser wrote:
I will have a look into the vo xv issues. Sounds like it could be a regression.
There have been just a few commits to vo_xv.c since the release of 1.3.0, but I did not see anything obviously problematic. An older commit pertained to setting the background color (according to the commit log), but I did not look at that patch. But then I do not know that code at all.
It seems as if the borders are actually drawn, but not in black, but using some other memory contents, sometimes from the video, sometimes from the root window ("desktop"). It does not look as if unitialized memory is copied.
Since the commits since 1.3.0 pertained to formats: on the 18.04 system MPlayer reports "VO: [xv] 1280x720 => 1280x720 Planar YV12".
Did that line change compared to the version you didn't have the border drawing problems?
No, it did not.
More data points:
- Fullscreen black borders work with current SVN without an external monitor connected (Ubuntu 18.04).
- Maximising the video image results in wrong image content instead of black bars with current SVN (all tested systems and configurations).
It's a regression since r33522 (May 2011)
I suspect a debugging modification sneaked in. If I make the following change, borders look fine again:
--- a/libvo/vo_xv.c +++ b/libvo/vo_xv.c @@ -139,7 +139,7 @@ static void deallocate_xvimage(int foo); static void resize(void) { calc_src_dst_rects(image_width, image_height, &src_rect, &dst_rect, NULL, NULL); -// vo_x11_clearwindow_part(mDisplay, vo_window, dst_rect.width, dst_rect.height, vo_fs); + vo_x11_clearwindow_part(mDisplay, vo_window, dst_rect.width, dst_rect.height, vo_fs); vo_xv_draw_colorkey(dst_rect.left, dst_rect.top, dst_rect.width, dst_rect.height); }
I have just tested this, it does improve the situation, but it is not yet completely correct. The problem occurs only when the window aspect does not match the movie aspect (otherwise no black bars would be needed). The problem seems to primarily occur when the MPlayer window aspect changes. For example, one video with the same vertical resolution as my screen (1080 on the build-in laptop screen of the Ubuntu 18.04 machine) will show wrong image content on the sides in window mode. I think MPlayer will try to open a window with vertical size 1080, which is prevented by Gnome. The result is a window of the original horizontal size, but reduced vertical size, needing black bars on the right and left sides. Those are not drawn. Using -vo gl or -vo gl2 works fine, i.e. the needed black borders are drawn. MPlayer prints: Movie-Aspect is 1.34:1 - prescaling to correct movie aspect. VO: [xv] 1444x1080 => 1444x1080 Planar YV12 The window geometry is: xwininfo: Window id: 0x2e00001 "MPlayer" [...] -geometry 1444x1023+103-0 This happens easily while resizing for example on Ubuntu 14.04 with Unity, which allows arbitrary window aspects when manually resizing. It happens on both Ubuntu 14.04 with Unity and Ubuntu 18.04 with Gnome when maximizing a window, because the top bar and the panel on the side of the desktop result in window aspect ratio changes in regard to fullscreen or initial window aspect ratios. Another info point: the commented out call to vo_x11_clearwindow_part() in libvo/vo_xv.c is present in the Ubuntu 18.04 version of MPlayer 1.3.0, but that version does not exhibit said problems. (I have checked the .orig.tar.xz and the patches applied during the build process, but have not build the package from its sources.) This seems to be something else. Thanks, Erik -- Reality continues to ruin my life. -- Calvin
Hi! On 2019-04-09 22:55 +0200, Erik Auerswald wrote:
On Tue, Apr 09, 2019 at 01:03:20AM +0200, Alexander Strasser wrote:
On 2019-04-06 23:28 +0200, Erik Auerswald wrote: [...]
More data points:
- Fullscreen black borders work with current SVN without an external monitor connected (Ubuntu 18.04).
- Maximising the video image results in wrong image content instead of black bars with current SVN (all tested systems and configurations).
It's a regression since r33522 (May 2011)
I suspect a debugging modification sneaked in. If I make the following change, borders look fine again:
--- a/libvo/vo_xv.c +++ b/libvo/vo_xv.c @@ -139,7 +139,7 @@ static void deallocate_xvimage(int foo); static void resize(void) { calc_src_dst_rects(image_width, image_height, &src_rect, &dst_rect, NULL, NULL); -// vo_x11_clearwindow_part(mDisplay, vo_window, dst_rect.width, dst_rect.height, vo_fs); + vo_x11_clearwindow_part(mDisplay, vo_window, dst_rect.width, dst_rect.height, vo_fs); vo_xv_draw_colorkey(dst_rect.left, dst_rect.top, dst_rect.width, dst_rect.height); }
I have just tested this,
Thanks for testing!
it does improve the situation, but it is not yet completely correct.
What do you mean by "not yet completely correct"?
The problem occurs only when the window aspect does not match the movie aspect (otherwise no black bars would be needed).
The problem seems to primarily occur when the MPlayer window aspect changes. For example, one video with the same vertical resolution as my screen (1080 on the build-in laptop screen of the Ubuntu 18.04 machine) will show wrong image content on the sides in window mode. I think MPlayer will try to open a window with vertical size 1080, which is prevented by Gnome. The result is a window of the original horizontal size, but reduced vertical size, needing black bars on the right and left sides. Those are not drawn. Using -vo gl or -vo gl2 works fine, i.e. the needed black borders are drawn.
MPlayer prints:
Movie-Aspect is 1.34:1 - prescaling to correct movie aspect. VO: [xv] 1444x1080 => 1444x1080 Planar YV12
The window geometry is:
xwininfo: Window id: 0x2e00001 "MPlayer" [...] -geometry 1444x1023+103-0
This happens easily while resizing for example on Ubuntu 14.04 with Unity, which allows arbitrary window aspects when manually resizing. It happens on both Ubuntu 14.04 with Unity and Ubuntu 18.04 with Gnome when maximizing a window, because the top bar and the panel on the side of the desktop result in window aspect ratio changes in regard to fullscreen or initial window aspect ratios.
Another info point: the commented out call to vo_x11_clearwindow_part() in libvo/vo_xv.c is present in the Ubuntu 18.04 version of MPlayer 1.3.0, but that version does not exhibit said problems. (I have checked the .orig.tar.xz and the patches applied during the build process, but have not build the package from its sources.) This seems to be something else.
Seems like a (partially) different problem then. Unfortunately I can't invest more time into this. So if no one else finds out before, it will not be fixed in the release. Alexander
Hi, On 4/10/19 00:12, Alexander Strasser wrote:
On 2019-04-09 22:55 +0200, Erik Auerswald wrote:
On Tue, Apr 09, 2019 at 01:03:20AM +0200, Alexander Strasser wrote:
On 2019-04-06 23:28 +0200, Erik Auerswald wrote: [...]
More data points:
- Fullscreen black borders work with current SVN without an external monitor connected (Ubuntu 18.04).
- Maximising the video image results in wrong image content instead of black bars with current SVN (all tested systems and configurations).
[...] I suspect a debugging modification sneaked in. [...] I have just tested this,
Thanks for testing!
it does improve the situation, but it is not yet completely correct.
What do you mean by "not yet completely correct"?
That some black bars appeared where there were none before, but that not the whole area that needs them is covered by the black bars. The black bars do not extend far enough.
[...] The problem seems to primarily occur when the MPlayer window aspect changes.
On the Ubuntu 18.04 system with external monitor in addition to the built-in screen, the external monitor is 16:10, the built-in 16:9. It seems to me the windows aspect ratio is not always updated completely, i.e., not for drawing black bars when using vo xv.
[...] Seems like a (partially) different problem then. Unfortunately I can't invest more time into this. So if no one else finds out before, it will not be fixed in the release.
Thanks for looking into this! Erik
On Wed, Apr 03, 2019 at 09:25:12PM +0200, Erik Auerswald wrote:
Testing on my older notebook still running Ubuntu 14.04 I do not see the same problems with -vo xv, but similar one when changing the window size (but not in fullscreen mode).
How do you manage to do that? MPlayer sets PAspect window hint, you are not supposed to be able to resize the window in a way that needs black borders, and vo_xv was not designed to handle that case... Due to that I am not even able to test on my systems...
On Sun, Apr 14, 2019 at 10:42:19AM +0200, Reimar Döffinger wrote:
On Wed, Apr 03, 2019 at 09:25:12PM +0200, Erik Auerswald wrote:
Testing on my older notebook still running Ubuntu 14.04 I do not see the same problems with -vo xv, but similar one when changing the window size (but not in fullscreen mode).
How do you manage to do that? MPlayer sets PAspect window hint, you are not supposed to be able to resize the window in a way that needs black borders, and vo_xv was not designed to handle that case... Due to that I am not even able to test on my systems...
The consequences are a bit unclear to me, and as this has always worked like this I am not sure we should change it, but below might work for adding support for this. --- a/libvo/x11_common.c +++ b/libvo/x11_common.c @@ -2358,7 +2358,7 @@ void vo_xv_draw_colorkey( int32_t x, int32_t y, /* draw black bars if needed */ /* TODO! move this to vo_x11_clearwindow_part() */ - if ( vo_fs ) + if ( aspect_scaling() ) { XSetForeground( mDisplay, vo_gc, 0 ); /* making non-overlap fills, requires 8 checks instead of 4 */
Hi, On 4/14/19 11:08, Reimar Döffinger wrote:
On Sun, Apr 14, 2019 at 10:42:19AM +0200, Reimar Döffinger wrote:
On Wed, Apr 03, 2019 at 09:25:12PM +0200, Erik Auerswald wrote:
Testing on my older notebook still running Ubuntu 14.04 I do not see the same problems with -vo xv, but similar one when changing the window size (but not in fullscreen mode).
How do you manage to do that? MPlayer sets PAspect window hint, you are not supposed to be able to resize the window in a way that needs black borders, and vo_xv was not designed to handle that case... Due to that I am not even able to test on my systems...
The consequences are a bit unclear to me, and as this has always worked like this I am not sure we should change it, but below might work for adding support for this.
--- a/libvo/x11_common.c +++ b/libvo/x11_common.c @@ -2358,7 +2358,7 @@ void vo_xv_draw_colorkey( int32_t x, int32_t y,
/* draw black bars if needed */ /* TODO! move this to vo_x11_clearwindow_part() */ - if ( vo_fs ) + if ( aspect_scaling() ) { XSetForeground( mDisplay, vo_gc, 0 ); /* making non-overlap fills, requires 8 checks instead of 4 */
I have lightly tested this on my less problematic Ubuntu 14.04 system, it does seem to resolve the issue there. :-) I have then tried it on the Ubuntu 18.04 system with just the internal screen, which worked fine, too. But when using an external monitor with different aspect ratio, in fullscreen the black borders are not completely black, but partly contain the former background (or they are transparent in those places). Again, all this does work with MPlayer 1.3.0 and vo xv. Thanks, Erik
Hi, On 4/14/19 10:42, Reimar Döffinger wrote:
On Wed, Apr 03, 2019 at 09:25:12PM +0200, Erik Auerswald wrote:
Testing on my older notebook still running Ubuntu 14.04 I do not see the same problems with -vo xv, but similar one when changing the window size (but not in fullscreen mode).
How do you manage to do that? MPlayer sets PAspect window hint, you are not supposed to be able to resize the window in a way that needs black borders, and vo_xv was not designed to handle that case...
Unity obviously ignores this hint, while Gnome honors it. Thus I can change the aspect ratio on my Ubuntu 14.04 system by manually resizing the window, but not on the Ubuntu 18.04 system. BUT. Maximizing a window (not fullscreen) changes the aspect ratio, because both Unity and Gnome have different areas reserved for the desktop and not available to the X11 client (a bar on top, a launcher to the left, and Gnome keeps a window border on top even if maximized -- the details nay change between versions). The fixed aspect hint is ignored in those cases. ADDITIONALLY. Starting MPlayer with -nofs to play a video with e.g the same vertical size as the screen, say 1080 pixels, will result in MPlayer trying to get a window with vertical size of 1080 pixels, but this is then resized vertically to the space allowed by the desktop (1023 pixels on my Ubuntu 18.04 system with Gnome), but the horizontal window size it not adjusted to keep the aspect ratio. THUSLY. It seems to me as if MPlayer should be able to handle this situation even when using vo xv. It does when using vo gl[2]. BTW. The problems I observed were not present in MPlayer 1.3.0. They were strongest on a system with two screens with different aspect ratios. I do tend to move windows from one screen to the other, including videos, and toggling fullscreen mode to do so (fullscreen movie on first screen, toggle to window, move to second screen, toggle to fullscreen) and thus change the aspect ratio of the display area. This did work fine with vo xv and MPlayer 1.3.0.
Due to that I am not even able to test on my systems...
Perhaps you are after reading this mail. ;-) You do at least know that vo xv is not supposed to handle the use case. :-) Thanks! Erik
Hello Erik, On 14 April 2019 13:20:49 CEST, Erik Auerswald <auerswal@unix-ag.uni-kl.de> wrote:
Due to that I am not even able to test on my systems...
Perhaps you are after reading this mail. ;-)
So far I would consider all those cases window manager bugs, in those examples you gave that I could test KDE preserves aspect of the window actually... Not that it matters all that much except to explain how we ended up here... I could reproduce by removing the aspect hint in the code though.
You do at least know that vo xv is not supposed to handle the use case.
I used the term "not designed to". It's not that it wouldn't be good if it handled it, but the way it was designed (among other things, assumptions all over the place that aspect needs to be handled only in fullscreen mode) means that usually every time we try to fix it, it breaks something worse... I don't know why 1.3.0 works for you, but it would be a miracle if it actually was bug-free in this aspect (maybe it's the "flickering when resizing" issue it suffers from instead?). And you have to be careful also to not break performance, if we were drawing the border every frame for example that would create quite massive performance issues in some cases. Could also be related to ck-method setting I guess? Best regards, Reimar
On 2019-04-14 14:02 +0200, Reimar Döffinger wrote:
On 14 April 2019 13:20:49 CEST, Erik Auerswald <auerswal@unix-ag.uni-kl.de> wrote: [...]
You do at least know that vo xv is not supposed to handle the use case.
I used the term "not designed to". It's not that it wouldn't be good if it handled it, but the way it was designed (among other things, assumptions all over the place that aspect needs to be handled only in fullscreen mode) means that usually every time we try to fix it, it breaks something worse... I don't know why 1.3.0 works for you, but it would be a miracle if it actually was bug-free in this aspect (maybe it's the "flickering when resizing" issue it suffers from instead?). And you have to be careful also to not break performance, if we were drawing the border every frame for example that would create quite massive performance issues in some cases. Could also be related to ck-method setting I guess?
I agree that it would be great if vo xv handled that too. Maybe it can be fixed, but certainly not in time before the planned release. Alexander
Hello Reimar, On Sun, Apr 14, 2019 at 02:02:52PM +0200, Reimar Döffinger wrote:
On 14 April 2019 13:20:49 CEST, Erik Auerswald <auerswal@unix-ag.uni-kl.de> wrote:
Due to that I am not even able to test on my systems...
Perhaps you are after reading this mail. ;-)
So far I would consider all those cases window manager bugs, in those examples you gave that I could test KDE preserves aspect of the window actually...
Window manager hints are just that, hints. Window managers are free to ignore them. ;-)
Not that it matters all that much except to explain how we ended up here... I could reproduce by removing the aspect hint in the code though.
You do at least know that vo xv is not supposed to handle the use case.
I used the term "not designed to". It's not that it wouldn't be good if it handled it, but the way it was designed (among other things, assumptions all over the place that aspect needs to be handled only in fullscreen mode) means that usually every time we try to fix it, it breaks something worse...
OK, so there is some history with this being problematic. Fair enough.
I don't know why 1.3.0 works for you, but it would be a miracle if it actually was bug-free in this aspect (maybe it's the "flickering when resizing" issue it suffers from instead?).
I do not see a difference between resizing an MPlayer 1.3.0 window and a current SVN MPlayer window, so I cannot confirm nor discount that.
Could also be related to ck-method setting I guess?
I have not looked into that, yet. Thanks, Erik -- The laws of mathematics are very commendable, but the only law that applies in Australia is the law of Australia. -- Australian Prime Minister Malcolm Turnbull
On 2019-04-02 22:29 +0200, Alexander Strasser wrote: [...]
On 2019-02-15 19:56 +0100, Ingo Brückl wrote:
are there any plans for a new release?
Yes, I plan to somehow have release 1.4.0 ready on 15th of April.
I intent to create a release branch on friday. So if any of you have mentionable things for the ChangeLog, now would be a good time to commit them or to send patches. I will have a cursory look myself too. [...] Alexander
Alexander Strasser wrote:
I intent to create a release branch on friday.
Please hold on with the release. There seems to be a small bug with the DISPLAY when using the GUI remotely. Ingo
On 2019-04-12 12:06 +0200, Ingo Brückl wrote:
Alexander Strasser wrote:
I intent to create a release branch on friday.
Please hold on with the release. There seems to be a small bug with the DISPLAY when using the GUI remotely.
No problem. I will wait with creating the release branch. It would be good if you could find out if the bug is a regression. If it isn't a regression and turns out to be harder to fix, we can consider releasing anyway and fixing it afterwards. Alexander
Alexander Strasser wrote on Fri, 12 Apr 2019 13:02:21 +0200:
On 2019-04-12 12:06 +0200, Ingo Brückl wrote:
Please hold on with the release. There seems to be a small bug with the DISPLAY when using the GUI remotely.
No problem. I will wait with creating the release branch.
Okay, all clear. I haven't configured a special video driver and (G)MPlayer uses xv as default. When accessing remotely by X2Go from a Windows client, xv cannot be open/initialized. If I use -vo x11 instead, everything will work. Since xvinfo says "no adapters present" on the Windows client, I assume it's because of the client and not because of (G)MPlayer. So, green light for the release from me. Ingo
On 2019-04-12 18:33 +0200, Ingo Brückl wrote:
Alexander Strasser wrote on Fri, 12 Apr 2019 13:02:21 +0200:
On 2019-04-12 12:06 +0200, Ingo Brückl wrote:
Please hold on with the release. There seems to be a small bug with the DISPLAY when using the GUI remotely.
No problem. I will wait with creating the release branch.
Okay, all clear.
I haven't configured a special video driver and (G)MPlayer uses xv as default. When accessing remotely by X2Go from a Windows client, xv cannot be open/initialized. If I use -vo x11 instead, everything will work. Since xvinfo says "no adapters present" on the Windows client, I assume it's because of the client and not because of (G)MPlayer. So, green light for the release from me.
Release branch created. Next steps: * ChangeLog needs to be finalized * A news entry for the homepage needs to be written Other from that the remaining steps should be kind of technical only if I am not missing something. Alexander
On 2019-04-15 18:45 +0200, Alexander Strasser wrote:
On 2019-04-12 18:33 +0200, Ingo Brückl wrote:
Alexander Strasser wrote on Fri, 12 Apr 2019 13:02:21 +0200:
On 2019-04-12 12:06 +0200, Ingo Brückl wrote:
Please hold on with the release. There seems to be a small bug with the DISPLAY when using the GUI remotely.
No problem. I will wait with creating the release branch.
Okay, all clear.
I haven't configured a special video driver and (G)MPlayer uses xv as default. When accessing remotely by X2Go from a Windows client, xv cannot be open/initialized. If I use -vo x11 instead, everything will work. Since xvinfo says "no adapters present" on the Windows client, I assume it's because of the client and not because of (G)MPlayer. So, green light for the release from me.
Release branch created.
Next steps: * ChangeLog needs to be finalized * A news entry for the homepage needs to be written
Other from that the remaining steps should be kind of technical only if I am not missing something.
The release is out. Maybe not all mirrors are synchronized yet. Thanks to everyone that contributed to MPlayer and to everyone that helped making this release happen! Alexander P.S. Now it's time to work on the next release :)
On Fri, Apr 19, 2019 at 01:31:39AM +0200, Alexander Strasser wrote:
P.S. Now it's time to work on the next release :)
my 2c: - git repo, because svn is excessively kludgy (it's a real pain to build with its deps, actually it's so painful, I don't have svn on my custom distro, I use svn snapshots) - vulkan video output (without those horrible GLSL shader -> VULKAN shaders c++ brain f*cked translators) - write an explicit note that mplayer will never use a kludgy SDK (GNU autotools, python3 meson, python2 scon, lua something, ruby thingy, javascript based web2 DOM chrome super build system, etc) - use only external ffmpeg archives to build mplayer - maybe eat the bullet: - drop mencoder for good - use only ffmpeg for demuxing/decoding - get a massive amount of time and motivation to code/cleanup all that, meh ;-) -- Sylvain
On 19.04.2019, at 15:17, sylvain.bertrand@gmail.com wrote:
- vulkan video output (without those horrible GLSL shader -> VULKAN shaders c++ brain f*cked translators)
If someone's particularly bored, sure. But otherwise it's a waste of time compared to sticking to GL(ES). We're not limited by draw call CPU overhead (unless there are subtitles we have only one), and for getting optimal GPU performance Vulkan requires special optimization for each GPU architecture (which game developers have taken a head-in-the-sand attitude towards once they realized just how much effort that is, which is one of the causes for worse to significantly worse performance of many games in Vulkan mode, especially on mobile platforms). The GL -> vulkan wrapper libraries are likely to almost always do a better job than we could with the amount of time people have to spend on it.
On 2019-04-11 00:38 +0200, Alexander Strasser wrote:
On 2019-04-02 22:29 +0200, Alexander Strasser wrote: [...]
On 2019-02-15 19:56 +0100, Ingo Brückl wrote:
are there any plans for a new release?
Yes, I plan to somehow have release 1.4.0 ready on 15th of April.
I intent to create a release branch on friday.
So if any of you have mentionable things for the ChangeLog, now would be a good time to commit them or to send patches. I will have a cursory look myself too.
Oh, and please suggest code names if you like! With no better suggestions the name will be "SubCounter", you can never go wrong with a counter name, can you ;-) The "Sub" is the philosophical part of the name, you can finish it to convey all kind of things like subtitle, subversive, subsurface, and many more...
[...]
Alexander
participants (5)
-
Alexander Strasser -
Erik Auerswald -
Ingo Brückl -
Reimar Döffinger -
sylvain.bertrand@gmail.com