This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

[GUIDE] Ubuntu repository - maintained by djcj
Just tested, deploy.sh ran through, but reported:
mv -f .deps/patchelf.Tpo .deps/patchelf.Po
g++ -Wall -std=c++11 -D_FILE_OFFSET_BITS=64 -g -O2   -o patchelf patchelf.o  
make[1]: Verzeichnis „/home/selur/workspace/tools/deploy/patchelf/src“ wird verlassen
Making all in tests
make[1]: Verzeichnis „/home/selur/workspace/tools/deploy/patchelf/tests“ wird betreten
make[1]: Für das Ziel „all“ ist nichts zu tun.
make[1]: Verzeichnis „/home/selur/workspace/tools/deploy/patchelf/tests“ wird verlassen
make[1]: Verzeichnis „/home/selur/workspace/tools/deploy/patchelf“ wird betreten
make[1]: Für das Ziel „all-am“ ist nichts zu tun.
make[1]: Verzeichnis „/home/selur/workspace/tools/deploy/patchelf“ wird verlassen
+ cd ..
+ for bin in '$binaries_qt' '$binaries_64bit'
+ ./patchelf/src/patchelf --set-rpath '$ORIGIN/lib' Hybrid
patchelf: cannot find section '.dynamic'. The input file is most likely statically linked
at the end and now I got a deploy folder with the following content
insgesamt 191M
drwxrwxr-x 11 selur selur 4,0K Jul  7 17:20 .
drwxrwxr-x  3 selur selur 4,0K Jul  7 17:18 ..
-rwxrwxr-x  1 selur selur 611K Jul  7 17:19 aac-enc
-rwxrwxr-x  1 selur selur 308K Jul  7 17:19 aften
-rwxrwxr-x  1 selur selur 9,3M Jul  7 17:19 aomenc
-rwxrwxr-x  1 selur selur 1,6M Jul  7 17:19 bdsup2sub++
drwxrwxr-x  2 selur selur 4,0K Jul  7 17:20 bin
-rwxrwxr-x  1 selur selur 199K Jul  7 17:19 delaycut
-rwxrwxr-x  1 selur selur 4,7M Jul  7 17:19 DivX265
drwxrwxr-x 90 selur selur 4,0K Jul  7 17:20 doc
-rwxrwxr-x  1 selur selur  96K Jul  7 17:19 faac
-rwxrwxr-x  1 selur selur 291K Jul  7 17:19 ffdcaenc
-rwxrwxr-x  1 selur selur 7,6M Jul  7 17:19 ffmbc
-rwxrwxr-x  1 selur selur  49M Jul  7 17:19 ffmpeg
-rwxrwxr-x  1 selur selur 663K Jul  7 17:19 flac
-rwxrwxr-x  1 selur selur 144K Jul  7 17:19 FLVExtractCL
-rwxrwxr-x  1 selur selur  43K Jul  7 17:19 FrameCounter
-rwxrwxr-x  1 selur selur  320 Jul  7 17:19 Hybrid
-rwxrwxr-x  1 selur selur  56K Jul  7 17:19 IdxSubCutter
-rwxrwxr-x  1 selur selur 379K Jul  7 17:19 kvazaar
-rwxrwxr-x  1 selur selur 471K Jul  7 17:19 lame
drwxrwxr-x  2 selur selur 4,0K Jul  7 17:20 lib
drwxrwxr-x  2 selur selur 4,0K Jul  7 17:19 lib32
-rwxrwxr-x  1 selur selur 5,1M Jul  7 01:56 linuxdeploy-plugin-qt-x86_64.AppImage
-rwxrwxr-x  1 selur selur 3,4M Jul  7 16:11 linuxdeploy-x86_64.AppImage
-rwxrwxr-x  1 selur selur  31K Jul  7 17:19 lsdvd
-rwxrwxr-x  1 selur selur 6,8M Jul  7 17:19 mediainfo
-rwxrwxr-x  1 selur selur  18M Jul  7 17:19 mencoder
-rwxrwxr-x  1 selur selur 3,0M Jul  7 17:19 mkvextract
-rwxrwxr-x  1 selur selur 2,0M Jul  7 17:19 mkvinfo
-rwxrwxr-x  1 selur selur 5,7M Jul  7 17:19 mkvmerge
-rwxrwxr-x  1 selur selur 3,8M Jul  7 17:19 MP4Box
-rwxrwxr-x  1 selur selur 780K Jul  7 17:19 mp4fpsmod
-rwxrwxr-x  1 selur selur  19M Jul  7 17:19 mplayer
-rwxrwxr-x  1 selur selur 894K Jul  7 17:19 neroAacEnc
-rwxrwxr-x  1 selur selur 198K Jul  7 17:20 nvhsp
-rwxrwxr-x  1 selur selur 905K Jul  7 17:19 oggenc
-rwxrwxr-x  1 selur selur 416K Jul  7 17:19 opusenc
drwxrwxr-x  7 selur selur 4,0K Jul  7 17:20 patchelf
drwxrwxr-x  6 selur selur 4,0K Jul  7 17:20 plugins
-rw-rw-r--  1 selur selur   98 Jul  7 17:20 qt.conf
-rwxrwxr-x  1 selur selur 6,0M Jul  7 17:19 rav1e
drwxrwxr-x  4 selur selur 4,0K Jul  7 17:20 share
-rwxrwxr-x  1 selur selur 642K Jul  7 17:19 sox
-rwxrwxr-x  1 selur selur  36K Jul  7 17:19 telxcc
drwxrwxr-x  2 selur selur 4,0K Jul  7 17:20 translations
-rwxr-xr-x  1 selur selur 909K Jul  7 17:19 tsMuxeR
drwxrwxr-x  2 selur selur 4,0K Jul  7 17:20 usr
-rwxrwxr-x  1 selur selur 4,6M Jul  7 17:19 vpxenc
-rwxrwxr-x  1 selur selur  17M Jul  7 17:19 x264
-rwxrwxr-x  1 selur selur  20M Jul  7 17:19 x265
trying to execute the Hybrid in the deploy folder I get a memory access violation (the Hybrid binary outside the deploy folder and the other executable files work fine).

Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Reply
+ ./patchelf/src/patchelf --set-rpath '$ORIGIN/lib' Hybrid

patchelf: cannot find section '.dynamic'. The input file is most likely statically linked

It's statically linked? I assume it's compressed with upx. Don't do that, leave it uncompressed.

If deploy.sh doesn't fail, it will delete unused files from the deploy directory, leaving the following files:
insgesamt 212M
-rwxrwxr-x   1 djcj djcj 611K Jul  6 15:57 aac-enc
-rwxrwxr-x   1 djcj djcj 308K Jul  6 15:57 aften
-rwxrwxr-x   1 djcj djcj 9,3M Jul  6 15:57 aomenc
-rwxrwxr-x   1 djcj djcj 1,6M Jul  6 15:57 bdsup2sub++
-rwxrwxr-x   1 djcj djcj 199K Jul  6 15:57 delaycut
-rwxrwxr-x   1 djcj djcj 4,7M Jul  6 15:57 DivX265
drwxrwxr-x 100 djcj djcj 4,0K Jul  6 15:57 doc
-rwxrwxr-x   1 djcj djcj  96K Jul  6 15:57 faac
-rwxrwxr-x   1 djcj djcj 291K Jul  6 15:57 ffdcaenc
-rwxrwxr-x   1 djcj djcj 7,6M Jul  6 15:57 ffmbc
-rwxrwxr-x   1 djcj djcj  49M Jul  6 15:57 ffmpeg
-rwxrwxr-x   1 djcj djcj 663K Jul  6 15:57 flac
-rwxrwxr-x   1 djcj djcj 144K Jul  6 15:57 FLVExtractCL
-rwxrwxr-x   1 djcj djcj  43K Jul  6 15:57 FrameCounter
-rwxrwxr-x   1 djcj djcj  30M Jul  6 15:57 Hybrid
-rwxrwxr-x   1 djcj djcj  56K Jul  6 15:57 IdxSubCutter
-rwxrwxr-x   1 djcj djcj 379K Jul  6 15:57 kvazaar
-rwxrwxr-x   1 djcj djcj 471K Jul  6 15:57 lame
drwxrwxr-x   2 djcj djcj 4,0K Jul  6 15:57 lib
drwxrwxr-x   2 djcj djcj 4,0K Jul  6 15:57 lib32
-rwxrwxr-x   1 djcj djcj  31K Jul  6 15:57 lsdvd
-rwxrwxr-x   1 djcj djcj 6,8M Jul  6 15:57 mediainfo
-rwxrwxr-x   1 djcj djcj  17M Jul  6 15:57 mencoder
-rwxrwxr-x   1 djcj djcj 3,0M Jul  6 15:57 mkvextract
-rwxrwxr-x   1 djcj djcj 2,0M Jul  6 15:57 mkvinfo
-rwxrwxr-x   1 djcj djcj 5,7M Jul  6 15:57 mkvmerge
-rwxrwxr-x   1 djcj djcj 3,8M Jul  6 15:57 MP4Box
-rwxrwxr-x   1 djcj djcj 780K Jul  6 15:57 mp4fpsmod
-rwxrwxr-x   1 djcj djcj  18M Jul  6 15:57 mplayer
-rwxrwxr-x   1 djcj djcj 894K Jul  6 15:57 neroAacEnc
-rwxrwxr-x   1 djcj djcj 198K Jul  6 15:57 nvhsp
-rwxrwxr-x   1 djcj djcj 905K Jul  6 15:57 oggenc
-rwxrwxr-x   1 djcj djcj 416K Jul  6 15:57 opusenc
drwxrwxr-x   9 djcj djcj 4,0K Jul  6 15:57 plugins
-rw-rw-r--   1 djcj djcj   69 Jul  6 15:57 qt.conf
-rwxrwxr-x   1 djcj djcj 6,0M Jul  6 15:57 rav1e
-rwxrwxr-x   1 djcj djcj 642K Jul  6 15:57 sox
-rwxrwxr-x   1 djcj djcj  36K Jul  6 15:57 telxcc
-rwxr-xr-x   1 djcj djcj 909K Jul  6 15:57 tsMuxeR
-rwxrwxr-x   1 djcj djcj 4,6M Jul  6 15:57 vpxenc
-rwxrwxr-x   1 djcj djcj  17M Jul  6 15:57 x264
-rwxrwxr-x   1 djcj djcj  20M Jul  6 15:57 x265
Reply
Ah, okay, normally I compress the linux builds with upx to keep the size down (unless I forget it).
-> compiles Hybrid anew, deleted the Hybrid binary in the deploy folder, replaced the Hybrid binary in the main folder with the new (uncompressed one) started the deploy.sh script,....
I then renamed and packed the whole folder: https://drive.google.com/open?id=1ptNzWr...fEXp7vWmZr
Will try to do some testing tomorrow to see whether Hybrid packaged this way runs on different systems.

Cu Selur

Ps.: Thanks!
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Reply
I have a question about vapoursynth:
Does Hybrid make use of it only through vspipe or does it actually dlopen() it?
It also seems to be looking only for "/usr/share/vsscripts".
Wouldn't it be better to specify a path to vspipe and a scripts directory, so that an installation in an uncommon path can be used?
Reply
Hybrid itself only uses Vapoursynth through:
a. vspipe
and
b. vsViewer

About the script directory, in the misc.ini:
vsPluginsPath
and
vsScriptPath
can be specified.
Additionally Hybrid looks for the plugin path under:
  • <Path to Hybrid>/64bit/vsfilters
  • ~/.hybrid/vsfilters
  • /Library/Frameworks/VapourSynth.framework/lib/vapoursynth
and for the script path under:
  • <Path to Hybrid>/64bit/vsscripts
  • /usr/share/vsscripts

Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Reply
I've updated both scripts to build and deploy vsViewer.
https://gist.github.com/darealshinji/78e...e247d61048
Reply
Nice! Seems to work fine!
Some additions would be nice:
  • adding of the Hybrid Vapoursynth scripts
    git clone --depth=1 https://github.com/Selur/VapoursynthScriptsInHybrid vsfilters
Additionally for me it would be helpful if you could add an '--compress' parameter which would cause the script to additionally:
  • rename the folder from 'deploy' to 'hybrid'
  • compressing the 'hybrid' folder using '7z a -m0=lzma2 -mx Hybrid.7z hybrid' in case the script is called with 'deploy --compress'

Next thing needed for would be:
  • a script that could install Vapoursynth and it's plugins.

Cu Selur

Ps.: for anyone who reading this Smile I uploaded a packaged version to https://selur.net/dev/linux/Hybrid_20190713.7z
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Reply
Yes, I can do those additions.

Here's a first version of a Vapoursynth script for Ubuntu 16.04 or newer: https://gist.github.com/darealshinji/1e5...cdfa7d8565
Right now it installs into $HOME/vapoursynth. You can use vspipe if you source the file $HOME/vapoursynth/env.sh
Or does the installation definitely need to be global?
Reply
Quote:Or does the installation definitely need to be global?
I could probably set the environment variables like env.sh does before calling vspipe,...

--
just tried when downloading http://download.divx.com/hevc/DivX265_1_5_8 making it executable and executing it I get the same error. (testing on Ubuntu 19.04 in a VM)

Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Reply
(13.07.2019, 16:22)Selur Wrote:
Quote:Or does the installation definitely need to be global?
I could probably set the environment variables like env.sh does before calling vspipe,...

--
just tried when downloading http://download.divx.com/hevc/DivX265_1_5_8 making it executable and executing it I get the same error. (testing on Ubuntu 19.04 in a VM)

Cu Selur
Probably missing 32 bit support, see my answer here:
https://forum.selur.net/showthread.php?t...79#pid5779
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)