Log in

View Full Version : YAP (Yet Another Player) v0.9.5


Pages : [1] 2 3 4 5

Orf
19th September 2014, 16:24
YAP: Yet Another Player is a desktop application - media player. Targeted for use on computers running Windows OS to create a library of media files, playback them, and also view DVB broadcasts. The best effect from using a media player is achieved on media center computers in multi-monitor configurations and controlled by remote control.

Project home page links

0.9.5 changes (https://orfsoft.net/en/history/#v0-9-5)

Description (https://orfsoft.net/en/products/)

Gallery (https://orfsoft.net/en/gallery/)

Download (https://orfsoft.net/en/download/)

Help and support (https://orfsoft.net/en/support/)

Credits
Big thanks to Shiandow for shader developing and image processing consulting.

Notes
If someone want/can help to improve this project, feel free to join in.
What I think are the parts of a project that need to be addressed:
- Shader developers. If you can implement some image processing algorithm or improve existing ones, YAP shader pack editor is a good place to start
- Better graphics. Graphic designers can make YAP looks better.
- Translators. If you want to see it in your own language, you can spend some time and translate it.
- Ideas and suggestions about further improvements/features YAP miss/must have.
- Testers. Are always needed and welcome.

But if not, you can simply have fun with it.

Milardo
20th September 2014, 00:33
Hi, i have tried out your program, somewhat, but how does one add 3rd party directshow filters? Also, can i request some features? Integrated lav filters? Capture card support? Let me know thanks.

Orf
20th September 2014, 05:36
but how does one add 3rd party directshow filters?
Not sure I understand this. What goal you are trying to reach ?
Integrated lav filters? Capture card support?
Again, what do you mean by LAV integration ?

Milardo
20th September 2014, 06:03
Well, if i wanted to use this filter in your player, usually one has to add it in the player so it will use it.

http://www.dmitrirender.ru/

and there are others out there that one has to add manually because that is the only way to use them.

MPC-HC and kmplayer have lav filters integrated into player so you don't have to install the separate package. Is that something you can do?

Orf
20th September 2014, 08:28
@Milardo
The one by your link is a video renderer. This is different. Adding a video renderer required some testing and code changes. And the filter by your link is not a free one.
As for the other filters, Yap will use them automatically, if DirectShow decide to load it to the graph. The same about LAV, it is not required for Yap to function, but LAV can be used (and I use it myself) if installed. I do not think Yap should install LAV automatically and force someone to use it. Also there's no support for capture and I do not even imagine how it should look like inside Yap.

p/s Before implementing any new features, I plan to fix all bugs in current version and release version 0.7

huhn
20th September 2014, 17:17
dmitrirender
is not a video renderer. it is just an frame interpolation filter it is not renderering videos at all. it like xyVSfilter it takes the decoded frame and do "things" with it.

LDD9O
21st September 2014, 07:52
Seem quite a fair time went into making this.

Few problem I find with it is;
(1) The setting/option, it annoying having to use it. Each time I change something, I have to right click to open the context menu again to change something else.
(2) The clog(?) wheel in the main player that look is a "Setting" icon is actual some kind of debug(?) or notification
(3) View mode icon - Right clicking on it should open a list of view mode available rather than the usual context menu

Overall it quite a good player but at the moment, there no reason replace it with my current player

Orf
21st September 2014, 09:31
@huhn
Maybe, I never use it myself, but it site says something about dmitrirender should be installed as a custom renderer in players that support it. In case it is a in-between processing filter I do not see a reason why DS can't put in the graph Yap builds
@LDD9O
(1) Context menu just mirrors navigator view mode called main menu (F8). You can change setting from there. It doesn't auto close
(2) When this wheel is rotating, that indicates one or more processes is running in the background. You can see what is happening from it hint. Maybe it really look confusing, not sure about it
(3) The list is present in navigator menu, I guess the icon you mean is short link to cycle view mode action (F1)

Orf
22nd September 2014, 14:03
Link to the manual added to the first post. Should clarify things a bit.

Orf
26th September 2014, 19:09
One week passed, one thousand views registered, three persons replayed...I wonder does it means no one else care to try it and give me some more feedback maybe?

turbojet
26th September 2014, 19:49
As someone who often watches in window mode I appreciate the auto hiding of toolbars. In a brief test I noticed a few issues:
1. scrollbar thumbnail stuck on and couldn't figure out to remove it
2. Maximized window to fullscreen then back to window goes to a default size, expected maximized

Some things it's missing that are important in a mediaplayer imo:
a. pixel shaders
b. auto play when media is opened
c. large time display (second important thing on toolbar imo but usually one of the smallest)
d. options to declutter the toolbar, the top line of toolbar is unnecessary imo, ditto with messages and status icon in lower left.
e. tv tuner support (this is probably a lot of work)
f. maybe an additional skin option or skinning support (default isn't ugly but some may prefer different looks)

Orf
27th September 2014, 10:11
turbojet, thanks for the feedback

As someone who often watches in window mode I appreciate the auto hiding of toolbars.

Yap do auto hide toolbars or you mean something different ?

scrollbar thumbnail stuck on and couldn't figure out to remove it

Sounds like a bug to me, how to reproduce it ?

Maximized window to fullscreen then back to window goes to a default size, expected maximized

There's two buttons in full screen mode maximize and restore. Turning full screen mode off always works like restore. Is that behaviour case confusion ?

pixel shaders

what you use this for ?

auto play when media is opened

There's no "open" action at all. Media is imported once and then it stays in library database

c. large time display (second important thing on toolbar imo but usually one of the smallest)

What time do you mean here ? Clock ? If yes it is located in the caption of information panel (I)

options to declutter the toolbar, the top line of toolbar is unnecessary imo, ditto with messages and status icon in lower left.

It is a group seek bar. You can seek entire group here. The lower seek bar is item seek bar where you can seek only through current item. When item is not a part of a group, both seek bars looks the same and one of then is unnecessary, yes, I simply do not hide it

tv tuner support (this is probably a lot of work)

I do use TV tuner myself. It have special application (player) with it. What are the benefits of putting all that stuff inside media player ?

maybe an additional skin option or skinning support (default isn't ugly but some may prefer different looks)
As I mention in first post, I need a graphics for that, and I can't do it myself

Orf
27th September 2014, 14:38
Screenshots added to the first post

turbojet
2nd October 2014, 22:52
Yes I meant toolbars and it's mostly ignored to auto hide and glad it's in YAP. I'm going to use numbers and letters to reply because there's no nested replies in this forum. Strict replying to your post wouldn't make any sense and manually nesting takes quite a bit of work.

1. Scrollbar thumbnail sticks for about a minute the first time for every video I've tried. Consecutive thumbnails go away as expected.
2. Going back to previous window state is what's common and expected.

a. pixel shaders for sharpening for me
b. ok then auto play from library would be welcome and is expected from a media player
c. not the clock but the currrent timestamp and length of media playing, it's small, tough to see on tv's
d. group toolbar is very confusing
e. for a nicer gui and ability to use madvr, pixel shaders, etc. every pcr software I've used has an average gui at best and lacks a lot of ability
f. ok, like I said it's not an ugly design imo but it's cluttered.

Orf
3rd October 2014, 14:32
turbojet
Yes I meant toolbars and it's mostly ignored to auto hide and glad it's in YAP
Guess you've meant that autohide delay is too long. I think you are right, I'll lower it a bit

Scrollbar thumbnail sticks for about a minute the first time for every video I've tried. Consecutive thumbnails go away as expected.
Never seen it myself. Can you give me step by step guide of what you are doing from player start to the point this bug first appears ?

Going back to previous window state is what's common and expected.
Accepted. Subject to change before 0.7 will be released

pixel shaders for sharpening for me
Did you use it with madVR only ?

ok then auto play from library would be welcome and is expected from a media player
Yap has an option On start up/Restore playback(disabled by default). If you close Yap when it is playing something and this option is enabled Yap will resume playback next time it will be started. Is that what you want ?

c. not the clock but the currrent timestamp and length of media playing, it's small, tough to see on TV's

I wonder, what is screen resolution of you TV ? And if you talking about fullscreen mode, try to enlarge value of Interface/Fullscreen font size multiplier option. Maybe it will do the trick :)

group toolbar is very confusing

You say it is confusing, but you didn't say why. Groups inside playlist is the feature no others players had I think, and it is one of the things why Yap was created. So may be is just look unusual to you. Look closely at the screen shots, I've tried to illustrate what playlist groups and group seek bar is about

for a nicer gui and ability to use madvr, pixel shaders, etc. every pcr software I've used has an average gui at best and lacks a lot of ability
I understand the point. But it is not about just add a support, it's about writing several more players, assuming there're different types of capture cards. We have to be realistic here, it can take unpredictable amount of time....

turbojet
3rd October 2014, 23:27
There's nothing wrong with the auto hide toolbars, I was praising it.

1. Open video, press play and hover the timeline, the thumbnail stays for a long time the first time, then it's normal.
2. OK

a. I use madvr with Lumasharpening, MadVR alone even with Lanczos8 is still a pretty soft picture in most situations for me.
b. No, I mean when opening a video it plays instead of having to press play
c. 47" 1080p it's somewhat difficult to read, on a 1024x768 CRT it's unreadable.
d. Confusing because there's 2 trackbars, I can see advantages of it in some cases though
e. Yup, I said it was probably a lot of work in initial posting, I can understand not wanting to take it on

I use Potplayer which has the capability to do all of this plus a lot more but apparently they use edited open source code for their closed source player which I don't agree with. I'm really open to changing players but have never seen alternatives offer half of what I demand from a player.

Orf
4th October 2014, 06:23
turbojet
Open video, press play and hover the timeline, the thumbnail stays for a long time the first time, then it's normal
It stays longer when the mouse over some control and when the state is not playing, and as I said before I will change the delays a bit
I use madvr with Lumasharpening, MadVR alone even with Lanczos8 is still a pretty soft picture in most situations for me.
I see. Will see what I can do after 0.7 will be released
No, I mean when opening a video it plays instead of having to press play
I think finally I've got it. When you change current item in playlist Yap restores the same state it was before (paused for example) and you want to always start playback of new item ? If yes, I can add option for that

c. 47" 1080p it's somewhat difficult to read, on a 1024x768 CRT it's unreadable
Did you try option I've mention before to enlarge all the fonts ?

I use Potplayer which has the capability to do all of this plus a lot more but apparently they use edited open source code for their closed source player which I don't agree with. I'm really open to changing players but have never seen alternatives offer half of what I demand from a player.
Well, suggest what you missed at the first time, that the one of the things what this thread is about

Orf
16th October 2014, 15:30
Version 0.7 released, changes:
(+) Option added to switch control bar between basic and extended modes
(-) Status bar was removed cause people think it is confusing
(*) Return from full screen mode restores previous windowed mode
(*) Several bugs fixed

turbojet
17th October 2014, 19:38
Changelog lists some positive changes but unfortunately I can't play anything with 0.7. Message is "Import completed, 0 files were added"

Orf
18th October 2014, 06:21
Strange, nothing was changed in the import. Normally such thing only can happen, when you import folder and no files with extensions listed under "Options/Supported media extensions" was found...

Orf
23rd October 2014, 17:00
Updated to 0.7.0.1, nasty bug with disappeared seek bar and couple of other bugs introduced in 0.7 was fixed

turbojet
23rd October 2014, 20:02
The problem with not playing any files still exists for me.

Orf
24th October 2014, 04:56
turbojet, try to reset options to their default values

turbojet
24th October 2014, 06:04
After reset, still the same.

Orf
24th October 2014, 14:22
turbojet, did you import folder or file ? What's the extension of target media file ? Is that extension listed under "Options\Import\Supported media extensions" option ? What method of import do you use: Import folders dialog, import files dialog, drug & drop to main window, file browser menu ?

turbojet
24th October 2014, 21:00
file, mkv/mpg, yes, drag and drop and import files dialog.

Orf
25th October 2014, 07:30
turbojet, I still don't understand what's happening. Pls do the following: open player, import file you say you can't import, open message panel (M), press Ctrl+A, Ctrl+C there, copy the text here

turbojet
26th October 2014, 06:23
Copying doesn't work but the error is: SQLite: FOREIGN KEY constraint failed

Orf
26th October 2014, 08:55
Ah, I see, so we got an error here. Can you give me the debug log (located at "%localappdata%\YAP\YAP.log") to examine? After that you can delete YAP DB file, located at "%localappdata%\YAP\DB\YAP.db", I hope this should restore import functionality for you.

turbojet
26th October 2014, 22:20
Deleting yap.db didn't help. Here is what's in the log:

26.10.2014 16:18:32.723 Version 0.7, built on 10/23/14 started
26.10.2014 16:18:32.918 SQLite engine 3.8.5 initialized
26.10.2014 16:18:32.919 Database is empty, creating new one
26.10.2014 16:18:32.963 Database created
26.10.2014 16:18:32.997 Command line (0 parameter(s))
26.10.2014 16:18:33.003 Resize(1680, 1016)
26.10.2014 16:18:33.840 OnImageChange
26.10.2014 16:18:33.842 OnLibraryChange
26.10.2014 16:18:33.845 OnChange(0)
26.10.2014 16:18:33.852 OnStateChange(plsStopped)
26.10.2014 16:18:33.859 OnCurrentChange(0,0)
26.10.2014 16:18:37.377 Resize(656, 404)
26.10.2014 16:18:39.081 Parse "E:\Watch\Sons of Anarchy.S07E07.Greensleeves.mpg"
26.10.2014 16:18:43.417 Resize(1680, 1016)
26.10.2014 16:18:44.235 ImportThread: SQLite: FOREIGN KEY constraint failed
26.10.2014 16:18:46.509 ClosePlayer.Execute
26.10.2014 16:18:46.514 Destroy
26.10.2014 16:18:46.550 Finished

Orf
27th October 2014, 07:33
turbojet, can you share mpg mentioned in the log, or any other media that gives you the same error and PM me the link ?

turbojet
27th October 2014, 19:55
It's every file I've tried with 0.7*, mpg, mkv, mp4 avi. All work fine in earlier versions.

Orf
28th October 2014, 04:33
Well, I've already understand that. But it works on all of my test machines just like before. So it is somehow related to 1) your media files or 2) your machine configuration. I've ask for sample from you just to make sure it is not 1). If it's not we'll see what to do next

turbojet
28th October 2014, 20:17
It's really any file but here's a link to an open video that doesn't play in 0.7.* but does in 0.6.* http://download.blender.org/peach/bigbuckbunny_movies/BigBuckBunny_640x360.m4v

Could it be some language issue with sqlite? I'm using english.

Orf
29th October 2014, 19:14
turbojet, thanks for the link, I've tested it and it is imports and plays fine on three different configurations (including one with English locale). And by the way both import process and SQLite pretty much transparent to locale settings. Technically the error you encounter means that import process tries to insert invalid data inside DB (which is wrong) and SQLite integrity check do not allow it (which is correct). Still not sure why it happens to you. I'll add stack trace to import in next version, may be it'll give me some clues...

Orf
30th October 2014, 15:21
turbojet: I've PM you the link, pls check this version and if error still exists, copy the log again, it should give me some more info

Gravitator
30th October 2014, 16:18
Привет!
Support LAV x64 (To be useful for HEVC) ? How about the SVP (http://www.svp-team.com/)...

Orf
30th October 2014, 18:08
Gravitator:
Currently YAP is 32 bit only, addin' support for custom directshow filters is work in progress and will be available in 7.1

Orf
8th November 2014, 10:42
0.7.1 released
(+) Filters used in Directshow graph are fully customized now, including
adding any third party filters, audio renderer selection and more.
New settings are located under Directshow Filters category
of Advanced options dialog. Selection of video and audio renderer is also
availible from full screen options
(+) Advanced options dialog added (for advanced options which configuration
requires complicated UI and therefor is not available in fullscreen mode)
(+) Database updating mechanism added

turbojet
8th November 2014, 20:28
0.7.1 opens files again, thanks!

Orf
9th November 2014, 11:14
turbojet:
nothing was changed in this matter, but it is good that it is working for you again

0.7.1 was tested and works without any problems with following filters:
- SVP either with LAV Video Decoder + ffdshow raw video filter combination or ffdshow video decoder alone
- DmitriRender
- ffdshow subtitles filter can be used instead of DirectVobSub for subtitle handling
- ReClock

Any others might work without problems too, but you should have some understanding of what DirectShow is to config it right
Tip: you can connect to YAP graph from GraphStudioNext to see what actually happens with your custom filter config

madshi
14th November 2014, 09:48
@Orf, seems to work fine and looks nice on first quick check. Good job!

One little bug I stumbled over: Started in small window, pressed F12 to maximize, pressed F12 again to go back to small window. Works fine. Pressed F12 to maximize, accidently pressed F11, then pressed F12 to go back to small window. Doesn't work, anymore. Once I press F11 in fullscreen state, pressing F12 doesn't go back to small window, anymore.

pixel shaders
what you use this for ?
For example for this:

http://forum.doom9.org/showthread.php?t=171346

You don't have to add support for this to YAP, if you're fine with it only working for madVR, because I plan to add direct custom shader support from within madVR. If you want shaders like "FineSharp" to also work for YAP's EVR then you'll have to add support for it, though.

Orf
15th November 2014, 13:03
YAP 0.7.2 released

(*) DVD compatibility improved
(+) Import: Autoplay after import option
(+) Temporary playlist. All content imported to temporary playlist remains only until current player instance is running
(+) System: Option to prevent multiple player instances
(+) System: Explorer context (right-click) menu entry and option to enable/disable it
(*) MediaInfo updated to version 0.7.71

Orf
15th November 2014, 13:24
seems to work fine and looks nice on first quick check. Good job!

Actually it is, thanks :)

You don't have to add support for this to YAP, if you're fine with it only working for madVR, because I plan to add direct custom shader support from within madVR. If you want shaders like "FineSharp" to also work for YAP's EVR then you'll have to add support for it, though.
I've planned to add the support for madVR shaders right in next version, already have seen you've got an interface for that...But if you plan that too, I don't know then. Seems like we've got again an old question where it should be in player or renderer :sly: And I think EVR CP will be useful in YAP anyway. Investigating it a bit...But not quiet sure currently I can handle it right...

p/s will check the bug too, thanks

madshi
15th November 2014, 13:51
Seems like we've got again an old question where it should be in player or renderer :sly:
Yes, same as always... :p

leeperry
16th November 2014, 01:46
Image slideshow capable of displaying cover images along with playing audio or when video is stopped
That looks great, kinda late to the party but I'll have to give it a shot spasibo :cool:

If you don't mind me asking, there is one feature that all other media players lack IME it's the ability to use mVR for picture viewing because NNEDI looks astonishing when upscaling comics or small pictures, I've tried a good bunch of picture viewers, they use horrid scalers and lack very simple features such as hotkeys for previous/next/random/shrink to fit/1:1 scaling(like ACDSee6, too bad it's using bicubic duh) :(

PotPlayer can do it but it's a black frame feast and it takes a lot of patience to get a picture at all(that's apparently due to mVR's buffers) and it can't do 1:1 scaling. If there were a way you could add a no-fuss NNEDI picture viewer in YAP using mVR, this would be too awesome :)

Orf
16th November 2014, 07:56
leeperry:
Yes, you already can use it as picture viewer. To do so, make new playlist, put some audio file in folder where your images resides and import that folder. That what I'm doing to watch my photos. But YAP currently do not use DirectShow for pictures at all...
And I'm thinking about adding shaders support to YAP, since images in slideshow are technically just video card textures, shaders support can be used with image slideshow too then. And for not reinventing the wheel, it would be good if madshi can provide some access to all the cool stuff madVR have, that can be used outside video renderer (to be used with EVR CP or resize images for example). Just a plain thoughts this time, I don't know what madshi thinks about it himself.

madshi
16th November 2014, 08:15
Well, NNEDI3 is freely available as a CPU and GPU algorithm here in doom9. If you want to use it outside of madVR, you can. Well, might depend on the license, though, you may have to check. I've asked permission from the author before using NNEDI3 in madVR. Atm, madVR is just meant to be used for video playback. Of course you can simulate an image being a video by sending the image through the normal DirectShow video chain. I think LAV Splitter would already do some/most/all of that work for you. If you don't want to use DirectShow for picture viewing at all, then atm madVR does not offer any way to help you there. Adding such support would cost me quite a bit of time (defining a new API for that, setting up a render chain which just handles one image, bypassing all the pause/stop/play/seek stuff, copying the image back from GPU RAM etc) and it's really outside of what madVR is intended for, so even if I added that to my to do list, it would be very low priority.

Orf
16th November 2014, 09:12
madshi:
At first, I've kept in mind not only NNEDI3, but all others rescaling algorithms madVR already have. At second, I do understand that this is theoretically possible to implement all stuff madVR have in YAP. And YAP will not need madVR at all in the end. But you should know it better then I about huge amount of work it will cost me. That's why I've said about reinventing the wheel before. And I'm afraid, using DirectShow for picture viewing is not an option at all, you can believe me by the word, or I can drop you email on that subject if you interested in technical details... I do understand now, it is a lot of work for you too, so it was just another wish, that will never comes true, sadly...

madshi
16th November 2014, 13:51
Well, I didn't say never. But for now I've more things on my to do list than I can handle, so I have to set priorities...