[ QMultimedia ] [ 1.200625 ] Set of Multimedia CLI tools

This is the best place for community developers to publish their genius work. Your Apps enrich the QNAP Turbo NAS.
Post Reply
User avatar
QNAP_Stephane
Experience counts
Posts: 3749
Joined: Wed Mar 27, 2013 1:00 am

[ QMultimedia ] [ 1.200625 ] Set of Multimedia CLI tools

Post by QNAP_Stephane » Mon Jan 13, 2020 10:04 pm

Source :

Download :

https://www.qnapclub.eu/fr/qpkg/852

About :

Set of CLI tools to manage your Mulitmedia things, used as well as dependency for some incoming QPKG

this QPKG is embedding

FFMPEG 4.3.0 (/opt/QMultimedia/bin/ffmpeg or /opt/QMultimedia/FFMPEG4.3/bin/ffmpeg)
FFMPEG 4.2.5 ( /opt/QMultimedia/FFMPEG4.2/bin/ffmpeg)
FFMPEG 3.3.9 (/opt/QMultimedia/FFMPEG3.3/bin/ffmpeg)
FFMPEG 3.4.7 (/opt/QMultimedia/FFMPEG3.4/bin/ffmpeg)

all built with maximum depedencies, and all hardware acceleration engine (vaapi, drm, cuda, quicksync....) all under GPL3 + Licence

also VLC 3.0.8 Headless built (/opt/QMultimedia/VLC ) --- Beta
a recent Imagemagick 7.0 release (/opt/QMultimedia/IMAGEMAGICK)

If you want use hw transcoding function over VAAPI please set in you rapplication to use /opt/QMultimedia/bin/ffmpeg and do not forget to export :

export LIBVA_DRIVERS_PATH=/opt/QMultimedia/lib
export LIBVA_DRIVER_NAME=iHD

or

export LIBVA_DRIVER_NAME=i965

Last edited by QNAP_Stephane on Fri Jun 26, 2020 1:47 pm, edited 2 times in total.
--------------------------------------------------------------------------
QnapClub AppCenter - https://www.qnapclub.eu
--------------------------------------------------------------------------

User avatar
QNAP_Stephane
Experience counts
Posts: 3749
Joined: Wed Mar 27, 2013 1:00 am

Re: [ QMultimedia ] [ 1.200115 ] Set of Multimedia CLI tools

Post by QNAP_Stephane » Thu Jan 16, 2020 1:31 am

updated... fix missing libs for AMD series
--------------------------------------------------------------------------
QnapClub AppCenter - https://www.qnapclub.eu
--------------------------------------------------------------------------

morphts873
New here
Posts: 2
Joined: Sat Jan 25, 2020 1:57 am

Re: [ QMultimedia ] [ 1.200115 ] Set of Multimedia CLI tools

Post by morphts873 » Sat Jan 25, 2020 2:22 am

First off, THANK YOU! I love this qpkg. I can´t tell you how much I scrapped my head to get ffmpeg with cuda support on the qnap. I´m still not able to use it though.

I am trying to get this to work for weeks now. Here is a reddit link of a post that I created: Here

In short: I am trying to batch convert thousands of files using the GPU I bought (MSI GTX1050TI, compatible with my TS-873 according to Compatibility List from Qnap). But I can´t get it to run natively, in Linux Station or in Container Station. Your qpkg is getting me so close to my goal.

But I get this error at start:

Code: Select all

[AVHWDeviceContext @ 0x157d140] Cannot load libcuda.so.1

[AVHWDeviceContext @ 0x157d140] Could not dynamically load CUDA

[hevc_cuvid @ 0x157cbc0] Error creating a CUDA device

cuvid hwaccel requested for input stream #0:0, but cannot be initialized.

[hevc_cuvid @ 0x157cbc0] ff_get_format failed: -1

Stream mapping:

Stream #0:0 -> #0:0 (hevc (hevc_cuvid) -> hevc (hevc_nvenc))

Stream #0:1 -> #0:1 (copy)
Drivers from App Center are installed.

Here is a list of all locations where libcuda.so.1 is located.

Code: Select all

[/usr/lib] # ldconfig -p | grep cuda

libcuda.so.1 (libc6,x86-64) => /usr/local/lib/libcuda.so.1

/usr/lib] # find / | grep "libcuda.so.1"

/usr/local/lib/libcuda.so.1

/share/CACHEDEV1_DATA/.qpkg/NVIDIA_GPU_DRV/usr/nvidia.u18.04/libcuda.so.1

/share/CACHEDEV1_DATA/.qpkg/NVIDIA_GPU_DRV/usr/nvidia/libcuda.so.1

/share/CACHEDEV1_DATA/.qpkg/NVIDIA_GPU_DRV/usr/lib/libcuda.so.1

/share/CACHEDEV1_DATA/.qpkg/QMultimedia/FFMPEG4.2/lib/libcuda.so.1

/share/CACHEDEV1_DATA/.qpkg/QMultimedia/lib/libcuda.so.1

/share/CACHEDEV1_DATA/Container/container-station-data/lib/docker/overlay2/9fe1f356effde739ca6f976ddcebb78648cf5d74aea4536be2d281c33f4f41ba/diff/usr/local/cuda-10.1/compat/libcuda.so.1

/share/CACHEDEV1_DATA/Container/container-station-data/lib/docker/overlay2/59b4b1017dcada9375c9d88a64a8719afbc872ddf570ed1201f7f44c89e00370/diff/usr/local/cuda-10.0/compat/libcuda.so.1

User avatar
QNAP_Stephane
Experience counts
Posts: 3749
Joined: Wed Mar 27, 2013 1:00 am

Re: [ QMultimedia ] [ 1.200115 ] Set of Multimedia CLI tools

Post by QNAP_Stephane » Sat Jan 25, 2020 3:33 am

cannot test, i dont have NVidia GPU here...

i guess i must cross compiled The CUDA Toolkit to include it...
but if i remember --enable-cuda option in ffpmeg is a non-free flag and cannot be distributed, i can only compil with GPL 3 dependencies
i need to double check, here just nvec headers are embedded
--------------------------------------------------------------------------
QnapClub AppCenter - https://www.qnapclub.eu
--------------------------------------------------------------------------

morphts873
New here
Posts: 2
Joined: Sat Jan 25, 2020 1:57 am

Re: [ QMultimedia ] [ 1.200115 ] Set of Multimedia CLI tools

Post by morphts873 » Sat Jan 25, 2020 2:41 pm

Thank you for your answer.

Now I understood it a bit more how this works. Well, I am not that Linux savvy that I could do it myself, so I guess I am stuck for now without this functions.

Regrads,
morph

breschi
Starting out
Posts: 10
Joined: Tue Apr 11, 2017 5:20 am

Re: [ QMultimedia ] [ 1.200115 ] Set of Multimedia CLI tools

Post by breschi » Wed Jun 10, 2020 1:47 pm

Hi, I buyed the package but when I tried to install it I received this error:
"Failed to install Mutlimedia Tools. QTS detected an unauthorized change in the app."

I tried also to download the QPKG but the result is the same.

User avatar
QNAP_Stephane
Experience counts
Posts: 3749
Joined: Wed Mar 27, 2013 1:00 am

Re: [ QMultimedia ] [ 1.200625 ] Set of Multimedia CLI tools

Post by QNAP_Stephane » Fri Jun 26, 2020 1:48 pm

updated

Code: Select all

FFMPEG 4.2.2 updated to 4.2.5
FFMPEG 4.3.0 added (default engine)
--------------------------------------------------------------------------
QnapClub AppCenter - https://www.qnapclub.eu
--------------------------------------------------------------------------

crazyf
New here
Posts: 2
Joined: Fri Jul 24, 2020 7:55 pm

Re: [ QMultimedia ] [ 1.200625 ] Set of Multimedia CLI tools

Post by crazyf » Fri Jul 24, 2020 8:01 pm

Does the app have arm version?

User avatar
QNAP_Stephane
Experience counts
Posts: 3749
Joined: Wed Mar 27, 2013 1:00 am

Re: [ QMultimedia ] [ 1.200625 ] Set of Multimedia CLI tools

Post by QNAP_Stephane » Fri Jul 24, 2020 8:03 pm

no only Intel
--------------------------------------------------------------------------
QnapClub AppCenter - https://www.qnapclub.eu
--------------------------------------------------------------------------

crazyf
New here
Posts: 2
Joined: Fri Jul 24, 2020 7:55 pm

Re: [ QMultimedia ] [ 1.200625 ] Set of Multimedia CLI tools

Post by crazyf » Thu Jul 30, 2020 2:41 pm

QNAP_Stephane wrote:
Fri Jul 24, 2020 8:03 pm
no only Intel
Thanks

Post Reply

Return to “Community Apps”