LibreShot fork?

The Libreshot fork of Openshot 1.4.3

Moderators: Andy, Cenwen, beats

Re: LibreShot fork?

Postby XXLRay » Fri Nov 06, 2015 12:23 pm

Mario, I hate to say it but your commit 024b55683ef52eeb64ff7835f72cd3ee8c8294c6 that lets you copy properties from start to end introduced a bug where everytime you open the properties window for a clip the postition is set to 10.0
XXLRay
OpenShot Veteran
 
Posts: 1069
Joined: Fri Jul 06, 2012 4:10 pm

Re: LibreShot fork?

Postby beats » Sat Nov 07, 2015 3:51 pm

Hi!

I'm back with more IDE related news... I think I've got now the setup up and running, at least from my sysadmin-like view!

https://www.dropbox.com/s/3os59ky9n1rxg ... 0.mp4?dl=0

Remote debug is now working, as far as I'm able to understand the process... some automation should follow then on the development machine setup.

Caveats on the topic is that you need to have consistent path again, between the workspace files and the remote project... and that it's needed to add at the beginning:

import pydevd
pydevd.settrace('HOST_IP')

I've been struggling to find where to store the pysrc files so are loaded, but at the end, i was able to add them statically using a sys.importpath call .

No more time today... hope you enjoy it!!
User avatar
beats
Moderator
 
Posts: 417
Joined: Mon Dec 27, 2010 11:25 am

Re: LibreShot fork?

Postby beats » Sat Nov 07, 2015 7:08 pm

About the setup, I started looking how to deal with the UI, on the host side will be the preferred method. Ubuntu 14.04 uses glade3 when you install glade package, and this is not functional, so, in order to install you should:

sudo apt-get install glade-gtk2

in order to work with openshot ui (normally something like libreshot/openshot/windows/ui/ ). I proposed a branch on the git as a proof of concept... hopefully it will help us to work nice on that too...

glade-gtk2.png
glade-gtk2.png (216.93 KiB) Viewed 21575 times
User avatar
beats
Moderator
 
Posts: 417
Joined: Mon Dec 27, 2010 11:25 am

Re: LibreShot fork?

Postby beats » Sat Nov 07, 2015 9:53 pm

https://github.com/XXLRay/libreshot/wik ... evelopment

I've just added some guidelines for the host setup... and postsetup script file has been updated accordingly to that suggestions:


https://raw.githubusercontent.com/XXLRa ... postdeploy

Let me know if you try them....
User avatar
beats
Moderator
 
Posts: 417
Joined: Mon Dec 27, 2010 11:25 am

Re: LibreShot fork?

Postby beats » Mon Nov 09, 2015 8:10 pm

I'm trying to play libmlt and related stuff on its 14.04 version (0.9.0) but on 15.10 (supposedly 0.9.8, but breaks openshot..)

I found a nasty way to speed up my initial approach (selecting packages and installing them manually)... I'm currently measuring the results, but i think it might work pretty well after some try-outs.

From Wily to trusty repos:
sudo sed -i 's/wily/trusty/g' /etc/apt/sources.list

From trusty to Wily repos:
sudo sed -i 's/wily/trusty/g' /etc/apt/sources.list

but, in addition, i need to know which packages should be retained as well, method is:

sudo echo "libmlt6 hold" | sudo dpkg --set-selections

where libmlt6 current version is the one that should be kept, i holded some here and there, because of the uncertainity... I found that openshot relies completely on libmlt6, which depends on libavcodec54, which is heavily dependencied with other libraries as well, so it's a real nightmare to do it without a package manager... so, what comes to my mind is something on a script that, enables trusty repos, install packages, hold them, and go back to the original situation....

And best of all! is the only option that have resolved the problem so far on 15.10...
User avatar
beats
Moderator
 
Posts: 417
Joined: Mon Dec 27, 2010 11:25 am

Re: LibreShot fork?

Postby beats » Mon Nov 09, 2015 8:18 pm

libreshot@kickseed:~$ /home/libreshot/workspace/libreshot/bin/libreshot-depchecker.bash
Kernel
------
Linux kickseed 4.2.0-17-generic #21-Ubuntu SMP Fri Oct 23 19:56:16 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

Architecture
------
x86_64

OS Version
------
Ubuntu 15.10

ffmpeg/avconv Version
------
ffmpeg version 2.7.2-1build1 Copyright (c) 2000-2015 the FFmpeg developers
built with gcc 5.2.1 (Ubuntu 5.2.1-12ubuntu2) 20150729
configuration: --prefix=/usr --extra-version=1build1 --build-suffix=-ffmpeg --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --enable-gpl --enable-shared --disable-stripping --enable-avresample --enable-avisynth --enable-frei0r --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libopenjpeg --enable-openal --enable-libopus --enable-libpulse --enable-librtmp --enable-libschroedinger --enable-libshine --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libxvid --enable-libzvbi --enable-opengl --enable-x11grab --enable-libdc1394 --enable-libiec61883 --enable-libzmq --enable-libssh --enable-libsoxr --enable-libx264 --enable-libopencv --enable-libx265
libavutil 54. 27.100 / 54. 27.100
libavcodec 56. 41.100 / 56. 41.100
libavformat 56. 36.100 / 56. 36.100
libavdevice 56. 4.100 / 56. 4.100
libavfilter 5. 16.101 / 5. 16.101
libavresample 2. 1. 0 / 2. 1. 0
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 2.100 / 1. 2.100
libpostproc 53. 3.100 / 53. 3.100
ffmpeg version 2.7.2-1build1 Copyright (c) 2000-2015 the FFmpeg developers
built with gcc 5.2.1 (Ubuntu 5.2.1-12ubuntu2) 20150729
configuration: --prefix=/usr --extra-version=1build1 --build-suffix=-ffmpeg --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --enable-gpl --enable-shared --disable-stripping --enable-avresample --enable-avisynth --enable-frei0r --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libopenjpeg --enable-openal --enable-libopus --enable-libpulse --enable-librtmp --enable-libschroedinger --enable-libshine --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libxvid --enable-libzvbi --enable-opengl --enable-x11grab --enable-libdc1394 --enable-libiec61883 --enable-libzmq --enable-libssh --enable-libsoxr --enable-libx264 --enable-libopencv --enable-libx265
libavutil 54. 27.100 / 54. 27.100
libavcodec 56. 41.100 / 56. 41.100
libavformat 56. 36.100 / 56. 36.100
libavdevice 56. 4.100 / 56. 4.100
libavfilter 5. 16.101 / 5. 16.101
libavresample 2. 1. 0 / 2. 1. 0
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 2.100 / 1. 2.100
libpostproc 53. 3.100 / 53. 3.100

openshot Version
------
dpkg-query: no packages found matching openshot

ffmpeg/avconv Version
------
ffmpeg 7:2.7.2-1build1
libav-tools

melt / mlt Version
------
melt 0.9.0

MLT libraries
------
ii libmlt++3 0.9.0-3 amd64 MLT multimedia framework C++ wrapper (runtime)
hi libmlt-data 0.9.0-3 all multimedia framework (data)
hi libmlt6 0.9.0-3 amd64 multimedia framework (runtime)

libav libraries
------
ii libav-tools-links 7:2.7.2-1build1 all Compatibility links for libav-tools (transitional package)
ii libavc1394-0:amd64 0.5.4-2 amd64 control IEEE 1394 audio/video devices
ii libavcodec-ffmpeg56:amd64 7:2.7.2-1build1 amd64 FFmpeg library with de/encoders for audio/video codecs - runtime files
hi libavcodec54:amd64 6:9.18-0ubuntu0.14.04.1 amd64 Libav codec library
ii libavdevice-ffmpeg56:amd64 7:2.7.2-1build1 amd64 FFmpeg library for handling input and output devices - runtime files
ii libavdevice53:amd64 6:9.11-2ubuntu2 amd64 Libav device handling library
ii libavfilter-ffmpeg5:amd64 7:2.7.2-1build1 amd64 FFmpeg library containing media filters - runtime files
ii libavformat-ffmpeg56:amd64 7:2.7.2-1build1 amd64 FFmpeg library with (de)muxers for multimedia containers - runtime files
ii libavformat54:amd64 6:9.11-2ubuntu2 amd64 Libav file format library
ii libavresample-ffmpeg2:amd64 7:2.7.2-1build1 amd64 FFmpeg compatibility library for resampling - runtime files
ii libavutil-ffmpeg54:amd64 7:2.7.2-1build1 amd64 FFmpeg library with functions for simplifying programming - runtime files
ii libavutil52:amd64 6:9.18-0ubuntu0.14.04.1 amd64 Libav utility library
------
Blender version
------
Blender 2.74 (sub 0)
------
frei0r plugins
------
ii frei0r-plugins 1.4-3build1 amd64 minimalistic plugin API for video effects, plugins collection
ii frei0r-plugins-dev 1.4-3build1 amd64 minimalistic plugin API for video effects, header files
------
available source packages

------
ii dpkg-dev 1.18.2ubuntu5 all Debian package development tools
ii frei0r-plugins-dev 1.4-3build1 amd64 minimalistic plugin API for video effects, header files
ii libc-dev-bin 2.21-0ubuntu4 amd64 GNU C Library: Development binaries
ii libc6-dev:amd64 2.21-0ubuntu4 amd64 GNU C Library: Development Libraries and Header Files
ii libgcc-5-dev:amd64 5.2.1-22ubuntu2 amd64 GCC support library (development files)
ii libspnav0 0.2.3-1 amd64 Library to access 3D-input-devices (development files)
ii libstdc++-5-dev:amd64 5.2.1-22ubuntu2 amd64 GNU Standard C++ Library v3 (development files)
ii linux-libc-dev:amd64 4.2.0-17.21 amd64 Linux Kernel Headers for development
ii manpages-dev 3.74-1ubuntu1 all Manual pages about using GNU/Linux for development
libreshot@kickseed:~$


Here it is the results currently working so far, without automation (may differ once it's automated... because of some test/error approaches)

This is the current apt status:

libreshot@kickseed:~$ sudo apt-get install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 19 not upgraded.
libreshot@kickseed:~$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
libmlt++3 libmlt-data libmlt6 libqt4-dbus libqt4-declarative libqt4-network libqt4-opengl libqt4-script
libqt4-sql libqt4-sql-mysql libqt4-svg libqt4-xml libqt4-xmlpatterns libqtcore4 libqtdbus4 libqtgui4 melt
python-mlt qdbus
0 upgraded, 0 newly installed, 0 to remove and 19 not upgraded.
libreshot@kickseed:~$ sudo dpkg --get-selections |grep hold
libavcodec54:amd64 hold
libmlt-data hold
libmlt6 hold
melt hold
libreshot@kickseed:~$


after re-enabling wily repositories. The transitions test project is now succefully rendered!!!

;) ;) ;) ;) ;) :D :D :D :D :D :D
User avatar
beats
Moderator
 
Posts: 417
Joined: Mon Dec 27, 2010 11:25 am

Re: LibreShot fork?

Postby XXLRay » Mon Nov 09, 2015 11:15 pm

Sounds great
XXLRay
OpenShot Veteran
 
Posts: 1069
Joined: Fri Jul 06, 2012 4:10 pm

Re: LibreShot fork?

Postby beats » Fri Nov 13, 2015 8:18 pm

This is the recipe... somebody on 15.10 who want to test it himself?

Code: Select all

sudo sed -i 's/wily/trusty/g' /etc/apt/sources.list
sudo apt-get update
sudo apt-get purge libmlt-data libmlt6 libmlt++3 python-mlt
sudo apt-get install libmlt-data libmlt6 libmlt++3 python-mlt
sudo echo "libmlt6 hold" | sudo dpkg --set-selections
sudo echo "libmlt-data hold" | sudo dpkg --set-selections
sudo echo "libmlt++3 hold" | sudo dpkg --set-selections
sudo echo "python-mlt hold" | sudo dpkg --set-selections
sudo sed -i 's/trusty/wily/g' /etc/apt/sources.list
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install libqt5gui5 libqt5xml5 libqt5svg5


User avatar
beats
Moderator
 
Posts: 417
Joined: Mon Dec 27, 2010 11:25 am

Re: LibreShot fork?

Postby XXLRay » Sun Nov 15, 2015 4:59 pm

I am still on 14.04
XXLRay
OpenShot Veteran
 
Posts: 1069
Joined: Fri Jul 06, 2012 4:10 pm

Re: LibreShot fork?

Postby marianomarini » Sun Nov 15, 2015 5:13 pm

I've 15.10 installed in my AMD 64 bit machine and I use LibreShot with no problem.
Sorry, maybe I missed up something, but what should this test mean? :mrgreen:
User avatar
marianomarini
The voice of Experience
 
Posts: 217
Joined: Wed Jan 19, 2011 12:20 pm

Re: LibreShot fork?

Postby beats » Sun Nov 15, 2015 8:20 pm

On 15.10, i noticed the transitions issue, a bug that seems to be related directly to mlt. You can reproduce yourself, I'll send you an MP to invite you to the dropbox folder!

Meanwhile, other path to reproduce is to download the test pack here:

https://www.dropbox.com/s/cdd8zvwgw63sn ... ar.gz?dl=0

or just using some transitions here and there should reproduce the issue.

Transitions-15.10.PNG
Transitions-15.10.PNG (1.18 MiB) Viewed 21466 times


The script temporarily moves from wily repos to trusty's , and install melt/libmlt6/libmlt++3 , but on 0.9.0 version instead of 0.9.8.
User avatar
beats
Moderator
 
Posts: 417
Joined: Mon Dec 27, 2010 11:25 am

Re: LibreShot fork?

Postby beats » Tue Dec 22, 2015 8:18 pm

Another approach to fix this issue is compile mlt0.9.9 from source packages... More info at libreshot wiki...
User avatar
beats
Moderator
 
Posts: 417
Joined: Mon Dec 27, 2010 11:25 am

Re: LibreShot fork?

Postby beats » Tue Dec 29, 2015 4:29 pm

XXLRay wrote:Mario, I hate to say it but your commit 024b55683ef52eeb64ff7835f72cd3ee8c8294c6 that lets you copy properties from start to end introduced a bug where everytime you open the properties window for a clip the postition is set to 10.0


Any update on this topic? How can i reproduce it?
User avatar
beats
Moderator
 
Posts: 417
Joined: Mon Dec 27, 2010 11:25 am

Re: LibreShot fork?

Postby marianomarini » Wed Dec 30, 2015 6:07 pm

beats wrote:
XXLRay wrote:Mario, I hate to say it but your commit 024b55683ef52eeb64ff7835f72cd3ee8c8294c6 that lets you copy properties from start to end introduced a bug where every time you open the properties window for a clip the position is set to 10.0


Any update on this topic? How can i reproduce it?

This is a problem of XML (.ui) file (maximum range set to 10.0). I have fix it several mounts ago, so I wonder how it's still there. :o
User avatar
marianomarini
The voice of Experience
 
Posts: 217
Joined: Wed Jan 19, 2011 12:20 pm

Re: LibreShot fork?

Postby beats » Wed Dec 30, 2015 6:41 pm

Maybe change was done at code, but not comitted yet? I don't know even how to reproduce the error... so I'm not able to help in this topic :oops: :oops:
User avatar
beats
Moderator
 
Posts: 417
Joined: Mon Dec 27, 2010 11:25 am

Re: LibreShot fork?

Postby marianomarini » Thu Dec 31, 2015 8:37 pm

beats wrote:Maybe change was done at code, but not comitted yet? I don't know even how to reproduce the error... so I'm not able to help in this topic :oops: :oops:

I'll check out sooner.
User avatar
marianomarini
The voice of Experience
 
Posts: 217
Joined: Wed Jan 19, 2011 12:20 pm

Re: LibreShot fork?

Postby XXLRay » Tue Jan 05, 2016 7:36 am

To reproduce it drag a clip to the beginning of a track, make a cut somewhere after ten seconds. Right click the part after the ten second mark and open the properties window. The position then is automatically set to 10.0 instead of something that is more than ten seconds.
XXLRay
OpenShot Veteran
 
Posts: 1069
Joined: Fri Jul 06, 2012 4:10 pm

Re: LibreShot fork?

Postby marianomarini » Wed Jan 04, 2017 4:50 pm

I added a DeShake filter with 3 parameters: shaky level, Accuracy and Step Size.
I've done some little tests and it seem to work fine.
Waiting for comments.
User avatar
marianomarini
The voice of Experience
 
Posts: 217
Joined: Wed Jan 19, 2011 12:20 pm

Re: LibreShot fork?

Postby beats » Fri Jan 20, 2017 8:40 pm

I've just seen it!

https://github.com/XXLRay/libreshot/commits/master

Let me try to find some time and I'll try to test the results, Are we still based on ubuntu16.04 up to date system as described in the git wiki?
User avatar
beats
Moderator
 
Posts: 417
Joined: Mon Dec 27, 2010 11:25 am

Re: LibreShot fork?

Postby beats » Wed Jan 25, 2017 7:13 pm

omg 14.04! i reinstalled in the middle 16.04. i need to review :oops:
User avatar
beats
Moderator
 
Posts: 417
Joined: Mon Dec 27, 2010 11:25 am

PreviousNext

Return to Libreshot

Who is online

Users browsing this forum: No registered users