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 3rd November 2024, 10:55   #10821  |  Link
SeeMoreDigital
Life's clearer in 4K UHD
 
SeeMoreDigital's Avatar
 
Join Date: Jun 2003
Location: Notts, UK
Posts: 12,279
Quote:
Originally Posted by strumf666 View Post
I am having problems with getting sound from some video files, mostly with the sound encoded in aac with my "normal" player configuration (MPCBE/madvr/lavfilters/win11/marantz cinema40/LG oled). Using the mpc audio decoder also doesn't produce the sound, but in vlc the sound works. I would like some help trying to fix this if possible?

Code:
Audio
ID                             : 2
Format                         : AAC LC
Format/Info                    : Advanced Audio Codec Low Complexity
Codec ID                       : mp4a-40-2
Duration                       : 1 h 54 min
Bit rate mode                  : Variable
Bit rate                       : 257 kb/s
Channel(s)                     : 2 channels
Channel layout                 : L R
Sampling rate                  : 48.0 kHz
Frame rate                     : 46.875 FPS (1024 SPF)
Compression mode               : Lossy
Stream size                    : 210 MiB (16%)
Default                        : Yes
Alternate group                : 1
https://mega.nz/file/Su4zQRYC#3QQa3k...HPDOGpyFWxXqKI
Your sample works fine for me too. Perhaps you have a LAV Filters configuration issue (which I don't have installed).
__________________
| I've been testing hardware media playback devices and software A/V encoders and decoders since 2001 | My Network Layout & A/V Gear |
SeeMoreDigital is online now   Reply With Quote
Old 4th November 2024, 16:33   #10822  |  Link
wyup
Registered User
 
Join Date: Aug 2020
Location: Bilbao, Spain
Posts: 33
Upgrade to BT.2226a instead of Hable and MaxCLL parameter

Quote:
Originally Posted by Alexkral View Post
This is probably due to the algorithm used (I don't know if it's 'hable' or bt2446a). I would recommend using bt2390 with the original roll-off even though it's older, as it produces the best results in this regard. Using 1000 nits as the default MaxCLL makes more sense than 10000, even though that implies clipping depending on the source.

But then this is all subjective, 'hable' may produce decent results, I'm too lazy to start testing again.
Don't use hardcoded 1000 nits as default MaxCLL, read it from file HDR10 metadata. Mediainfo.dll can do it. If not present, read MaxDML. Last, if not present, use 1000 nits.

Upgrade tonemapping algorithm to BT.2446A annex B. This is the best one from ITU. Drop hable.

Do you necessarily have to use code from Kodi/XBMC shaders?
Why not use libplacebo, that uses Vulkan, is more updated, modern and decodes Dolby Vision profile 5. Nowadays every graphic driver supports Vulkan.

Alternatively,
Windows provides a built-in HDR tonemapper effect as part of Direct2D as well as in the Media Foundation HDR video playback pipeline. Use this, it's free and included in Windows.

Please, if MPC-BE is the best directshow UI media player in Windows, you've got to do HDR to SDR right.

Last edited by wyup; 4th November 2024 at 19:56.
wyup is offline   Reply With Quote
Old 5th November 2024, 00:53   #10823  |  Link
Aleksoid1978
Registered User
 
Aleksoid1978's Avatar
 
Join Date: Apr 2008
Location: Russia, Vladivostok
Posts: 2,842
Quote:
Originally Posted by wyup View Post
Why not use libplacebo, that uses Vulkan, is more updated, modern and decodes Dolby Vision profile 5. Nowadays every graphic driver supports Vulkan.
MPC VR already support DV 5/7/8 profiles.
__________________
AMD Ryzen 7 7700 /ASRock B650M Pro RS /G.Skill RIPJAWS 32 ГБ /Kingston 500Gb M.2 /RTX 4060 /Samsung U28R550UQI /OLED Philips 55OLED707 /Yamaha RX-V471 + NS-555 + NS-C444 + NS-333 + YST-SW215
Aleksoid1978 is offline   Reply With Quote
Old 5th November 2024, 00:55   #10824  |  Link
Aleksoid1978
Registered User
 
Aleksoid1978's Avatar
 
Join Date: Apr 2008
Location: Russia, Vladivostok
Posts: 2,842
Quote:
Originally Posted by wyup View Post
Don't use hardcoded 1000 nits as default MaxCLL, read it from file HDR10 metadata. Mediainfo.dll can do it. If not present, read MaxDML. Last, if not present, use 1000 nits.

Upgrade tonemapping algorithm to BT.2446A annex B. This is the best one from ITU. Drop hable.

Please, if MPC-BE is the best directshow UI media player in Windows, you've got to do HDR to SDR right.
The sources are open, those who want can take and change "for the better" and/or make a pull request. We'll see.
But there are no volunteers, everyone can only talk
__________________
AMD Ryzen 7 7700 /ASRock B650M Pro RS /G.Skill RIPJAWS 32 ГБ /Kingston 500Gb M.2 /RTX 4060 /Samsung U28R550UQI /OLED Philips 55OLED707 /Yamaha RX-V471 + NS-555 + NS-C444 + NS-333 + YST-SW215
Aleksoid1978 is offline   Reply With Quote
Old 5th November 2024, 02:45   #10825  |  Link
huhn
Registered User
 
Join Date: Oct 2012
Posts: 8,192
Quote:
Originally Posted by wyup View Post
Don't use hardcoded 1000 nits as default MaxCLL, read it from file HDR10 metadata. Mediainfo.dll can do it. If not present, read MaxDML. Last, if not present, use 1000 nits.

Upgrade tonemapping algorithm to BT.2446A annex B. This is the best one from ITU. Drop hable.

Do you necessarily have to use code from Kodi/XBMC shaders?
Why not use libplacebo, that uses Vulkan, is more updated, modern and decodes Dolby Vision profile 5. Nowadays every graphic driver supports Vulkan.

Alternatively,
Windows provides a built-in HDR tonemapper effect as part of Direct2D as well as in the Media Foundation HDR video playback pipeline. Use this, it's free and included in Windows.

Please, if MPC-BE is the best directshow UI media player in Windows, you've got to do HDR to SDR right.
do you have any clue how much work that is? just throw everything away and rewrite it great suggestion...

what could possible go wrong: When in HDR mode, the Desktop Window Manager (DWM) uses a canonical composition color space (CCCS) defined as:

scRGB color space (BT.709/sRGB primaries with linear gamma)
IEEE half precision (FP16 bit depth)

great link...
no one understand the current code and no throwing a 1000 at it is not going to work.
huhn is offline   Reply With Quote
Old 5th November 2024, 16:14   #10826  |  Link
alisaeed
Registered User
 
Join Date: Dec 2017
Posts: 6
Hi,

I have issue with saving subtitle styles
when I go to (play<subtitle<advanced<styles) and chose the font and size, it didn't save

I don't want to change the "default style" because I watch anime and it usually it came with it own subtitle styles that I don't want to change

So how can I save the change I made to "styles"

**I'm using MPCBE/madvr/lavfilters/win11
alisaeed is offline   Reply With Quote
Old 5th November 2024, 17:43   #10827  |  Link
v0lt
Registered User
 
Join Date: Dec 2008
Posts: 2,138
MPC Script Source 0.2.3.174
Fixed display of video frame with error in AviSynth script.
Fixed opening VapourSynth scripts without sound.
Added support for Y10 (Gray10) format.
v0lt is offline   Reply With Quote
Old 5th November 2024, 22:21   #10828  |  Link
Aleksoid1978
Registered User
 
Aleksoid1978's Avatar
 
Join Date: Apr 2008
Location: Russia, Vladivostok
Posts: 2,842
Quote:
Originally Posted by alisaeed View Post
Hi,

I have issue with saving subtitle styles
when I go to (play<subtitle<advanced<styles) and chose the font and size, it didn't save

I don't want to change the "default style" because I watch anime and it usually it came with it own subtitle styles that I don't want to change

So how can I save the change I made to "styles"

**I'm using MPCBE/madvr/lavfilters/win11
What does it mean to "save" the subtitle style?
I checked - everything changes, the changes are applied immediately. But as you understand, these changes will not get into the subtitle file itself.
__________________
AMD Ryzen 7 7700 /ASRock B650M Pro RS /G.Skill RIPJAWS 32 ГБ /Kingston 500Gb M.2 /RTX 4060 /Samsung U28R550UQI /OLED Philips 55OLED707 /Yamaha RX-V471 + NS-555 + NS-C444 + NS-333 + YST-SW215
Aleksoid1978 is offline   Reply With Quote
Old 5th November 2024, 23:54   #10829  |  Link
alisaeed
Registered User
 
Join Date: Dec 2017
Posts: 6
Quote:
Originally Posted by Aleksoid1978 View Post
What does it mean to "save" the subtitle style?
I checked - everything changes, the changes are applied immediately. But as you understand, these changes will not get into the subtitle file itself.
when I closed the videos and re open it reset for the default styles
alisaeed is offline   Reply With Quote
Old 6th November 2024, 00:48   #10830  |  Link
Aleksoid1978
Registered User
 
Aleksoid1978's Avatar
 
Join Date: Apr 2008
Location: Russia, Vladivostok
Posts: 2,842
Quote:
Originally Posted by alisaeed View Post
when I closed the videos and re open it reset for the default styles
That's right, this is not a subtitle editor.
__________________
AMD Ryzen 7 7700 /ASRock B650M Pro RS /G.Skill RIPJAWS 32 ГБ /Kingston 500Gb M.2 /RTX 4060 /Samsung U28R550UQI /OLED Philips 55OLED707 /Yamaha RX-V471 + NS-555 + NS-C444 + NS-333 + YST-SW215
Aleksoid1978 is offline   Reply With Quote
Old 6th November 2024, 02:42   #10831  |  Link
alisaeed
Registered User
 
Join Date: Dec 2017
Posts: 6
Quote:
Originally Posted by Aleksoid1978 View Post
That's right, this is not a subtitle editor.
sorry, maybe I wasn't clear for what my issue is

is there a way to change the default font and size for mpc for the subtitles that not has default style, because if I change "default style" all the ass and srt(with custom style) shows with my chosen font which I don't want.
**(anime for example)

I did search online but only see the I should go to (play<subtitle<advanced<styles) chose what I want, press apply and then reload.
if I did that, the font return to arial.

* I hope that you understand what I mean with my broken English.
alisaeed is offline   Reply With Quote
Old 6th November 2024, 04:36   #10832  |  Link
v0lt
Registered User
 
Join Date: Dec 2008
Posts: 2,138
@alisaeed
For external SubRip subtitles (.srt) you can use a style file (.style). This worked before, and it probably still works.

You will have to edit external SSA/ASS subtitles yourself.

For embedded subtitles, you can't do anything in the player.
v0lt is offline   Reply With Quote
Old 6th November 2024, 06:20   #10833  |  Link
strumf666
Registered User
 
Join Date: Jan 2012
Posts: 120
Quote:
Originally Posted by SeeMoreDigital View Post
Your sample works fine for me too. Perhaps you have a LAV Filters configuration issue (which I don't have installed).
Its the same with the built-in decoders (MPC-BE) or windows default decoder. I'll try reseting the settings to default if it will make any difference.
Other than that it would be nice to know what VLC does differently (with sound) and if it is possible to mimic it in MPC-BE to make it work.

Last edited by strumf666; 6th November 2024 at 06:23.
strumf666 is offline   Reply With Quote
Old 6th November 2024, 08:01   #10834  |  Link
Aleksoid1978
Registered User
 
Aleksoid1978's Avatar
 
Join Date: Apr 2008
Location: Russia, Vladivostok
Posts: 2,842
Quote:
Originally Posted by strumf666 View Post
Its the same with the built-in decoders (MPC-BE) or windows default decoder. I'll try reseting the settings to default if it will make any difference.
Other than that it would be nice to know what VLC does differently (with sound) and if it is possible to mimic it in MPC-BE to make it work.
Your file plays fine.
Try resetting the settings.
__________________
AMD Ryzen 7 7700 /ASRock B650M Pro RS /G.Skill RIPJAWS 32 ГБ /Kingston 500Gb M.2 /RTX 4060 /Samsung U28R550UQI /OLED Philips 55OLED707 /Yamaha RX-V471 + NS-555 + NS-C444 + NS-333 + YST-SW215
Aleksoid1978 is offline   Reply With Quote
Old 7th November 2024, 04:45   #10835  |  Link
v0lt
Registered User
 
Join Date: Dec 2008
Posts: 2,138
Release MPC-BE 1.8.1

Important changes:
  • Fixed rare player crash on FLV files with MP3 audio track.
  • Fixed loading of external audio tracks and subtitles by absolute path.
  • Added the ability to load images from metadata in JPEG XL and AVIF formats (requires WIC decoder installed).

MPC-BE Nightly builds
Night builds are provided by volunteers.

Donate.
v0lt is offline   Reply With Quote
Old 7th November 2024, 15:56   #10836  |  Link
wyup
Registered User
 
Join Date: Aug 2020
Location: Bilbao, Spain
Posts: 33
Quote:
Originally Posted by huhn View Post
do you have any clue how much work that is? just throw everything away and rewrite it great suggestion...

what could possible go wrong: When in HDR mode, the Desktop Window Manager (DWM) uses a canonical composition color space (CCCS) defined as:

scRGB color space (BT.709/sRGB primaries with linear gamma)
IEEE half precision (FP16 bit depth)

great link...
no one understand the current code and no throwing a 1000 at it is not going to work.
Anything is better than hardcoded 10,000 nits. Sooner or later this will have to be addressed. Why offer target nits and not account for source nits? Most computer displays are SDR, so a proper tonemapping protocol other than hable is important, which takes source and target nits. I'd like to, but I'm not a programmer. HDR to SDR conversion is here to stay.
wyup is offline   Reply With Quote
Old 7th November 2024, 20:47   #10837  |  Link
SeeMoreDigital
Life's clearer in 4K UHD
 
SeeMoreDigital's Avatar
 
Join Date: Jun 2003
Location: Notts, UK
Posts: 12,279
Quote:
Originally Posted by tormento View Post
Is possible to play BD iso and folder structures?

Java menu?
Quote:
Originally Posted by Aleksoid1978 View Post
BD iso and folder structures - yes. Jav menu - no.
Out of interest... How difficult would it be to add support for Java menus?
__________________
| I've been testing hardware media playback devices and software A/V encoders and decoders since 2001 | My Network Layout & A/V Gear |
SeeMoreDigital is online now   Reply With Quote
Old 7th November 2024, 22:27   #10838  |  Link
Aleksoid1978
Registered User
 
Aleksoid1978's Avatar
 
Join Date: Apr 2008
Location: Russia, Vladivostok
Posts: 2,842
Quote:
Originally Posted by SeeMoreDigital View Post
Out of interest... How difficult would it be to add support for Java menus?
Are there any sponsors who are ready to pay for this work?
__________________
AMD Ryzen 7 7700 /ASRock B650M Pro RS /G.Skill RIPJAWS 32 ГБ /Kingston 500Gb M.2 /RTX 4060 /Samsung U28R550UQI /OLED Philips 55OLED707 /Yamaha RX-V471 + NS-555 + NS-C444 + NS-333 + YST-SW215
Aleksoid1978 is offline   Reply With Quote
Old 7th November 2024, 22:44   #10839  |  Link
SeeMoreDigital
Life's clearer in 4K UHD
 
SeeMoreDigital's Avatar
 
Join Date: Jun 2003
Location: Notts, UK
Posts: 12,279
Quote:
Originally Posted by Aleksoid1978 View Post
Are there any sponsors who are ready to pay for this work?
It might be worth asking
__________________
| I've been testing hardware media playback devices and software A/V encoders and decoders since 2001 | My Network Layout & A/V Gear |
SeeMoreDigital is online now   Reply With Quote
Old 9th November 2024, 21:21   #10840  |  Link
Anima123
Registered User
 
Join Date: Jun 2005
Posts: 511
Quote:
Originally Posted by v0lt View Post
Release MPC-BE 1.8.1

Important changes:
  • Fixed rare player crash on FLV files with MP3 audio track.
  • Fixed loading of external audio tracks and subtitles by absolute path.
  • Added the ability to load images from metadata in JPEG XL and AVIF formats (requires WIC decoder installed).

MPC-BE Nightly builds
Night builds are provided by volunteers.

Donate.
Not sure how many people are still using 32-bit version, but I do.

Just FYI, Windows Defender is reporting 32-bit version of MPC-BE 1.8.1 as trojan or some kind of thread.
Anima123 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 16:41.


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