2011-10-06, 05:07 | Link #61 |
not fansubbing 24/7
Join Date: Nov 2009
Location: Germany
|
cyberbeing:
That’s probably just slightly different margins/aspect ratio due to scaling, and the line break could be caused by how that font scales at smaller sizes. LLStarks: Known Gallium/Mesa bug. Free drivers on Linux are still shit, no big news there. |
2011-10-06, 07:41 | Link #62 |
Senior Member
Join Date: May 2006
Location: California
|
I took a closer look and it seems this is actually a font spacing issue rather than a font size issue. The font rendered at 100% has less spacing than the font rendered at 50%.
When rendered at 720x540 (50%) there seems to be an extra pixel worth of spacing between each character compared to my 1440x1080 screenshot resized to 720x540. Add all those extra spacing pixels up and it must hit the margins that forces the line to wrap. Are you able to fix libass to compensate for this, or is it out of your control? It seems like it probably should, or everything will end up shifted by a few pixels when resizing the video using the gl renderer. I guess this is a limitation of rendering subs after resizing (similar to the MPC-HC internal subtitle renderer), but optimally you would want everything positioned identically relative to the size of the video frame and be resolution independent.
__________________
|
2011-10-06, 09:30 | Link #63 |
Madder Sky~
Graphic Designer
Join Date: Apr 2007
Location: Asia
Age: 31
|
Thank you very much Green². I got visual error and my smplayer crashes whenever i put directx (fast), guess i have to stick with direct3.
Also, it is kinda hard to fast forward video due to the inaccurate seek bar. Last edited by MagicaLideaL; 2011-10-06 at 10:36. |
2011-10-06, 14:01 | Link #64 |
Senior Member
Join Date: May 2006
Location: California
|
I've noticed this as well. Usually seeking works horribly and jumps all over the place when you click on the timeline, but occasionally if I fiddle with things and reload seeking will suddenly work perfectly, both quickly and accurately. I would scratch this off as a failing of the SMPlayer GUI and its communications with MPlayer2, but it is extremely annoying. Something for the future that will need to be solved either in SMPlayer or a new GUI before MPlayer2 becomes user friendly enough for more widespread use on Windows.
__________________
|
2011-10-06, 14:34 | Link #65 |
not fansubbing 24/7
Join Date: Nov 2009
Location: Germany
|
Yes, SMPlayer is a complete pile of junk judging by its code.
Communication with MPlayer/mplayer2 over the old MPlayer slave protocol is incredibly awkward though, that’s why a new IPC mechanism is planned. Whenever that will be done, new frontends will have to be written (several people, including me, tried to fix some of SMPlayer’s mess already; it turns out to be easier to just start from scratch). Also, you could try this SMPlayer build. Maybe it fixes a few issues with the seek bar, but it also displays chapter names in the menu and starts a little faster (static linking ho). Just unpack it somewhere and place mplayer2 as mplayer.exe in its mplayer subdirectory as usual (create if it doesn’t exist). Note that this build was just a quick experiment to see how it works. |
2011-10-06, 15:57 | Link #66 |
Senior Member
Join Date: May 2006
Location: California
|
That build works well with 'Absolute seeking' enabled. 'Relative seeking' is still borked.
It seems you somehow broke passing of full pathnames though, so that SMPlayer build doesn't work at all unless you enable 'Pass short filenames (8+3) to MPlayer'. Back to the subject of libass. It seems to have drastically different spacing and/or font weights compared to VSFilter at times. Is that just the nature of libass? Spoiler for VSFilter:
Spoiler for MPlayer2:
__________________
|
2011-10-07, 02:15 | Link #67 | |||
not fansubbing 24/7
Join Date: Nov 2009
Location: Germany
|
Quote:
Quote:
Most (if not all) other Unicode-compatible operating systems use UTF-8 for everything. Windows however uses UTF-16 (UCS-2 in older versions). That breaks Unicode file names. Using 8.3 names is a workaround. This will be fixed sometime, probably by an UTF-16<->UTF-8 wrapper. Quote:
|
|||
2011-10-07, 03:58 | Link #68 | ||
Senior Member
Join Date: May 2006
Location: California
|
Quote:
Quote:
The offending fonts: http://www.mediafire.com/?zpvr698cu7m87lc Font Name: Profile-Regular Font Family: Profile Font Sub-Family: Regular Font Name: Profile-Medium Font Family: Profile Font Sub-Family: Regular I think you can see the problem, when only 'Profile', the font family which is shared by both fonts, is specified in the script and both are 'Regular'. The two fonts would be seen as duplicates. [mkv] Attachment: Profile-Medium.otf, application/x-truetype-font, 36580 bytes [mkv] Attachment: Profile-Regular.otf, application/x-truetype-font, 36388 bytes VSFilter is using Profile-Medium and Libass is doing the opposite and using Profile-Regular. In this case, Profile-Medium was obviously the font intended to be used, but with no way of knowing that from the script alone, I would have to side with libass for using Profile-Regular since 'Bold' wasn't specified. Maybe yet another switch should be added to MPlayer2 to make it mimic VSFilter behavior with duplicate fonts which aren't actually duplicates... All in all this is just stupidity by Commie, and even greater stupidity by UTW for copying Commie's stupidity when using this font. Only one of the two fonts needed to be muxed into the mkv, since they are not linked to each other, and both have a full set of glyphs. If I remove Profile-Regular.otf and leave only Profile-Medium.otf muxed, it works correctly in both VSFilter and Libass. Same font, same problem in both screenshots. QFT
__________________
Last edited by cyberbeing; 2011-10-07 at 05:33. |
||
2011-10-07, 04:56 | Link #69 | |
not fansubbing 24/7
Join Date: Nov 2009
Location: Germany
|
Quote:
|
|
2011-10-08, 03:09 | Link #71 |
Senior Member
Join Date: Oct 2008
|
not sure if this is the right place to ask, but .. am I correct in understanding that currently 10-bit video playback does not support DXVA (hw GPU accel for video playback - for .mkv's) at all ? Because all my 10-bit files are playing w/o DXVA (and with a higher CPU usage)
I use CCCP if it matters .. would I be able to get DXVA for 10-bit using something else atm ?
__________________
|
2011-10-09, 02:57 | Link #74 | |
YUKI.N>
|
Quote:
|
|
2011-10-22, 21:04 | Link #75 | |
not fansubbing 24/7
Join Date: Nov 2009
Location: Germany
|
Quote:
I also recommend using SMplayer2 instead of SMPlayer. I forked it, dropped support for ancient MPlayer versions and fixed/added a few other things (list of changes is here). Here's an installer that downloads the most recent Windows builds of SMPlayer2 and mplayer2. It installs them in your user directory (it’s pretty similar to Chromium’s mini_installer.exe) and places a shortcut to itself in the start menu (it also works as updater) on first run. No uninstall routine yet (I was lazy), but it only requires deleting a folder and three shortcuts anyway. |
|
2011-10-22, 22:43 | Link #76 |
Senior Member
Join Date: May 2006
Location: California
|
Yeah I saw that, and I've been using SMPlayer2 for a few days already. My main gripe with SMPlayer is that the subtitle sections in particular are designed around MPlayer defaults and doesn't mingle well with MPlayer2 defaults.
Requests: Add an Auto setting for 'Threads for Decoding' to let MPlayer2 set -lavdopts threads on its own, and make '1' actually set threads to 1. Add 'Use MPlayer2 subtitle defaults' option to the Subtitle section to prevent SMPlayer from passing subtitle or libass related parameters from that section to MPlayer2. Add keyboard shortcut entry for --ass-vsfilter-aspect-compat (defaults to 'V' in MPlayer2). Add an option to always dither 10-bit to YV12 with the GL renderer (-vf format=YV12) Fix the DSound device detection in the Audio Output drop-down box so it matches SMPlayer behavior Bundle an up-to-date set of *.conf files for MPlayer2 and place them in the ./mplayer directory. Bundle an up-to-date fontconfig configuration files (similar to these) for MPlayer2 to ./fonts (without it MPlayer2's font choices are horrible) Bundle a readable version of the MPlayer2 manual, either an HTML version of this or TXT version of this from tmp_manpage.
__________________
Last edited by cyberbeing; 2011-10-22 at 23:08. |
2011-10-22, 23:04 | Link #77 | |
not fansubbing 24/7
Join Date: Nov 2009
Location: Germany
|
Quote:
Care to elaborate? If anything, I’d rather want to fix fontconfig’s default behavior than bundle tons of XML files with mplayer2. I’ll take care of the rest soon though, thanks for the suggestions. |
|
2011-10-22, 23:31 | Link #78 | ||
Senior Member
Join Date: May 2006
Location: California
|
Quote:
Speed: Dithered 10-bit to 8-bit output uses less CPU time and renders faster than outputting 10-bit directly. In many ways I don't think MPlayer2 should even be outputting 10-bit OpenGL by default (at least on Windows), as it just doesn't offer any advantages at present. The more sensible way to do it is just to defaulting to 8-bit OpenGL output, and adding an option to enable 10-bit or 16-bit output. Quote:
Spoiler for comparison:
The other good reason to ship *.conf files for everything, is in case someone actually wanted to modify MPlayer2 behavior in some advanced way.
__________________
Last edited by cyberbeing; 2011-10-22 at 23:56. |
||
2011-10-23, 00:15 | Link #79 | |||
not fansubbing 24/7
Join Date: Nov 2009
Location: Germany
|
Quote:
Quote:
Quote:
Besides, there’s some effort in writing a new OpenGL-based driver from scratch that will probably do better than the existing one. Don’t hold your breath yet though. Regarding the font issue, fuck fagsubbers forever. I’ll see to it however. |
|||
2011-10-23, 01:13 | Link #80 | ||||
Senior Member
Join Date: May 2006
Location: California
|
Quote:
Now I could easily believe that 10bit 4:4:4 to 444p10 is a massive improvement though, since swscale 10-bit conversions with anything but 4:2:0 are unusably slow. How often do I watch 10-bit 4:4:4 videos? Never. How often do I watch 10-bit 4:2:0 videos? Often. That would hold true for most everybody. Quote:
OpenGL 420p10 Stability: ++++ Quality: ++ Speed: +++ OpenGL 420p10->YV12 Stability: +++++ Quality: ++++ Speed: ++++ Direct3D 420p10->YV12 Stability: ++++ Quality: ++++ Speed: ++ Just because OpenGL 420p10 is relatively fast and stable with most drivers including my own NVIDIA and ATI cards, doesn't mean it has any advantages on Windows with common 10-bit 4:2:0 video. Quote:
Quote:
You making any change in this area doesn't really affect my use of MPlayer2 at all, and that's not why I'm asking. It's extremely simple to add format=yv12 in SMPlayer under Video Filters to fit my needs perfectly. What's annoying is needing to tell everybody else to change all these settings and teach them what they do because MPlayer2 has less than optimal default settings for the GL renderer. In many ways I'm thankful you are defaulting to the D3D renderer in your builds, as it makes MPlayer2 easier to recommend.
__________________
Last edited by cyberbeing; 2011-10-23 at 02:47. |
||||
|
|