Bug 471231

Summary: Segmentation fault when playing video
Product: [Applications] digikam Reporter: Martin <martin.marmsoler>
Component: Preview-VideoAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: caulier.gilles, metzpinguin
Priority: NOR    
Version: 8.0.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In: 8.2.0
Sentry Crash Report:

Description Martin 2023-06-19 17:08:18 UTC
SUMMARY
Digikam crashes from time to time when playing video

STEPS TO REPRODUCE
1. Open video (if required I can attach one)

OBSERVED RESULT
```
digikam.qtav.warn: invalid index 0 ( valid is 0 ~ 0 ) for stream type 2
digikam.qtav.warn: src audio parameters 'channel layout(or channels),sample rate and sample format must be set before initialize resampler
digikam.qtav.warn: invalid video frame from decoder. undecoded data size: 0
digikam.qtav.warn: invalid video frame from decoder. undecoded data size: 0
digikam.qtav.warn: invalid video frame from decoder. undecoded data size: 0
digikam.qtav.warn: invalid video frame from decoder. undecoded data size: 0
digikam.qtav.warn: [FFmpeg:swscaler] deprecated pixel format used, make sure you did set range correctly
digikam.qtav.warn: [FFmpeg:swscaler] deprecated pixel format used, make sure you did set range correctly
digikam.qtav.warn: [FFmpeg:swscaler] deprecated pixel format used, make sure you did set range correctly
digikam.qtav.warn: [FFmpeg:swscaler] deprecated pixel format used, make sure you did set range correctly
digikam.qtav.warn: [FFmpeg:swscaler] deprecated pixel format used, make sure you did set range correctly
digikam.qtav.warn: [FFmpeg:swscaler] deprecated pixel format used, make sure you did set range correctly
digikam.qtav.warn: [FFmpeg:swscaler] deprecated pixel format used, make sure you did set range correctly
digikam.qtav.warn: [FFmpeg:swscaler] deprecated pixel format used, make sure you did set range correctly
digikam.qtav.warn: [FFmpeg:swscaler] deprecated pixel format used, make sure you did set range correctly
digikam.qtav.warn: [FFmpeg:swscaler] deprecated pixel format used, make sure you did set range correctly
digikam.qtav.warn: Invalid plane! Valid range is [0, 0)
digikam.qtav.warn: Invalid plane! Valid range is [0, 0)
digikam.qtav.warn: Invalid plane! Valid range is [0, 0)
digikam.qtav.warn: Can not copy codec properties when it's open
digikam.qtav.warn: Can not copy codec properties when it's open
digikam.qtav.warn: invalid index 0 ( valid is 0 ~ 0 ) for stream type 2
digikam.qtav.warn: src audio parameters 'channel layout(or channels),sample rate and sample format must be set before initialize resampler
digikam.qtav.warn: [FFmpeg:?] Codec 0x221 is not in the full list.
QString::arg: Argument missing: No codec could be found for: , unknown_codec
digikam.qtav.warn: "No codec could be found for: "
zsh: segmentation fault (core dumped)  digikam
```


SOFTWARE/OS VERSIONS
Linux: Manjaro with Gnome
KDE Frameworks Version: 5.106.0 
Qt Version: 5.15.9
Comment 1 Maik Qualmann 2023-06-19 19:10:10 UTC

*** This bug has been marked as a duplicate of bug 468480 ***
Comment 2 caulier.gilles 2023-10-18 09:51:43 UTC
Fixed with 468480