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 1st July 2022, 14:40   #9421  |  Link
Aleksoid1978
Registered User
 
Aleksoid1978's Avatar
 
Join Date: Apr 2008
Location: Russia, Vladivostok
Posts: 2,688
Quote:
Originally Posted by bagajohny View Post
How to open acestream links in MPC-BE? I am only getting "File not found" message every time I enter the acestream ID. Do I need to install any additional software?
Acestream installed and running ?
__________________
AMD Ryzen 5 3600 /GIGABYTE B450 Gaming X /AMD Radeon R9 16Gb@3200 /Kingston 500Gb M.2 /GTX 1650 /Samsung U28R550UQI /LG 47LM620T /Yamaha RX-V471 + NS-555 + NS-C444 + NS-333 + YST-SW215
Aleksoid1978 is offline   Reply With Quote
Old 1st July 2022, 14:47   #9422  |  Link
bagajohny
Registered User
 
Join Date: Jun 2022
Posts: 4
Quote:
Originally Posted by Aleksoid1978 View Post
Acestream installed and running ?
I have not installed acestream. Do I need acestream media player also? I thought MPC-BE can directly play acestreams.
bagajohny is offline   Reply With Quote
Old 1st July 2022, 14:55   #9423  |  Link
Aleksoid1978
Registered User
 
Aleksoid1978's Avatar
 
Join Date: Apr 2008
Location: Russia, Vladivostok
Posts: 2,688
Quote:
Originally Posted by bagajohny View Post
I have not installed acestream. Do I need acestream media player also? I thought MPC-BE can directly play acestreams.
No
MPC-BE just handle acestream's url and then read it.
__________________
AMD Ryzen 5 3600 /GIGABYTE B450 Gaming X /AMD Radeon R9 16Gb@3200 /Kingston 500Gb M.2 /GTX 1650 /Samsung U28R550UQI /LG 47LM620T /Yamaha RX-V471 + NS-555 + NS-C444 + NS-333 + YST-SW215
Aleksoid1978 is offline   Reply With Quote
Old 1st July 2022, 15:01   #9424  |  Link
bagajohny
Registered User
 
Join Date: Jun 2022
Posts: 4
Quote:
Originally Posted by Aleksoid1978 View Post
No
MPC-BE just handle acestream's url and then read it.
Oh, I see. Sorry for the confusion. I misunderstood.
bagajohny is offline   Reply With Quote
Old 1st July 2022, 18:44   #9425  |  Link
Sunspark
Registered User
 
Join Date: Nov 2015
Posts: 200
I used to like acestream, but then people stopped using it especially after they changed to a subscription model. People still use acestream?

> MPC-BE just handle acestream's url and then read it.

@Aleksoid1978: Does that mean mpc-be has a built-in torrent client as well?
Sunspark is offline   Reply With Quote
Old 1st July 2022, 19:48   #9426  |  Link
v0lt
Registered User
 
Join Date: Dec 2008
Posts: 1,715
Quote:
Originally Posted by Sunspark View Post
Does that mean mpc-be has a built-in torrent client as well?
No.
Support for torrent files is similar to the acestream urls support mentioned earlier.

You can open "Options > Online media service" and analyze the available settings.
v0lt is offline   Reply With Quote
Old 2nd July 2022, 06:18   #9427  |  Link
bagajohny
Registered User
 
Join Date: Jun 2022
Posts: 4
Quote:
Originally Posted by Sunspark View Post
I used to like acestream, but then people stopped using it especially after they changed to a subscription model. People still use acestream?
Well I only use acestream for live sport streams. There are some free ones available but I hate that fact that I have to use proprietary software for that. P2P streaming is possible with open source softwares also. Webtorrent is an example of that. I don't want to install shady softwares to play acestreams. Thats why I was looking for alternative ways to play acestream. It seems there are none.
bagajohny is offline   Reply With Quote
Old 2nd July 2022, 14:06   #9428  |  Link
cmhrky
Registered User
 
Join Date: Jan 2017
Posts: 128
There is an option to go back 30 minutes in the live stream of Turkey Show TV channel. When I open the live HLS address of this channel with MPC-BE, it starts playing as if I have taken it back 30 minutes.

This url will probably not be accessible from outside of Turkey, but I could not find any other international examples.

Code:
https://www.showtv.com.tr/canli-yayin/
https://ciner-live.ercdn.net/showtv/playlist.m3u8?e=1656775908&st=rb82mjqAvPl7IqRDw9HLxg&tv=1
cmhrky is offline   Reply With Quote
Old 2nd July 2022, 14:46   #9429  |  Link
Aleksoid1978
Registered User
 
Aleksoid1978's Avatar
 
Join Date: Apr 2008
Location: Russia, Vladivostok
Posts: 2,688
Quote:
Originally Posted by cmhrky View Post
There is an option to go back 30 minutes in the live stream of Turkey Show TV channel. When I open the live HLS address of this channel with MPC-BE, it starts playing as if I have taken it back 30 minutes.

This url will probably not be accessible from outside of Turkey, but I could not find any other international examples.

Code:
https://www.showtv.com.tr/canli-yayin/
https://ciner-live.ercdn.net/showtv/playlist.m3u8?e=1656775908&st=rb82mjqAvPl7IqRDw9HLxg&tv=1
According to your link, this is how the server gives data (links) - the player has absolutely nothing to do with it. It is quite possible for the actual time there are other links.
__________________
AMD Ryzen 5 3600 /GIGABYTE B450 Gaming X /AMD Radeon R9 16Gb@3200 /Kingston 500Gb M.2 /GTX 1650 /Samsung U28R550UQI /LG 47LM620T /Yamaha RX-V471 + NS-555 + NS-C444 + NS-333 + YST-SW215
Aleksoid1978 is offline   Reply With Quote
Old 2nd July 2022, 15:05   #9430  |  Link
cmhrky
Registered User
 
Join Date: Jan 2017
Posts: 128
I have no problems with the Lav Splitter. Unfortunately there is no other url on the site.
cmhrky is offline   Reply With Quote
Old 2nd July 2022, 15:08   #9431  |  Link
Aleksoid1978
Registered User
 
Aleksoid1978's Avatar
 
Join Date: Apr 2008
Location: Russia, Vladivostok
Posts: 2,688
Quote:
Originally Posted by cmhrky View Post
I have no problems with the Lav Splitter. Unfortunately there is no other url on the site.
Ok - use LAV, what's problem ?
__________________
AMD Ryzen 5 3600 /GIGABYTE B450 Gaming X /AMD Radeon R9 16Gb@3200 /Kingston 500Gb M.2 /GTX 1650 /Samsung U28R550UQI /LG 47LM620T /Yamaha RX-V471 + NS-555 + NS-C444 + NS-333 + YST-SW215
Aleksoid1978 is offline   Reply With Quote
Old 2nd July 2022, 20:21   #9432  |  Link
v0lt
Registered User
 
Join Date: Dec 2008
Posts: 1,715
@cmhrky
HLS support has been added recently. The implementation turned out to be very complicated, there are many nuances. We do not promise full support for HLS. Therefore, in the future, unsupported streams will be ignored, or it will be possible to disable HLS support in built-in filters.
v0lt is offline   Reply With Quote
Old 5th July 2022, 17:02   #9433  |  Link
Balling
Registered User
 
Join Date: Feb 2020
Posts: 322
Quote:
Originally Posted by huhn View Post
are you open for hacks to fix nvdia DXVA2 processing?

the chroma is misaligned with it for like 5 years+ so a fix is getting unlikely. it is very hard to explain to nvidia too because we are talking about chroma subsample position...

i can check D3D11 another time.
Hey, it is a common problem (I am not talking about left chroma siting with top-left chroma, this 420 --> 444 issue, even before RGB conversion): https://github.com/mpv-player/mpv/issues/8636

Or is the problem just a wrong FIR in chroma upscale?

Last edited by Balling; 8th July 2022 at 19:03.
Balling is offline   Reply With Quote
Old 5th July 2022, 17:12   #9434  |  Link
Balling
Registered User
 
Join Date: Feb 2020
Posts: 322
Quote:
Originally Posted by mogli View Post
SMPTE 240M is wrong, too. Its effective gamma is about 1.9.
Why not use the official formula to avoid such mistakes?
SMPTE ST 240 also uses BT.1886. OETF in 240 is slightly different from BT.709 OETF but it is not that important. It is close to 1.9608 gamma.

OETF is used to color manage primaries. You apply OETF and get SCENE linear light and then color manage and only then apply inverse OETF and then apply EOTF to get display light.
The key difference is a new matrix, 240 uses a matrix derived from new SMPTE-C primaries and D65 white while old SMPTE ST 170 used BT.601 derived from BT.470 System M primaries with Illuminant C.

Last edited by Balling; 5th July 2022 at 17:19.
Balling is offline   Reply With Quote
Old 7th July 2022, 15:38   #9435  |  Link
v0lt
Registered User
 
Join Date: Dec 2008
Posts: 1,715
Quote:
Originally Posted by Balling View Post
SMPTE ST 240 also uses BT.1886. OETF in 240 is slightly different from BT.709 OETF but it is not that important. It is close to 1.9608 gamma.
You can comment the following code:

https://code.videolan.org/videolan/v...namic_shader.c
Code:
inline float3 sourceToLinear(float3 rgb) {\n\
...
#elif (SRC_TO_LINEAR==SRC_TRANSFER_709)\n\
return pow(rgb, 1.0 / 0.45);\n\
https://github.com/mpv-player/mpv/bl...ideo_shaders.c
Code:
void pass_linearize(struct gl_shader_cache *sc, enum mp_csp_trc trc)void pass_linearize(struct gl_shader_cache *sc, enum mp_csp_trc trc)
...
    case MP_CSP_TRC_BT_1886:
        GLSL(color.rgb = pow(color.rgb, vec3(2.4));)
        break;
Here 2.222 and 2.4 are far from your 1.96.
v0lt is offline   Reply With Quote
Old 7th July 2022, 18:09   #9436  |  Link
Balling
Registered User
 
Join Date: Feb 2020
Posts: 322
Quote:
Originally Posted by v0lt View Post
You can comment the following code:


Here 2.222 and 2.4 are far from your 1.96.
2.2000 is sRGB, not 2.2222. 2.4 number is for TV (TV is what is called BT.709 transfer, OETF is in the spec, EOTF 2.4 is given in BT.1886) just a rounding of 2.35 done by Sony for their new LCD displays and then the math is as follows: 1.2 / 2.35 = 0.51 = 1/1.9608, where 1.2 is end-to-end gamma due to our brain illusion in the dark room you need darker image to simulate the result outdoors (so 2.4 gamma is darker than 1.9608 camera gamma).

You still need 1.9608 gamma to manipulate scene linear light. If the room conditions are the same as outdoors you can just do 1.9608 gamma on display. Simple. But if the room is dark you need 2.4 gamma for OLED, 2.2 maybe for LCD due to how bad its black is.

Last edited by Balling; 7th July 2022 at 18:22.
Balling is offline   Reply With Quote
Old 7th July 2022, 18:33   #9437  |  Link
v0lt
Registered User
 
Join Date: Dec 2008
Posts: 1,715
Quote:
Originally Posted by Balling View Post
2.2000 is sRGB, not 2.2222.
It was about converting BT709 to linear light (sRGB issue already closed). MPC VR uses power 2.2, VLC is 2.222, mpv is 2.4. And you suggest using the power of 1.9608, which seems very doubtful to me, so I will not do it.
v0lt is offline   Reply With Quote
Old 7th July 2022, 19:07   #9438  |  Link
huhn
Registered User
 
Join Date: Oct 2012
Posts: 7,443
doesn't matter anyway.
if i would be able to read i wouldn't have never talk about this topic.

else if (bBT2020Primaries)


sRGB transfer function is not even be shared anyway.
but a bt 2020 file with sRGB transfer function just no...

i have written this code: case DXVA2_VideoTransFunc_sRGB: toLinear = "color = if(color > 0.031308)\n{\ncolor= color * 12.92321 ;\n}\npow(1.055*color, 2.4)-0.055;\n"; break;
and never tested it obviously

just comment it with not 100 % correct or maybe add this as a comment.
it will never be triggered anyway.

this line is still wrong
626 // Linear to sRGB

the following function creates gamma "2.2" not sRGB.

unlike sRGB to linear linear to sRGB could be useful.
huhn is offline   Reply With Quote
Old 8th July 2022, 19:06   #9439  |  Link
Balling
Registered User
 
Join Date: Feb 2020
Posts: 322
Quote:
Originally Posted by v0lt View Post
It was about converting BT709 to linear light (sRGB issue already closed). MPC VR uses power 2.2, VLC is 2.222, mpv is 2.4. And you suggest using the power of 1.9608, which seems very doubtful to me, so I will not do it.
I suggested using 1.9608 ->color managing primaries --> then using inverse of 1.9608 to nonlinear light --> finally decoding using 2.4 gamma. You just decode BT.709 using 2.4 gamma. Again, what you do is display linear light, not scene. One should support both, Davinci does. Scene is decoding with 1.9608.

"unlike sRGB to linear, linear to sRGB could be useful."

Ideally both should use linear spline, example where decoding is wrong are PNG previews of SVG on wikipedia, that are tagged 2.2 gamma, not sRGB and decode off-by-one everywhere. Of course it is more important in the case of OETF, because the whole point of linear spline is to remove horrible removal of codepoints in black region. Some black 1, 1, 1; 2, 2, 2 may be absent whatsover with no way to get those if you encode with pure gamma.

Last edited by Balling; 8th July 2022 at 19:19.
Balling is offline   Reply With Quote
Old 8th July 2022, 19:20   #9440  |  Link
huhn
Registered User
 
Join Date: Oct 2012
Posts: 7,443
please...
you don't decode to a gamma. you just decode it the one and only correct way.

what ever davinci does is not relevant for a video render.
there currently is no gamma processing in this no renderer.
and even than you don't care about what danvinci does you care about the suppose transfer of the source file mostly for linear conversation, the wanted EOTF and the current EOTF of the display.
huhn 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 13:48.


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