Bug 365883

Summary: Crash after stabilize
Product: [Applications] kdenlive Reporter: Mikhas' <meequz>
Component: Rendering & ExportAssignee: Jean-Baptiste Mardelle <jb>
Status: RESOLVED FIXED    
Severity: crash    
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: console output of crashed session

Description Mikhas' 2016-07-20 07:01:19 UTC
Created attachment 100189 [details]
console output of crashed session

Kdenlive crashes while adding newly stabilized clip to the project.

Steps to reproduce:
1. add any videofile to new project (just in case link to the my videofile is below)
2. right click -> clip jobs -> stabilize -> ok
3. wait until stabilizing is done and kdenlive automatically add stabilized clip to the project
4. bang! kdenlive crashed

Console output is in the attachment. It seems that stabilization doesn't care about parity of video resolution. Width and height are not even.

OS: Ubuntu MATE 16.04
DE: MATE 1.12
Hardware: ASUS G550JK-CN287H, integrated Intel videocard
Kdenlive version: 4:16.07.80+git201607192130
MLT version: 6.2.0+git201605270727
Kdenlive package and its dependencies are from this repo: https://launchpad.net/~kdenlive/+archive/ubuntu/kdenlive-testing
Kdenlive project settings: Full HD 1080, framerate 29.72

Weird thing: videofile properties according to VLC: H264 - MPEG-4 AVC (part 10) (avc1) 1920x1090, framerate 29.724374. But according to Kdenlive and SMPlayer videofile resolution is 1920x1080. It is a common video from my phone's camera. Link to the file: https://drive.google.com/uc?export=download&id=0B2jEZlBuCTwZUHRYbWlrbjJLOGs Kdenlive crashes after stabilize any video from my phone's camera, it's just one example. I also tried a video from completely different camera - the same crash happened.
Comment 1 Jean-Baptiste Mardelle 2016-07-29 22:26:25 UTC
Git commit 6cc9a8007cba62ea6aa0e60b136f9c6923993d19 by Jean-Baptiste Mardelle.
Committed on 29/07/2016 at 21:42.
Pushed by mardelle into branch 'Applications/16.08'.

No unnecessary mem copy for thumbnails, ensure width % 2

M  +1    -1    src/capture/mltdevicecapture.h
M  +3    -3    src/doc/kthumb.cpp
M  +4    -9    src/mltcontroller/clipcontroller.cpp

http://commits.kde.org/kdenlive/6cc9a8007cba62ea6aa0e60b136f9c6923993d19