Kdenlive   bug tracker Home page

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0003197KdenliveCapturepublic2013-12-07 08:062014-02-14 12:56
Reportershawns 
Assigned Tovpinon 
PrioritynormalSeveritycrashReproducibilityalways
StatusclosedResolutionfixed 
Platform64 bit intel LinuxOSFedoraOS Version19
Product Version0.9.6 
Target VersionFixed in VersionRecent git 
Summary0003197: kdenlive crashes when using the screengrab, region capture with an offset specified.
Descriptionkdenlive crashes when using the screengrab functionality, when using a region capture with any offset specified.

It is clear to see the offset is being mistakenly used as the display in ffmpeg. Setting the offset to say, x:999, y:666, you will get:

[x11grab @ 0x2373de0] device: :999.999 -> display: :999.999 x: 0 y: 0 width: 1280 height: 720
[x11grab @ 0x2373de0] Could not open X display. :999.999: Input/output error

doing an strace reveals:

[pid 28140] execve("/usr/bin/ffmpeg", ["/usr/bin/ffmpeg", "-f", "x11grab", "-show_region", "1", "-s", "1280x720", "-r", "30", "-i", ":999.999", "-vcodec", "libx264", "-preset", "fast", "-threads", ...], [/* 51 vars */] <unfinished ...>

which is incorrect. The display setting when an offset like the above is used should be:

":0.0+999,666"

as you can see it's being set to ":999.999" which is not correct. Trying to fool the dialog doesn't work as it only allows numeric input.

Using ffmpeg manually works fine via:

ffmpeg -f x11grab -show_region 1 -s 1280x720 -r 30 -i :0.0+999,666 -vcodec libx264 -preset fast -threads 0 output.mkv
Steps To Reproduce1. Load kdenlive
2. hit record monitor tab
3. set tab to screen grab
4. hit wrench icon
5. set pulldown to region capture
6. unset hide frame
7. set offset to '999' and '666'
8. hit ok
9. hit record button
10. crash!
Additional Informationthis should be a relatively easy fix.

Have a good day.

-Shawn
TagsNo tags attached.
Build/Install MethodDistribution package
Attached Files

- Relationships

-  Notes
(0009637)
Hena (reporter)
2013-12-14 16:44

I submitted a patch for this.
(0009641)
vpinon (administrator)
2013-12-29 22:27

Hello,

Kdenlive had a while back many problems with locales which don't use '.' as decimal separator, this might (one of :/) the last remaining problem?

As a temporary workaround you can run "LANG=C kdenlive" to run it in English (maybe "LC_NUMERIC=C kdenlive" works in your language but English numbers?)

Thanks for feedback
(0009700)
vpinon (administrator)
2014-02-14 12:56

submitted patch integrated

- Issue History
Date Modified Username Field Change
2013-12-07 08:06 shawns New Issue
2013-12-14 16:44 Hena Note Added: 0009637
2013-12-29 22:27 vpinon Note Added: 0009641
2014-02-14 12:56 vpinon Note Added: 0009700
2014-02-14 12:56 vpinon Status new => resolved
2014-02-14 12:56 vpinon Fixed in Version => Recent git
2014-02-14 12:56 vpinon Resolution open => fixed
2014-02-14 12:56 vpinon Assigned To => vpinon
2014-02-14 12:56 vpinon Status resolved => closed


Copyright © 2000 - 2014 MantisBT Team
Powered by Mantis Bugtracker