IDimitrovDev / Energy-Media-Player

Energy Media Player is XBOX and Windows 10 media player
8 stars 0 forks source link

AC3, EAC3, TRUEHD, DTS, DTS-HD audio codec support #7

Open 1aTa opened 3 months ago

1aTa commented 3 months ago

I've just found EMP and it's correctly passing Dolby Vision through to my laptop display - thank you!

However, I'm unable to get any sound from files containing AC3, EAC3, TRUEHD, DTS, DTS-HD audio streams.

I've tried installing LAVFilters but no luck. Is it possible for EMP to decode those audio formats?

The audio streams are shown and ticked in the bottom right subtitles/audio box, but if I right click and go to Audio it only shows Add external audio stream.

EDIT: Seems I can't get any audio working, mp3, flac, aac etc.

IDimitrovDev commented 3 months ago

Hey, is passthrough enabled in settings for the Dolby Digital Plus or DTS. If enabled, does disabling it fix the no audio issue? image

1aTa commented 3 months ago

No, they're off.

From further testing it seems the incompatibility is with Equalizer APO which I use to drastically improve the sound of my laptop speakers. It's weird as I've never had an issue with any other media player or app.

IDimitrovDev commented 3 months ago

Is it on arm device? I've tried with Equalizer APO on an intel machine(Realtek) and there it worked, but didn't on ARM(but error was architecture mismatch, because Equalizer APO is not built for ARM). Also what is the output device and windows version(10/11)? image

Will be trying on some more test devices to simulate the issue.

1aTa commented 3 months ago

Windows 11 Pro 24H2 build 26100.1000 running on Intel x64, output device is Realtek(R) Audio.

Unsure if this is relevant but for Equalizer APO to work on this laptop I have to install the APO with troubleshooting options and select 'Install as SFX/MFX' within the configurator.

Thanks for looking into this.

lansingrama commented 2 months ago

Screenshot 2024-07-27 040600 Audio track shows up , but there is no audio

IDimitrovDev commented 2 months ago

Do you have Passthrough DTS enabled in the settings? If yes does disabling it enabled the audio? image

lansingrama commented 2 months ago

Thank you so much for this. Disabling DTS passthrough enabled audio playback. I am using EMP for sometime and can't figure out how to change video aspect ratio or height. Previously used MPC-HC and i was able to increase or decrease video height with PnS frame adjust. Is there anyway to adjust video height in EMP ?

IDimitrovDev commented 2 months ago

Currently changing aspect ratio is not supported, but height can be increased with the zoom option in the video menu, or with mouse scrolling while CTRL key pressed, and if Mouse/touch zoom mode is enabled the zoomed image can be realigned while moving mouse with left button pressed. If height should be filling the screen to remove black bars - the Zoom to fill option can be used. image

lansingrama commented 2 months ago

Thank you but I have never preferred zoom losing part of the video , hope there is some thing on the works for this. Also auto load next files in the folder as next items in playlist. I see myself coming to use this player in between and move to something over little things. But overall great player !!

IDimitrovDev commented 2 months ago

About the autoloading of next files there are two ways that are supported - one is adding the folder or the disk in which the folder is to the player through the Add media folder which makes the player see the folder, because by default it doesn't have access to user files, unless user specifically allows it. image

The other way is opening a file with the file explorer menu->open/open with when the player is closed, then if the file is outside of media folder will give a prompt for autogenerating playlist from the files around it which can allow playing files without having access to their parent folder. image

lansingrama commented 2 months ago

Thank you !! Did not know about his . Great work

Dstendo commented 2 months ago

@IDimitrovDev Hi i found your player and find it to be one of the better ones i've used. I only have one issue right now. The popup you mentioned in your last comment pops up anytime i open a video file on my pc. I am in explorer and double click on my .mkv file and everytime i do that, the popup asks me about the feature, but i rarely want to use it. Is there anyway to disable this popup? And is there any plans to support HDR 10+ for all the Samsung devices? I don't know the specifics, but i think it's royalty free and some games i play, like RDR2, already support out of the gate on Windows, it might be easier to implement than Dolby Vision, which is a bit of trouble on Windows right now. Thanks for your Player!

IDimitrovDev commented 2 months ago

Currently the popup can be disabled by adding the folder or any parent folder as media folder in the internal player file manager, which will allow also play next file and external subtitle auto detecting functionalities. In the coming week will deploy an update to allow also disabling the popup or adding a media folder directly from the popup. About hdr10+ I'm looking into it for some time now, but as of the moment don't have a working solution and probably will not have hdr10+ support soon.