Bug 375651 - Update 5.4.0 on Windows : no sound with all my videos
Summary: Update 5.4.0 on Windows : no sound with all my videos
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Preview-Video (show other bugs)
Version: 5.4.0
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-01-28 10:55 UTC by nonobio
Modified: 2017-07-27 10:27 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.5.0
Sentry Crash Report:


Attachments
attachment-25476-0.html (1.08 KB, text/html)
2017-01-30 08:00 UTC, nonobio
Details

Note You need to log in before you can comment on or make changes to this bug.
Description nonobio 2017-01-28 10:55:32 UTC
Hi,

All information can be found on this discussion : http://digikam.1695700.n4.nabble.com/Update-5-4-0-on-Windows-no-sound-with-all-my-videos-td4692924.html

Thanks
Comment 1 Maik Qualmann 2017-01-29 07:41:58 UTC
Please download und install this Microsoft DirectX End-User Runtimes (June 2010). Not the web installer. After unpacking run the DXSETUP.exe.

https://www.microsoft.com/en-us/download/confirmation.aspx?id=8109

Maik
Comment 2 nonobio 2017-01-29 10:44:08 UTC
Hi :)
I installed DirexX end user runtime. First there was an error during install, then i tried with admin right and the installation worked. 

But it didn't resolved the issue :(
Comment 3 Maik Qualmann 2017-01-29 11:29:16 UTC
Sorry for the question: you have reboot the Windows session?

Maik
Comment 4 nonobio 2017-01-29 11:43:52 UTC
No i hadn't, but i have now : same issue :(

Maybe it can help : i'm using spdif only from my PC to my amplifier, but it works with all my others applications.
Comment 5 Maik Qualmann 2017-01-30 06:53:33 UTC
When you download from http://www.qtav.org/ the QtAV-Player for Windows. Do you have sound with this player?

Maik
Comment 6 caulier.gilles 2017-01-30 07:49:21 UTC
Maik,

Warning, the QtAV official player must be compiled with MSVC and, if i remember the QtAV code, the Windows deployment use ffmpeg pre-compiled dll. So it will be difficult to compare directly with digiKam embedded QtAV.

Gilles
Comment 7 nonobio 2017-01-30 08:00:56 UTC
Created attachment 103714 [details]
attachment-25476-0.html

Hi :) ,

I had tried the QtAV official player and i had sound..



2017-01-30 8:49 GMT+01:00 <bugzilla_noreply@kde.org>:

> https://bugs.kde.org/show_bug.cgi?id=375651
>
> --- Comment #6 from caulier.gilles@gmail.com ---
> Maik,
>
> Warning, the QtAV official player must be compiled with MSVC and, if i
> remember
> the QtAV code, the Windows deployment use ffmpeg pre-compiled dll. So it
> will
> be difficult to compare directly with digiKam embedded QtAV.
>
> Gilles
>
> --
> You are receiving this mail because:
> You reported the bug.
>
Comment 8 Andrius 2017-01-31 18:56:10 UTC
I think it is a codec issue. Here is the output of the terminal:
AudioDecoder::id("FFmpeg")
Unknown id Unknown id
Comment 9 Andrius 2017-01-31 19:19:42 UTC
I just installed the latest QtAV 1.11 bundle on my desktop. There is sound if I open a file in an external QtAV player but there is no sound if I preview the same file in digiKam. Mint KDE 18.1. Latest digikam 5.5 appimage
Comment 10 Maik Qualmann 2017-01-31 19:53:04 UTC
The problem in the AppImage is that no audio backends is found (e.g. Pulse).

digikam.general: AudioOutput backends: ("null")

Maik
Comment 11 nonobio 2017-02-08 15:08:31 UTC
Hi :)

Do you have any news about this bug ?

Could i go back to 5.3.0 without losing anything (waiting a fix) ?

Thanks
Bruno
Comment 12 caulier.gilles 2017-02-08 15:15:59 UTC
yes you can go back to 5.3.0 safety.
your problem is reproducible here. We will investiguate

Gilles Caulier
Comment 13 Andrius 2017-02-08 15:48:27 UTC
I have no sound on Linux either...
Comment 14 caulier.gilles 2017-02-08 16:09:20 UTC
yes, no sound with AppImage, but in native Linux, yes, sound is here.

Gilles Caulier
Comment 15 nonobio 2017-02-10 08:26:54 UTC
Hi,

Thanks you for being trying to resolve the bug.

IF i can help to test anything you can ask me (but i'm not a develloper ;) )

Have a nice day
Comment 16 Maik Qualmann 2017-02-26 17:51:19 UTC
*** Bug 376952 has been marked as a duplicate of this bug. ***
Comment 17 Maik Qualmann 2017-02-26 20:59:26 UTC
Gilles,

No audio backends are found from QtAV in the AppImage. Do you need to install sound support in CentOS?

Maik
Comment 18 caulier.gilles 2017-02-26 21:23:49 UTC
Perhaps...

I will look what's QtAV give at configuration time.

Gilles
Comment 19 caulier.gilles 2017-03-02 17:32:59 UTC
Look this issue :

https://github.com/wang-bin/QtAV/issues/766

Gilles Caulier
Comment 20 caulier.gilles 2017-03-05 21:37:34 UTC
Git commit a3ee5c2063498e5d560e9bdf38122ab4234aa82c by Gilles Caulier.
Committed on 05/03/2017 at 21:35.
Pushed by cgilles into branch 'master'.

add openal under MXE for Audio support with QtAV under Windows while playing video

M  +2    -1    project/bundles/mxe/01-build-mxe.sh

https://commits.kde.org/digikam-software-compilation/a3ee5c2063498e5d560e9bdf38122ab4234aa82c
Comment 21 caulier.gilles 2017-03-06 05:55:50 UTC
I reported this problem as UPSTREAM to QtAV bugzilla :

https://github.com/wang-bin/QtAV/issues/834

Gilles Caulier
Comment 22 caulier.gilles 2017-03-06 06:12:12 UTC
Git commit 12e65510493391b6813f32a852795b2242ab2c0e by Gilles Caulier.
Committed on 06/03/2017 at 06:11.
Pushed by cgilles into branch 'master'.

copy explicitily OpenAL dll to MXE bundle

M  +3    -0    project/bundles/mxe/04-build-installer.sh

https://commits.kde.org/digikam-software-compilation/12e65510493391b6813f32a852795b2242ab2c0e
Comment 23 caulier.gilles 2017-03-06 07:00:41 UTC
The Windows 64bits installer with OpenAL support will be uploaded on GDrive today.

https://drive.google.com/drive/folders/0BzeiVr-byqt5Y0tIRWVWelRJenM

If somebody can test and report if video with audio is played fine under Linux.
Thanks in advance

Gilles Caulier
Comment 24 caulier.gilles 2017-03-06 07:01:19 UTC
>If somebody can test and report if video with audio is played fine under Linux.

If somebody can test and report if video with audio is played fine under Windows of course...
Comment 25 nonobio 2017-03-06 08:08:31 UTC
Hi,

I tried but the bug isn't resolved :( , no sound with all my videos.
Comment 26 caulier.gilles 2017-03-09 17:54:00 UTC
I try to fix the problem using current QtAv implementation in digiKam Windows installer. I just recompiled quickly the 32 bits bundle for testing.

Please test and give me a feedback. File is at usual place :

https://drive.google.com/drive/folders/0BzeiVr-byqt5Y0tIRWVWelRJenM

Gilles Caulier
Comment 27 caulier.gilles 2017-03-10 05:47:10 UTC
The video sound playback under Linux is now fixed with AppImage. Look this report for details :

https://bugs.kde.org/show_bug.cgi?id=376952

The same fix have been applied to Windows installer. I need a feedback please to validate this solution under Windows. The 5.5.0 Windows installer 32 and 64 bits is now up to date in usual GDrive repository :

https://drive.google.com/drive/folders/0BzeiVr-byqt5Y0tIRWVWelRJenM

Thanks in advance for your feedback

Gilles Caulier
Comment 28 nonobio 2017-03-10 08:31:34 UTC
Hi,

Yes it works :) Thanks a lot :)

I tried with 64 bits installer only.

I lost my toolbar customisation, is it normal ?
Comment 29 caulier.gilles 2017-03-10 09:48:51 UTC
From main menu, go to Settings/Configure Toolbar
Comment 30 nonobio 2017-03-10 09:53:41 UTC
I mean : is there a way to restore all my previous customisation automatically ? or do i have to do it manually ?
Comment 31 caulier.gilles 2017-03-10 09:59:07 UTC
Restore ? Why you delete all previous customization ?
Comment 32 Mario Frank 2017-03-10 10:06:56 UTC
(In reply to caulier.gilles from comment #31)
> Restore ? Why you delete all previous customization ?

Gilles, the way I understand Op, the installation of the new version has overridden his configuration.
Comment 33 caulier.gilles 2017-03-10 11:48:05 UTC
Impossible. The configuration, under Linux, Windows, or MacOS is recorded in home directory to a hidden folder.

But i remember that i renamed the ui rc XML files to prevent crash with previous version (typically something goes wrong with KF5 libraries which generate XML files).

So, yes, please reconfigure your toolbar.

Gilles Caulier
Comment 34 nonobio 2017-03-10 12:41:37 UTC
"Restore ? Why you delete all previous customization ?"

I didn't deleted anything : when i install Digikam 5.5 i lose my customization. When i go back to 5.4.0 or 5.3.0 i retreive it.

"So, yes, please reconfigure your toolbar"

Ok.

Bye