SUMMARY I am not sure if it's an issue that has already been reported, but I can't seem to play video files in the 8.0.0 preview appimage (videos that play fine in 7.9). The view area is grey and shows the message "An error has occurred with the media player...". However, I can hear the sound of the video. I have tried both with .mov files in the h264 codec, and .mp4 files with the hevc codec. In the console, this is what I see: QtAV::AVDecoder::setCodecContext: Can not copy codec properties when it's open QtAV::AVDemuxer::setStreamIndex: invalid index 0 ( valid is 0 ~ 0 ) for stream type 2 QtAV::audioFormatToAL: OpenAL audioFormatToAL error (null context): 0xa004 QtAV::audioFormatToAL: AudioOutputOpenAL Error: No OpenAL format available for audio data format flt stereo. QtAV::audioFormatToAL: OpenAL audioFormatToAL error (null context): 0xa004 QtAV::audioFormatToAL: AudioOutputOpenAL Error: No OpenAL format available for audio data format s32 stereo. QtAV::audioFormatToAL: OpenAL audioFormatToAL error (null context): 0xa004 QtAV::AudioResamplerFF::prepare: src audio parameters 'channel layout(or channels),sample rate and sample format must be set before initialize resampler QtAV::AVPlayerCore::Private::setupVideoThread: "Video codec not found" QtAV::AudioDecoderFFmpeg::decode: [AudioDecoder] got_frame_ptr=false. decoded: 6, un: 0 Error number 6 occurred QtAV::AudioDecoderFFmpeg::decode: [AudioDecoder] got_frame_ptr=false. decoded: 369, un: 0 Error number 369 occurred STEPS TO REPRODUCE 1. In digikam 8.0.0 appimage, double click on any video file. OBSERVED RESULT Only audio is heard, no image. EXPECTED RESULT Videos plays. SOFTWARE/OS VERSIONS Linux/KDE Plasma: Kubuntu 22.04 LTS with digiKam-8.0.0-git-20221124T104306-x86-64.appimage
There is now a section for video in the digiKam setup. Select FFmpeg as video decoder. Maik
Ok, done, it works now. Thanks!
Git commit 6733dd3ec0d7a9b75261a7a7b618927b8afce135 by Maik Qualmann. Committed on 30/11/2022 at 21:37. Pushed by mqualmann into branch 'master'. add FFmpeg as default for a new config FIXED-IN: 8.0.0 M +1 -1 NEWS M +2 -1 core/libs/video/qtav/config/AVPlayerConfigMngr.cpp https://invent.kde.org/graphics/digikam/commit/6733dd3ec0d7a9b75261a7a7b618927b8afce135