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.

 

Go Back   Doom9's Forum > Hardware & Software > Software players
Register FAQ Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
Old 9th March 2021, 08:07   #381  |  Link
stax76
Registered User
 
stax76's Avatar
 
Join Date: Jun 2002
Location: On thin ice
Posts: 6,837
Quote:
& used as a hotkey in input.conf doesn't display in context menu
It was a quirk in the UI framework, now fixed.

Quote:
I'm using the mpvnet default auto-load-folder feature, is it possible to specify what file extension should be added to the playlist ?
I only want video files added (no images, no audio).
There are new options in the conf editor, see changelog, enter something like 'nothing'. I plan adding soon all mpv.net specific options to the mpv.net manual.

Quote:
Can mpv.net play youtube clips ? Tried to drop clips into it but nothing happened.
It should work if you have youtube-dl in PATH or startup or system folder or in mpv.conf:

https://mpv.io/manual/master/#options-ytdl-path


Documented in the mpv.net manual here:


Installation:

https://github.com/stax76/mpv.net/bl...d#installation


Menu Item:

https://github.com/stax76/mpv.net/bl...from-clipboard


Dropping URL works, just tried it.


New mpv.net build with a few small fixes and improvements:

mpv.net 5.4.8.7 Beta
  • History feature can be configured to ignore defined strings: script-opt = history-discard=value1;value2
  • Web stream audio and subtitle track selection, finally.
  • On Windows 10 1903 and later the default code page was changed to UTF-8.
  • Support of --version command.
  • File associations and auto-load-folder can be customized with video-file-extensions, audio-file-extensions and image-file-extensions.
  • Fix menu not showing key '&'.

I've not updated libmpv since a while, an old one for me is fine, but mpv.net development continues now, will be updated in the next mpv.net beta build, soon.

A fresh libmpv build can be found here:

https://sourceforge.net/projects/mpv...s/files/libmpv

Tracker in case of issues:

https://github.com/mpv-player/mpv/issues

https://github.com/stax76/mpv.net/issues
stax76 is offline   Reply With Quote
Old 26th March 2021, 14:38   #382  |  Link
sarsaK
Registered User
 
Join Date: Aug 2020
Location: Turkey
Posts: 19
thank you. I always follow your work with appreciation. health to your mind and hand
sarsaK is offline   Reply With Quote
Old 26th March 2021, 15:34   #383  |  Link
stax76
Registered User
 
stax76's Avatar
 
Join Date: Jun 2002
Location: On thin ice
Posts: 6,837
Thanks, today I'm fine, and I'm looking forward to work on mpv.net these weekend.
stax76 is offline   Reply With Quote
Old 4th April 2021, 00:10   #384  |  Link
chros
Registered User
 
chros's Avatar
 
Join Date: Mar 2002
Posts: 2,323
Quote:
Originally Posted by Alexkral View Post
I'm training now the next release, which will include Sharp versions of all the models, all of them faster, with better metrics and with shaders for mpv.
Thanks, I just noticed that you have finished them, next time drop a line here as well about it

I've tried AiUpscale_Fast_Sharp_2x_Photo with 1080p@23p -> 2160p, looks pretty good, slightly faster than the previous Fast version (Medium is already too slow with my underclocked 1060).

What do you think about these settings? (part of autoprofile config)
- the rest of the config is here
- about chroma upscaling: can we use AIUpscale for this as well or KrigBilateral is the best option?
- do you recommend using SSimSuperRes on top of AIUpscale (if it's used)?

Code:
[1080p25]
profile-desc=cond:(get("video-params/h", -math.huge)>720 and get("video-params/h", math.huge)<=1080 and get("estimated-vf-fps", -math.huge)>0 and get("estimated-vf-fps", math.huge)<26)
osd-playing-msg='1080p25: ${media-title}'
glsl-shaders-clr
glsl-shader='~~/shaders/KrigBilateral.glsl'					# HQ chroma upscaling (that uses luma information for high quality upscaling)
glsl-shader='~~/shaders/AiUpscale_Fast_Sharp_2x_Photo.glsl' 	# Fast quality AiUpscale image doubling (based on layered convolutional networks)
glsl-shader='~~/shaders/SSimSuperRes.glsl'					# Enhancing the selected built-in upscaler (by removing ringing artifacts, restoring original sharpness, etc) if it's used
glsl-shader='~~/shaders/SSimDownscaler.glsl'				# HQ perceptually based image downscaling (requires: dscale=mitchell , linear-downscaling=no)
#cscale=bicubic
dscale=mitchell
linear-downscaling=no
And what do you think, can this be integrated into mpcVR?
__________________
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
chros is offline   Reply With Quote
Old 5th April 2021, 06:55   #385  |  Link
Alexkral
Registered User
 
Join Date: Oct 2018
Posts: 324
Quote:
Originally Posted by chros View Post
about chroma upscaling: can we use AIUpscale for this as well or KrigBilateral is the best option?
I guess it would be possible to modify the mpv shaders to process chroma, but I think KrigBilateral already does a very good job, and the difference would probably only be noticeable when looking for it.

Quote:
Originally Posted by chros View Post
do you recommend using SSimSuperRes on top of AIUpscale (if it's used)?
madshi advised against this for SuperRes and NGU (see here), I'm not sure if SSimSuperRes is the same concept, but I think the same would apply here.

Quote:
Originally Posted by chros View Post
And what do you think, can this be integrated into mpcVR?
Unfortunately in mpc the shaders work in a different way, so it wouldn't be possible to do the same even using a chain of shaders.
the rest of the settings seem OK to me.
__________________
AviSynth AiUpscale

Last edited by Alexkral; 5th April 2021 at 07:16.
Alexkral is offline   Reply With Quote
Old 22nd April 2021, 20:15   #386  |  Link
therube
Registered User
 
Join Date: Aug 2013
Posts: 191
RFE:

It would be nice if a video (heh, or even an audio) clip had no audio,
that it would be so marked (somewhat differently from the Mute'd
symbol, so maybe, simply grayed out).

That would make it easier to discern between something that is not
there & something that you just can't hear...

Thank you.
therube is offline   Reply With Quote
Old 9th May 2021, 14:56   #387  |  Link
stax76
Registered User
 
stax76's Avatar
 
Join Date: Jun 2002
Location: On thin ice
Posts: 6,837
Quote:
Originally Posted by therube View Post
RFE:

It would be nice if a video (heh, or even an audio) clip had no audio,
that it would be so marked (somewhat differently from the Mute'd
symbol, so maybe, simply grayed out).

That would make it easier to discern between something that is not
there & something that you just can't hear...

Thank you.
You can request OSC improvements here:

https://github.com/mpv-player/mpv/issues

Code:
mpv.net 5.4.8.8 Beta

- Improved window scaling.
- Title property implementation.
- Command palette shows commands without assigned menu item.
- The code from the included JavaScript file was ported into the core
  player because JavaScript is currently broken in the builds of shinshiro.
- New option `--command=<input command>`, can be used in combination
  with `process-instance=single` to control mpv.net via command line,
  for instance to create global hotkeys with AutoHotkey.
- New global hotkey feature added using the file global-input.conf.
- The global-media-keys option was removed because global-input.conf
  can be used instead.
- MediaInfo 21.3
- libmpv shinchiro 2021-04-04
stax76 is offline   Reply With Quote
Old 9th May 2021, 19:05   #388  |  Link
JKyle
App Digger
 
JKyle's Avatar
 
Join Date: Sep 2018
Posts: 411
@stax76,

Good to see that you're up and running again.

Thanks for the new mpv.net build.

I think it's almost time we updated the bundled version in StaxRip. Maybe it will be the right time when you decide to release a stable build later on.

But I'm already trying out the beta version on StaxRip and haven't found any issues yet. Will report when I find any.

Keep up the good work.
JKyle is offline   Reply With Quote
Old 10th May 2021, 17:20   #389  |  Link
Atlantis
Registered User
 
Join Date: Feb 2002
Posts: 758
Great player. I use MPC-HC. I'm testing mpv.net to see if I switch, however there are 2 major things that is missing.

Jumping to a frame number. Can we do that?
Also not seeing the list of the external subtitles. In the Track it only shows the internal subtitles. It would be great if it showed all the subtitles.
Atlantis is offline   Reply With Quote
Old 10th May 2021, 21:47   #390  |  Link
kerimcem
Registered User
 
Join Date: Aug 2011
Posts: 85
I stopped using madvr and mpc, the mpv image quality is better.


no android remote control app only, I couldn't?
thank you.
kerimcem is offline   Reply With Quote
Old 11th May 2021, 12:04   #391  |  Link
Atlantis
Registered User
 
Join Date: Feb 2002
Posts: 758
I would if at least we could see the list of the external subtitles and also jump to a specific frame. Surprised it doesn't have them.
Atlantis is offline   Reply With Quote
Old 12th May 2021, 15:31   #392  |  Link
therube
Registered User
 
Join Date: Aug 2013
Posts: 191
MPV.NET 5.4.8.9 beta

player 'title bar' (aka Border)
(now) shows clip (Metadata) Title:
rather then the (on disk) filename

earlier versions showed (on disk) filename in the 'title bar'
& the (Metadata) Title: on the /player/ OSC (status bar, if you will)

to me, the former method was desirable
as often disk filename & Title: differed

forinstance:

on disk filename: Rednex - Cotton-Eyed Joe.mp3
OSC (Metadata) Title: 03

if 'title bar' displays, "Rednex - Cotton-Eyed Joe.mp3", you know (pretty much) what you're dealing with
if 'title bar' displays, "03", you're at a dead end
(well, you could check File/Stream Info, or open History, but that's not the point)

if there is no (Metadata) Title:, /then/ MPV.NET 5.4.8.9 displays the (on disk) filename

(maybe there is a '${disk-title}' setting or something like that ?)

Possibly related to:
Quote:
- Title property implementation

Last edited by therube; 12th May 2021 at 15:34.
therube is offline   Reply With Quote
Old 13th May 2021, 20:38   #393  |  Link
therube
Registered User
 
Join Date: Aug 2013
Posts: 191
Regarding above...

In mpv.conf, adding:
Code:
title = '${filename}'
looks to work.

(I'm not really sure about these things, so while it may "work" it might not be "correct". As in, with that, if you open mpv.net GUI [without a file], the [border] "title" reads, "(unavailable)".)


Ah, adding a colon into the mix fixes that:
Code:
title = '${filename:}'

Last edited by therube; 13th May 2021 at 20:51.
therube is offline   Reply With Quote
Old 15th May 2021, 12:17   #394  |  Link
stax76
Registered User
 
stax76's Avatar
 
Join Date: Jun 2002
Location: On thin ice
Posts: 6,837
Quote:
I think it's almost time we updated the bundled version in StaxRip. Maybe it will be the right time when you decide to release a stable build later on.
Thanks for the feedback JKyle. I'll try to release a new stable this or next month, it's over a year since the last stable, the main reason for that is me working on staxrip all the time.

Quote:
Jumping to a frame number. Can we do that?
I don't think there is an easy way built into mpv to jump to a given frame, the best I've found is documented here:

Code:
https://mpv.io/manual/master/#options-start

https://mpv.io/manual/master/#command-interface-seek-%3Ctarget%3E-[%3Cflags%3E]
It's far away from being easy to use. Feel free to request this functionality on the mpv.net issue tracker. I think I'm going to port the new TaskDialog of staxrip to mpv.net, it has an input box, this could be used from an PowerShell script. You could also ask on the mpv tracker or the mpv section on reddit. It's maybe to special/advanced to add the functionality directly to mpv.net, but if I have time I can write a script if you request the feature on the issue tracker.

Quote:
Also, not seeing the list of the external subtitles. In the Track it only shows the internal subtitles. It would be great if it showed all the subtitles.
You can find an option in the config editor:

Context menu > Settings > Show config editor > Subtitle > sub-auto

https://mpv.io/manual/master/#options-sub-auto

Quote:
no android remote control app only, I couldn't?
thank you.
Maybe there isn't a remote app.

Quote:
In mpv.conf, adding:

title = '${filename:}'
That's probably fine unless you watch YouTube, you can show the default like so:

Start mpvnet from terminal, in the onscreen console enter:

print-text ${title}

It prints:

Code:
${?media-title:${media-title}}${!media-title:No file} - mpv
butterw2 had requested better title support, I hope he likes it. It wasn't easy writing the pinvoke code required for property expansion.

Last edited by stax76; 15th May 2021 at 12:31.
stax76 is offline   Reply With Quote
Old 15th May 2021, 13:44   #395  |  Link
butterw2
Registered User
 
Join Date: Jun 2020
Posts: 303
Quote:
Originally Posted by stax76 View Post
I don't think there is an easy way built into mpv to jump to a given frame, the best I've found is documented here:

https://mpv.io/manual/master/#options-start

https://mpv.io/manual/master/#comman...-%3Ctarget%3E-[%3Cflags%3E]

It's far away from being easy to use. Feel free to request this functionality on the mpv.net issue tracker. I think I'm going to port the new TaskDialog of staxrip to mpv.net, it has an input box, this could be used from an PowerShell script. You could also ask on the mpv tracker or the mpv section on reddit. It's maybe to special/advanced to add the functionality directly to mpv.net, but if I have time I can write a script if you request the feature on the issue tracker.
@Atlantis you should open a feature request at Github for this:
https://github.com/stax76/mpv.net/issues

Mpc has a "Go to..." Hotkey/Menu Command which displays the current time in a text entry, it can then be copied, or pasted to go to a specific time. It's a useful feature, but it only makes sense in a player with a GUI which base mpv doesn't have (but mpv.net does).
You mention frame number. Mpv (like ffmpeg) is based on time.The correspondance between the two is simple enough if the framerate is constant (ex: 30fps), but many videos (from smartphones, web videos) now have (slightly) variable frame-rate.
Regardless, you should also be aware that seeking cannot be guaranteed to be frame-accurate in Directshow players (seeking could be a couple frames off the desired timestamp). In mpc, it should work ok as long as you stick to seeking to keyframes. Mpv isn't based on Directshow so may perform better here.


Quote:
Originally Posted by stax76 View Post
Code:
${?media-title:${media-title}}${!media-title:No file} - mpv
butterw2 had requested better title support, I hope he likes it. It wasn't easy writing the pinvoke code required for property expansion.
Thanks, I'll check it out.
butterw2 is offline   Reply With Quote
Old 16th May 2021, 04:33   #396  |  Link
stax76
Registered User
 
stax76's Avatar
 
Join Date: Jun 2002
Location: On thin ice
Posts: 6,837
I've created now a private to-do list for mpv.net, so people can also make requests here at Doom9.

Code:
Goals
-----

- If possible and not too hard implement features mpv, Windows 7, Mac and Linux compatiple


High Priority
-------------

- Tag issues on the tracker
- Important issues on the tracker
- Release stable Version
- External subtitles are shown in the OSC but not in the context menu


Medium Priority
---------------

- Android remote app
- Jumping to a frame number


Low Priority
------------

- Show filename instead of clip metadata in title bar? https://forum.doom9.org/showpost.php?p=1942723&postcount=392

Last edited by stax76; 16th May 2021 at 05:02.
stax76 is offline   Reply With Quote
Old 29th May 2021, 11:43   #397  |  Link
stax76
Registered User
 
stax76's Avatar
 
Join Date: Jun 2002
Location: On thin ice
Posts: 6,837
mpv.net 5.4.9.0
  • `window-scale 1` does not work correctly in mpv, so I've removed support for it and added my own implementation: `script-message mpv.net window-scale`.
  • The CS-Script library was replaced with my own C# scripting implementation.
  • If a player window border is near to a screen border and the window size changes, the player windows sticks to that near screen border location. Furthermore, the `remember-window-position` option remembers a near screen border position instead of remembering the window center position.
  • Multi monitor fix using different DPI values.
  • `start-size` option has new options, see config editor and manual.
  • Improved `script-message mpv.net cycle-audio` OSD info.
  • The logic for finding the config directory has changed, see manual.
  • The dotnet script and extension host was a little redesigned, this breaks backward compatibility unfortunately, but I can help to fix existing open source code. Example scripts and extensions were updated.
  • Fix console not working due to incorrect mpv.conf value generated (script-opts=console-scale=0).
  • Settings are stored in the file settings.xml now instead of the Registry.
  • Video rotation support added.
  • After using the config editor it's no longer necessary to restart mpv.net.
  • Improved input editor theming.
stax76 is offline   Reply With Quote
Old 30th May 2021, 10:29   #398  |  Link
brad86
Registered User
 
Join Date: Jun 2019
Posts: 48
Hi guys, I was just wondering what settings would give me motion smoothness as good as MadVR's Smooth Motion option. I do not set separate refresh rates, so a good motion smoothness is essential for me. I currently have all the scaling options set to oversample, and video-sync set to display-resample, but It looks off to me, so I'm pretty sure I don't have the right settings to achieve what I am after.

Also, is it possible to set two audio outputs at the same time ? - For instance, one via the Realtek audio outs on my motherboard, and the other from the Nvidia HDMI out of my GPU.

Last edited by brad86; 30th May 2021 at 11:07.
brad86 is offline   Reply With Quote
Old 31st May 2021, 14:21   #399  |  Link
sarsaK
Registered User
 
Join Date: Aug 2020
Location: Turkey
Posts: 19
Thank you so much.
sarsaK is offline   Reply With Quote
Old 2nd June 2021, 11:01   #400  |  Link
brad86
Registered User
 
Join Date: Jun 2019
Posts: 48
Found a solution to my dual audio output question. I set up a quick output cycle in the input config. Works great.

Also spent a bit of time researching and testing motion interpolation, and I think oversample is currently my preferred method. Other methods blur too much, and I absolutely hate that. Makes everything look like shit, imo. Oversample doesn't remove all judder, but it is the best for me. I haven't been able to achieve MadVR's Smooth Motion setting, which I think looks better than anything else, but I'm happy enough with the results here, for now.

One thing I'm not too sure about is how HDR tone-mapping compute-peak screws up highlights on Mad Max 4. Outside that, I don't see tone-mapping in general looking worse than MadVR's. Not to my eyes, anyway.

Here's an example of the highlight issue in Mad Max with compute peak on;

brad86 is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 21:55.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.