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

Reply
 
Thread Tools Search this Thread Display Modes
Old 31st August 2017, 02:49   #1  |  Link
stax76
staxrip & mpv.net
 
Join Date: Jun 2002
Posts: 5,248
mpv.net (mpv plus dotnet addons)

I've built a libmpv based player that supports dotnet addons. It can be extended with Lua, ecmascript5 and any dotnet language, it's a thin layer around mpv trying to provide a pure 1:1 mpv experience. It don't yet has a GUI except for the mpv OSC and one context menu item. At the moment I don't have great plans for neither mpv.net or staxrip, the only thing I miss in mpv.net is showing file info but it's a minor task.


It's available on github.

https://github.com/stax76/mpvnet


Feel free to ask anything about mpv or mpv.net.

__________________
I have a dream by Martin Luther King
one hundred years later...
We can never be satisfied...
With this faith...
Let freedom ring...

Last edited by stax76; 2nd September 2017 at 04:38.
stax76 is offline   Reply With Quote
Old 31st August 2017, 03:50   #2  |  Link
stax76
staxrip & mpv.net
 
Join Date: Jun 2002
Posts: 5,248
I'm going to create 'Video player usage 2017' poll thread, any suggestions regarding possible options? So far I have:

jriver
kodi
mpc-be
mpc-hc
mpv
plex
potplayer
vlc
zoomplayer
other

The winner is obviously mpc-hc but still could be a interesting thread.
__________________
I have a dream by Martin Luther King
one hundred years later...
We can never be satisfied...
With this faith...
Let freedom ring...
stax76 is offline   Reply With Quote
Old 31st August 2017, 05:20   #3  |  Link
huhn
Registered User
 
Join Date: Oct 2012
Posts: 5,090
mpdn, windows media player/windows video app.

the last thread kind of like this was deleted.
doom9 is not the place the "default" PC user is going to be.
and not sure what someone can learn from let's say 20-1000 votes...
huhn is offline   Reply With Quote
Old 31st August 2017, 06:47   #4  |  Link
stax76
staxrip & mpv.net
 
Join Date: Jun 2002
Posts: 5,248
Why was it deleted? I find such polls usually very helpful.
__________________
I have a dream by Martin Luther King
one hundred years later...
We can never be satisfied...
With this faith...
Let freedom ring...
stax76 is offline   Reply With Quote
Old 31st August 2017, 08:10   #5  |  Link
huhn
Registered User
 
Join Date: Oct 2012
Posts: 5,090
i'm not a mod. and the thread was only kind of like that planned poll.

the only thing you get from 20-1000 votes is a wrong idea nothing else.
huhn is offline   Reply With Quote
Old 31st August 2017, 18:33   #6  |  Link
pirlouy
_
 
Join Date: May 2008
Location: France
Posts: 627
Still, it won't harm anybody, it's just one thread anybody can avoid.
__________________
Windows 10 x64; 1080p 60" TV, GTX 750; mpv or madVR+LAV Filters+MPC-BE
pirlouy is offline   Reply With Quote
Old 31st August 2017, 19:50   #7  |  Link
stax76
staxrip & mpv.net
 
Join Date: Jun 2002
Posts: 5,248
I did this for me, staxrip and windows programmers, with feedback like this it's indeed unlikely to become useful to a lot of people.
__________________
I have a dream by Martin Luther King
one hundred years later...
We can never be satisfied...
With this faith...
Let freedom ring...
stax76 is offline   Reply With Quote
Old 2nd September 2017, 04:37   #8  |  Link
stax76
staxrip & mpv.net
 
Join Date: Jun 2002
Posts: 5,248
The first release is now available to download, new features are C# scripting and a configurable context menu and I've updated the website with a description and a image showing the new menu.

Feel free to ask questions about mpv or mpv.net usage and how to write a script or addon, if there is interested I'll create a development thread. There is a C# and a VB.NET addon included.

https://github.com/stax76/mpvnet
__________________
I have a dream by Martin Luther King
one hundred years later...
We can never be satisfied...
With this faith...
Let freedom ring...
stax76 is offline   Reply With Quote
Old 2nd September 2017, 14:50   #9  |  Link
kuchikirukia
Registered User
 
Join Date: Oct 2014
Posts: 407
Set volume to mousewheel by default.
kuchikirukia is offline   Reply With Quote
Old 2nd September 2017, 16:48   #10  |  Link
stax76
staxrip & mpv.net
 
Join Date: Jun 2002
Posts: 5,248
Yes, mouse wheel changes volume by default, don't you think it's a good choice?

https://github.com/stax76/mpvnet/blo...t_conf.txt#L21
__________________
I have a dream by Martin Luther King
one hundred years later...
We can never be satisfied...
With this faith...
Let freedom ring...
stax76 is offline   Reply With Quote
Old 2nd September 2017, 16:59   #11  |  Link
ashlar42
Registered User
 
Join Date: Jun 2007
Posts: 342
Do you plan on providing access to configuration through a GUI or is everything going to be kept in text files?
ashlar42 is offline   Reply With Quote
Old 2nd September 2017, 17:31   #12  |  Link
stax76
staxrip & mpv.net
 
Join Date: Jun 2002
Posts: 5,248
If I do a config GUI then it will be search-able, that is sure. I don't have great code I can re-use, my encoder GUIs in staxrip don't scale for 200+ settings and the look and feel is mediocre, with that code 600 settings would probably take 3 seconds to load. I'll certainly collect ideas how a very good GUI could work and look like.
__________________
I have a dream by Martin Luther King
one hundred years later...
We can never be satisfied...
With this faith...
Let freedom ring...
stax76 is offline   Reply With Quote
Old 2nd September 2017, 18:35   #13  |  Link
Milardo
Registered User
 
Join Date: Nov 2008
Posts: 79
Hi stax76,

Is it possible to make your version of mpv-support video/audio directshow filters?
Milardo is offline   Reply With Quote
Old 2nd September 2017, 19:16   #14  |  Link
stax76
staxrip & mpv.net
 
Join Date: Jun 2002
Posts: 5,248
Hi Milardo,

I used my own dshow player before mpv and first I wanted to improve it but it's a huge task to built a complete player almost from scratch so I evaluated all options for a while and mpv is what I liked most in the end, for mpc I would have needed two years to become fluent in C++. In case somebody wants to build a dotnet dshow player my code is here:

https://github.com/sharp-player/sharp-player

mpv probably won't support dshow, for some time I thought about having two playback engines, like dshow and libmpv, it could be done and might make sense but only if you have a lot time and interest, in StaxRip normally I try to support different encoders, it supports both avisynth and vapoursynth equally well and I'm very happy with the decision to support vapoursynth. Doing a player with two playback engines is much more difficult I think and most players don't get it right even with only one. I don't have enough time and interest for both so I decided to focus on one and make the best out of it.
__________________
I have a dream by Martin Luther King
one hundred years later...
We can never be satisfied...
With this faith...
Let freedom ring...
stax76 is offline   Reply With Quote
Old 2nd September 2017, 21:36   #15  |  Link
Milardo
Registered User
 
Join Date: Nov 2008
Posts: 79
Hi stax76,

Thanks for the reply. Ok, just wondering though, would the below work? I'm not sure even if it supports all types of video/audio directshow filters, or that it's readily usable with mpv.

http://oss.netfarm.it/dsnative/
Milardo is offline   Reply With Quote
Old 3rd September 2017, 01:40   #16  |  Link
kuchikirukia
Registered User
 
Join Date: Oct 2014
Posts: 407
Quote:
Originally Posted by stax76 View Post
Yes, mouse wheel changes volume by default, don't you think it's a good choice?

https://github.com/stax76/mpvnet/blo...t_conf.txt#L21
I do. I assumed without checking. Sorry 'bout that.
kuchikirukia is offline   Reply With Quote
Old 3rd September 2017, 02:21   #17  |  Link
stax76
staxrip & mpv.net
 
Join Date: Jun 2002
Posts: 5,248
@Milardo

The mpv docs and github issue tracker don't mention directshow, support for it is unlikely.
__________________
I have a dream by Martin Luther King
one hundred years later...
We can never be satisfied...
With this faith...
Let freedom ring...
stax76 is offline   Reply With Quote
Old 3rd September 2017, 10:51   #18  |  Link
stax76
staxrip & mpv.net
 
Join Date: Jun 2002
Posts: 5,248
New script that also works with mpv:

When seeking displays position and duration like so:

00:00 / 120:00

this is different from MPC which uses:

00:00:00 / 02:00:00

https://github.com/stax76/mpvnet/blo...ow-position.js
__________________
I have a dream by Martin Luther King
one hundred years later...
We can never be satisfied...
With this faith...
Let freedom ring...
stax76 is offline   Reply With Quote
Old 7th September 2017, 14:10   #19  |  Link
pirlouy
_
 
Join Date: May 2008
Location: France
Posts: 627
If you're OK with questions:
Which is the default video output by default on Windows ? (i've tried to search the manual, but there are a lot of references for Linux but not that much for Windows)
And which one is it advised to use ?
__________________
Windows 10 x64; 1080p 60" TV, GTX 750; mpv or madVR+LAV Filters+MPC-BE
pirlouy is offline   Reply With Quote
Old 7th September 2017, 15:39   #20  |  Link
stax76
staxrip & mpv.net
 
Join Date: Jun 2002
Posts: 5,248
I believe it's opengl, I'm not sure what ways exist to find out what the current vo is, when you start mpv from cmd shell (type either mpv or mpv.com) it prints the vo along with some other info to the shell. What I found the shell most useful for so far is debugging scripts as it also prints errors in scripts and config files.

Code:
D:\Software\Medien\Player\mpv>mpv D:\Temp\test.mkv
Playing: D:\Temp\test.mkv
 (+) Video --vid=1 (*) (h264 1280x720 29.970fps)
 (+) Audio --aid=1 --alang=ger (aac 2ch 44100Hz)
AO: [wasapi] 48000Hz stereo 2ch float
VO: [opengl] 1280x720 yuv420p
AV: 00:00:17 / 00:01:41 (17%) A-V:  0.000
__________________
I have a dream by Martin Luther King
one hundred years later...
We can never be satisfied...
With this faith...
Let freedom ring...
stax76 is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 05:08.


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