[ QMultimedia ] [ 1.220909 ] 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.
User avatar
QNAP_Stephane
Experience counts
Posts: 4802
Joined: Wed Mar 27, 2013 1:00 am

[ QMultimedia ] [ 1.220909 ] Set of Multimedia CLI tools

Post by QNAP_Stephane »

Source :

Download :

https://www.myqnap.org/product/qmultimedia/

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.4.0 (/opt/QMultimedia/bin/ffmpeg or /opt/QMultimedia/FFMPEG4.4/bin/ffmpeg)
FFMPEG 4.3.0 ( /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 Sat Oct 29, 2022 5:59 pm, edited 5 times in total.
---------------------------------------------------------------------------------------------------------------------------

Find all QPKG in the MyQnap.org repository https://www.myqnap.org
join our discord server for any inquiry related to qpkg - https://discord.gg/4fPxHSWKQW

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

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

Post by QNAP_Stephane »

updated... fix missing libs for AMD series
---------------------------------------------------------------------------------------------------------------------------

Find all QPKG in the MyQnap.org repository https://www.myqnap.org
join our discord server for any inquiry related to qpkg - https://discord.gg/4fPxHSWKQW

----------------------------------------------------------------------------------------------------------------------------
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 »

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: 4802
Joined: Wed Mar 27, 2013 1:00 am

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

Post by QNAP_Stephane »

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
---------------------------------------------------------------------------------------------------------------------------

Find all QPKG in the MyQnap.org repository https://www.myqnap.org
join our discord server for any inquiry related to qpkg - https://discord.gg/4fPxHSWKQW

----------------------------------------------------------------------------------------------------------------------------
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 »

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 »

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: 4802
Joined: Wed Mar 27, 2013 1:00 am

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

Post by QNAP_Stephane »

updated

Code: Select all

FFMPEG 4.2.2 updated to 4.2.5
FFMPEG 4.3.0 added (default engine)
---------------------------------------------------------------------------------------------------------------------------

Find all QPKG in the MyQnap.org repository https://www.myqnap.org
join our discord server for any inquiry related to qpkg - https://discord.gg/4fPxHSWKQW

----------------------------------------------------------------------------------------------------------------------------
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 »

Does the app have arm version?
User avatar
QNAP_Stephane
Experience counts
Posts: 4802
Joined: Wed Mar 27, 2013 1:00 am

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

Post by QNAP_Stephane »

no only Intel
---------------------------------------------------------------------------------------------------------------------------

Find all QPKG in the MyQnap.org repository https://www.myqnap.org
join our discord server for any inquiry related to qpkg - https://discord.gg/4fPxHSWKQW

----------------------------------------------------------------------------------------------------------------------------
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 »

QNAP_Stephane wrote: Fri Jul 24, 2020 8:03 pm no only Intel
Thanks
hwaccel
First post
Posts: 1
Joined: Wed Oct 28, 2020 4:13 pm

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

Post by hwaccel »

Any idea how to make this work with https://github.com/mdhiggins/sickbeard_mp4_automator ?
I've tried setting its ffmpeg path to use this and it errors out.
User avatar
nickiman
Know my way around
Posts: 217
Joined: Thu Nov 13, 2014 11:15 pm
Location: Madrid, Spain

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

Post by nickiman »

Hi,
Yesterday I was trying to install this QPKG after get it in QNAP Club but I have this erro when I try to install it:

Code: Select all

Error	2021-03-22	22:42:53	admin	192.168.10.20	App Center	App Installation	[App Center] Failed to download Mutlimedia Tools from "https://www.qnapclub.eu/api/qpkg/model/download/470554/QMultimedia_1.200625_x86_64.qpkg?api_token=[b]HereAppearsMyAPI[/b]".
In the Purchase History appears as correctly purchased.... Do you have any idea of what´s going on?
TS-453 Pro - FW: QTS 5.1.4.2596
6Tb WD Red WD6002FFWX (x4) with RAID 5
User avatar
QNAP_Stephane
Experience counts
Posts: 4802
Joined: Wed Mar 27, 2013 1:00 am

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

Post by QNAP_Stephane »

yesterday there was some attack on Repo...

try again or download manually the qpkg
---------------------------------------------------------------------------------------------------------------------------

Find all QPKG in the MyQnap.org repository https://www.myqnap.org
join our discord server for any inquiry related to qpkg - https://discord.gg/4fPxHSWKQW

----------------------------------------------------------------------------------------------------------------------------
User avatar
nickiman
Know my way around
Posts: 217
Joined: Thu Nov 13, 2014 11:15 pm
Location: Madrid, Spain

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

Post by nickiman »

QNAP_Stephane wrote: Tue Mar 23, 2021 8:00 pm try again or download manually the qpkg
OK... now seems to be working and has been downloaded from the repo successfully.
QNAP_Stephane wrote: Tue Mar 23, 2021 8:00 pm yesterday there was some attack on Repo...
Ummm this makes me worried

I´ve wake up this morning with a lot of notifications regarding failed login attempts from several IPs during all night long.... Could be related with that attacks to the Repo?
TS-453 Pro - FW: QTS 5.1.4.2596
6Tb WD Red WD6002FFWX (x4) with RAID 5
User avatar
QNAP_Stephane
Experience counts
Posts: 4802
Joined: Wed Mar 27, 2013 1:00 am

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

Post by QNAP_Stephane »

nothin related with qnapclub

change your 8080 QTS port to custom ones, also SSH por
---------------------------------------------------------------------------------------------------------------------------

Find all QPKG in the MyQnap.org repository https://www.myqnap.org
join our discord server for any inquiry related to qpkg - https://discord.gg/4fPxHSWKQW

----------------------------------------------------------------------------------------------------------------------------
Post Reply

Return to “Community Apps”