Log in

View Full Version : mpv.net media player


Pages : 1 2 3 4 5 6 7 8 9 [10] 11 12 13 14 15

stax76
24th August 2021, 16:45
Doing something against that would be too difficult, I'm afraid. It would be helpful if another Win 7 user can confirm that the command palette cannot be closed on Win 7.

therube
27th August 2021, 19:41
Win7.
5.4.9.4 looks to be working well. (As well as any earlier version, discounting 5.4.9.3.)

F8.
I've looked at 3 separate Win7 systems & the all exhibit the same behavior, (Error) on ESC-ing F8.

stax76
27th August 2021, 20:01
It will take some weeks until I get access to a Win 7 system.

stax76
28th August 2021, 11:56
I did some research, it's a bug in the .NET Framework described here:

https://github.com/dotnet/wpf/issues/898

https://github.com/dotnet/wpf/issues/649

It was fixed and distributed via Windows Update, and apparently Windows 7 is not receiving the fix!

I tried to understand and workaround the issue, v5.4.9.7 Beta is online, I hope it works on Windows 7 as well!

therube
31st August 2021, 19:13
Cool beans!
With a 1 moment look, I'd say with 5.4.9.7 you've got it :-).

Thank you.

I'll give it flogging later...



(Oh, I'll just mention...
With 5.4.9.6, of late, I've been doing a lot of drag&drop of individual files (from Everything, generally) into mpv.net.
Most times, the clips start (auto)playing as expected.
Though sometimes it goes into a "pause" mode, where I actually have to hit the play button for it to start.
And it could be something like: play, play, play, pause, play, play, play. So rather random.
Haven't put my finger on just what is going on... yet.)

therube
1st September 2021, 16:25
Oh, I'll just mention...
With 5.4.9.6, of late, I've been doing a lot of drag&drop of individual files (from Everything, generally) into mpv.net.
Most times, the clips start (auto)playing as expected.
Though sometimes it goes into a "pause" mode, where I actually have to hit the play button for it to start.
And it could be something like: play, play, play, pause, play, play, play. So rather random.
Haven't put my finger on just what is going on... yet.

That appears to be due to me setting:
MBTN_LEFT cycle pause
(At least when I take it out, the issue subsides. Don't know [yet] if this is mpv.net specific or if mpv itself is also affected?
And odd that this happens at all. Does not appear to be mouse [hardware] related, & does not happen in MPUI/Mplayer.
It could be mouse user related ;-).)

therube
1st September 2021, 16:28
flogging
5490 old style F8
- C, commands, fails
- View, decoders, fails
- P, profiles, fails


5497 new style F8

- C, commands, fails

Could not load file or assembly 'System.Management.Automation, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. Strong name validation failed. (Exception from HRESULT: 0x8013141A)

System.IO.FileLoadException: Could not load file or assembly 'System.Management.Automation, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. Strong name validation failed. (Exception from HRESULT: 0x8013141A)
File name: 'System.Management.Automation, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' ---> System.Security.SecurityException: Strong name validation failed. (Exception from HRESULT: 0x8013141A)
The Zone of the assembly that failed was:
MyComputer
at mpvnet.PowerShell.InvokeAndReturnString(String code, String varName, Object varValue)
at mpvnet.Commands.ShowCommands() in D:\Projects\CS\mpv.net\src\Misc\Commands.cs:line 313
at mpvnet.Commands.Execute(String id, String[] args) in D:\Projects\CS\mpv.net\src\Misc\Commands.cs:line 37
at mpvnet.CorePlayer.<>c__DisplayClass302_0.<EventLoop>b__2() in D:\Projects\CS\mpv.net\src\Misc\CorePlayer.cs:line 407
at mpvnet.App.<>c__DisplayClass76_0.<RunTask>b__0() in D:\Projects\CS\mpv.net\src\Misc\App.cs:line 126

- View, decoders, fails, ditto
- View, decoders, fails, ditto (wonder if i didn't mean to write something else here, rather then decoders?)
- Ctrl+P, profiles, fails, ditto


(None of this has been a big deal to me, as in those fails don't affect overall operation of the program.
That said, it is better not to have the errors ;-).)

So...

F8 (& some other dialogs) are now working properly in 5.8.9.7 & Win7.
Some issues which have existed for some time, still do.

stax76
2nd September 2021, 13:24
> MBTN_LEFT cycle pause

Supporting fullscreen via left double-click plus
window moving via left drag plus
pause via left click all at the same time might not be possible without a compromise. I've never tried to implement it, but can try it someday if somebody creates an issue on the tracker.

There are a couple of features in mpv.net built on top of PowerShell 5.1, some of these features could be implemented without powershell, but Win 7 is very old (2009), I'm not sure if better Win 7 support is important, Win 7 users can install PowerShell 5.1.

stax76
5th September 2021, 21:30
mpv.net 5.4.9.8 Beta

- All PowerShell dependencies except the script host were removed in order to improve Windows 7 compatibility.
- Fix message box not working when ontop is enabled.
- Use Vista folder browser.
- Improved context menu performance.
- libmpv shinchiro 2021-09-05

therube
8th September 2021, 15:56
improve Windows 7 compatibility
All is looking good on that end. Thanks.

dbezerra
9th September 2021, 21:42
I want to do an A/B test comparison of MPV and MadVR when it comes to HDR Tone Mapping to my projector (JVC RS500, 95 nits in high lamp). However, I do have a lot more experience with MadVR, so I am seeking for some input from MPV experts! I made a similar post on the MPV Reddit channel but got zero answers so far (but other 9 folks upvoted the post - so I am assuming others have the same question :-).

What would you change in the config below? The two scenarios I have in mind are: 1) HDR Tone Mapping as I mentioned above 2) Compare how Blu-Rays are upscaled to 4K. I don't care about low quality rips, DVDs, etc.

#Video
vo=gpu
hwdec=d3d11va
video-output-levels=full

#GPU Renderer
fbo-format=rgba32f
gpu-api=d3d11
gpu-context=d3d11
d3d11-output-format=rgb10_a2

glsl-shaders-clr
glsl-shaders="d:\temp\mpv\shaders/FSRCNNX_x2_8-0-4-1.glsl"
scale=ewa_lanczossharp
dscale=mitchell
glsl-shaders-append="~/.config/mpv/shaders/KrigBilateral.glsl"
cscale=mitchell
linear-downscaling=no
correct-downscaling=yes
sigmoid-upscaling=yes
scale-antiring=0.7 # luma upscale deringing
dscale-antiring=0.7 # luma downscale deringing
cscale-antiring=0.7 # chroma upscale deringing

## Do I need error_difusion or fruit instead?##
dither-depth=auto
dither=error-diffusion

##Do I need deband on my 2 scenarios??##
deband=yes
deband-iterations=5
deband-threshold=50
deband-range=16
deband-grain=48

#HDR Tone mapping#
hdr-compute-peak = yes
## I am a bit lost with the two items below - Should I have target-trc=gamma2.4? Or something else?
target-prim = auto
target-trc = gamma2.4
target-peak = 95
tone-mapping = mobius

Also, where is the "main" MPV discussion place? For example, for MadVR Tone Mapping it's the AVSForum.com.

Thanks!

pirlouy
10th September 2021, 19:15
I can't help on HDR (I have no HDR source/display/knowledge) or on advanced scalers. :/
So I can just confirm you the 2 places you used to have information for mpv: Reddit forum or this thread.
2 other places are IRC Chat (you might have to try several times on different days if first answers are not acceptable to you) and even the bug tracker (which is sometimes used for discussion, but better if you explain it as a problem like this thread (https://github.com/mpv-player/mpv/issues/8484)).

https://mpv.io/community/

aufkrawall on this forum has good knowledge of both madVR and mpv so let's hope he'll be able to help you.

My advice though: if you want to test HDR tone mapping, don't use particular scaler/deband/dithering settings, just use profile=gpu-hq settings.
you'll want to test deband/scaler/dithering settings individually.

dbezerra
17th September 2021, 00:56
I can't help on HDR (I have no HDR source/display/knowledge) or on advanced scalers. :/
So I can just confirm you the 2 places you used to have information for mpv: Reddit forum or this thread.
2 other places are IRC Chat (you might have to try several times on different days if first answers are not acceptable to you) and even the bug tracker (which is sometimes used for discussion, but better if you explain it as a problem like this thread (https://github.com/mpv-player/mpv/issues/8484)).

https://mpv.io/community/

aufkrawall on this forum has good knowledge of both madVR and mpv so let's hope he'll be able to help you.

My advice though: if you want to test HDR tone mapping, don't use particular scaler/deband/dithering settings, just use profile=gpu-hq settings.
you'll want to test deband/scaler/dithering settings individually.

Thanks. Not much activity on the Reddit channel as well. I will keep playing with the settings and see what I settle with.

brad86
28th September 2021, 08:51
I have always had an issue where the mouse cursor does not always disappear. I have to register a random click for it to them time-out after a few seconds. Been through various mice and desks since this started happening, so it is not a case of my mice moving on their own.

It's more of a nuisance than anything. Be nice to stop it, though.

therube
29th September 2021, 20:58
You might see if testing with setting it to always hide does so?

--cursor-autohide=<number|no|always>
Make mouse cursor automatically hide after given number of milliseconds. no will disable cursor autohide. always means the cursor will stay hidden.

--cursor-autohide-fs-only
If this option is given, the cursor is always visible in windowed mode. In fullscreen mode, the cursor is shown or hidden according to --cursor-autohide.

brad86
1st October 2021, 08:10
You might see if testing with setting it to always hide does so?

Neither of these options work for me, sadly. Default auto hide behaviour is the same. It seems to be random. Sometimes it disappears after a few seconds, and other times it doesn't go unless I register a click or a seek.

stax76
12th October 2021, 16:15
I have always had an issue where the mouse cursor does not always disappear. I have to register a random click for it to them time-out after a few seconds. Been through various mice and desks since this started happening, so it is not a case of my mice moving on their own.

It's more of a nuisance than anything. Be nice to stop it, though.

Sorry about the late reply. It's most likely a issue that happens because of a special configuration or a special usage pattern. The code that shows and hides the cursor is mpv.net specific, mpv.net implements the cursor auto hide functionality, most mouse related window messages are never sent to mpv, so cursor related mpv options have no effect, mpv.net does not implement them, it uses hard-coded values instead.

There is a dead zone slightly above the OSC, is that maybe the problem? It's because mpv.net does not know the exact height of the OSC because this info is not provided by libmpv, mpv.net guesses the OSC height to be 10% of the window height. Normally this implementation is good enough, you are the first to report a cursor problem.

brad86
1st November 2021, 18:59
Sorry about the late reply. It's most likely a issue that happens because of a special configuration or a special usage pattern. The code that shows and hides the cursor is mpv.net specific, mpv.net implements the cursor auto hide functionality, most mouse related window messages are never sent to mpv, so cursor related mpv options have no effect, mpv.net does not implement them, it uses hard-coded values instead.

There is a dead zone slightly above the OSC, is that maybe the problem? It's because mpv.net does not know the exact height of the OSC because this info is not exposed by libmpv and the OSC lua script, mpv.net guesses the OSC height to be 10% of the window height. Normally this implementation is good enough, you are the first to report a cursor problem.

Thanks for the reply. Yes, the deadzone for the OSC is exactly it. Took me so long to realize it's rather embarrassing, lol. Getting use to not leaving the cursor near the OSC :)

stax76
2nd November 2021, 13:34
mpv v0.34.0 was announced:

https://github.com/mpv-player/mpv/releases/tag/v0.34.0

therube
4th November 2021, 15:55
MPV.NET 5.4.9.8

F8

enter a search string

if only 1 hit is returned,
you are NOT able to select it to switch to it & play it

- you can /see/ it
- you can /tab/ to it (& it turns "red" ?)
but you cannot select it to cause it to play
(/something/ plays, but not the wanted file
- /perhaps/ it is the next file [based on playlist order] after the wanted file?)

-

i didn't look, but can the search results box be widened?
if not (or maybe even if so), mouseover on overflow might be nice.

(heh. oh, i see, that "line" is a scrollbar. [that's not obvious.]
even so, widening & or mouseover would be nice.
heh. oh, so the "red" is once you've tabbed to an entry. obvious
when there is more then one, not so much when there is only one. &
once you've tabbed, you can /scroll/ [arrow-key] left/right.)

stax76
13th November 2021, 14:14
MPV.NET 5.4.9.8

F8

enter a search string

if only 1 hit is returned,
you are NOT able to select it to switch to it & play it


It works here with keyboard and mouse using v5.5.0.4 and Win 11,
it could be Win 7 specific, which I can't test.

i didn't look, but can the search results box be widened?

No

if not (or maybe even if so), mouseover on overflow might be nice.

You mean showing a tooltip? The VS Code command palette supports this, I consider implementing it in case it gets requested on the issue tracker.

(heh. oh, i see, that "line" is a scrollbar. [that's not obvious.]

Most modern apps use a similar design.

heh. oh, so the "red" is once you've tabbed to an entry. obvious
when there is more then one, not so much when there is only one. &
once you've tabbed, you can /scroll/ [arrow-key] left/right.)

Command palettes are not designed for tab navigation, typically you do:

1. Enter what you search for.
2. Navigate the results with the up/down keys.
3. Confirm with enter.

therube
16th November 2021, 22:00
OK, looking again, I guess I wasn't entirely clear.

F8, filtered such that only 1 hit turns up
- you cannot arrow-key down to that (single) entry & play it (with CR).

You can tab to it, & play it (with CR), but you cannot arrow-key down to it.


(If there are >1 results displayed, you can arrow-key down to the wanted item & play it (with CR).)

stax76
18th November 2021, 19:29
The logic is whenever the search text changes, the first item is selected, this works here with one or more results.

therube
19th November 2021, 21:51
the first item is selected
Ah.

So if your search is 'a', & that returns one hit, say "abcdefghijk.mp4", then hitting return - at that point, opens "abcdefghijk.mp4".

I never would have figured that out.

Thanks.

stax76
19th November 2021, 22:43
Your browser address bar should work like this, they call it omnibox today, the Windows 10/11 start menu works like this too. Keyboard driven launchers are very popular, I released a new launcher plugin a few days ago here:

https://github.com/stax76/Flow.Launcher.Plugin.Favorites

Everything.NET is supposed to support it too, but I forgot to handle the enter key, it needs to be fixed.

https://github.com/stax76/Everything.NET

stax76
19th November 2021, 23:10
I like using the Microsoft Store for installations because getting automatic updates is very convenient, so I worked on putting mpv.net to the store. It's now online, but since it's the first store release, there could still be issues. I will of course also support portable downloads on GitHub, but I discontinue the Inno setup installer. After the store support works well, I will investigate winget and choco support.

https://www.microsoft.com/store/productId/9N64SQZTB3LM

amayra
20th November 2021, 23:12
do you plan to support Linux ?

stax76
21st November 2021, 10:28
do you plan to support Linux ?

It's an interesting long-term possibility, but I'm not really planning a larger project at this point. I plan learning how to use Linux in the next 1-2 years.

dbezerra
1st December 2021, 06:30
Hey folks, two questions:

1. Is there a way to see which auto-profile is active via the Statistics screen? I have profiles for 4K, 1080p, interlaced, etc and I would like to confirm that the proper one is active.

2. I am using Krigbilateral shader to handle Chroma Upscale/downscale. I understand Chroma is always upscaled, but I don't understand why the stats is also showing a downscale step. This is a 4K video playing on a 4K TV. (see image). Is it normal? Am I doing anything wrong here?

stax76
1st December 2021, 18:23
1. Is there a way to see which auto-profile is active via the Statistics screen? I have profiles for 4K, 1080p, interlaced, etc and I would like to confirm that the proper one is active.

If you toggle the stats view, you can press 1-4 to show different stats views, but it does not show which profile is active. I tried to show it via key binding, but could not find a way. The best you can get is maybe defining profile descriptions with profile-desc (https://mpv.io/manual/master/#profiles), I think this will cause the description being shown via OSD whenever a profile changes.

therube
3rd December 2021, 19:22
Track (menu item)

Somehow ? audio can become deselected
& with that audio, is then "muted".

- This is different from Mute (in that Mute, UnMute, has no affect).

And with that, you simply do not get audio (presumably in that /session/ ?) unless you, Track (menu item), & "select" the audio track.

(I haven't been able to manually deselect audio or video from, Track (menu item), so not sure how I got into that situation, but I did.)

heh.

so i figured out what "disables" a tracks audio or video, heh
on the "status bar", there is that "cloud" & a (most typically)
1/1, if you happen to inadvertently click them, that does...
something ? (that disables, i guess, audio, as the case may be)

therube
3rd December 2021, 19:32
Just babbling... ignore if you wish...

so i, F12 to jump to next clip (boots.mpg, as it was) &...

---------------------------
Microsoft Visual C++ Runtime Library
---------------------------
Assertion failed!

Program: C:\WLIB\PLAYERS\mpv.net\mpvnet.exe
File: ../stream/stream_libarchive.c
Line: 83

Expression: stream_tell(src) == 0

For information on how your program can cause an assertion
failure, see the Visual C++ documentation on asserts

(Press Retry to debug the application - JIT must be enabled)
---------------------------
Abort Retry Ignore
---------------------------


heh (to say the least).

so i check mpv with the same playlist & it too crashes
(so not an mpv.net issue)

& mpv.net seems to be mentioning "hp1.mpg" & "horse.mpg" - neither of which i have
& console says something like, archive://C:\movies\boots.mpg|/New/hp1.mpg
& i'm like, i don't have any /New/ directory nor any hp1.mpg?
& i'm like, what is going on? no idea what "archive://" is?
so i'm looking at the files trying to figure out whats happening?
& when i look at boots.mpg, it starts out with "PK" - it's a dang ZIP file - NOT a .mpg!
& /then/ it starts to make a bit of sense...

so mpv can read ZIP's (archive://)
& what does it do with that? well, it plays the files within.
(i never knew)
& what does it do with a CORRUPT ZIP archive?
well, it plays what it can & movies on to the next...
& it also causes a MS Visual C++ error message to pop up ;-)

so i ZIP -FF boots.mpg --out out.zip
then i extract the files from out.zip - which gives me hp1.mpg & horse.mpg,
both of which play (for the parts of them that exist, video files are fogiving like that)
& together hp1 & horse play for the same (combined) length of time that boots.mpg played.

heh.


[libarchive] possibly unsupported seeking - switching to reopening
[libarchive] Truncated ZIP file data
[libarchive] fatal error received - closing archive
[libarchive] Seek failed...


before i realized that the .mpg was in fact a .zip, i looked in the playlist directory
& saw that it /happened/ to contain a (single) zip file, & that file (oddly) was
password protected, so i thought, maybe mpv is crapping out due to the password protection
so i fiddled around with that some before i finally realized the real issue was a ZIP
named as .mpg (& that it was corrupted to boot)

oddest thing (to me at least) is that this "zip" file also played in mplayer
- which i (also) never even knew could play "zip'd" media.
(actually it's media /stored/ - -m0, with no compression, within a ZIP archive)
(and, in the same way, MediaInfo also handles "zip'd" media [again, i never knew])

how this all came about - had to be some 20 some years ago, no clue, but wasn't my doing.

heh.


another tidbit... 7-Zip (https://www.7-zip.org/) can "see" & "extract" a/v streams from .flv
7z.exe x videoclip.flv
like, who knew!?
(does that apply to all .flv, all codecs? don't know? but the couple
i've looked at so far; sorenson video & mpeg audio, it did.
ffmpeg -i g.mp4 -c copy out.flv
7z.exe l out.flv ->

Date Time Attr Size Compressed Name
------------------- ----- ------------ ------------ ------------------------
..... 12088403 12088403 gout.aac

so... if i do a search for 'flv zip', i bet i'll find something ;-)

avih
10th December 2021, 11:16
> it does not show which profile is active

There's no such thing as "active profile".

A profile is only a set of config values. If profile A set option A=yes, and profile B sets option B=yes, and you apply them one after the other then you'd have both A=yes and B=yes.

It's neither "profile A active" nor "profile B active". It's just that the options of both have been set previously.

ashlar42
14th December 2021, 18:19
May I ask a question? What's the point of using mpv under Windows? Why not the usual madVR-LAV filters-xySubFilter-MPC-HC? I am not asking to be a smartass, I'm genuinely curious about why people are choosing this. Thanks in advance.

pirlouy
14th December 2021, 19:30
Because it's better ?
Ok, it's better *in my case*.
It uses less ressources than madVR (again, in my case).
And I really like the config files, especially the binding keys.

But I prefer to be honest, I don't have 4k screen nor HDR, and I don't care about upscaling. All my sources are 1080p, I don't see differences in chroma upscaling and more, I use my TV in 4:2:2 mode for the (Samsung) interpolation.

But I miss the screen auto refresh rate change based on video & screen (present in madVR or MPC).

huhn
14th December 2021, 21:12
xysubfilter is not even close to the speed of current asslib for high resolution subs just as an example.

this is also open source so it will never really die.
look at madVR nothing changes for years it can't even do HLG properly.
but with mpv if some one and it doesn't matter who creates a new filter it can be added.
take NLS i will never understand why someone will ever use something like it but do you really think madVR will ever get it? on the other hand stop the MPV community from adding something for what ever reason not gonna happen.

cvrkuth
11th January 2022, 20:36
Because it's better ?
But I miss the screen auto refresh rate change based on video & screen (present in madVR or MPC).

Maybe you should try this (https://github.com/CogentRedTester/mpv-changerefresh)

mpv-changerefresh is a script to automatically change the refresh rate of the current display to match the playing video

pirlouy
12th January 2022, 20:02
Not bad at all.
It's not as complete as competitors, since you can't choose the display on which you want auto change. But at least, there's a key for manual change.
With some changes/settings, it seems functional. I'll have to confirm in the next days/weeks.

Thanks for your useful message !

stax76
5th March 2022, 15:15
There is a new beta version online:

mpv.net 5.6.1.0 Beta

- Various conf editor improvements. (hooke007)
- Custom conf folder location feature removed.
- Inno Setup replaced with Microsoft Store setup.
- Fix script-opts files being ignored.
- Showing the recent list in the command palette,
the top item gets auto selected.
https://github.com/stax76/mpv.net/issues/328#issuecomment-1057296054
- If the play list is empty, the most recent file
gets loaded when pressing space.
https://github.com/stax76/mpv.net/issues/328#issuecomment-1057296054
- Ctrl+v (previously u) opens files (or URLs) from the clipboard,
previously it had to be a file path (format string) and now
it can also be the clipboard format of type file.
- The usability of the menu structure was improved.
- Audio and subtitle tracks and various other features
are now available in the command palette.
- Single character input in the command palette searches exclusively
key bindings, much like the search field of the input editor.
- Various default key bindings improved.
- New protocol registrations, so far supported are: ytdl, rtsp, srt, srtp
- libmpv zhongfly 2022-02-27

https://github.com/stax76/mpv.net/releases

sarsaK
7th March 2022, 11:41
Congratulations on your work, I'm always following you. DV. for vo=gpu-next system will it be supported

stax76
7th March 2022, 15:06
Thanks, there is a minor cosmetic glitch with Vulkan, it does not work when initialized before the window is visible, because of that mpv.net is waiting for the window to be visible before it loads a file when Vulkan is enabled, that is the only render related difference between mpv and mpv.net. It's the main reason why I've set up a dev environment for mpv, I briefly examined it with a debugger, but since it's much code I'm not familiar with and Vulkan support is not so important in my opinion, I decided not to spend more time, it's only cosmetic, maybe takes a view millisecond more to load and the window resizes.

gpu-next is not bound to a specific render API it seems, does not use Vulkan by default, so there should not be any difference between mpv and mpv.net. The good thing is that I now have a dev environment and can examine how mpv works internally, which sometimes can help to develop certain things, and I've learned a couple of things about Linux, which is also useful.

therube
7th March 2022, 17:17
(I've not looked at 5.6.1.0/5.6.2.0, yet...)

Custom conf folder location feature removed.
Could you explain that?

Currently, I've have (have had) a /portable_config/ within my MPV.NET "install" directory.


(I'll just note that I've been running the newer mpv-2.dll's [renamed to mpv-1.dll] in the older 5.4.9.8 without issue. [And I see you've got mpv-2.dll in 5.6.2.0.]

Similarly the "flickering" that I saw, https://forum.doom9.org/showthread.php?p=1946659#post1946659, was also resolved with newer .dll.)

stax76
7th March 2022, 19:15
Portable should still be supported. I don't remember why exactly the custom conf folder location feature was removed, much likely it had something to do with the new MS Store distribution.

It's still possible via symlink, here is a tutorial:

https://www.howtogeek.com/howto/16226/complete-guide-to-symbolic-links-symlinks-on-windows-or-linux/

That can be very useful.

therube
8th March 2022, 16:45
/portable_config/
Still working :-).

therube
8th March 2022, 16:48
mpv 5620

what is diff between
cycle pause & script-message mpv.net play-pause ?

rate-file & delete_current_file
- are they effectual ?
(i hope they are not)

what is Power ? [oh, the Close button?]
what is SHARP ?

t, being a toggle,
Shift+up/down/left/right, are nice changes/additions

settings.xml:
<InputDefaultBindingsFixApplied>true</InputDefaultBindingsFixApplied>

what is the significance of that?
iow, what happens if that line is/is not there?

therube
8th March 2022, 16:49
behavior change...


old:
(existing) clip is paused
i drag a new clip into mpv.net, clip (automatically) plays

5620:
(existing) clip is paused
i drag a new clip into mpv.net, clip loads - PAUSED

(or said another way)

5498 if (existing clip is) PAUSED
& i /drag/ a file into mpv.net, file automatically plays - which is what i want
(if i F12 on a pause, the next file opens, paused - which is fine, but that is
different from a drag).

5620 if (existing clip is) PAUSED
& i /drag/ a file into mpv.net, file opens, PAUSED
(if i F12 on a pause, the next file opens, paused - which is fine, but that is
different from a drag).


???



input.conf:
i long ago change F11/F12 to playlist-next
(rather then to, playlist-next; set pause no)


mpv.conf:

input-ar-delay = 500
input-ar-rate = 20
keep-open = always
osd-duration = 2000
osd-playing-msg = '${filename}'
script-opts = osc-scalewindowed=1.5,osc-hidetimeout=2000,console-scale=1,osc-visibility=always
screenshot-directory = '~~desktop/'
hwdec = auto
title = '${filename:}'



# Editor

keep-open-pause = no

[protocol.https]
osd-playing-msg = '${media-title}'



mpvnet.conf:

# Editor
process-instance = multi


ideas?



what i want (again) is if existing clip is PAUSED
& i /drag/ a file into mpv.net, i'd like to play, automatically
(not to open, PAUSED)

stax76
8th March 2022, 21:41
what is diff between
cycle pause & script-message mpv.net play-pause ?

After startup, when your playlist is empty and no file is loaded, you can now press enter, it loads the last file/URL from the recent list.

rate-file & delete_current_file
- are they effectual ?
(i hope they are not)

What do you mean with that?

I use this functionality all the time, scripts can be found here:

https://github.com/stax76/mpv.net/blob/master/src/Scripts/Lua/delete-current-file.lua

https://github.com/stax76/mpv.net/blob/master/src/Scripts/C-Sharp/rate-file.cs

If I have time, I port it to Lua.

what is Power ? [oh, the Close button?]

I researched it and it remains a mystery.

what is SHARP ?

Number sign: #


settings.xml:
<InputDefaultBindingsFixApplied>true</InputDefaultBindingsFixApplied>

iow, what happens if that line is/is not there?


In early versions, mpv.net generated a mpv.conf with several settings, one of them being:

input-default-bindings = no

This was not the best possible design and was changed to happen internally, allowing users to overwrite it. To ensure backward compatibility with existing settings, it had to be removed from the settings, which happens once.

old:
(existing) clip is paused
i drag a new clip into mpv.net, clip (automatically) plays

5620:
(existing) clip is paused
i drag a new clip into mpv.net, clip loads - PAUSED

(or said another way)

5498 if (existing clip is) PAUSED
& i /drag/ a file into mpv.net, file automatically plays - which is what i want
(if i F12 on a pause, the next file opens, paused - which is fine, but that is
different from a drag).

5620 if (existing clip is) PAUSED
& i /drag/ a file into mpv.net, file opens, PAUSED
(if i F12 on a pause, the next file opens, paused - which is fine, but that is
different from a drag).


???

In the conf editor, you can change:

Playback > auto-play

That is a mpv.net specific option, and I've forgotten to document it.

stax76
9th March 2022, 13:03
5.7.0.0 Stable

- Improved title and chapter menu for Blu-Rays.
- Fix of conf folder virtualization issue of MS Store version.
- MS Store page no longer displays ARM and x86 support.

I've submitted it to the store, but I don't know how long it takes until the process completes. Once it's available in the store, it will also be available via winget.

The portable version is on GitHub.

OrangeColaJuice
10th March 2022, 05:20
May I ask a question? What's the point of using mpv under Windows? Why not the usual madVR-LAV filters-xySubFilter-MPC-HC? I am not asking to be a smartass, I'm genuinely curious about why people are choosing this. Thanks in advance.

Why would I do that, sounds complicated and time consuming. MPV I just install and the defaults work amazing.

therube
10th March 2022, 17:44
Playback > auto-play
That is a mpv.net specific option, and I've forgotten to document it.
That's got it, thank you.