[Kdenlive-devel] Feature for kdenlive....

Steve Guilford s.guilford at dbplugins.com
Wed Jul 2 04:23:06 UTC 2014


Here ya go...

I'll upload to the repository once access is granted.

Steve...>>

On 07/01/2014 09:20 PM, Evert Vorster wrote:
> I have a little script that I run that just uses melt on the command
> line to stabilize the video for me, so I am in no great rush.
>
> If you want to take a look at the results:
> http://www.youtube.com/evorster
>
> It does not look like the git has changed heads to "next" yet. If you
> give me the source files, I can certainly test it on my system.
> Thanks in advance!
>
> -Evert Vorster-
>
> On 2 July 2014 06:14, Steve Guilford <s.guilford at dbplugins.com> wrote:
>> Evert,
>>
>> I made the changes but am awaiting dev-access in order to push up my
>> changes.  I can not test due to the fact that both of the existing
>> stabilizers crash on my machine.  The new one crashes too :-)
>>
>> But, if the pattern used to implement the existing two stabilizers is
>> the same for the new one then I think I have it sorted out.  I'll need
>> you to test it for me.
>>
>> If you want I can attach the two source files if you are anxious and
>> don't want to wait.
>>
>> Steve...>>>
>>
>> On 06/30/2014 11:12 PM, Evert Vorster wrote:
>>> I have never used that script.
>>>
>>> http://quickgit.kde.org/?p=kdenlive.git
>>>
>>> On there, is an http view of the git repo.
>>> Towards the bottom, there are different heads than the master.
>>> I clicked on "next" and then downloaded the latest snapshot.
>>>
>>> Extracted it, compiled & installed it
>>>
>>> However, if you wait a little while, master will change into "next" as
>>> that is more stable.
>>> The current master will then become something else, where most of the
>>> big feature adds is happening.
>>>
>>> -Evert-
>>>
>>> On 1 July 2014 07:58, Steve Guilford <s.guilford at dbplugins.com> wrote:
>>>> Where did you get the 'next' tree?  I'm using the build-kdenlive script
>>>> from the MLT site.  Doesn't that get the most recent source?
>>>>
>>>> On 06/30/2014 10:56 PM, Evert Vorster wrote:
>>>>> Hmm, I am using the "next" tree, and that does not have movit. All the
>>>>> stabilizers in there works as advertised.
>>>>>
>>>>> However, .mlt files do make kdenlive incredibly unstable.
>>>>>
>>>>>
>>>>> -Evert-
>>>>>
>>>>> On 1 July 2014 07:44, Steve Guilford <s.guilford at dbplugins.com> wrote:
>>>>>> I looked into this and it's not very hard to do.  I took a pass at it
>>>>>> and got it added to the menu and had the UI created.
>>>>>>
>>>>>> Unfortunately, the stabilize process crashes (SIGSEV) as soon as you
>>>>>> start the job.  So, I made sure I had a current pull from the dev-tree.
>>>>>> Same result.
>>>>>>
>>>>>> The error is the same for all three stabilization filters.
>>>>>>
>>>>>> The error is in libGL, triggered by movit:
>>>>>>
>>>>>> #0 glGenTextures() at /usr/lib/nvidia-331/libGL.so.1
>>>>>> #1
>>>>>> movit::SingleResamplePassEffect::SingleResamplePassEffect(movit::ResampleEffect*)()
>>>>>> at /storage/kdenlive_9.8/20140630/lib/libmovit.so.2
>>>>>> #2 movit::ResampleEffect::ResampleEffect()() at
>>>>>> /storage/kdenlive_9.8/20140630/lib/libmovit.so.2
>>>>>> #3 OptionalEffect<movit::ResampleEffect>::OptionalEffect() at
>>>>>> /storage/kdenlive_9.8/src/mlt/src/modules/opengl/optional_effect.h:13
>>>>>> #4 get_image() at
>>>>>> /storage/kdenlive_9.8/src/mlt/src/modules/opengl/filter_movit_resample.cpp:82
>>>>>> #5 mlt_frame_get_image() at
>>>>>> /storage/kdenlive_9.8/src/mlt/src/framework/mlt_frame.c:581
>>>>>> #6 get_image() at
>>>>>> /storage/kdenlive_9.8/src/mlt/src/modules/opengl/filter_movit_resize.cpp:146
>>>>>> #7 mlt_frame_get_image() at
>>>>>> /storage/kdenlive_9.8/src/mlt/src/framework/mlt_frame.c:581
>>>>>> #8 filter_get_image() at
>>>>>> /storage/kdenlive_9.8/src/mlt/src/modules/videostab/filter_videostab2.c:122
>>>>>> #9 mlt_frame_get_image() at
>>>>>> /storage/kdenlive_9.8/src/mlt/src/framework/mlt_frame.c:581
>>>>>> #10 producer_get_image() at
>>>>>> /storage/kdenlive_9.8/src/mlt/src/framework/mlt_tractor.c:273
>>>>>> #11 mlt_frame_get_image() at
>>>>>> /storage/kdenlive_9.8/src/mlt/src/framework/mlt_frame.c:581
>>>>>> #12 consumer_read_ahead_thread() at
>>>>>> /storage/kdenlive_9.8/src/mlt/src/framework/mlt_consumer.c:782
>>>>>>
>>>>>> Do any of the stabilization filters work for you?
>>>>>>
>>>>>> I have an older source tree (0.9.7) that stabilizes correctly.
>>>>>>
>>>>>> That libGL.so.1 library may be from a vendor-distribution driver, not
>>>>>> the Ubuntu distro version - that could also be an issue.
>>>>>>
>>>>>> If you can stabilize w/out problem then I can post up the mods and you
>>>>>> can test.
>>>>>>
>>>>>> Let me know....>>>
>>>>>>
>>>>>> On 06/30/2014 03:39 PM, Evert Vorster wrote:
>>>>>>> Hi there, everybody.
>>>>>>>
>>>>>>> I _know_ that there is a lot going on with the code, and that we don't
>>>>>>> have a load of developers.
>>>>>>>
>>>>>>> However, I have to tell you that the newer vid.stab filter in mlt is
>>>>>>> absolutely amazing!
>>>>>>>
>>>>>>> To add it into mlt is not a big hassle.
>>>>>>> Get the source code for vid.stab library here:
>>>>>>> https://github.com/georgmartius/vid.stab/tarball/release-0.98b
>>>>>>>
>>>>>>> Homepage of the project is:
>>>>>>> http://public.hronopik.de/vid.stab/features.php?lang=en
>>>>>>>
>>>>>>> It will become an optional dependency of mlt in the future as it is
>>>>>>> already in use for Shotcut, but for now, mlt has to be fetched from
>>>>>>> git and built on your machine to utilize this new filter.
>>>>>>>
>>>>>>> If you are on Arch, I have already made an AUR package for vid.stab,
>>>>>>> and mlt-git is already pulling it in automatically. Thanks,
>>>>>>> IncredibleLaser!
>>>>>>>
>>>>>>>
>>>>>>> Once built, 'melt -query filters | grep stab' will return three video
>>>>>>> stabilization filters:
>>>>>>> vidstab
>>>>>>> videostab
>>>>>>> videostab2
>>>>>>>
>>>>>>> vidstab is the new one. It's command line options are exactly the same
>>>>>>> as videostab2
>>>>>>>
>>>>>>>
>>>>>>> Now, in kdenlive, videostab2 is referred as "transcode"
>>>>>>>
>>>>>>> If we could duplicate the module in kdenlive that drives videostab2
>>>>>>> and call it "vid.stab" and modify it to use the new filter and add it
>>>>>>> to the clip jobs menu, that would be awesome!
>>>>>>>
>>>>>>> In the meantime, I am stabilizing my videos on the command line.
>>>>>>>
>>>>>>>
>>>>>> --
>>>>>> Steve Guilford
>>>>>> http://www.dbplugins.com
>>>>>>
>>>>>>
>>>>>> ------------------------------------------------------------------------------
>>>>>> Open source business process management suite built on Java and Eclipse
>>>>>> Turn processes into business applications with Bonita BPM Community Edition
>>>>>> Quickly connect people, data, and systems into organized workflows
>>>>>> Winner of BOSSIE, CODIE, OW2 and Gartner awards
>>>>>> http://p.sf.net/sfu/Bonitasoft
>>>>>> _______________________________________________
>>>>>> Kdenlive-devel mailing list
>>>>>> Kdenlive-devel at lists.sourceforge.net
>>>>>> https://lists.sourceforge.net/lists/listinfo/kdenlive-devel
>>>> --
>>>> Steve Guilford
>>>> http://www.dbplugins.com
>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>> Open source business process management suite built on Java and Eclipse
>>>> Turn processes into business applications with Bonita BPM Community Edition
>>>> Quickly connect people, data, and systems into organized workflows
>>>> Winner of BOSSIE, CODIE, OW2 and Gartner awards
>>>> http://p.sf.net/sfu/Bonitasoft
>>>> _______________________________________________
>>>> Kdenlive-devel mailing list
>>>> Kdenlive-devel at lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/kdenlive-devel
>>>
>> --
>> Steve Guilford
>> http://www.dbplugins.com
>>
>>
>> ------------------------------------------------------------------------------
>> Open source business process management suite built on Java and Eclipse
>> Turn processes into business applications with Bonita BPM Community Edition
>> Quickly connect people, data, and systems into organized workflows
>> Winner of BOSSIE, CODIE, OW2 and Gartner awards
>> http://p.sf.net/sfu/Bonitasoft
>> _______________________________________________
>> Kdenlive-devel mailing list
>> Kdenlive-devel at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/kdenlive-devel
>
>

-- 
Steve Guilford
http://www.dbplugins.com

-------------- next part --------------
A non-text attachment was scrubbed...
Name: mainwindow.cpp
Type: text/x-c++src
Size: 173814 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kdenlive/attachments/20140701/cf5105b4/attachment.cpp>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: clipstabilize.cpp
Type: text/x-c++src
Size: 14653 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kdenlive/attachments/20140701/cf5105b4/attachment-0001.cpp>


More information about the Kdenlive mailing list