Problem configuring ffmpeg

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Problem configuring ffmpeg

Mahmood Naderan
Hi
When I configure ffmpeg with the following command

$ ./configure --enable-cuda --enable-cuvid --enable-nvenc --enable-nonfree
--enable-libnpp
--extra-cflags=-I/usr/local/cuda/include,../nv-codec-headers/include
--extra-ldflags=-L/usr/local/cuda/lib64

I get this error

ERROR: libnpp not found


As I search apt I see

$ sudo apt install libnpp
libnppc9.1     libnppicc9.1   libnppidei9.1  libnppig9.1    libnppist9.1
libnppitc9.1
libnppial9.1   libnppicom9.1  libnppif9.1    libnppim9.1    libnppisu9.1
libnpps9.1

By installing even all packages, I still get the same error.
Any idea to fix that?

Regards,
Mahmood
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: Problem configuring ffmpeg

Reindl Harald


Am 06.08.19 um 18:38 schrieb Mahmood Naderan:

> When I configure ffmpeg with the following command
>
> $ ./configure --enable-cuda --enable-cuvid --enable-nvenc --enable-nonfree
> --enable-libnpp
> --extra-cflags=-I/usr/local/cuda/include,../nv-codec-headers/include
> --extra-ldflags=-L/usr/local/cuda/lib64
>
> I get this error
>
> ERROR: libnpp not found
>
>
> As I search apt I see
>
> $ sudo apt install libnpp
> libnppc9.1     libnppicc9.1   libnppidei9.1  libnppig9.1    libnppist9.1
> libnppitc9.1
> libnppial9.1   libnppicom9.1  libnppif9.1    libnppim9.1    libnppisu9.1
> libnpps9.1
>
> By installing even all packages, I still get the same error.
> Any idea to fix that?

you need the dev packages to compile and link software against
in general, for every library you want to use
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: Problem configuring ffmpeg

Mahmood Naderan
Hi,
If you look at the apt output, there is no dev package.
Do you know exactly what is that library?

The command I used is mentioned at https://developer.nvidia.com/ffmpeg

Regards,
Mahmood




On Tue, Aug 6, 2019 at 9:19 PM Reindl Harald <[hidden email]> wrote:

>
>
> you need the dev packages to compile and link software against
> in general, for every library you want to use
> _______________________________________________
> ffmpeg-user mailing list
> [hidden email]
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
>
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: Problem configuring ffmpeg

Reindl Harald


Am 06.08.19 um 19:00 schrieb Mahmood Naderan:
> If you look at the apt output, there is no dev package

if you look at your original message there was "As I search apt I see"
followed by "sudo apt install libnpp"

> Do you know exactly what is that library?

i don't give a shit and when you don't know why are you using
"--enable-libnpp" to begin with

> The command I used is mentioned at https://developer.nvidia.com/ffmpeg

in other words: blindly follow random sources without understanding and
you didn't even find it worth to tell us the OS and version you are on

here you go:

https://stackoverflow.com/questions/55813663/ffmpeg-compilation-failed-with-cuda-libnpp-not-found


_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".