Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
14th October 2019, 20:15 | #241 | Link |
Registered User
Join Date: Dec 2013
Posts: 631
|
displaying SUP in cropped video
Hi stax76,
First of all a big thanks for your work on mpv.net player. When playing videos (mkv) that have the black borders cropped, the .SUP subtitles are displayed to high. This is not a fault, I think, because of my workflow in SubtitleEdit. Let me explain. I do a lot of subtitles editing/creating and for my HW mediaplayers compatibilities to show SUPs in the right way, I do this as follows. As an example for 1920x800 video (black bars both 140px cropped), When exporting a .srt file as Bluray SUP, I choose "1080p (1920x1080)" for resolution. So if it were to be for a normal 1920x1080 video.I then set the bottom margin to - let's say - 144. The result is that my mediaplayers show the SUP images 4 pixels above the black bars of the tv-screen. (I think the players just add the black bars after decoding the 1920x800 video, so the output will be 1920x1080 and then overlay the SUP image, with the offset honoured). mpv player plays the SUP images to high (I guess 144 pixels) above the bottom of the video itself. Is there a way to set mpv so, that it will handle the SUPs as I want? |
15th October 2019, 05:24 | #242 | Link |
Registered User
Join Date: Jun 2002
Location: On thin ice
Posts: 6,837
|
I don't have great experience with subtitles even though sometimes I use them. You can try:
https://mpv.io/manual/master/#subtitles Do you know how to edit mpv.conf ? I've been working on something larger and uploaded a beta build. 5.4.2.1 Beta
https://www.dropbox.com/sh/4ctl2y928...dd3yqcAHa?dl=0 https://1drv.ms/f/s!ArwKS_ZUR01gySQIE1QCL2i9F_uR
__________________
https://github.com/stax76/software-list https://www.youtube.com/@stax76/playlists |
25th October 2019, 16:49 | #243 | Link |
Registered User
Join Date: Jun 2002
Location: On thin ice
Posts: 6,837
|
mpv v0.30.0 was released today.
__________________
https://github.com/stax76/software-list https://www.youtube.com/@stax76/playlists |
26th October 2019, 05:15 | #245 | Link |
Broadcast Encoder
Join Date: Nov 2013
Location: Royal Borough of Kensington & Chelsea, UK
Posts: 2,904
|
Thank you!
I use MPV quite often at home as well as at work and your .NET version adds some useful things to it. By the way, I noticed that the solution explorer file you made targets .NET Framework 4.7 and you compiled it that way. Out of pure curiosity, I'm gonna try to target .NET Framework 4 on Visual Studio and re-compile it: if it works, it's gonna be a great gift to WinXP users. |
26th October 2019, 12:56 | #246 | Link |
Registered User
Join Date: Jun 2002
Location: On thin ice
Posts: 6,837
|
It uses 4.5 APIs like System.Threading.Tasks. I promise extended Win 7 support only for staxrip, there is no official statement yet that .NET 5.0 will support Win 7.
https://devblogs.microsoft.com/dotne...oducing-net-5/
__________________
https://github.com/stax76/software-list https://www.youtube.com/@stax76/playlists |
26th October 2019, 18:52 | #247 | Link |
Registered User
Join Date: Sep 2019
Posts: 37
|
Thanks again for yet another great software.
I just tried it for the first time and here are a few suggestions : - After a fresh install, the sound is set to 0% (or maybe 10%). It may be better to set it to 100% because the first idea you have is that the audio is not properly played. - When you pause a video and drag another file, the player remain paused. It would be nice that it plays the new file automatically. - Is it possible to enable to audio up to 200% (or even more, the more the better). I know the quality becomes awful but I sometimes put VLC at 200% audio when I can't use an external speaker. - Panscan is not working for me (w/W shortcut). - Shortcuts using upper-keyboard numbers are not convenient for azerty keyboards because you need to use shift/caps lock. Numpad and numbers shortcuts should do the same. (I know I can edit shortcuts) - The cycle aspect ratio is not convenient. We need a menu and/or more options. - Sometimes the control bar is too big and imposing, and sometimes it's too small and hard to read. Weird. - We need a zoom menu to be able to easily set the displayed resolution at x1, x2, x0.5 etc... - I like the single process setting. But then I can't have two instances of mpv.net opened at the same time. Is it possible to have an in-between ? i.e. whenever I double click on a file, it's played in the same instance. But if I click on mpv.net from the start menu it opens another instance. Maybe some of these things are already possible and I just need to explore more of its options. Anyway, thank you for your work, I'll be using this player from now on. The only pros VLC has now is its VL Sub plugin to easy look for and download subtitles. Do you think it could be implemented ? |
26th October 2019, 20:10 | #248 | Link |
Registered User
Join Date: Jun 2002
Location: On thin ice
Posts: 6,837
|
mpv.net is currently paused because at the moment I'm working on color theme support for MediaInfo.NET (link in my signature).
__________________
https://github.com/stax76/software-list https://www.youtube.com/@stax76/playlists |
31st October 2019, 04:09 | #249 | Link | ||||||||||
Registered User
Join Date: Jun 2002
Location: On thin ice
Posts: 6,837
|
@Tadanobu
Sorry about the late reply, I finished my MediaInfo GUI (link in signature) and am now back working on mpv.net. Quote:
Quote:
- Menu > Settings > Open Config Folder - create 'scripts' sub folder - create PowerShell script with filename 'FileLoaded.ps1' and code: [mp]::Command('set pause no') For this particular task the best language is JavaScript or Lua, PowerShell is less efficient but more cool. Quote:
Quote:
Quote:
Quote:
Menu > Settings > Open Config Folder: input.conf I'm totally willing to assist beginners with this process, just let me know if you can't figure it out, this can be intimidating in the beginning but can be very satisfying once understood, especially if you use a cool editor like VS Code (yes, I'm a total fan of this editor...). Quote:
Quote:
download: https://www.dropbox.com/sh/4ctl2y928...dd3yqcAHa?dl=0 https://1drv.ms/f/s!ArwKS_ZUR01gySQIE1QCL2i9F_uR menu defaults: https://github.com/stax76/mpv.net/bl...tConf.txt#L137 You have to either delete input.conf or update it manually... Quote:
Quote:
__________________
https://github.com/stax76/software-list https://www.youtube.com/@stax76/playlists Last edited by stax76; 31st October 2019 at 04:13. |
||||||||||
1st November 2019, 17:33 | #251 | Link |
Registered User
Join Date: Jun 2002
Location: On thin ice
Posts: 6,837
|
I've just uploaded a new release and hope that it's actually stable.
https://github.com/stax76/mpv.net/releases
__________________
https://github.com/stax76/software-list https://www.youtube.com/@stax76/playlists |
17th November 2019, 15:45 | #252 | Link |
Registered User
Join Date: Jun 2002
Location: On thin ice
Posts: 6,837
|
Hey everybody,
I've uploaded a maintenance release, there is now an update check and routine. The release is all about PowerShell because the update routine is PowerShell based and I've also migrated the release script from C# to PowerShell. It's possible to install mpv.net with PowerShell but I don't maintain this yet so there is a delay, I'll investigate if I can take over the maintenance for the Chocolatey package. Let me know what you think about the default theme. 5.4.4.0
Link to the project can be found in my signature.
__________________
https://github.com/stax76/software-list https://www.youtube.com/@stax76/playlists |
9th February 2020, 21:49 | #253 | Link | |
Quality Checker
Join Date: Aug 2013
Posts: 285
|
thanks for your hard work but i have hard time when i'm using your program because i can't control video Frame like MPC
here example: and can't use mpv.conf options like with mpv.net Quote:
__________________
I love Doom9 |
|
9th February 2020, 23:00 | #254 | Link |
Registered User
Join Date: Jun 2002
Location: On thin ice
Posts: 6,837
|
You can create a menu by editing input.conf:
Code:
_ set video-aspect "-1" #menu: Video > Override Aspect Ratio > Default _ set video-aspect "4:3" #menu: Video > Override Aspect Ratio > 4:3 _ set video-aspect "16:9" #menu: Video > Override Aspect Ratio > 16:9 _ set video-aspect "2.35:1" #menu: Video > Override Aspect Ratio > 2.35:1 Not sure what the other options are used for in mpv, if they are window related than they might not be supported in mpv.net as window related features need a custom implementation because mpv.net uses a custom window. So far only few popular window features are supported: https://github.com/stax76/mpv.net/wi...implementation Before work on mpv.net can continue I want to finish some staxrip modernization, made some progress this weekend: https://github.com/staxrip/staxrip/c...0f1b979aa74f50
__________________
https://github.com/stax76/software-list https://www.youtube.com/@stax76/playlists |
10th February 2020, 04:15 | #255 | Link |
Quality Checker
Join Date: Aug 2013
Posts: 285
|
If I go fullscreen, the video gets stretched to take up the whole moniton
Is there a way to either maximize or go fullscreen so I have a video resolution in the center without resizing ? and mpv.net does not support mpv.conf modification like original mpv ?
__________________
I love Doom9 |
10th February 2020, 14:15 | #256 | Link | |
Registered User
Join Date: Jun 2002
Location: On thin ice
Posts: 6,837
|
Quote:
__________________
https://github.com/stax76/software-list https://www.youtube.com/@stax76/playlists |
|
3rd March 2020, 13:10 | #257 | Link |
Registered User
Join Date: Jun 2002
Location: On thin ice
Posts: 6,837
|
Been working 3 months on staxrip and now shifting back to other tools, primarily mpv.net, been already doing mpv.net improvements the last two days so there will be much likely a new build this or next month.
__________________
https://github.com/stax76/software-list https://www.youtube.com/@stax76/playlists |
13th March 2020, 22:18 | #258 | Link |
Registered User
Join Date: Jun 2002
Location: On thin ice
Posts: 6,837
|
I'm trying to make colors show in mpv but don't seem to work, has anybody else tried it?
Code:
Desktop> mpvnet --vf=format:colormatrix=bt.2020-ncl:primaries=bt.2020 'D:\Samples\GeminiMan_temp\GeminiMan_new_play.avs' (+) Video --vid=1 (rawvideo 3840x2072 29.970fps) VO: [gpu] 3840x2072 yuv420p10
__________________
https://github.com/stax76/software-list https://www.youtube.com/@stax76/playlists |
21st March 2020, 07:58 | #260 | Link |
Registered User
Join Date: Mar 2002
Posts: 2,323
|
I just tried 5.4.4.0 and it asks for installing .NET 4.8, v5.1.0.0 didn't have this requirement and I didn't find anything in the change log about this.
Edit: the last portable that works without .NET 4.8 is 5.4.1.0 Edit2: oh, it's in the main readme file, sorry
__________________
Ryzen 5 2600,Asus Prime b450-Plus,16GB,MSI GTX 1060 Gaming X 6GB(v398.18),Win10 LTSC 1809,MPC-BEx64+LAV+MadVR,Yamaha RX-A870,LG OLED77G2(2160p@23/24/25/29/30/50/59/60Hz) | madvr config Last edited by chros; 21st March 2020 at 08:05. |
|
|