AlexPresso / VideoStation-FFMPEG-Patcher

Patcher to enable DTS, EAC3 and TrueHD transcoding support to Synology VideoStation (from DSM 6.2 to DSM 7.0 and above ; ffmpeg4, 5, 6 ready)
1.01k stars 99 forks source link

[BUG] No sound on at least two movies #124

Closed KidWar75 closed 5 months ago

KidWar75 commented 6 months ago

Provide System Details https://gist.github.com/KidWar75/72dbf8a3fdec3ce332f67a145c814f3e VideoStation 3.1.1-3168 FFMpeg 4 & FFmpeg 6 installed Advanced Media Extensions 3.1.0-3005

Describe the bug I launch the movie Argylle & Napoleon and there is no sound on those two movies. Similarities on those two film : DDP5.1.Atmos

Additional context Here are the details for the two movies (mediainfo)

NAPOLEON : Audio ID : 2 Format : E-AC-3 JOC Format/Info : Enhanced AC-3 with Joint Object Coding Commercial name : Dolby Digital Plus with Dolby Atmos Codec ID : A_EAC3 Duration : 2 h 37 min Bit rate mode : Constant Bit rate : 768 kb/s Channel(s) : 6 channels Channel layout : L R C LFE Ls Rs Sampling rate : 48.0 kHz Frame rate : 31.250 FPS (1536 SPF) Compression mode : Lossy Delay relative to video : 24 s 169 ms Stream size : 866 MiB (8%) Language : English Service kind : Complete Main Default : Yes Forced : No Complexity index : 16 Number of dynamic objects : 15 Bed channel count : 1 channel Bed channel configuration : LFE

ARGYLLE : Audio ID : 2 Format : E-AC-3 JOC Format/Info : Enhanced AC-3 with Joint Object Coding Commercial name : Dolby Digital Plus with Dolby Atmos Codec ID : A_EAC3 Duration : 2 h 18 min Bit rate mode : Constant Bit rate : 768 kb/s Channel(s) : 6 channels Channel layout : L R C LFE Ls Rs Sampling rate : 48.0 kHz Frame rate : 31.250 FPS (1536 SPF) Compression mode : Lossy Delay relative to video : 17 s 329 ms Stream size : 762 MiB (8%) Language : English Service kind : Complete Main Default : Yes Forced : No Complexity index : 16 Number of dynamic objects : 15 Bed channel count : 1 channel Bed channel configuration : LFE

KidWar75 commented 6 months ago

FYI, I unistalled & reinstalled VideoStation & Advanced Media Extensions. Repatched VideoStation. Nothing changed. However, while patching it said that a new version of the patcher v2.6 was out. Could it be the issue ?

Other info : The sound works on DS Video on iPhone and on the DS Video app on TV.

AlexPresso commented 6 months ago

Hi KidWar75,

The new version available message is normal, it's displaying the same message for everyone even if you have latest version

The issue-report looks a bit cutted near the ffmpeg args (maybe copy paste didn't copy long lines), could you please resend the full report please ? :)

KidWar75 commented 6 months ago

Hi KidWar75,

The new version available message is normal, it's displaying the same message for everyone even if you have latest version

The issue-report looks a bit cutted near the ffmpeg args (maybe copy paste didn't copy long lines), could you please resend the full report please ? :)

Here you go ! : https://gist.github.com/KidWar75/df511cb209e42c8df9df524baacea8c3

AlexPresso commented 6 months ago

Thank you, Does it work with other EAC3 / DTS movies ?

The smartphone and TV app is not supposed to work with these codecs so I guess the problem is because I force the use of lib_aac when lib_mp3lame is working fine

KidWar75 commented 6 months ago

Just tried with :

AlexPresso commented 6 months ago

Okay I will make some tests and get back to you :)

KidWar75 commented 6 months ago

Okay I will make some tests and get back to you :)

Cheers buddy and thx again for your work! :)

AlexPresso commented 5 months ago

Hi @KidWar75

Looks like the codec of your videos is not "vanilla" eac3, it's eac3_joc and it looks like it's not included in the ffmpeg version we're using (ffmpeg4), I tried on my NAS to run the following and it doesn't return any encoder / decoder support : ffmpeg -codecs | grep eac3_joc

I'm checking if we have a solution to add it, but vanilla eac3 is working

KidWar75 commented 5 months ago

Hey! Cheers for the answer. Ye Vanilla eac3 is working fine, no worries on that end.

AlexPresso commented 5 months ago

Hi Kidwar75,

By chance, have you tried with other ffmpeg versions ? like ffmpeg5 or ffmpeg6, I have no idea if it will work or not but it could be nice to give it a try

KidWar75 commented 5 months ago

How do I do that ? I'm a noob really, I just follow your steps and that's it ^^

AlexPresso commented 5 months ago

No worries :) You can try it by:

This example is for ffmpeg5, if you want to give it a try with ffmpeg6 or go back to ffmpeg4, you have to repeat the previous steps :)

PS: please note that using ffmpeg5 or ffmpeg6 might be eating a lot of your CPU / GPU depending on your hardware

KidWar75 commented 5 months ago

All right ! What do you suggest ffmpeg 5 or 6 ? I got a 920+ I'll try that when I got some time :)

AlexPresso commented 5 months ago

I have no idea if it would even work, you can start by trying ffmpeg5 then try ffmpeg6 if it's not working

KidWar75 commented 5 months ago

Nop, doesn't work either with ffmpeg 5 or 6 :(

AlexPresso commented 5 months ago

Arf, sorry then, unfortunately, I can't do anything if the format is not supported by ffmpeg :(