David
I am ready to commit the first stage of NVDEC support (NVidia hardware
decode). In order to build FFmpeg with NVDEC support it needs something
unusual.
You need to clone the repo git@github.com:FFmpeg/nv-codec-headers.git
and run "sudo make install". All this does is install some header files
into /usr/local/include/ffnvcodec and installs a pkgconfig file in
/usr/local/lib/pkgconfig. The ffmpeg build looks for the pkginfo
information to find the header files.
peter@raza:~$ ls -l /usr/local/include/ffnvcodec
-rw-r--r-- 1 root root 14233 Dec 9 18:43 dynlink_cuda.h
-rw-r--r-- 1 root root 49467 Dec 9 18:43 dynlink_cuviddec.h
-rw-r--r-- 1 root root 17015 Dec 9 18:43 dynlink_loader.h
-rw-r--r-- 1 root root 22042 Dec 9 18:43 dynlink_nvcuvid.h
-rw-r--r-- 1 root root 198550 Dec 9 18:43 nvEncodeAPI.h
peter@raza:~$ ls -l /usr/local/lib/pkgconfig
-rw-r--r-- 1 root root 162 Dec 9 18:43 ffnvcodec.pc
peter@raza:~$ cat /usr/local/lib/pkgconfig/ffnvcodec.pc
prefix=/usr/local
includedir=${prefix}/include
Name: ffnvcodec
Description: FFmpeg version of Nvidia Codec SDK headers
Version: 8.2.15.7
Cflags: -I${includedir}
I could not find any Ubuntu package that contains these files that could
be added as a dependency.
I think the best action is to add a copy of the ffnvcodec repository to
the mythtv/external directory. Before ffmpeg is built, build ffnvcodec
with a prefix that is in some temporary location, and add the temporary
location for the pkgconfig directory to the PKG_CONFIG_PATH environment
variable. What do you think?
Peter
_______________________________________________
mythtv-dev mailing list
mythtv-dev@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-dev
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org
I am ready to commit the first stage of NVDEC support (NVidia hardware
decode). In order to build FFmpeg with NVDEC support it needs something
unusual.
You need to clone the repo git@github.com:FFmpeg/nv-codec-headers.git
and run "sudo make install". All this does is install some header files
into /usr/local/include/ffnvcodec and installs a pkgconfig file in
/usr/local/lib/pkgconfig. The ffmpeg build looks for the pkginfo
information to find the header files.
peter@raza:~$ ls -l /usr/local/include/ffnvcodec
-rw-r--r-- 1 root root 14233 Dec 9 18:43 dynlink_cuda.h
-rw-r--r-- 1 root root 49467 Dec 9 18:43 dynlink_cuviddec.h
-rw-r--r-- 1 root root 17015 Dec 9 18:43 dynlink_loader.h
-rw-r--r-- 1 root root 22042 Dec 9 18:43 dynlink_nvcuvid.h
-rw-r--r-- 1 root root 198550 Dec 9 18:43 nvEncodeAPI.h
peter@raza:~$ ls -l /usr/local/lib/pkgconfig
-rw-r--r-- 1 root root 162 Dec 9 18:43 ffnvcodec.pc
peter@raza:~$ cat /usr/local/lib/pkgconfig/ffnvcodec.pc
prefix=/usr/local
includedir=${prefix}/include
Name: ffnvcodec
Description: FFmpeg version of Nvidia Codec SDK headers
Version: 8.2.15.7
Cflags: -I${includedir}
I could not find any Ubuntu package that contains these files that could
be added as a dependency.
I think the best action is to add a copy of the ffnvcodec repository to
the mythtv/external directory. Before ffmpeg is built, build ffnvcodec
with a prefix that is in some temporary location, and add the temporary
location for the pkgconfig directory to the PKG_CONFIG_PATH environment
variable. What do you think?
Peter
_______________________________________________
mythtv-dev mailing list
mythtv-dev@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-dev
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org