Re: [FFmpeg-user] Compiling FFmpeg for nvidia hardware encoding on Debian 12

2023-11-27 Thread Carl Zwanzig

On 11/27/2023 9:23 AM, Andrew Randrianasulu wrote:

If you need only ffmpeg - you can try and skip those dependencies 


Or add --disable-ffplay (and maybe --disable-ffprobe) to the configure line. 
If you don't need the player, why build it?


z!
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".


Re: [FFmpeg-user] Compiling FFmpeg for nvidia hardware encoding on Debian 12

2023-11-27 Thread Andrew Randrianasulu
пн, 27 нояб. 2023 г., 19:54 Lowell Friesen :

> Hi there,
>
> I’m trying to compile FFmpeg on Debian 12 to enable hardware encoding
> with an Nvidia graphics card, but am having some issues. I have
> installed the nvidia driver and cuda toolkit. This is the output of
> |nvidia-smi|:
>
> |+-+
>
> | NVIDIA-SMI 525.125.06 Driver Version: 525.125.06 CUDA Version: 12.0 |
> |---+--+--+
>
> | GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC | | Fan
> Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. | | | | MIG
> M. |
> |===+==+==|
>
> | 0 NVIDIA GeForce ... On | :01:00.0 On | N/A | | 0% 45C P2 46W
> / 163W | 1052MiB / 4096MiB | 2% Default | | | | N/A |
> +---+--+--+
>
> +-+
>
> | Processes: | | GPU GI CI PID Type Process name GPU Memory | | ID ID
> Usage |
> |=|
>
> | 0 N/A N/A 1697 G /usr/lib/xorg/Xorg 275MiB | | 0 N/A N/A 1862 G
> /usr/bin/gnome-shell 55MiB | | 0 N/A N/A 2086 G
> ...ud-3.10.1-x86_64.AppImage 2MiB | | 0 N/A N/A 3096 G
> /usr/lib/firefox/firefox 448MiB | | 0 N/A N/A 3905 G
> ...b/thunderbird/thunderbird 183MiB | | 0 N/A N/A 5558 G
> /usr/bin/nautilus 41MiB | | 0 N/A N/A 6235 G
> ...936111296816443610,262144 12MiB | | 0 N/A N/A 117598 G
> ...RendererForSitePerProcess 15MiB |
> +-+
>
> |
>
> Consulting the FFmpeg’s compilation guide
>  I am given a list
> of dependencies to install. Two of them (|libsdl2-dev| and
> |libvdpau-dev|) give me the following error when I attempt to install them:
>

libvdpau is only useful for decoding, and without libsdl2 you will not have
ffplay.

If you need only ffmpeg - you can try and skip those dependencies 



> |The following packages have unmet dependencies: libx11-dev : Depends:
> libx11-6 (= 2:1.8.4-2+deb12u1) but 2:1.8.7-1 is to be installed |
>
> I would install the older version of |libx11-dev| except that |sudo apt
> install libx11-6=2:1.8.4-2+deb12u1| gives me such a long list of
> packages that will be removed that I have the strong suspicion I would
> be left with an unusable system if I went ahead with it.
>
> |Reading package lists... Done Building dependency tree... Done Reading
> state information... Done The following packages were automatically
> installed and are no longer required: apg avahi-utils bogofilter
> bogofilter-bdb bogofilter-common brasero-common ca-certificates-java
> cdrdao cheese-common chromium-sandbox coinor-libcbc3 coinor-libcgl1
> coinor-libclp1 coinor-libcoinmp1v5 coinor-libcoinutils3v5
> coinor-libosi1v5 default-jre-headless docbook-xml espeak-ng-data
> evolution-common evolution-data-server-common firebird3.0-common
> firebird3.0-common-doc firebird3.0-server-core firebird3.0-utils
> folks-common fonts-dejavu fonts-dejavu-extra fonts-font-awesome
> gimp-data gir1.2-accountsservice-1.0 gir1.2-atspi-2.0 gir1.2-evince-3.0
> gir1.2-gck-1 gir1.2-gcr-3 gir1.2-gdm-1.0 gir1.2-geocodeglib-2.0
> gir1.2-gmenu-3.0 gir1.2-gnomebluetooth-3.0 gir1.2-gnomedesktop-3.0
> gir1.2-grilo-0.3 gir1.2-gstreamer-1.0 gir1.2-gtksource-4 gir1.2-ibus-1.0
> gir1.2-javascriptcoregtk-4.0 gir1.2-javascriptcoregtk-4.1
> gir1.2-json-1.0 gir1.2-malcontent-0 gir1.2-mediaart-2.0 gir1.2-nm-1.0
> gir1.2-nma-1.0 gir1.2-polkit-1.0 gir1.2-rest-1.0 gir1.2-rsvg-2.0
> gir1.2-shumate-1.0 gir1.2-soup-2.4 gir1.2-soup-3.0 gir1.2-totem-1.0
> gir1.2-totemplparser-1.0 gir1.2-tracker-3.0 gir1.2-upowerglib-1.0
> gnome-control-center-data gnome-session-common
> gnome-settings-daemon-common gnome-shell-common graphviz
> grilo-plugins-0.3 gsfonts gstreamer1.0-x i965-va-driver ibus ibus-data
> ibus-gtk ibus-gtk3 ibus-gtk4 ibverbs-providers im-config
> imagemagick-6-common intel-media-va-driver java-common libaa1
> libabw-0.1-1 libamd2 libann0 libasyncns0 libavc1394-0 libbabl-0.1-0
> libblas3 libbotan-2-19 libbox2d2 libbrasero-media3-1 libbrlapi0.8
> libbs2b0 libburn4 libcaca0 libcamd2 libcamel-1.2-64 libccolamd2
> libcdr-0.1-1 libcdt5 libcgraph6 libcholmod3 libcjson1
> libclutter-1.0-common libcmark0.30.2 libcodec2-1.0 libcogl-common
> libcolamd2 libcolord-gtk4-1 libdbus-glib-1-2 libdc1394-25 libdca0
> libdecor-0-0 libdecor-0-plugin-1-cairo libdee-1.0-4 libdmapsharing-3.0-2
> libdotconf0 libdouble-conversion3 libdrm-amdgpu1 libdrm-intel1
> libdrm-nouveau2 libdrm-radeon1 libdv4 libdvdnav4 libe-book-0.1-1
> libebackend-1.2-11 libebook-1.2-21 libebook-contacts-1.2-4 libecal-2.0-2
> libedata-book-1.2-27 libedata-cal-2.0-2 libedataserver-1.2-27
> libel-api-java libenca0 libepubgen-0.1-1 

[FFmpeg-user] Compiling FFmpeg for nvidia hardware encoding on Debian 12

2023-11-27 Thread Lowell Friesen

Hi there,

I’m trying to compile FFmpeg on Debian 12 to enable hardware encoding 
with an Nvidia graphics card, but am having some issues. I have 
installed the nvidia driver and cuda toolkit. This is the output of 
|nvidia-smi|:


|+-+ 
| NVIDIA-SMI 525.125.06 Driver Version: 525.125.06 CUDA Version: 12.0 | 
|---+--+--+ 
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC | | Fan 
Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. | | | | MIG 
M. | 
|===+==+==| 
| 0 NVIDIA GeForce ... On | :01:00.0 On | N/A | | 0% 45C P2 46W 
/ 163W | 1052MiB / 4096MiB | 2% Default | | | | N/A | 
+---+--+--+ 
+-+ 
| Processes: | | GPU GI CI PID Type Process name GPU Memory | | ID ID 
Usage | 
|=| 
| 0 N/A N/A 1697 G /usr/lib/xorg/Xorg 275MiB | | 0 N/A N/A 1862 G 
/usr/bin/gnome-shell 55MiB | | 0 N/A N/A 2086 G 
...ud-3.10.1-x86_64.AppImage 2MiB | | 0 N/A N/A 3096 G 
/usr/lib/firefox/firefox 448MiB | | 0 N/A N/A 3905 G 
...b/thunderbird/thunderbird 183MiB | | 0 N/A N/A 5558 G 
/usr/bin/nautilus 41MiB | | 0 N/A N/A 6235 G 
...936111296816443610,262144 12MiB | | 0 N/A N/A 117598 G 
...RendererForSitePerProcess 15MiB | 
+-+ 
|


Consulting the FFmpeg’s compilation guide 
 I am given a list 
of dependencies to install. Two of them (|libsdl2-dev| and 
|libvdpau-dev|) give me the following error when I attempt to install them:


|The following packages have unmet dependencies: libx11-dev : Depends: 
libx11-6 (= 2:1.8.4-2+deb12u1) but 2:1.8.7-1 is to be installed |


I would install the older version of |libx11-dev| except that |sudo apt 
install libx11-6=2:1.8.4-2+deb12u1| gives me such a long list of 
packages that will be removed that I have the strong suspicion I would 
be left with an unusable system if I went ahead with it.


|Reading package lists... Done Building dependency tree... Done Reading 
state information... Done The following packages were automatically 
installed and are no longer required: apg avahi-utils bogofilter 
bogofilter-bdb bogofilter-common brasero-common ca-certificates-java 
cdrdao cheese-common chromium-sandbox coinor-libcbc3 coinor-libcgl1 
coinor-libclp1 coinor-libcoinmp1v5 coinor-libcoinutils3v5 
coinor-libosi1v5 default-jre-headless docbook-xml espeak-ng-data 
evolution-common evolution-data-server-common firebird3.0-common 
firebird3.0-common-doc firebird3.0-server-core firebird3.0-utils 
folks-common fonts-dejavu fonts-dejavu-extra fonts-font-awesome 
gimp-data gir1.2-accountsservice-1.0 gir1.2-atspi-2.0 gir1.2-evince-3.0 
gir1.2-gck-1 gir1.2-gcr-3 gir1.2-gdm-1.0 gir1.2-geocodeglib-2.0 
gir1.2-gmenu-3.0 gir1.2-gnomebluetooth-3.0 gir1.2-gnomedesktop-3.0 
gir1.2-grilo-0.3 gir1.2-gstreamer-1.0 gir1.2-gtksource-4 gir1.2-ibus-1.0 
gir1.2-javascriptcoregtk-4.0 gir1.2-javascriptcoregtk-4.1 
gir1.2-json-1.0 gir1.2-malcontent-0 gir1.2-mediaart-2.0 gir1.2-nm-1.0 
gir1.2-nma-1.0 gir1.2-polkit-1.0 gir1.2-rest-1.0 gir1.2-rsvg-2.0 
gir1.2-shumate-1.0 gir1.2-soup-2.4 gir1.2-soup-3.0 gir1.2-totem-1.0 
gir1.2-totemplparser-1.0 gir1.2-tracker-3.0 gir1.2-upowerglib-1.0 
gnome-control-center-data gnome-session-common 
gnome-settings-daemon-common gnome-shell-common graphviz 
grilo-plugins-0.3 gsfonts gstreamer1.0-x i965-va-driver ibus ibus-data 
ibus-gtk ibus-gtk3 ibus-gtk4 ibverbs-providers im-config 
imagemagick-6-common intel-media-va-driver java-common libaa1 
libabw-0.1-1 libamd2 libann0 libasyncns0 libavc1394-0 libbabl-0.1-0 
libblas3 libbotan-2-19 libbox2d2 libbrasero-media3-1 libbrlapi0.8 
libbs2b0 libburn4 libcaca0 libcamd2 libcamel-1.2-64 libccolamd2 
libcdr-0.1-1 libcdt5 libcgraph6 libcholmod3 libcjson1 
libclutter-1.0-common libcmark0.30.2 libcodec2-1.0 libcogl-common 
libcolamd2 libcolord-gtk4-1 libdbus-glib-1-2 libdc1394-25 libdca0 
libdecor-0-0 libdecor-0-plugin-1-cairo libdee-1.0-4 libdmapsharing-3.0-2 
libdotconf0 libdouble-conversion3 libdrm-amdgpu1 libdrm-intel1 
libdrm-nouveau2 libdrm-radeon1 libdv4 libdvdnav4 libe-book-0.1-1 
libebackend-1.2-11 libebook-1.2-21 libebook-contacts-1.2-4 libecal-2.0-2 
libedata-book-1.2-27 libedata-cal-2.0-2 libedataserver-1.2-27 
libel-api-java libenca0 libepubgen-0.1-1 libetonyek-0.1-1 libevdev2 
libfaad2 libfbclient2 libfftw3-double3 libflatpak0 libflite1 libfolks26 
libfreeaptx0 libfreehand-0.1-1 libgail-3-0 libgail-common libgail18 
libgbm1 libgdm1 libgegl-common libgfortran5 libgl1-mesa-dri 
libglapi-mesa libgles-nvidia1 libgles-nvidia2 libgles1 libgles2 
libglu1-mesa 

Re: [FFmpeg-user] compiling ffmpeg for nvidia gpu under Debian Bullseye

2021-02-11 Thread Steve Newcomb



On 2/11/21 9:35 AM, Moritz Barsnick wrote:

Did you give feedback to nvidia regarding their document?
I wanted to, so I looked around, probably not long enough, and I found 
no obvious way to do so.   I saw no "feedback" links anywhere.  The 
document I was working from was presumably revised last October, I 
think.  To be sure, that doc was extremely helpful, just a tiny bit 
buggy.  Also helpful was the fact that the ffmpeg configuration log said 
exactly what was wrong (deprecated arg) and how to fix the problem.




perhaps ffmpeg developers need to look at [nvccflags_default value in configure]


I still don't know how to report effectively to that crew.  The last time I 
tried to put in my $0.02 was unpleasant and frustrating.  Feel free to tell me 
how to contribute effectively, or to put it through channels yourself.  It does 
seem pretty clear that the configure script as presently written will always 
fail.

Thanks for noticing that I'm trying, Moritz!  One does what one can.

Steve

___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] compiling ffmpeg for nvidia gpu under Debian Bullseye

2021-02-11 Thread Moritz Barsnick
On Wed, Feb 10, 2021 at 13:53:32 -0500, Steve Newcomb wrote:
> about what happened and how I eventually succeeded.  (I did everything as
> superuser, so you won't see any "sudo" below.)

I do see sudo below. And I don't see any reason to do any steps beyond
installation as superuser or with sudo. Don't compile as root!

> cd nv-codec-headers && sudo make install && cd –
> This worked, but the final invocation of cd was uninterpretable due to the
> last character's being garbled (by my browser? or by Emacs?).  I followed
> this incantation with a "cd ..", which turned out to be the right thing to
> do.

In nvidia's instruction, the web code apparently inserted some fancy
dash '–' instead of the regular '-'.

> apt-get install build-essential yasm cmake libtool libc6 libc6-dev unzip wget 
> libnuma1 libnuma-dev
> This turned out not to be enough packages.  I ended up installing the 
> following packages, as well, even if some of them may not be strictly 
> necessary.
> I always install lots of utility packages which don't appear on this list, so 
> this list, too, may not be complete:
> nvidia-detect
> nvidia-driver
> libnvidia-encode1
> libnppc11
> libnppial11
> libnppicc11
> libnppidei11
> libnppif11
> libnppig11
> libnppim11
> libnppist11
> libnppisu11
> libnppitc11
> libnpps11
> nvidia-cg-toolkit
> nvidia-cuda-gdb
> nvidia-cuda-toolkit
> nvidia-cuda-toolkit-gcc
> nvtop

These all look like nvidia's dependencies. Could it be that they are
part of the mentioned "CUDA toolkit", as listed under "Prerequisites"?
(Though if you can get them from the system repos, I think's that's
fine. Just perhaps not what nvidia wants you to do.)

> ./configure --enable-nonfree -–enable-cuda-sdk –enable-libnpp
> --extra-cflags=-I/usr/local/cuda/include
> --extra-ldflags=-L/usr/local/cuda/lib64
> This incantation had 2 problems.
>
> (1) --enable-cuda-sdk is an obsolete argument.  I changed it to 
> --enable-cuda-nvcc
>
> (2) The configure failed with the report: "ERROR: failed checking for nvcc."  
> Why?
>     The configure script checks nvcc by passing itan obsolete architecture
> code, "compute_30", which modern nvcc does not support.  
> 
> I edited the part of the configure script that says:
> if enabled cuda_nvcc; then
> nvcc_default="nvcc"
> nvccflags_default="-gencode arch=compute_30,code=sm_30 -O2"
> else
> nvcc_default="clang"
> nvccflags_default="--cuda-gpu-arch=sm_30 -O2"
> NVCC_C=""
> fi
> ...so it instead said:
> if enabled cuda_nvcc; then
> nvcc_default="nvcc"
> nvccflags_default="-gencode arch=compute_75,code=sm_75 -O2"
> else
> nvcc_default="clang"
> nvccflags_default="--cuda-gpu-arch=sm_75 -O2"
> NVCC_C=""
> fi
> ...although apparently it would have been fine to change "30" to "50" 
> instead of "75" as I did.
> Perhaps ffmpeg developers should make this change, or do something 
> similar.

Indeed, perhaps ffmpeg developers need to look at this.

Did you give feedback to nvidia regarding their document?

Thanks,
cheers,
Moritz
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

[FFmpeg-user] compiling ffmpeg for nvidia gpu under Debian Bullseye

2021-02-10 Thread Steve Newcomb
I'm hoping to encode h265 streams using my new nvidia glx1650-super.  As 
a Debian devotee, the first thing I learned was that the drivers aren't 
available in the Debian 10 ("stable") repository, so I did a fresh 
install of Debian Bullseye ("testing").  That done, I attempted to 
compile ffmpeg, following the ffmpeg compilation instructions provided 
at 
https://docs.nvidia.com/video-technologies/video-codec-sdk/ffmpeg-with-nvidia-gpu/ 
. 
I succeeded eventually, after encountering problems.  Here are the 
instructions provided at the aforementioned link, but with added 
commentary about what happened and how I eventually succeeded.  (I did 
everything as superuser, so you won't see any "sudo" below.)


git clone https://git.videolan.org/git/ffmpeg/nv-codec-headers.git
No problem here.

cd nv-codec-headers && sudo make install && cd –
This worked, but the final invocation of cd was uninterpretable due to 
the last character's being garbled (by my browser? or by Emacs?).  I 
followed this incantation with a "cd ..", which turned out to be the 
right thing to do.


git clone https://git.ffmpeg.org/ffmpeg.git ffmpeg/
No problem here.

apt-get install build-essential yasm cmake libtool libc6 libc6-dev unzip wget 
libnuma1 libnuma-dev
This turned out not to be enough packages.  I ended up installing the following 
packages, as well, even if some of them may not be strictly necessary.
I always install lots of utility packages which don't appear on this list, so 
this list, too, may not be complete:
nvidia-detect
nvidia-driver
libnvidia-encode1
libnppc11
libnppial11
libnppicc11
libnppidei11
libnppif11
libnppig11
libnppim11
libnppist11
libnppisu11
libnppitc11
libnpps11
nvidia-cg-toolkit
nvidia-cuda-gdb
nvidia-cuda-toolkit
nvidia-cuda-toolkit-gcc
nvtop

./configure --enable-nonfree -–enable-cuda-sdk –enable-libnpp 
--extra-cflags=-I/usr/local/cuda/include 
--extra-ldflags=-L/usr/local/cuda/lib64

This incantation had 2 problems.

(1) --enable-cuda-sdk is an obsolete argument.  I changed it to 
--enable-cuda-nvcc

(2) The configure failed with the report: "ERROR: failed checking for nvcc."  
Why?
    The configure script checks nvcc by passing itan obsolete architecture code, "compute_30", which modern nvcc does not 
support.     I edited the part of the configure script that says:

if enabled cuda_nvcc; then
nvcc_default="nvcc"
nvccflags_default="-gencode arch=compute_30,code=sm_30 -O2"
else
nvcc_default="clang"
nvccflags_default="--cuda-gpu-arch=sm_30 -O2"
NVCC_C=""
fi
...so it instead said:
if enabled cuda_nvcc; then
nvcc_default="nvcc"
nvccflags_default="-gencode arch=compute_75,code=sm_75 -O2"
else
nvcc_default="clang"
nvccflags_default="--cuda-gpu-arch=sm_75 -O2"
NVCC_C=""
fi
...although apparently it would have been fine to change "30" to "50" instead of 
"75" as I did.
Perhaps ffmpeg developers should make this change, or do something similar.
That done, the configure incantation that actually worked was:
./configure --enable-nonfree --enable-cuda-nvcc --enable-libnpp 
--extra-cflags=-I/usr/local/cuda/include --extra-ldflags=-L/usr/local/cuda/lib64

make -j 8
No problem here.

make install
No problem here.


___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Compiling FFMpeg

2021-01-18 Thread Bryce McLeod
They don't necessarily "break" it for gcc but the fact that there are
repeated flags (eg. -w,-ftree-slp-vectorize, -fno-strict-aliasing),
seemingly redundant (-ftree-slp-vectorize after -O3) and
apparently conflicting options (eg. both -O2 and -O3) indicates it should
at least be reviewed.
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Compiling FFMpeg

2021-01-17 Thread Reindl Harald



Am 17.01.21 um 22:39 schrieb Carl Eugen Hoyos:

Am Fr., 15. Jan. 2021 um 11:29 Uhr schrieb Reindl Harald
:


configuration: --prefix=/usr/local --bindir=/usr/local/bin
--mandir=/usr/local/man
--extra-cflags=


Since other people may read this:
Generally, extra-*flags should only be used if really necessary,
the configure line in question looks very broken


you repeat that bullshit now for nearly a decade
what is broken and why?
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Compiling FFMpeg

2021-01-17 Thread Carl Eugen Hoyos
Am Fr., 15. Jan. 2021 um 11:29 Uhr schrieb Reindl Harald
:

>configuration: --prefix=/usr/local --bindir=/usr/local/bin
> --mandir=/usr/local/man
> --extra-cflags=

Since other people may read this:
Generally, extra-*flags should only be used if really necessary,
the configure line in question looks very broken.

Carl Eugen
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Compiling FFmpeg with Nvidia GPU acceleration

2021-01-17 Thread madderek--- via ffmpeg-user


-Original Message-
From: ffmpeg-user  On Behalf Of Carl Zwanzig
Sent: 17 January 2021 21:07
To: ffmpeg-user@ffmpeg.org
Subject: Re: [FFmpeg-user] Compiling FFmpeg with Nvidia GPU acceleration

Yes, you are right that I don't understand the compilation of software 
packages.  That's why I was hoping that someone would be kind enough to explain 
how to solve the problem, even if it's not an ffmpeg issue.
The instruction that I am using to produce a video from images works, it's just 
very slow.

Derek
Please fix your email quoting and send plain text to this list.

On 1/16/2021 6:47 AM, madderek--- via ffmpeg-user wrote:
> C:\Windows\System32\nv-codec-headers>make install PREFIX=/usr
> 
> make: *** No rule to make target `install'.  Stop.

It really sounds like you are not familiar with the basic tools used to compile 
& build software packages. I realize that "I'm not an expert on any of this!" 
but you need to do some research about the command line build tools and how to 
use them. This is not an ffmpeg issue.

As I said previously, try first building ffmpeg using the instruction from 
ffmpeg and without nvidia/cuda; only when that works try adding nvidia.

Later,

z!
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with 
subject "unsubscribe".

___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Compiling FFmpeg with Nvidia GPU acceleration

2021-01-17 Thread Carl Zwanzig

Please fix your email quoting and send plain text to this list.

On 1/16/2021 6:47 AM, madderek--- via ffmpeg-user wrote:

C:\Windows\System32\nv-codec-headers>make install PREFIX=/usr

make: *** No rule to make target `install'.  Stop.


It really sounds like you are not familiar with the basic tools used to 
compile & build software packages. I realize that "I'm not an expert on any 
of this!" but you need to do some research about the command line build 
tools and how to use them. This is not an ffmpeg issue.


As I said previously, try first building ffmpeg using the instruction from 
ffmpeg and without nvidia/cuda; only when that works try adding nvidia.


Later,

z!
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Compiling FFmpeg with Nvidia GPU acceleration

2021-01-16 Thread Michael Shaffer
Yes, it replaces Windows.

https://ubuntu.com/tutorials/install-ubuntu-desktop#1-overview

On Sat, Jan 16, 2021 at 10:49 AM madderek--- via ffmpeg-user <
ffmpeg-user@ffmpeg.org> wrote:

>
>
> -Original Message-
> From: ffmpeg-user  On Behalf Of Michael
> Shaffer
> Sent: 16 January 2021 15:23
> To: FFmpeg user questions 
> Subject: Re: [FFmpeg-user] Compiling FFmpeg with Nvidia GPU acceleration
>
> Thanks for reply
>
> Does that mean installing ubuntu rather than Windows? (which I've never
> done but happy to try!!)
>
> Derek
>
> You could try using Ubuntu Linux. I followed the Nvidia instructions for
> installing acceleration on my GTX 1080 and it worked fine.
>
> On Sat, Jan 16, 2021 at 9:47 AM madderek--- via ffmpeg-user <
> ffmpeg-user@ffmpeg.org> wrote:
>
> >
> >
> >
> >
> > -Original Message-
> > From: ffmpeg-user  On Behalf Of Carl
> > Zwanzig
> > Sent: 15 January 2021 21:13
> > To: ffmpeg-user@ffmpeg.org
> > Subject: Re: [FFmpeg-user] Compiling FFmpeg with Nvidia GPU
> > acceleration
> >
> >
> >
> > Thanks very much for taking the trouble to reply.
> >
> >
> >
> > I'm following the instructions here, Windows section:
> >
> >
> > https://docs.nvidia.com/video-technologies/video-codec-sdk/ffmpeg-with
> > -nvidia-gpu/
> >
> >
> >
> > What I'm trying to achieve is joining many images together which have
> > been produced by a video enhancing program.  The command line is:
> >
> > ffmpeg -framerate 59.94  -start_number 160004 -i P:\xmas5\%06d.png
> > -c:v
> > libx264 -preset veryslow -tune film -profile:v high -pix_fmt yuv420p
> > -level
> > 4.1 -crf 17 -r 59.94 -threads 2
> > P:\xmaspng_80002-99932_Dione-DVx4_png.mkv
> >
> >
> >
> > Some times it's TIFFs not PNGs.
> >
> >
> >
> > I am hoping that the Nvidia GPU acceleration will speed up what is a
> > very slow process.  That's all I want it for, and I'm trying to
> > achieve this on a clean install of Windows 10 on a spare disc.  Nvidia
> RTX 2080Ti.
> >
> > I've managed to install make (I'm not an expert on any of this!) but
> > now the make command produces:
> >
> >
> >
> > C:\Windows\System32\nv-codec-headers>make install PREFIX=/usr
> >
> > make: *** No rule to make target `install'.  Stop.
> >
> >
> >
> > The makefile in that directory contains:
> >
> >
> >
> > PREFIX = /usr/local
> >
> > LIBDIR = lib
> >
> > INSTALL = install
> >
> > SED = sed
> >
> >
> >
> > all:
> >
> > ifeq ($(OS),Windows_NT)
> >
> >   $(SED) 's#@@PREFIX@@#$(shell cygpath -m ${PREFIX})#'
> > ffnvcodec.pc.in > ffnvcodec.pc
> >
> > else
> >
> >   $(SED) 's#@@PREFIX@@#$(PREFIX)#' ffnvcodec.pc.in >
> > ffnvcodec.pc
> >
> > endif
> >
> >
> >
> > install: all
> >
> >   $(INSTALL) -m 0755 -d
> '$(DESTDIR)$(PREFIX)/include/ffnvcodec'
> >
> >   $(INSTALL) -m 0644 include/ffnvcodec/*.h
> > '$(DESTDIR)$(PREFIX)/include/ffnvcodec'
> >
> >   $(INSTALL) -m 0755 -d
> > '$(DESTDIR)$(PREFIX)/$(LIBDIR)/pkgconfig'
> >
> >   $(INSTALL) -m 0644 ffnvcodec.pc
> > '$(DESTDIR)$(PREFIX)/$(LIBDIR)/pkgconfig'
> >
> >
> >
> > uninstall:
> >
> >   rm -rf '$(DESTDIR)$(PREFIX)/include/ffnvcodec'
> > '$(DESTDIR)$(PREFIX)/$(LIBDIR)/pkgconfig/ffnvcodec.pc'
> >
> >
> >
> > .PHONY: all install uninstall
> >
> >
> >
> > The following command from the documentation also fails:
> >
> >
> >
> > C:\FFmpeg>./configure --enable-nonfree -disable-shared
> > --enable-cuda-sdk --enable-libnpp --toolchain=msvc
> > --extra-cflags=-I../nv_sdk --extra-ldflags=-libpath:../nv_sdk
> >
> > '.' is not recognized as an internal or external command,
> >
> > operable program or batch file.
> >
> >
> >
> > But I'm not sure whether this is due to the previous failure.
> >
> >
> >
> > If I'm on the completely wrong track I'm prepared to format the disc
> > and start again!  (What a pity there's not an image of Windows all
> > prepared with this and ready to go!)
> >
> >
> >
> > Thanks again for taking an interest in my problem - I am a beginner here!
> >
> >
> >
> > Derek
> >
> >
> >

Re: [FFmpeg-user] Compiling FFmpeg with Nvidia GPU acceleration

2021-01-16 Thread madderek--- via ffmpeg-user


-Original Message-
From: ffmpeg-user  On Behalf Of Michael Shaffer
Sent: 16 January 2021 15:23
To: FFmpeg user questions 
Subject: Re: [FFmpeg-user] Compiling FFmpeg with Nvidia GPU acceleration

Thanks for reply

Does that mean installing ubuntu rather than Windows? (which I've never done 
but happy to try!!)

Derek

You could try using Ubuntu Linux. I followed the Nvidia instructions for 
installing acceleration on my GTX 1080 and it worked fine.

On Sat, Jan 16, 2021 at 9:47 AM madderek--- via ffmpeg-user < 
ffmpeg-user@ffmpeg.org> wrote:

>
>
>
>
> -Original Message-
> From: ffmpeg-user  On Behalf Of Carl 
> Zwanzig
> Sent: 15 January 2021 21:13
> To: ffmpeg-user@ffmpeg.org
> Subject: Re: [FFmpeg-user] Compiling FFmpeg with Nvidia GPU 
> acceleration
>
>
>
> Thanks very much for taking the trouble to reply.
>
>
>
> I'm following the instructions here, Windows section:
>
>
> https://docs.nvidia.com/video-technologies/video-codec-sdk/ffmpeg-with
> -nvidia-gpu/
>
>
>
> What I'm trying to achieve is joining many images together which have 
> been produced by a video enhancing program.  The command line is:
>
> ffmpeg -framerate 59.94  -start_number 160004 -i P:\xmas5\%06d.png 
> -c:v
> libx264 -preset veryslow -tune film -profile:v high -pix_fmt yuv420p 
> -level
> 4.1 -crf 17 -r 59.94 -threads 2 
> P:\xmaspng_80002-99932_Dione-DVx4_png.mkv
>
>
>
> Some times it's TIFFs not PNGs.
>
>
>
> I am hoping that the Nvidia GPU acceleration will speed up what is a 
> very slow process.  That's all I want it for, and I'm trying to 
> achieve this on a clean install of Windows 10 on a spare disc.  Nvidia RTX 
> 2080Ti.
>
> I've managed to install make (I'm not an expert on any of this!) but 
> now the make command produces:
>
>
>
> C:\Windows\System32\nv-codec-headers>make install PREFIX=/usr
>
> make: *** No rule to make target `install'.  Stop.
>
>
>
> The makefile in that directory contains:
>
>
>
> PREFIX = /usr/local
>
> LIBDIR = lib
>
> INSTALL = install
>
> SED = sed
>
>
>
> all:
>
> ifeq ($(OS),Windows_NT)
>
>   $(SED) 's#@@PREFIX@@#$(shell cygpath -m ${PREFIX})#'
> ffnvcodec.pc.in > ffnvcodec.pc
>
> else
>
>   $(SED) 's#@@PREFIX@@#$(PREFIX)#' ffnvcodec.pc.in > 
> ffnvcodec.pc
>
> endif
>
>
>
> install: all
>
>   $(INSTALL) -m 0755 -d '$(DESTDIR)$(PREFIX)/include/ffnvcodec'
>
>   $(INSTALL) -m 0644 include/ffnvcodec/*.h 
> '$(DESTDIR)$(PREFIX)/include/ffnvcodec'
>
>   $(INSTALL) -m 0755 -d
> '$(DESTDIR)$(PREFIX)/$(LIBDIR)/pkgconfig'
>
>   $(INSTALL) -m 0644 ffnvcodec.pc 
> '$(DESTDIR)$(PREFIX)/$(LIBDIR)/pkgconfig'
>
>
>
> uninstall:
>
>   rm -rf '$(DESTDIR)$(PREFIX)/include/ffnvcodec'
> '$(DESTDIR)$(PREFIX)/$(LIBDIR)/pkgconfig/ffnvcodec.pc'
>
>
>
> .PHONY: all install uninstall
>
>
>
> The following command from the documentation also fails:
>
>
>
> C:\FFmpeg>./configure --enable-nonfree -disable-shared 
> --enable-cuda-sdk --enable-libnpp --toolchain=msvc 
> --extra-cflags=-I../nv_sdk --extra-ldflags=-libpath:../nv_sdk
>
> '.' is not recognized as an internal or external command,
>
> operable program or batch file.
>
>
>
> But I'm not sure whether this is due to the previous failure.
>
>
>
> If I'm on the completely wrong track I'm prepared to format the disc 
> and start again!  (What a pity there's not an image of Windows all 
> prepared with this and ready to go!)
>
>
>
> Thanks again for taking an interest in my problem - I am a beginner here!
>
>
>
> Derek
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> On 1/15/2021 10:49 AM, madderek--- via ffmpeg-user wrote:
>
>
>
> > I cannot get the 'make' command to work - I get  'make' is not
>
> > recognized as an internal or external command,
>
> >
>
> > operable program or batch file.
>
>
>
> Well install make (nvidia's instructions include that).
>
>
>
> What's your intended build environment? VisualStudio of msys2/mingw? 
> If mingw, did you install the 'c' compiler?
>
>
>
> The nvidia instructions don't cover installing a heap of things, like 
> the compiler and a lot of packages. (They also say "–-toolchain=msvc" 
> even as they're giving instructions for mingw, which is suspect (I 
> haven't looked at the code yet to see if it matters.)
>
>
>
> So first, make sure you have a working build environment, that's out 
> the scope of this list. Then look at the instructi

Re: [FFmpeg-user] Compiling FFmpeg with Nvidia GPU acceleration

2021-01-16 Thread Michael Shaffer
You could try using Ubuntu Linux. I followed the Nvidia instructions for
installing acceleration on my GTX 1080 and it worked fine.

On Sat, Jan 16, 2021 at 9:47 AM madderek--- via ffmpeg-user <
ffmpeg-user@ffmpeg.org> wrote:

>
>
>
>
> -Original Message-
> From: ffmpeg-user  On Behalf Of Carl
> Zwanzig
> Sent: 15 January 2021 21:13
> To: ffmpeg-user@ffmpeg.org
> Subject: Re: [FFmpeg-user] Compiling FFmpeg with Nvidia GPU acceleration
>
>
>
> Thanks very much for taking the trouble to reply.
>
>
>
> I'm following the instructions here, Windows section:
>
>
> https://docs.nvidia.com/video-technologies/video-codec-sdk/ffmpeg-with-nvidia-gpu/
>
>
>
> What I'm trying to achieve is joining many images together which have been
> produced by a video enhancing program.  The command line is:
>
> ffmpeg -framerate 59.94  -start_number 160004 -i P:\xmas5\%06d.png -c:v
> libx264 -preset veryslow -tune film -profile:v high -pix_fmt yuv420p -level
> 4.1 -crf 17 -r 59.94 -threads 2 P:\xmaspng_80002-99932_Dione-DVx4_png.mkv
>
>
>
> Some times it's TIFFs not PNGs.
>
>
>
> I am hoping that the Nvidia GPU acceleration will speed up what is a very
> slow process.  That's all I want it for, and I'm trying to achieve this on
> a clean install of Windows 10 on a spare disc.  Nvidia RTX 2080Ti.
>
> I've managed to install make (I'm not an expert on any of this!) but now
> the make command produces:
>
>
>
> C:\Windows\System32\nv-codec-headers>make install PREFIX=/usr
>
> make: *** No rule to make target `install'.  Stop.
>
>
>
> The makefile in that directory contains:
>
>
>
> PREFIX = /usr/local
>
> LIBDIR = lib
>
> INSTALL = install
>
> SED = sed
>
>
>
> all:
>
> ifeq ($(OS),Windows_NT)
>
>   $(SED) 's#@@PREFIX@@#$(shell cygpath -m ${PREFIX})#'
> ffnvcodec.pc.in > ffnvcodec.pc
>
> else
>
>   $(SED) 's#@@PREFIX@@#$(PREFIX)#' ffnvcodec.pc.in >
> ffnvcodec.pc
>
> endif
>
>
>
> install: all
>
>   $(INSTALL) -m 0755 -d '$(DESTDIR)$(PREFIX)/include/ffnvcodec'
>
>   $(INSTALL) -m 0644 include/ffnvcodec/*.h
> '$(DESTDIR)$(PREFIX)/include/ffnvcodec'
>
>   $(INSTALL) -m 0755 -d
> '$(DESTDIR)$(PREFIX)/$(LIBDIR)/pkgconfig'
>
>   $(INSTALL) -m 0644 ffnvcodec.pc
> '$(DESTDIR)$(PREFIX)/$(LIBDIR)/pkgconfig'
>
>
>
> uninstall:
>
>   rm -rf '$(DESTDIR)$(PREFIX)/include/ffnvcodec'
> '$(DESTDIR)$(PREFIX)/$(LIBDIR)/pkgconfig/ffnvcodec.pc'
>
>
>
> .PHONY: all install uninstall
>
>
>
> The following command from the documentation also fails:
>
>
>
> C:\FFmpeg>./configure --enable-nonfree -disable-shared --enable-cuda-sdk
> --enable-libnpp --toolchain=msvc --extra-cflags=-I../nv_sdk
> --extra-ldflags=-libpath:../nv_sdk
>
> '.' is not recognized as an internal or external command,
>
> operable program or batch file.
>
>
>
> But I'm not sure whether this is due to the previous failure.
>
>
>
> If I'm on the completely wrong track I'm prepared to format the disc and
> start again!  (What a pity there's not an image of Windows all prepared
> with this and ready to go!)
>
>
>
> Thanks again for taking an interest in my problem - I am a beginner here!
>
>
>
> Derek
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> On 1/15/2021 10:49 AM, madderek--- via ffmpeg-user wrote:
>
>
>
> > I cannot get the 'make' command to work - I get  'make' is not
>
> > recognized as an internal or external command,
>
> >
>
> > operable program or batch file.
>
>
>
> Well install make (nvidia's instructions include that).
>
>
>
> What's your intended build environment? VisualStudio of msys2/mingw? If
> mingw, did you install the 'c' compiler?
>
>
>
> The nvidia instructions don't cover installing a heap of things, like the
> compiler and a lot of packages. (They also say "–-toolchain=msvc" even as
> they're giving instructions for mingw, which is suspect (I haven't looked
> at the code yet to see if it matters.)
>
>
>
> So first, make sure you have a working build environment, that's out the
> scope of this list. Then look at the instructions for building ffmpeg-
>
>
>
> I use "Option 2: MSYS2" of
>
>  <https://trac.ffmpeg.org/wiki/CompilationGuide/MinGW>
> https://trac.ffmpeg.org/wiki/CompilationGuide/MinGW
>
>
>
> If you're using visual studio, see
>
>  <https://trac.ffmpeg.org/wiki/CompilationGuide/MSVC>
> https://trac.ffmpeg.org/wiki/CompilationGuide/MS

Re: [FFmpeg-user] Compiling FFmpeg with Nvidia GPU acceleration

2021-01-16 Thread madderek--- via ffmpeg-user
 

 

-Original Message-
From: ffmpeg-user  On Behalf Of Carl Zwanzig
Sent: 15 January 2021 21:13
To: ffmpeg-user@ffmpeg.org
Subject: Re: [FFmpeg-user] Compiling FFmpeg with Nvidia GPU acceleration

 

Thanks very much for taking the trouble to reply.

 

I'm following the instructions here, Windows section:

https://docs.nvidia.com/video-technologies/video-codec-sdk/ffmpeg-with-nvidia-gpu/

 

What I'm trying to achieve is joining many images together which have been 
produced by a video enhancing program.  The command line is:

ffmpeg -framerate 59.94  -start_number 160004 -i P:\xmas5\%06d.png -c:v libx264 
-preset veryslow -tune film -profile:v high -pix_fmt yuv420p -level 4.1 -crf 17 
-r 59.94 -threads 2 P:\xmaspng_80002-99932_Dione-DVx4_png.mkv

 

Some times it's TIFFs not PNGs.

 

I am hoping that the Nvidia GPU acceleration will speed up what is a very slow 
process.  That's all I want it for, and I'm trying to achieve this on a clean 
install of Windows 10 on a spare disc.  Nvidia RTX 2080Ti.

I've managed to install make (I'm not an expert on any of this!) but now the 
make command produces:

 

C:\Windows\System32\nv-codec-headers>make install PREFIX=/usr

make: *** No rule to make target `install'.  Stop.

 

The makefile in that directory contains:

 

PREFIX = /usr/local

LIBDIR = lib

INSTALL = install

SED = sed

 

all:

ifeq ($(OS),Windows_NT)

  $(SED) 's#@@PREFIX@@#$(shell cygpath -m ${PREFIX})#' 
ffnvcodec.pc.in > ffnvcodec.pc

else

  $(SED) 's#@@PREFIX@@#$(PREFIX)#' ffnvcodec.pc.in > ffnvcodec.pc

endif

 

install: all

  $(INSTALL) -m 0755 -d '$(DESTDIR)$(PREFIX)/include/ffnvcodec'

  $(INSTALL) -m 0644 include/ffnvcodec/*.h 
'$(DESTDIR)$(PREFIX)/include/ffnvcodec'

  $(INSTALL) -m 0755 -d '$(DESTDIR)$(PREFIX)/$(LIBDIR)/pkgconfig'

  $(INSTALL) -m 0644 ffnvcodec.pc 
'$(DESTDIR)$(PREFIX)/$(LIBDIR)/pkgconfig'

 

uninstall:

  rm -rf '$(DESTDIR)$(PREFIX)/include/ffnvcodec' 
'$(DESTDIR)$(PREFIX)/$(LIBDIR)/pkgconfig/ffnvcodec.pc'

 

.PHONY: all install uninstall

 

The following command from the documentation also fails:

 

C:\FFmpeg>./configure --enable-nonfree -disable-shared --enable-cuda-sdk 
--enable-libnpp --toolchain=msvc --extra-cflags=-I../nv_sdk 
--extra-ldflags=-libpath:../nv_sdk

'.' is not recognized as an internal or external command,

operable program or batch file.

 

But I'm not sure whether this is due to the previous failure.

 

If I'm on the completely wrong track I'm prepared to format the disc and start 
again!  (What a pity there's not an image of Windows all prepared with this and 
ready to go!)

 

Thanks again for taking an interest in my problem - I am a beginner here!

 

Derek

 

 

 

 

 

 

 

On 1/15/2021 10:49 AM, madderek--- via ffmpeg-user wrote:

 

> I cannot get the 'make' command to work - I get  'make' is not 

> recognized as an internal or external command,

> 

> operable program or batch file.

 

Well install make (nvidia's instructions include that).

 

What's your intended build environment? VisualStudio of msys2/mingw? If mingw, 
did you install the 'c' compiler?

 

The nvidia instructions don't cover installing a heap of things, like the 
compiler and a lot of packages. (They also say "–-toolchain=msvc" even as 
they're giving instructions for mingw, which is suspect (I haven't looked at 
the code yet to see if it matters.)

 

So first, make sure you have a working build environment, that's out the scope 
of this list. Then look at the instructions for building ffmpeg-

 

I use "Option 2: MSYS2" of

 <https://trac.ffmpeg.org/wiki/CompilationGuide/MinGW> 
https://trac.ffmpeg.org/wiki/CompilationGuide/MinGW

 

If you're using visual studio, see

 <https://trac.ffmpeg.org/wiki/CompilationGuide/MSVC> 
https://trac.ffmpeg.org/wiki/CompilationGuide/MSVC

 

You'll have to manually install any needed packages, usually ./configure will 
tell you when something's missing.

 

Once you can build ffmpeg without cuda, then try building with cuda. And you 
may want to follow up with nvidia if you're using their instructions.

 

Later,

 

z!

___

ffmpeg-user mailing list

 <mailto:ffmpeg-user@ffmpeg.org> ffmpeg-user@ffmpeg.org

 <https://ffmpeg.org/mailman/listinfo/ffmpeg-user> 
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

 

To unsubscribe, visit link above, or email  
<mailto:ffmpeg-user-requ...@ffmpeg.org> ffmpeg-user-requ...@ffmpeg.org with 
subject "unsubscribe".

___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Compiling FFmpeg with Nvidia GPU acceleration

2021-01-15 Thread Carl Zwanzig

On 1/15/2021 10:49 AM, madderek--- via ffmpeg-user wrote:


I cannot get the 'make' command to work - I get  'make' is not recognized as
an internal or external command,

operable program or batch file.


Well install make (nvidia's instructions include that).

What's your intended build environment? VisualStudio of msys2/mingw? If 
mingw, did you install the 'c' compiler?


The nvidia instructions don't cover installing a heap of things, like the 
compiler and a lot of packages. (They also say "–-toolchain=msvc" even as 
they're giving instructions for mingw, which is suspect (I haven't looked at 
the code yet to see if it matters.)


So first, make sure you have a working build environment, that's out the 
scope of this list. Then look at the instructions for building ffmpeg-


I use "Option 2: MSYS2" of
https://trac.ffmpeg.org/wiki/CompilationGuide/MinGW

If you're using visual studio, see
https://trac.ffmpeg.org/wiki/CompilationGuide/MSVC

You'll have to manually install any needed packages, usually ./configure 
will tell you when something's missing.


Once you can build ffmpeg without cuda, then try building with cuda. And you 
may want to follow up with nvidia if you're using their instructions.


Later,

z!
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

[FFmpeg-user] Compiling FFmpeg with Nvidia GPU acceleration

2021-01-15 Thread madderek--- via ffmpeg-user
Hi

 

 

I'm using Using FFmpeg with NVIDIA GPU Hardware Acceleration :: NVIDIA Video
Codec SDK Documentation
  for Windows 10

 

All goes well until I hit the last three commands:

 

*   Goto nv-codec-headers directory and install ffnvcodec

make install PREFIX=/usr

*   Go to the FFmpeg installation folder and run the following command.

./configure --enable-nonfree -disable-shared --enable-cuda-sdk
--enable-libnpp --toolchain=msvc --extra-cflags=-I../nv_sdk
--extra-ldflags=-libpath:../nv_sdk

*   Compile the code by executing the following command.

make -j 8

 

 

I cannot get the 'make' command to work - I get  'make' is not recognized as
an internal or external command,

operable program or batch file. 

I did try the next command, the ./configure one, this was also rejected.

 

Can anyone please help with this?

 

Derek Clements

 

___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Compiling FFMpeg

2021-01-15 Thread Simon Brown
>
>
>
> where is the problem doing simply copy?
> ./configure 
>
>
> None - thank you.  I copied to file and then input from file to
./configure in the end.  But it's the obvious answer.  Thanks for replying.
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Compiling FFMpeg

2021-01-15 Thread Reindl Harald



Am 15.01.21 um 11:01 schrieb Simon Brown:

I want to compile the latest git head on my Raspberry pi.  The Pi comes
with a packaged version of ffmpeg with a huge config list of what is and
isn't enabled.  Is there a simple way of using this config for the
./configure stage so that I don't have to type the whole lot in?


where is the problem doing simply copy?
./configure 

[harry@srv-rhsoft:~]$ ffmpeg
ffmpeg version 4.3.1 Copyright (c) 2000-2020 the FFmpeg developers
  built with gcc 10 (GCC)
  configuration: --prefix=/usr/local --bindir=/usr/local/bin 
--mandir=/usr/local/man 
--extra-cflags='-I/rpmbuild/BUILD/ffmpeg-20200714/x264-static -m64 -O2 
-g0 -march=sandybridge -mtune=sandybridge -mfpmath=sse -msse2avx 
-ftree-slp-vectorize -fopenmp -pipe -fno-strict-aliasing 
-fomit-frame-pointer -fexceptions -fno-asynchronous-unwind-tables 
-fstack-protector-strong --param=ssp-buffer-size=6 
-Wp,-D_FORTIFY_SOURCE=2 -w -Wformat -Werror=format-security -fPIC -O3 
-fno-strict-aliasing -fno-tree-vectorize -ftree-slp-vectorize 
-fno-gcse-after-reload -fno-inline-functions -fno-ipa-cp 
-fno-ipa-cp-clone -fno-peel-loops -fno-predictive-commoning 
-fno-tree-loop-distribute-patterns -fno-unswitch-loops -flto=8 
-fwhole-program -w' 
--extra-ldflags='-I/rpmbuild/BUILD/ffmpeg-20200714/x264-static 
-L/rpmbuild/BUILD/ffmpeg-20200714/x264-static -ldl -Wl,--as-needed 
-Wl,-z,now -Wl,-z,relro -m64 -O2 -g0 -march=sandybridge 
-mtune=sandybridge -mfpmath=sse -msse2avx -ftree-slp-vectorize -fopenmp 
-pipe -fno-strict-aliasing -fomit-frame-pointer -fexceptions 
-fno-asynchronous-unwind-tables -fstack-protector-strong 
--param=ssp-buffer-size=6 -Wp,-D_FORTIFY_SOURCE=2 -w -Wformat 
-Werror=format-security -fPIC -O3 -fno-strict-aliasing 
-fno-tree-vectorize -ftree-slp-vectorize -fno-gcse-after-reload 
-fno-inline-functions -fno-ipa-cp -fno-ipa-cp-clone -fno-peel-loops 
-fno-predictive-commoning -fno-tree-loop-distribute-patterns 
-fno-unswitch-loops -flto=8 -fwhole-program -pie -fPIE -w' --ar=gcc-ar 
--ranlib=true --enable-lto --enable-gpl --enable-libmp3lame 
--enable-libtheora --enable-libvpx --enable-libx264 --enable-libx265 
--enable-nonfree --enable-openssl --enable-pic 
--enable-runtime-cpudetect --enable-static --enable-version3 
--disable-amf --disable-appkit --disable-autodetect --disable-avdevice 
--disable-avfoundation --disable-coreimage --disable-debug 
--disable-devices --disable-ffplay --disable-ffprobe --disable-htmlpages 
--disable-hwaccels --disable-iconv --disable-libdc1394 
--disable-libfreetype --disable-libgsm --disable-libopencore-amrnb 
--disable-libopencore-amrwb --disable-libopencv --disable-libopenjpeg 
--disable-libopus --disable-librtmp --disable-libspeex 
--disable-libvorbis --disable-libxcb --disable-libxcb-shape 
--disable-libxcb-shm --disable-libxcb-xfixes --disable-libxvid 
--disable-podpages --disable-postproc --disable-protocol=gopher 
--disable-shared --disable-txtpages --disable-xlib

___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

[FFmpeg-user] Compiling FFMpeg

2021-01-15 Thread Simon Brown
I want to compile the latest git head on my Raspberry pi.  The Pi comes
with a packaged version of ffmpeg with a huge config list of what is and
isn't enabled.  Is there a simple way of using this config for the
./configure stage so that I don't have to type the whole lot in?

Cheers,
Simon
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Compiling ffmpeg with SRT support on Raspberry Pi

2020-10-15 Thread Mustafa Al Ani
Did you get ffmpeg installed at the end ?
If yes, what is the console output of running “ffmpeg”?
How do you know it doesn’t get linked?

R,
Mustafa 
Sent from my iPhone

> On 15 Oct 2020, at 03.45, rhan...@nrie.com.au wrote:
> 
> but there is nothing that stands out as the reason why the protocol
> does not get linked.
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

[FFmpeg-user] Compiling ffmpeg under Windows with MSVC

2020-10-06 Thread Wolfgang Hugemann
I am trying to follow the instructions given at
https://trac.ffmpeg.org/wiki/CompilationGuide/MSVC.

The MS version of cl.exe and link.exe need a lot of environment
variables to be set, wich is usually done in a cmd shell via the
vcvarsall batch file.

But the config script that comes with ffmpeg needs to be run in bash. So
how exactly do I set up the needed environment for cl and link? I ran
the vcvarsall batch file in the bash, calling cmd from the bash an than
executing vcvarsall, getting back to the bash via exit. But that didn't
help: The MS linker stops with an error that obvioasly results from
lacking environment variables:

LINK : fatal error LNK1104: file "LIBCMT.lib" could not be openedn

What I am getting wrong here?

Wolfgang Hugemann
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

[FFmpeg-user] Compiling FFMpeg with MSVC 2015 tools.

2020-09-25 Thread Simon Brown
I have followed the instructions at:
https://trac.ffmpeg.org/wiki/CompilationGuide/MSVC
I have installed msys and yasm.
I have set up the build environment.
I clone ffmpeg with 'git clone git://source.ffmpeg.org/ffmpeg.git
I run
./configure --target-os=win64 --arch=x86_64 --toolchain=msvc
--enable-shared --disable-static
configure finishes with "WARNING: pkg-config not found, library detection
may fail."
I run "make".
I get two xyz.mak:n: *** missing separator errors.
These are solved by inserting a tab between $( and eval in the relevant
files.
Then run "make" again and I get:
make: *** No rule to make target 'libavdevice/avdevice.dll', needed by
'all-yes'. Stop.

Any suggestions gratefully received.
Regards,
Simon
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Compiling ffmpeg version n3.4.5

2019-04-04 Thread Shay Nagar
Thanks for the tip

On Thu, Apr 4, 2019 at 2:07 PM Reindl Harald  wrote:

>
>
> Am 04.04.19 um 12:56 schrieb Shay Nagar:
> > Thanks, I probably missed this.
> > It looks like it gone a works now.
>
> learn to build packages for your distribution
>
> cat /rpmbuild/SPECS/ffmpeg.spec | grep BuildRequires
> BuildRequires: bzip2-devel
> BuildRequires: gsm-devel
> BuildRequires: imlib2-devel
> BuildRequires: lame-devel
> BuildRequires: libtheora-devel
> BuildRequires: libva-devel
> BuildRequires: libvdpau-devel
> BuildRequires: SDL-devel
> BuildRequires: x264-devel
> BuildRequires: x265-devel
> BuildRequires: zlib-devel
> BuildRequires: libvpx-devel
> BuildRequires: freetype-devel
> BuildRequires: openssl-devel
> BuildRequires: opus-devel
> BuildRequires: yasm
>
> > On Thu, Apr 4, 2019 at 1:45 PM Reindl Harald 
> wrote:
> >> Am 04.04.19 um 12:01 schrieb Shay Nagar:
> >>> /bin/ld: cannot find -lbz2
> >>> collect2: error: ld returned 1 exit status
> >>> ERROR: freetype2 not found using pkg-config
> >>
> >> well, by just look at all lines with ERROR you would have seen that
> >> bzip2-devel is missing
> ___
> ffmpeg-user mailing list
> ffmpeg-user@ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Compiling ffmpeg version n3.4.5

2019-04-04 Thread Reindl Harald


Am 04.04.19 um 12:56 schrieb Shay Nagar:
> Thanks, I probably missed this.
> It looks like it gone a works now.

learn to build packages for your distribution

cat /rpmbuild/SPECS/ffmpeg.spec | grep BuildRequires
BuildRequires: bzip2-devel
BuildRequires: gsm-devel
BuildRequires: imlib2-devel
BuildRequires: lame-devel
BuildRequires: libtheora-devel
BuildRequires: libva-devel
BuildRequires: libvdpau-devel
BuildRequires: SDL-devel
BuildRequires: x264-devel
BuildRequires: x265-devel
BuildRequires: zlib-devel
BuildRequires: libvpx-devel
BuildRequires: freetype-devel
BuildRequires: openssl-devel
BuildRequires: opus-devel
BuildRequires: yasm

> On Thu, Apr 4, 2019 at 1:45 PM Reindl Harald  wrote:
>> Am 04.04.19 um 12:01 schrieb Shay Nagar:
>>> /bin/ld: cannot find -lbz2
>>> collect2: error: ld returned 1 exit status
>>> ERROR: freetype2 not found using pkg-config
>>
>> well, by just look at all lines with ERROR you would have seen that
>> bzip2-devel is missing
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Compiling ffmpeg version n3.4.5

2019-04-04 Thread Shay Nagar
Thanks, I probably missed this.
It looks like it gone a works now.

On Thu, Apr 4, 2019 at 1:45 PM Reindl Harald  wrote:

>
>
> Am 04.04.19 um 12:01 schrieb Shay Nagar:
> > /bin/ld: cannot find -lbz2
> > collect2: error: ld returned 1 exit status
> > ERROR: freetype2 not found using pkg-config
>
> well, by just look at all lines with ERROR you would have seen that
> bzip2-devel is missing
> ___
> ffmpeg-user mailing list
> ffmpeg-user@ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Compiling ffmpeg version n3.4.5

2019-04-04 Thread Reindl Harald


Am 04.04.19 um 12:01 schrieb Shay Nagar:
> /bin/ld: cannot find -lbz2
> collect2: error: ld returned 1 exit status
> ERROR: freetype2 not found using pkg-config

well, by just look at all lines with ERROR you would have seen that
bzip2-devel is missing
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Compiling ffmpeg version n3.4.5

2019-04-04 Thread Dennis Mungai
On Thu, 4 Apr 2019 at 13:01, Shay Nagar  wrote:

> > > > Do you actually need libfreetype support? It's only required for the
> > > > drawtext and showcqt filters. Easiest fix: Don't include that support
> > > > if you don't need it. ;-)
>
> Yes, unfortunately I need libfreetype support otherwise it was really was
> quite simple.
>
> > > > Can you check your config.log, search for the line with
> "require_pkg_config
> > > > libfreetype2", and show us the subsequent relevant lines (probably
> > > > everything from there to the end of the file)? Thanks.
>
> require_pkg_config libfreetype freetype2 ft2build.h FT_FREETYPE_H
> FT_Init_FreeType
> check_pkg_config libfreetype freetype2 ft2build.h FT_FREETYPE_H
> FT_Init_FreeType
> test_pkg_config libfreetype freetype2 ft2build.h FT_FREETYPE_H
> FT_Init_FreeType
> pkg-config --exists --print-errors freetype2
> check_func_headers ft2build.h FT_FREETYPE_H FT_Init_FreeType
> -I/usr/include/freetype2 -I/usr/include/libpng15 -lfreetype -lbz2 -lpng15
> -lz -lm
> test_ld cc -I/usr/include/freetype2 -I/usr/include/libpng15 -lfreetype
> -lbz2 -lpng15 -lz -lm
> test_cc -I/usr/include/freetype2 -I/usr/include/libpng15
> BEGIN /tmp/ffconf.xiUNmVQJ/test.c
> 1   #include 
> 2   #include FT_FREETYPE_H
> 3   #include 
> 4   long check_FT_Init_FreeType(void) { return (long) FT_Init_FreeType;
> }
> 5   int main(void) { int ret = 0;
> 6ret |= ((intptr_t)check_FT_Init_FreeType) & 0x;
> 7   return ret; }
> END /tmp/ffconf.xiUNmVQJ/test.c
> gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
> -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -I/opt/ffmpeg/include -std=c11
> -fomit-frame-pointer -pthread -I/usr/include/freetype2
> -I/usr/include/libpng15 -c -o /tmp/ffconf.xiUNmVQJ/test.o
> /tmp/ffconf.xiUNmVQJ/test.c
> gcc -L/opt/ffmpeg/lib -Wl,--as-needed -Wl,-z,noexecstack
> -I/usr/include/freetype2 -I/usr/include/libpng15 -o
> /tmp/ffconf.xiUNmVQJ/test /tmp/ffconf.xiUNmVQJ/test.o -lfreetype -lbz2
> -lpng15 -lz -lm
> /bin/ld: cannot find -lbz2
> collect2: error: ld returned 1 exit status
> ERROR: freetype2 not found using pkg-config
>
> > > > Can you show us the output of
> > > > $ PKG_CONFIG_PATH=/usr/local/src/ffmpeg/lib/pkgconfig pkg-config
> --cflags --libs freetype2
>
> -I/usr/include/freetype2 -I/usr/include/libpng15  -lfreetype
>
> On Thu, Apr 4, 2019 at 12:35 PM Moritz Barsnick  wrote:
>
> > On Thu, Apr 04, 2019 at 09:39:51 +0300, Shay Nagar wrote:
> > > On Thu, Apr 4, 2019 at 9:33 AM Dennis Mungai 
> wrote:
> > > > Is there a particular reason as to why you're compiling that specific
> > > > FFmpeg version?
> > > This version compliance with our cv team. we worked on version n3.3.9
> and
> > > now we want to update our prod server to n3.4.5
> >
> > Is this for ABI/API compatibility, or for command line? For the latter,
> > latest ffmpeg should be just fine, apart from very minor changes.
> >
> > BTW, 3.4.*6* is latest in the 3.x series.
> >
> > > > > I trying to compile ffmpeg like this
> > > > > "PKG_CONFIG_PATH=/usr/local/src/ffmpeg/lib/pkgconfig ./configure
> > > > > --prefix=/opt/ffmpeg --extra-cflags=-I/opt/ffmpeg/include
> > > > > --extra-ldflags=-L/opt/ffmpeg/lib --pkg-config-flags=--static
> > > > > --bindir=/opt/ffmpeg/bin --enable-openssl --enable-gpl
> > --enable-nonfree
> > > > > --enable-libfreetype --enable-libtheora --enable-libvpx
> > --enable-libx264
> > > > > --enable-libx265"
> > > > >
> > > > > I got an error "ERROR: freetype2 not found",  I installed
> > freetype-devel
> > > > > version 2.8 using yum.
> >
> > Do you actually need libfreetype support? It's only required for the
> > drawtext and showcqt filters. Easiest fix: Don't include that support
> > if you don't need it. ;-)
> >
> > You'll find a quite long log from ./configure in ffbuild/config.log. My
> > ./configure run, using freetype-devel-2.3.x standard RPM (!!), tested
> > with said ffmpeg-3.4.5, works just fine and gives this relevant output
> > for freetype:
> >
> > require_pkg_config libfreetype2 freetype2 ft2build.h FT_FREETYPE_H
> > FT_Init_FreeType
> > use_pkg_config libfreetype2 freetype2 ft2build.h FT_FREETYPE_H
> > FT_Init_FreeType
> > check_pkg_config libfreetype2 freetype2 ft2build.h FT_FREETYPE_H
> > FT_Init_FreeType
> > pkg-config --exists --print-errors freetype2
> > check_func_headers ft2build.h FT_FREETYPE_H FT_Init_FreeType
> > -I/usr/include/freetype2 -lfreetype
> > check_ld cc -I/usr/include/freetype2 -lfreetype
> > check_cc -I/usr/include/freetype2
> > BEGIN /tmp/ffconf.FTVLOUCB/test.c
> > 1   #include 
> > 2   #include FT_FREETYPE_H
> > 3   #include 
> > 4   long check_FT_Init_FreeType(void) { return (long)
> > FT_Init_FreeType; }
> > 5   int main(void) { int ret = 0;
> > 6ret |= ((intptr_t)check_FT_Init_FreeType) & 0x;
> > 7   return ret; }
> > END /tmp/ffconf.FTVLOUCB/test.c
> > gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
> > -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 

Re: [FFmpeg-user] Compiling ffmpeg version n3.4.5

2019-04-04 Thread Shay Nagar
> > > Do you actually need libfreetype support? It's only required for the
> > > drawtext and showcqt filters. Easiest fix: Don't include that support
> > > if you don't need it. ;-)

Yes, unfortunately I need libfreetype support otherwise it was really was
quite simple.

> > > Can you check your config.log, search for the line with
"require_pkg_config
> > > libfreetype2", and show us the subsequent relevant lines (probably
> > > everything from there to the end of the file)? Thanks.

require_pkg_config libfreetype freetype2 ft2build.h FT_FREETYPE_H
FT_Init_FreeType
check_pkg_config libfreetype freetype2 ft2build.h FT_FREETYPE_H
FT_Init_FreeType
test_pkg_config libfreetype freetype2 ft2build.h FT_FREETYPE_H
FT_Init_FreeType
pkg-config --exists --print-errors freetype2
check_func_headers ft2build.h FT_FREETYPE_H FT_Init_FreeType
-I/usr/include/freetype2 -I/usr/include/libpng15 -lfreetype -lbz2 -lpng15
-lz -lm
test_ld cc -I/usr/include/freetype2 -I/usr/include/libpng15 -lfreetype
-lbz2 -lpng15 -lz -lm
test_cc -I/usr/include/freetype2 -I/usr/include/libpng15
BEGIN /tmp/ffconf.xiUNmVQJ/test.c
1   #include 
2   #include FT_FREETYPE_H
3   #include 
4   long check_FT_Init_FreeType(void) { return (long) FT_Init_FreeType;
}
5   int main(void) { int ret = 0;
6ret |= ((intptr_t)check_FT_Init_FreeType) & 0x;
7   return ret; }
END /tmp/ffconf.xiUNmVQJ/test.c
gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
-D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -I/opt/ffmpeg/include -std=c11
-fomit-frame-pointer -pthread -I/usr/include/freetype2
-I/usr/include/libpng15 -c -o /tmp/ffconf.xiUNmVQJ/test.o
/tmp/ffconf.xiUNmVQJ/test.c
gcc -L/opt/ffmpeg/lib -Wl,--as-needed -Wl,-z,noexecstack
-I/usr/include/freetype2 -I/usr/include/libpng15 -o
/tmp/ffconf.xiUNmVQJ/test /tmp/ffconf.xiUNmVQJ/test.o -lfreetype -lbz2
-lpng15 -lz -lm
/bin/ld: cannot find -lbz2
collect2: error: ld returned 1 exit status
ERROR: freetype2 not found using pkg-config

> > > Can you show us the output of
> > > $ PKG_CONFIG_PATH=/usr/local/src/ffmpeg/lib/pkgconfig pkg-config
--cflags --libs freetype2

-I/usr/include/freetype2 -I/usr/include/libpng15  -lfreetype

On Thu, Apr 4, 2019 at 12:35 PM Moritz Barsnick  wrote:

> On Thu, Apr 04, 2019 at 09:39:51 +0300, Shay Nagar wrote:
> > On Thu, Apr 4, 2019 at 9:33 AM Dennis Mungai  wrote:
> > > Is there a particular reason as to why you're compiling that specific
> > > FFmpeg version?
> > This version compliance with our cv team. we worked on version n3.3.9 and
> > now we want to update our prod server to n3.4.5
>
> Is this for ABI/API compatibility, or for command line? For the latter,
> latest ffmpeg should be just fine, apart from very minor changes.
>
> BTW, 3.4.*6* is latest in the 3.x series.
>
> > > > I trying to compile ffmpeg like this
> > > > "PKG_CONFIG_PATH=/usr/local/src/ffmpeg/lib/pkgconfig ./configure
> > > > --prefix=/opt/ffmpeg --extra-cflags=-I/opt/ffmpeg/include
> > > > --extra-ldflags=-L/opt/ffmpeg/lib --pkg-config-flags=--static
> > > > --bindir=/opt/ffmpeg/bin --enable-openssl --enable-gpl
> --enable-nonfree
> > > > --enable-libfreetype --enable-libtheora --enable-libvpx
> --enable-libx264
> > > > --enable-libx265"
> > > >
> > > > I got an error "ERROR: freetype2 not found",  I installed
> freetype-devel
> > > > version 2.8 using yum.
>
> Do you actually need libfreetype support? It's only required for the
> drawtext and showcqt filters. Easiest fix: Don't include that support
> if you don't need it. ;-)
>
> You'll find a quite long log from ./configure in ffbuild/config.log. My
> ./configure run, using freetype-devel-2.3.x standard RPM (!!), tested
> with said ffmpeg-3.4.5, works just fine and gives this relevant output
> for freetype:
>
> require_pkg_config libfreetype2 freetype2 ft2build.h FT_FREETYPE_H
> FT_Init_FreeType
> use_pkg_config libfreetype2 freetype2 ft2build.h FT_FREETYPE_H
> FT_Init_FreeType
> check_pkg_config libfreetype2 freetype2 ft2build.h FT_FREETYPE_H
> FT_Init_FreeType
> pkg-config --exists --print-errors freetype2
> check_func_headers ft2build.h FT_FREETYPE_H FT_Init_FreeType
> -I/usr/include/freetype2 -lfreetype
> check_ld cc -I/usr/include/freetype2 -lfreetype
> check_cc -I/usr/include/freetype2
> BEGIN /tmp/ffconf.FTVLOUCB/test.c
> 1   #include 
> 2   #include FT_FREETYPE_H
> 3   #include 
> 4   long check_FT_Init_FreeType(void) { return (long)
> FT_Init_FreeType; }
> 5   int main(void) { int ret = 0;
> 6ret |= ((intptr_t)check_FT_Init_FreeType) & 0x;
> 7   return ret; }
> END /tmp/ffconf.FTVLOUCB/test.c
> gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
> -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -std=c99 -fomit-frame-pointer
> -pthread -I/usr/include/freetype2 -c -o /tmp/ffconf.FTVLOUCB/test.o
> /tmp/ffconf.FTVLOUCB/test.c
> gcc -Wl,--as-needed -Wl,-z,noexecstack -I/usr/include/freetype2 -o
> /tmp/ffconf.FTVLOUCB/test /tmp/ffconf.FTVLOUCB/test.o -lfreetype -lm -ldl
> 

Re: [FFmpeg-user] Compiling ffmpeg version n3.4.5

2019-04-04 Thread Moritz Barsnick
On Thu, Apr 04, 2019 at 09:39:51 +0300, Shay Nagar wrote:
> On Thu, Apr 4, 2019 at 9:33 AM Dennis Mungai  wrote:
> > Is there a particular reason as to why you're compiling that specific
> > FFmpeg version?
> This version compliance with our cv team. we worked on version n3.3.9 and
> now we want to update our prod server to n3.4.5

Is this for ABI/API compatibility, or for command line? For the latter,
latest ffmpeg should be just fine, apart from very minor changes.

BTW, 3.4.*6* is latest in the 3.x series.

> > > I trying to compile ffmpeg like this
> > > "PKG_CONFIG_PATH=/usr/local/src/ffmpeg/lib/pkgconfig ./configure
> > > --prefix=/opt/ffmpeg --extra-cflags=-I/opt/ffmpeg/include
> > > --extra-ldflags=-L/opt/ffmpeg/lib --pkg-config-flags=--static
> > > --bindir=/opt/ffmpeg/bin --enable-openssl --enable-gpl --enable-nonfree
> > > --enable-libfreetype --enable-libtheora --enable-libvpx --enable-libx264
> > > --enable-libx265"
> > >
> > > I got an error "ERROR: freetype2 not found",  I installed freetype-devel
> > > version 2.8 using yum.

Do you actually need libfreetype support? It's only required for the
drawtext and showcqt filters. Easiest fix: Don't include that support
if you don't need it. ;-)

You'll find a quite long log from ./configure in ffbuild/config.log. My
./configure run, using freetype-devel-2.3.x standard RPM (!!), tested
with said ffmpeg-3.4.5, works just fine and gives this relevant output
for freetype:

require_pkg_config libfreetype2 freetype2 ft2build.h FT_FREETYPE_H 
FT_Init_FreeType
use_pkg_config libfreetype2 freetype2 ft2build.h FT_FREETYPE_H FT_Init_FreeType
check_pkg_config libfreetype2 freetype2 ft2build.h FT_FREETYPE_H 
FT_Init_FreeType
pkg-config --exists --print-errors freetype2
check_func_headers ft2build.h FT_FREETYPE_H FT_Init_FreeType 
-I/usr/include/freetype2 -lfreetype
check_ld cc -I/usr/include/freetype2 -lfreetype
check_cc -I/usr/include/freetype2
BEGIN /tmp/ffconf.FTVLOUCB/test.c
1   #include 
2   #include FT_FREETYPE_H
3   #include 
4   long check_FT_Init_FreeType(void) { return (long) FT_Init_FreeType; }
5   int main(void) { int ret = 0;
6ret |= ((intptr_t)check_FT_Init_FreeType) & 0x;
7   return ret; }
END /tmp/ffconf.FTVLOUCB/test.c
gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE 
-D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -std=c99 -fomit-frame-pointer 
-pthread -I/usr/include/freetype2 -c -o /tmp/ffconf.FTVLOUCB/test.o 
/tmp/ffconf.FTVLOUCB/test.c
gcc -Wl,--as-needed -Wl,-z,noexecstack -I/usr/include/freetype2 -o 
/tmp/ffconf.FTVLOUCB/test /tmp/ffconf.FTVLOUCB/test.o -lfreetype -lm -ldl 
-llzma -lbz2 -lz -pthread -pthread -lrt

Can you check your config.log, search for the line with "require_pkg_config
libfreetype2", and show us the subsequent relevant lines (probably
everything from there to the end of the file)? Thanks.

Can you show us the output of
$ PKG_CONFIG_PATH=/usr/local/src/ffmpeg/lib/pkgconfig pkg-config --cflags 
--libs freetype2
?

Moritz
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Compiling ffmpeg version n3.4.5

2019-04-04 Thread Reindl Harald


Am 04.04.19 um 08:39 schrieb Shay Nagar:
> This version compliance with our cv team. we worked on version n3.3.9 and
> now we want to update our prod server to n3.4.5

punch your cv team in the face given that jump from 3.3 to 3.4 in 2019
is nonsense, when your underlying operating system is compliance with
the same cv team i guess your freetype-devel is too old
> On Thu, Apr 4, 2019 at 9:33 AM Dennis Mungai  wrote:
> 
>> On Thu, Apr 4, 2019, 09:27 Shay Nagar  wrote:
>>
>>> Hello,
>>>
>>> I trying to compile ffmpeg like this
>>> "PKG_CONFIG_PATH=/usr/local/src/ffmpeg/lib/pkgconfig ./configure
>>> --prefix=/opt/ffmpeg --extra-cflags=-I/opt/ffmpeg/include
>>> --extra-ldflags=-L/opt/ffmpeg/lib --pkg-config-flags=--static
>>> --bindir=/opt/ffmpeg/bin --enable-openssl --enable-gpl --enable-nonfree
>>> --enable-libfreetype --enable-libtheora --enable-libvpx --enable-libx264
>>> --enable-libx265"
>>>
>>> I got an error "ERROR: freetype2 not found",  I installed freetype-devel
>>> version 2.8 using yum.
>>>
>>> I would appreciate any advice.
>>>
>>
>> Is there a particular reason as to why you're compiling that specific
>> FFmpeg version?
>>
>> On this mailing list, only ffmpeg git is supported
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Compiling ffmpeg version n3.4.5

2019-04-04 Thread Shay Nagar
This version compliance with our cv team. we worked on version n3.3.9 and
now we want to update our prod server to n3.4.5

On Thu, Apr 4, 2019 at 9:33 AM Dennis Mungai  wrote:

> On Thu, Apr 4, 2019, 09:27 Shay Nagar  wrote:
>
> > Hello,
> >
> > I trying to compile ffmpeg like this
> > "PKG_CONFIG_PATH=/usr/local/src/ffmpeg/lib/pkgconfig ./configure
> > --prefix=/opt/ffmpeg --extra-cflags=-I/opt/ffmpeg/include
> > --extra-ldflags=-L/opt/ffmpeg/lib --pkg-config-flags=--static
> > --bindir=/opt/ffmpeg/bin --enable-openssl --enable-gpl --enable-nonfree
> > --enable-libfreetype --enable-libtheora --enable-libvpx --enable-libx264
> > --enable-libx265"
> >
> > I got an error "ERROR: freetype2 not found",  I installed freetype-devel
> > version 2.8 using yum.
> >
> > I would appreciate any advice.
> >
>
> Is there a particular reason as to why you're compiling that specific
> FFmpeg version?
>
> On this mailing list, only ffmpeg git is supported
>
> >
> ___
> ffmpeg-user mailing list
> ffmpeg-user@ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Compiling ffmpeg version n3.4.5

2019-04-04 Thread Dennis Mungai
On Thu, Apr 4, 2019, 09:27 Shay Nagar  wrote:

> Hello,
>
> I trying to compile ffmpeg like this
> "PKG_CONFIG_PATH=/usr/local/src/ffmpeg/lib/pkgconfig ./configure
> --prefix=/opt/ffmpeg --extra-cflags=-I/opt/ffmpeg/include
> --extra-ldflags=-L/opt/ffmpeg/lib --pkg-config-flags=--static
> --bindir=/opt/ffmpeg/bin --enable-openssl --enable-gpl --enable-nonfree
> --enable-libfreetype --enable-libtheora --enable-libvpx --enable-libx264
> --enable-libx265"
>
> I got an error "ERROR: freetype2 not found",  I installed freetype-devel
> version 2.8 using yum.
>
> I would appreciate any advice.
>

Is there a particular reason as to why you're compiling that specific
FFmpeg version?

On this mailing list, only ffmpeg git is supported

>
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

[FFmpeg-user] Compiling ffmpeg version n3.4.5

2019-04-04 Thread Shay Nagar
Hello,

I trying to compile ffmpeg like this
"PKG_CONFIG_PATH=/usr/local/src/ffmpeg/lib/pkgconfig ./configure
--prefix=/opt/ffmpeg --extra-cflags=-I/opt/ffmpeg/include
--extra-ldflags=-L/opt/ffmpeg/lib --pkg-config-flags=--static
--bindir=/opt/ffmpeg/bin --enable-openssl --enable-gpl --enable-nonfree
--enable-libfreetype --enable-libtheora --enable-libvpx --enable-libx264
--enable-libx265"

I got an error "ERROR: freetype2 not found",  I installed freetype-devel
version 2.8 using yum.

I would appreciate any advice.
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Compiling ffmpeg with an output device (Blackmagick Decklink)

2018-04-18 Thread David Di Biase
Thanks I got it resolved. It was my command line and how I was inserting
link breaks in it. Even after I got passed all that it’s not working as
expected, throws multiple errors. I’ve had to move onto other solutions as
this is not operating as expected.

In regards to the comment about the legal disclosure. It’s required by our
legal team given some of the nature of sensitive information we communicate
with clients. Deal with it.
On Wed, Apr 18, 2018 at 1:59 PM Gonzalo Garramuño 
wrote:

>
> El 18/04/2018 a las 14:40, Carl Eugen Hoyos escribió:
> >> *ffbuild/config.mak:6: *** missing separator.  Stop.*
> >>
> >> I attempted tracking down the issue and found this ticket on the ffmpeg
> >> tracker: https://trac.ffmpeg.org/ticket/1209. I'm not using the git
> pull,
> >> instead I'm just unpacking the source tar.
> >
> > I can only guess that "upacking" involves selecting line breaks.
> >
> > [...]
> >
>
> As Carl guesses, you probably have an issue with line breaks ( unix vs.
> windows ) and that's why the config.mak file fails.
>
> --
> Gonzalo Garramuño
>
> ___
> ffmpeg-user mailing list
> ffmpeg-user@ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

-- 
This email and any files transmitted with it are confidential and intended 
solely for the use of the individual or entity to whom they are addressed. 
If you have received this email in error please notify the system manager. 
This message contains confidential information and is intended only for the 
individual named. If you are not the named addressee you should not 
disseminate, distribute or copy this e-mail. Please notify the sender 
immediately by e-mail if you have received this e-mail by mistake and 
delete this e-mail from your system. If you are not the intended recipient 
you are notified that disclosing, copying, distributing or taking any 
action in reliance on the contents of this information is strictly 
prohibited.
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Compiling ffmpeg with an output device (Blackmagick Decklink)

2018-04-18 Thread Gonzalo Garramuño


El 18/04/2018 a las 14:40, Carl Eugen Hoyos escribió:

*ffbuild/config.mak:6: *** missing separator.  Stop.*

I attempted tracking down the issue and found this ticket on the ffmpeg
tracker: https://trac.ffmpeg.org/ticket/1209. I'm not using the git pull,
instead I'm just unpacking the source tar.


I can only guess that "upacking" involves selecting line breaks.

[...]



As Carl guesses, you probably have an issue with line breaks ( unix vs.
windows ) and that's why the config.mak file fails.

--
Gonzalo Garramuño

___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Compiling ffmpeg with an output device (Blackmagick Decklink)

2018-04-18 Thread Carl Eugen Hoyos
2018-04-18 0:10 GMT+02:00, David Di Biase :
> Carl, my apologies for not including config.log. I've attached a copy here.

Which only makes sense as long as you have trouble with configure...

[...]

> *ffbuild/config.mak:6: *** missing separator.  Stop.*
>
> I attempted tracking down the issue and found this ticket on the ffmpeg
> tracker: https://trac.ffmpeg.org/ticket/1209. I'm not using the git pull,
> instead I'm just unpacking the source tar.

I can only guess that "upacking" involves selecting line breaks.

[...]

> This email and any files transmitted with it are confidential

Remove this nonsense, it make you and your company look stupid.

Please avoid top-posting here, Carl Eugen
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Compiling ffmpeg with an output device (Blackmagick Decklink)

2018-04-13 Thread Gang Liu
# with decklink, centos 6.x
scl enable devtoolset-3 bash


PKG_CONFIG_PATH=$PKG_CONFIG_PATH:"$HOME/ffmpeg/build.static/lib/pkgconfig"
./configure --prefix="$HOME/ffmpeg/build.static"
--pkg-config-flags="--static"
--extra-cflags="-I$HOME/ffmpeg/build.static/include
-I$HOME/Downloads/Blackmagic_DeckLink_SDK_10.8.5/Linux/include/"
--extra-ldflags="-L$HOME/ffmpeg/build.static/lib
-L$HOME/Downloads/Blackmagic_DeckLink_SDK_10.8.5/Linux/include/"
--extra-libs=-lpthread --bindir="$HOME/ffmpeg/bin.static" --enable-gpl
--enable-version3 --enable-nonfree --enable-libfdk_aac --enable-fontconfig
--enable-libfreetype --enable-libmp3lame --enable-libopus
--enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265
--enable-decklink --enable-librtmp --enable-openssl

On Sat, Apr 14, 2018 at 5:22 AM, David Di Biase 
wrote:

> I've gone through the ffmpeg compile tutorial and have managed to get it
> working as expected. The build looks stable and usable. However now I need
> to include the Blackmagick Decklink SDK in the build using the
> --enable-decklink flag.
>
> *cd ~/ffmpeg_sources && \*
> *wget -O ffmpeg-snapshot.tar.bz2
> https://ffmpeg.org/releases/ffmpeg-snapshot.tar.bz2
>  && \*
> *tar xjvf ffmpeg-snapshot.tar.bz2 && \*
> *cd ffmpeg && \*
> *PATH="$HOME/bin:$PATH" PKG_CONFIG_PATH="$HOME/ffmpeg_build/lib/pkgconfig"
> ./configure \*
> *  --prefix="$HOME/ffmpeg_build" \*
> *  --pkg-config-flags="--static" \*
> *  --extra-cflags="-I$HOME/ffmpeg_build/include" \*
> *  --extra-ldflags="-L$HOME/ffmpeg_build/lib" \*
> *  --extra-libs="-lpthread -lm" \*
> *  --bindir="$HOME/bin" \*
> *  --enable-gpl \*
> *  --enable-libass \*
> *  --enable-libfdk-aac \*
> *  --enable-libfreetype \*
> *  --enable-libmp3lame \*
> *  --enable-libopus \*
> *  --enable-libtheora \*
> *  --enable-libvorbis \*
> *  --enable-libvpx \*
> *  --enable-libx264 \*
> *  --enable-libx265 \*
> *  --enable-decklink \*
> *  --enable-nonfree && \*
> *PATH="$HOME/bin:$PATH" make && \*
> *make install && \*
> *hash -r*
>
> However after a few seconds it fails and reports that it cannot find the
> decklink libs:
>
> *ERROR: DeckLinkAPI.h not found*
>
> If you think configure made a mistake, make sure you are using the latest
> version from Git.  If the latest version fails, report the problem to the
> ffmpeg-user@ffmpeg.org mailing list or IRC #ffmpeg on irc.freenode.net.
> Include the log file "ffbuild/config.log" produced by configure as this
> will help
> solve the problem.
> I've placed the libraries in the same folder specified by extra-cflags and
> in the ldflags. So basically the Decklink SDK is available here and here:
>
> *~/ffmpeg_build/include/decklink*
> *~/ffmpeg_build/lib/decklink*
>
> That's not apparently how you do it though (new to ffmpeg). I'm wondering
> where I should be putting the SDK source to ensure the compiler can read
> it.
>
> Thanks.
>
> --
> This email and any files transmitted with it are confidential and intended
> solely for the use of the individual or entity to whom they are addressed.
> If you have received this email in error please notify the system manager.
> This message contains confidential information and is intended only for
> the
> individual named. If you are not the named addressee you should not
> disseminate, distribute or copy this e-mail. Please notify the sender
> immediately by e-mail if you have received this e-mail by mistake and
> delete this e-mail from your system. If you are not the intended recipient
> you are notified that disclosing, copying, distributing or taking any
> action in reliance on the contents of this information is strictly
> prohibited.
> ___
> ffmpeg-user mailing list
> ffmpeg-user@ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Compiling ffmpeg with an output device (Blackmagick Decklink)

2018-04-13 Thread Carl Eugen Hoyos
2018-04-13 23:22 GMT+02:00, David Di Biase :

> Include the log file "ffbuild/config.log" produced by configure
> as this will help solve the problem.

Did you read this?

> This email and any files transmitted with it are confidential

Please remove this from emails sent to a public mailing list.

Carl Eugen
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

[FFmpeg-user] Compiling ffmpeg with an output device (Blackmagick Decklink)

2018-04-13 Thread David Di Biase
I've gone through the ffmpeg compile tutorial and have managed to get it
working as expected. The build looks stable and usable. However now I need
to include the Blackmagick Decklink SDK in the build using the
--enable-decklink flag.

*cd ~/ffmpeg_sources && \*
*wget -O ffmpeg-snapshot.tar.bz2
https://ffmpeg.org/releases/ffmpeg-snapshot.tar.bz2
 && \*
*tar xjvf ffmpeg-snapshot.tar.bz2 && \*
*cd ffmpeg && \*
*PATH="$HOME/bin:$PATH" PKG_CONFIG_PATH="$HOME/ffmpeg_build/lib/pkgconfig"
./configure \*
*  --prefix="$HOME/ffmpeg_build" \*
*  --pkg-config-flags="--static" \*
*  --extra-cflags="-I$HOME/ffmpeg_build/include" \*
*  --extra-ldflags="-L$HOME/ffmpeg_build/lib" \*
*  --extra-libs="-lpthread -lm" \*
*  --bindir="$HOME/bin" \*
*  --enable-gpl \*
*  --enable-libass \*
*  --enable-libfdk-aac \*
*  --enable-libfreetype \*
*  --enable-libmp3lame \*
*  --enable-libopus \*
*  --enable-libtheora \*
*  --enable-libvorbis \*
*  --enable-libvpx \*
*  --enable-libx264 \*
*  --enable-libx265 \*
*  --enable-decklink \*
*  --enable-nonfree && \*
*PATH="$HOME/bin:$PATH" make && \*
*make install && \*
*hash -r*

However after a few seconds it fails and reports that it cannot find the
decklink libs:

*ERROR: DeckLinkAPI.h not found*

If you think configure made a mistake, make sure you are using the latest
version from Git.  If the latest version fails, report the problem to the
ffmpeg-user@ffmpeg.org mailing list or IRC #ffmpeg on irc.freenode.net.
Include the log file "ffbuild/config.log" produced by configure as this
will help
solve the problem.
I've placed the libraries in the same folder specified by extra-cflags and
in the ldflags. So basically the Decklink SDK is available here and here:

*~/ffmpeg_build/include/decklink*
*~/ffmpeg_build/lib/decklink*

That's not apparently how you do it though (new to ffmpeg). I'm wondering
where I should be putting the SDK source to ensure the compiler can read it.

Thanks.

-- 
This email and any files transmitted with it are confidential and intended 
solely for the use of the individual or entity to whom they are addressed. 
If you have received this email in error please notify the system manager. 
This message contains confidential information and is intended only for the 
individual named. If you are not the named addressee you should not 
disseminate, distribute or copy this e-mail. Please notify the sender 
immediately by e-mail if you have received this e-mail by mistake and 
delete this e-mail from your system. If you are not the intended recipient 
you are notified that disclosing, copying, distributing or taking any 
action in reliance on the contents of this information is strictly 
prohibited.
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Compiling ffmpeg

2017-10-31 Thread Gonzalo Garramuño



El 30/10/17 a las 16:09, Legault, Phillip [GTSUS] escribió:

./configure --enable-gpl --enable-libfdk_aac --enable-libmp3lame 
--enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 
--enable-nonfree --disable-static --enable-shared
getting error
ERROR: libtheora not found


As the message says, you need libtheora.  On Ubuntu, for example, you'd do:

$ sudo apt-get install libtheora0

and possibly:

$ sudo apt-get install libtheora-dev

--
Gonzalo Garramuño

___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Compiling ffmpeg with NVDIA GPU enabled

2017-10-27 Thread Moritz Barsnick
On Thu, Oct 26, 2017 at 07:01:58 +, Nandepagol, Gurushantappa wrote:
> Can you please provide your input.

Did you not read this email? You are the one who failed to provide
input.

http://ffmpeg.org/pipermail/ffmpeg-user/2017-October/037616.html

Moritz
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Compiling ffmpeg with NVDIA GPU enabled

2017-10-26 Thread Nandepagol, Gurushantappa
Can you please provide your input.

Guru

-Original Message-
From: Nandepagol, Gurushantappa 
Sent: Wednesday, October 25, 2017 10:05 AM
To: ffmpeg-user@ffmpeg.org
Cc: Lou Logan 
Subject: RE: Compiling ffmpeg with NVDIA GPU enabled

Hi Moritz,

Thank you for your reply.

Please find the requested details below.

We are running the command on MINGW64 platform.

As you requested in the link, Please find the config.log content

First 10 Lines

# ./configure --enable-nonfree --enable-nvenc --enable-cuda --enable-cuvid 
--enable-libnpp --extra-cflags=-Ilocal/include --extra-cflags=-I../nv_sdk 
--extra-ldflags=-L../nv_sdk 
ACLOCAL_PATH=/mingw64/share/aclocal:/usr/share/aclocal
ALLUSERSPROFILE='C:\ProgramData'
ALL_COMPONENTS='
aac_adtstoasc_bsf
chomp_bsf
dump_extradata_bsf
dca_core_bsf
extract_extradata_bsf
h264_mp4toannexb_bsf


Last 20 Lines

zmbv_decoder_select=zlib
zmbv_encoder=yes
zmbv_encoder_select=zlib
zmq_filter=yes
zmq_filter_deps=libzmq
zoompan_filter=yes
zoompan_filter_deps=swscale
zscale_filter=yes
zscale_filter_deps='libzimg const_nan'
mktemp -u XX
uqKwom
WARNING: Unknown C compiler gcc, unable to select optimal CFLAGS check_ld cc 
check_cc BEGIN /tmp/ffconf.exwYYBli/test.c
1   int main(void){ return 0; }
END /tmp/ffconf.exwYYBli/test.c
gcc -Ilocal/include -I../nv_sdk -c -o /tmp/ffconf.exwYYBli/test.o 
/tmp/ffconf.exwYYBli/test.c
./configure: line 906: gcc: command not found C compiler test failed.


Thanks & Regards,
Guru



-Original Message-
From: Lou Logan [mailto:l...@lrcd.com]
Sent: Monday, October 16, 2017 8:19 PM
To: Nandepagol, Gurushantappa 
Cc: ffmpeg-user-ow...@ffmpeg.org
Subject: Re: Compiling ffmpeg with NVDIA GPU enabled

Hi,

On Sun, Oct 15, 2017, at 08:30 PM, Nandepagol, Gurushantappa wrote:
> Hi Lou Logan,
> 
> We are waiting for your reply, Can you provide your input to solution 
> to this issue.
> 
> Regards,
> Guru

Sorry, but I personally don't have a solution for you. See the mailing list 
archives if you did not see the reply from Moritz:



You can reply to the message by clicking on the email link at the top.
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Compiling ffmpeg with NVDIA GPU enabled

2017-10-25 Thread Nandepagol, Gurushantappa
Hi Moritz,

Thank you for your reply.

Please find the requested details below.

We are running the command on MINGW64 platform.

As you requested in the link, Please find the config.log content

First 10 Lines

# ./configure --enable-nonfree --enable-nvenc --enable-cuda --enable-cuvid 
--enable-libnpp --extra-cflags=-Ilocal/include --extra-cflags=-I../nv_sdk 
--extra-ldflags=-L../nv_sdk 
ACLOCAL_PATH=/mingw64/share/aclocal:/usr/share/aclocal
ALLUSERSPROFILE='C:\ProgramData'
ALL_COMPONENTS='
aac_adtstoasc_bsf
chomp_bsf
dump_extradata_bsf
dca_core_bsf
extract_extradata_bsf
h264_mp4toannexb_bsf


Last 20 Lines

zmbv_decoder_select=zlib
zmbv_encoder=yes
zmbv_encoder_select=zlib
zmq_filter=yes
zmq_filter_deps=libzmq
zoompan_filter=yes
zoompan_filter_deps=swscale
zscale_filter=yes
zscale_filter_deps='libzimg const_nan'
mktemp -u XX
uqKwom
WARNING: Unknown C compiler gcc, unable to select optimal CFLAGS check_ld cc 
check_cc BEGIN /tmp/ffconf.exwYYBli/test.c
1   int main(void){ return 0; }
END /tmp/ffconf.exwYYBli/test.c
gcc -Ilocal/include -I../nv_sdk -c -o /tmp/ffconf.exwYYBli/test.o 
/tmp/ffconf.exwYYBli/test.c
./configure: line 906: gcc: command not found C compiler test failed.


Thanks & Regards,
Guru



-Original Message-
From: Lou Logan [mailto:l...@lrcd.com]
Sent: Monday, October 16, 2017 8:19 PM
To: Nandepagol, Gurushantappa 
Cc: ffmpeg-user-ow...@ffmpeg.org
Subject: Re: Compiling ffmpeg with NVDIA GPU enabled

Hi,

On Sun, Oct 15, 2017, at 08:30 PM, Nandepagol, Gurushantappa wrote:
> Hi Lou Logan,
> 
> We are waiting for your reply, Can you provide your input to solution 
> to this issue.
> 
> Regards,
> Guru

Sorry, but I personally don't have a solution for you. See the mailing list 
archives if you did not see the reply from Moritz:



You can reply to the message by clicking on the email link at the top.
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

[FFmpeg-user] Compiling ffmpeg with NVDIA GPU enabled

2017-10-12 Thread Nandepagol, Gurushantappa
Hi,

Please find the simplified mail below and request you to add to mailing list.

I am working on decoding video using ffmpeg with NVDIA GPU enabled on windows 
platform.


While running the following command

./configure --enable-nonfree --enable-nvenc --enable-cuda --enable-cuvid 
--enable-libnpp --extra-cflags=-Ilocal/include --extra-cflags=-I../nv_sdk 
--extra-ldflags=-L../nv_sdk


I am getting below error
"./configure --enable-nonfree --enable-nvenc --enable-cuda --enable-cuvid --ena 


ble-libnpp --extra-cflags=-Ilocal/include --extra-cflags=-I../nv_sdk 
--extra-ldf 

lags=-L../nv_sdk
gcc is unable to create an executable file.
If gcc is a cross-compiler, use the --enable-cross-compile option.
Only do this if you know what cross compiling means.
C compiler test failed.

If you think configure made a mistake, make sure you are using the latest
version from Git.  If the latest version fails, report the problem to the
ffmpeg-user@ffmpeg.org mailing list or IRC 
#ffmpeg on irc.freenode.net.
Include the log file "ffbuild/config.log" produced by configure as this will 
hel 

p
solve the problem".

Also I have the error screen shot to this mail for more information.

Please revert with us what could be the possible solution to this issue.

Thanks & Regards,
Guru




--- Begin Message ---
Your request to the ffmpeg-user mailing list

Posting of your message titled "Compiling ffmpeg with NVDIA GPU
enabled"

has been rejected by the list moderator.  The moderator gave the
following reason for rejecting your request:

"Message too big. Size limit is 1000k. Please provide links to large
files instead of attaching them."

Any questions or comments should be directed to the list administrator
at:

ffmpeg-user-ow...@ffmpeg.org
--- End Message ---
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Compiling FFMPEG with ffplay support

2017-06-15 Thread michelel
This worked for me:

1. sudo apt-get install libsdl2-dev
2. ./configure --enable-ffplay
3. open FFmpeg/ffbuild/config.mak and check to make sure fflplay and SDL2
are enabled

 FFMPEG_CONFIGURATION= --enable-ffplay
 CFLAGS-ffplay=-D_REENTRANT -I/usr/include/SDL2
 EXTRALIBS-ffplay=-lSDL2
 CONFIG_FFPLAY=yes

4. make





--
View this message in context: 
http://www.ffmpeg-archive.org/Compiling-FFMPEG-with-ffplay-support-tp3414041p4680297.html
Sent from the FFmpeg-users mailing list archive at Nabble.com.
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] compiling ffmpeg program with libavutil/internal.h in gcc

2017-02-06 Thread Marton Balint


On Mon, 6 Feb 2017, יוסף אלון wrote:


because i need to record 36 seconds every 30 seconds and i cant find a
command to do this.


Are you sure you cannot do what you want with the segment muxer? Do you 
really need overlapping segments?


Regards,
Marton
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] compiling ffmpeg program with libavutil/internal.h in gcc

2017-02-06 Thread Nicolas George
L'octidi 18 pluviôse, an CCXXV, יוסף אלון a écrit :
> because i need to record 36 seconds every 30 seconds and i cant find a
> command to do this.

Unfortunately, ffmpeg does not yet support libtardis.

> So I wanted to build an a  c program to do it using ffmpeg libs.

You can definitely do that, but you are doing wrong. You need to rely
solely on the installed headers. Do not take ffmpeg.c as an example, it
is too complex and it uses a few internal APIs. Use the files in the
doc/example/ directory. And I recommend using pkg-config to get the
correct compile and link flags.

> 2017-02-06 11:18 GMT+02:00 Nicolas George :

Remember not to top-post on this mailing-list. If you do not know what
it means, look it up.

Regards,

-- 
  Nicolas George


signature.asc
Description: Digital signature
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] compiling ffmpeg program with libavutil/internal.h in gcc

2017-02-06 Thread יוסף אלון
because i need to record 36 seconds every 30 seconds and i cant find a
command to do this.
So I wanted to build an a  c program to do it using ffmpeg libs.

2017-02-06 11:18 GMT+02:00 Nicolas George :

> L'octidi 18 pluviôse, an CCXXV, יוסף אלון a écrit :
> > I am trying to compile only the includes in ffmpeg.c with a simple main,
>
> Why? Do not do that!
>
> Regards,
>
> --
>   Nicolas George
>
> ___
> ffmpeg-user mailing list
> ffmpeg-user@ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
>



-- 
בברכה, יוסף אלון
050-4916740
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] compiling ffmpeg program with libavutil/internal.h in gcc

2017-02-06 Thread Nicolas George
L'octidi 18 pluviôse, an CCXXV, יוסף אלון a écrit :
> I am trying to compile only the includes in ffmpeg.c with a simple main,

Why? Do not do that!

Regards,

-- 
  Nicolas George


signature.asc
Description: Digital signature
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

[FFmpeg-user] compiling ffmpeg program with libavutil/internal.h in gcc

2017-02-06 Thread יוסף אלון
Hello,

I am trying to compile only the includes in ffmpeg.c with a simple main,
but i recieve an error:
In file included from libavutil/internal.h:166:0,
 from newmain.c:30:
libavutil/libm.h:54:32: error: static declaration of ‘cbrt’ follows
non-static declaration
 static av_always_inline double cbrt(double x)
^

from libavutil/internal.h
I am using the flag -lavutil.
any help?

-
Yosef Alon
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Compiling FFmpeg without SecIdentityCreate API

2016-10-19 Thread Carl Eugen Hoyos
2016-10-19 23:56 GMT+02:00 Josh Sloat :
>>Where did he say that?
>
> OP discusses failed methods here:
> https://www.mail-archive.com/ffmpeg-user@ffmpeg.org/msg11151.html

(Now an important part of my email is missing above)

I don't think he discusses a suggested method "here".

Carl Eugen
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Compiling FFmpeg without SecIdentityCreate API

2016-10-19 Thread Josh Sloat
>Where did he say that?

OP discusses failed methods here: 
https://www.mail-archive.com/ffmpeg-user@ffmpeg.org/msg11151.html 

>Please fix your quoting

I’m using the Reply button in mail.app and the “>" symbol for quoting. Pretty 
standard stuff. Not sure what more I can do.


> On Oct 19, 2016, at 5:42 PM, Carl Eugen Hoyos  wrote:
> 
> 2016-10-19 23:28 GMT+02:00 joshsloat :
>>> Could it also be a matter of reading the mails I write?
>> 
>> I’ve read every single line of every single post in this thread.
> 
>> You gave the original poster a solution and he said it didn’t work.
> 
> Where did he say that?
> 
> Please fix your quoting, Carl Eugen
> ___
> ffmpeg-user mailing list
> ffmpeg-user@ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
> 
> To unsubscribe, visit link above, or email
> ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Compiling FFmpeg without SecIdentityCreate API

2016-10-19 Thread Carl Eugen Hoyos
2016-10-19 23:28 GMT+02:00 joshsloat :
>>Could it also be a matter of reading the mails I write?
>
> I’ve read every single line of every single post in this thread.

> You gave the original poster a solution and he said it didn’t work.

Where did he say that?

Please fix your quoting, Carl Eugen
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Compiling FFmpeg without SecIdentityCreate API

2016-10-19 Thread joshsloat
>Could it also be a matter of reading the mails I write? 

I’ve read every single line of every single post in this thread. You gave the 
original poster a solution and he said it didn’t work. I can either repeat what 
the OP did and end up with the same result - or we can move things closer to 
getting a solution.

Please do not respond if you are only looking to throw daggers. 



> On Oct 19, 2016, at 5:21 PM, Carl Eugen Hoyos-2 [via FFmpeg-users] 
>  wrote:
> 
> 2016-10-19 15:27 GMT+02:00 joshsloat <[hidden email] 
> >: 
> 
> > It appears that it is, in fact, possible - just a matter of finding the 
> > right switches. 
> 
> Could it also be a matter of reading the mails I write? 
> 
> Carl Eugen 
> ___ 
> ffmpeg-user mailing list 
> [hidden email]  
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user 
> 
> 
> To unsubscribe, visit link above, or email 
> [hidden email]  with 
> subject "unsubscribe". 
> 
> If you reply to this email, your message will be added to the discussion 
> below:
> http://ffmpeg-users.933282.n4.nabble.com/Compiling-FFmpeg-without-SecIdentityCreate-API-tp4676487p4677949.html
>  
> 
> To unsubscribe from Compiling FFmpeg without SecIdentityCreate API, click 
> here 
> .
> NAML 
> 




--
View this message in context: 
http://ffmpeg-users.933282.n4.nabble.com/Compiling-FFmpeg-without-SecIdentityCreate-API-tp4676487p4677952.html
Sent from the FFmpeg-users mailing list archive at Nabble.com.
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Compiling FFmpeg without SecIdentityCreate API

2016-10-19 Thread Carl Eugen Hoyos
2016-10-18 19:21 GMT+02:00 Josh Sloat :

> We’re not currently compiling ffmpeg from source.

Sorry, your mail is difficult to read:
To which of my questions is this the answer?

Carl Eugen
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Compiling FFmpeg without SecIdentityCreate API

2016-10-19 Thread joshsloat
Thanks Moritz and Phil. You are precisely correct as to why I posted the 
question where I did. 

>how about learning to use your mail client? 

Good grief, Reindl.  Comments like these are precisely why every conversation 
on the Internet devolves into a flame war. No help, no value, just misguided 
missiles. 

Back to the topic at hand - has anyone here had luck coming up with a build 
configuration that has successfully navigated Mac App Store approval? I have 
gone to Apple with this problem and they simply said: "you may want to consult 
with the developers of the third party framework, FFmpeg. While App Review 
cannot provide technical assistance, we have seen developers find solutions 
while using this third party framework.”

It appears that it is, in fact, possible - just a matter of finding the right 
switches. 

Josh


> On Oct 19, 2016, at 6:53 AM, Moritz Barsnick [via FFmpeg-users] 
>  wrote:
> 
> On Wed, Oct 19, 2016 at 10:15:34 +0200, Reindl Harald wrote: 
> > and create your own topic by compose a new mail and *not* reply to 
> > something else 
> 
> No, he replied to the existing thread, asking whether the OP (or 
> whatever you call them on a mailing list) had come to a resolution - of 
> the original issue. It's not a new topic at all, and I am sure that 
> Josh understands very well that the binary he has been using isn't 
> being accepted my the AppStore and never will. 
> 
> > - however, if you have a 
> > precompiled binary from somewhere then bother the person who built it 
> 
> No, that's why he's here in this thread. He wants to know whether Anand 
> managed to recompile ffmpeg properly to get his app approved. 
> 
> Moritz 
> ___ 
> ffmpeg-user mailing list 
> [hidden email]  
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user 
> 
> 
> To unsubscribe, visit link above, or email 
> [hidden email]  
> with subject "unsubscribe". 
> 
> If you reply to this email, your message will be added to the discussion 
> below:
> http://ffmpeg-users.933282.n4.nabble.com/Compiling-FFmpeg-without-SecIdentityCreate-API-tp4676487p4677932.html
>  
> 
> To unsubscribe from Compiling FFmpeg without SecIdentityCreate API, click 
> here 
> .
> NAML 
> 




--
View this message in context: 
http://ffmpeg-users.933282.n4.nabble.com/Compiling-FFmpeg-without-SecIdentityCreate-API-tp4676487p4677938.html
Sent from the FFmpeg-users mailing list archive at Nabble.com.
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Compiling FFmpeg without SecIdentityCreate API

2016-10-19 Thread Phil Rhodes
> however, if you have a precompiled binary from somewhere then bother the 
> person who built it
Or, you could discuss it here, where there might be some other people who've 
used it.
P
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Compiling FFmpeg without SecIdentityCreate API

2016-10-19 Thread Reindl Harald



Am 19.10.2016 um 01:24 schrieb Josh Sloat:

How is this helpful?


how about learning to use your mail client?

that starts with not top-posting and create your own topic by compose a 
new mail and *not* reply to something else - however, if you have a 
precompiled binary from somewhere then bother the person who built it



On Oct 18, 2016, at 7:23 PM, Reindl Harald  wrote:



Am 19.10.2016 um 01:11 schrieb joshsloat:

I didn’t create the subject line. I was responding to an existing thread


oh my

___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Compiling FFmpeg without SecIdentityCreate API

2016-10-18 Thread Josh Sloat
How is this helpful?

> On Oct 18, 2016, at 7:23 PM, Reindl Harald  wrote:
> 
> 
> 
> Am 19.10.2016 um 01:11 schrieb joshsloat:
>> I didn’t create the subject line. I was responding to an existing thread
> 
> oh my
> ___
> ffmpeg-user mailing list
> ffmpeg-user@ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
> 
> To unsubscribe, visit link above, or email
> ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Compiling FFmpeg without SecIdentityCreate API

2016-10-18 Thread Reindl Harald



Am 19.10.2016 um 01:11 schrieb joshsloat:

I didn’t create the subject line. I was responding to an existing thread


oh my
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Compiling FFmpeg without SecIdentityCreate API

2016-10-18 Thread joshsloat
I didn’t create the subject line. I was responding to an existing thread. The 
original poster started with a downloaded binary (just like me) and got 
rejected (just like me). The original question had to do with trying to find a 
way to compile from source that would get around the rejection. Anand seemed to 
have some insights on dealing with the App Store and I was hoping to find out 
if he got to a resolution (compiling from source or otherwise).

> On Oct 18, 2016, at 7:05 PM, Reindl Harald [via FFmpeg-users] 
>  wrote:
> 
> 
> 
> Am 18.10.2016 um 19:21 schrieb Josh Sloat: 
> > We’re not currently compiling ffmpeg from source. We’re using the binary 
> > obtained directly from: http://www.ffmpegmac.net 
> >   > > 
> 
> so WHAT is the point of a subject containing "compiling" then? 
> ___ 
> ffmpeg-user mailing list 
> [hidden email]  
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user 
> 
> 
> To unsubscribe, visit link above, or email 
> [hidden email]  
> with subject "unsubscribe". 
> 
> If you reply to this email, your message will be added to the discussion 
> below:
> http://ffmpeg-users.933282.n4.nabble.com/Compiling-FFmpeg-without-SecIdentityCreate-API-tp4676487p4677924.html
>  
> 
> To unsubscribe from Compiling FFmpeg without SecIdentityCreate API, click 
> here 
> .
> NAML 
> 




--
View this message in context: 
http://ffmpeg-users.933282.n4.nabble.com/Compiling-FFmpeg-without-SecIdentityCreate-API-tp4676487p4677925.html
Sent from the FFmpeg-users mailing list archive at Nabble.com.
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Compiling FFmpeg without SecIdentityCreate API

2016-10-18 Thread Reindl Harald



Am 18.10.2016 um 19:21 schrieb Josh Sloat:

We’re not currently compiling ffmpeg from source. We’re using the binary obtained 
directly from: http://www.ffmpegmac.net 


so WHAT is the point of a subject containing "compiling" then?
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Compiling FFmpeg without SecIdentityCreate API

2016-10-18 Thread Josh Sloat
Anand mentioned that compiling with that option also resulted in rejection:

>I tried to build myself using this ./configure 
>--disable-protocol=tls_securetransport. They rejected it.

The conversation seemed to sputter out after that, so I am reaching out for 
clarity.

We’re not currently compiling ffmpeg from source. We’re using the binary 
obtained directly from: http://www.ffmpegmac.net 

Josh

> On Oct 18, 2016, at 1:04 PM, Carl Eugen Hoyos  wrote:
> 
> 2016-10-18 17:53 GMT+02:00 joshsloat :
>> Carl - It looks like there was some unaddressed confusion
>> about why this is resulting in rejection.
> 
> Why do you think so?
> What's wrong with --disable-securetransport?
> And where can I find the source code of your
> FFmpeg distribution?
> 
> Carl Eugen
> ___
> ffmpeg-user mailing list
> ffmpeg-user@ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
> 
> To unsubscribe, visit link above, or email
> ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Compiling FFmpeg without SecIdentityCreate API

2016-10-18 Thread Carl Eugen Hoyos
2016-10-18 17:53 GMT+02:00 joshsloat :
> Carl - It looks like there was some unaddressed confusion
> about why this is resulting in rejection.

Why do you think so?
What's wrong with --disable-securetransport?
And where can I find the source code of your
FFmpeg distribution?

Carl Eugen
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Compiling FFmpeg without SecIdentityCreate API

2016-09-18 Thread muruganandh
ok let me be clear with my Question

Whether --enable-static will embed the libraries? or just link them? When i
move the created ffmpeg to another machine i fails to load the dyld.



--
View this message in context: 
http://ffmpeg-users.933282.n4.nabble.com/Compiling-FFmpeg-without-SecIdentityCreate-API-tp4676487p4677607.html
Sent from the FFmpeg-users mailing list archive at Nabble.com.
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Compiling FFmpeg without SecIdentityCreate API

2016-09-17 Thread Reindl Harald



Am 18.09.2016 um 00:49 schrieb Kieran O Leary:

Hi

On 17 Sep 2016 11:42 p.m., "Carl Eugen Hoyos"  wrote:



Unrelated: Am I the only one who has serious trouble receiving
Phil's emails?


Yes, on Gmail they go straight to spam, and are only included in a thread
when someone replies


pretty sure DMIM/DMARC and the wrong mail provider for using a 
mailing-list, many RCPT's these days are very strict

___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Compiling FFmpeg without SecIdentityCreate API

2016-09-17 Thread Kieran O Leary
Hi

On 17 Sep 2016 11:42 p.m., "Carl Eugen Hoyos"  wrote:
>

>
>
> Unrelated: Am I the only one who has serious trouble receiving
> Phil's emails?
>
Yes, on Gmail they go straight to spam, and are only included in a thread
when someone replies.
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Compiling FFmpeg without SecIdentityCreate API

2016-09-17 Thread Paul B Mahol
On 9/18/16, Carl Eugen Hoyos  wrote:
> 2016-09-17 21:12 GMT+02:00 Phil Rhodes :
>>> We are not Apple.
>>
>> Well, no, but someone on the list might have experience of doing this.
>> In fact, I know for a fact that someone on the list has experience of
>> doing this.
>
>> So why not let the conversation continue?
>
> Why do you believe that this conversation may not continue?
>
> Unrelated: Am I the only one who has serious trouble receiving
> Phil's emails?

You are not only one.
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Compiling FFmpeg without SecIdentityCreate API

2016-09-17 Thread Carl Eugen Hoyos
2016-09-17 2:54 GMT+02:00 muruganandh :
> Apple is rejecting whatever i do.
>
> 1. I tried to use the static ffmpeg (3.1.3) by tessus. They rejected it.

I would expect that this build includes SecureTransport (which is
useful), we already know (thanks to you) that this is not accepted
by Apple.

> 2. I tried to build myself using this ./configure
> --disable-protocol=tls_securetransport. They rejected it.

This is not the option we discussed in this email thread.

> 3. I have no idea how to build ffmpeg so that Apple guys accept it.

But you also do not share why Apple refused it:
Maybe they found out that the LGPL is not compatible with
Apple's requirements for the App Store - I hope you agree
that there is nothing that we can do to fix this;-(

Carl Eugen
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Compiling FFmpeg without SecIdentityCreate API

2016-09-17 Thread Moritz Barsnick
On Fri, Sep 16, 2016 at 17:54:38 -0700, muruganandh wrote:
> Apple is rejecting whatever i do. 
[...]
> 3. I have no idea how to build ffmpeg so that Apple guys accept it.

Does Apple not provide any reason for rejection?

Moritz
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Compiling FFmpeg without SecIdentityCreate API

2016-09-17 Thread Phil Rhodes
> We are not Apple.
Well, no, but someone on the list might have experience of doing this.
In fact, I know for a fact that someone on the list has experience of doing 
this.
So why not let the conversation continue?
P
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Compiling FFmpeg without SecIdentityCreate API

2016-09-17 Thread Paul B Mahol
On 9/17/16, muruganandh  wrote:
> Apple is rejecting whatever i do.
>
> 1. I tried to use the static ffmpeg (3.1.3) by tessus. They rejected it.
> 2. I tried to build myself using this ./configure
> --disable-protocol=tls_securetransport. They rejected it.
> 3. I have no idea how to build ffmpeg so that Apple guys accept it.
>

We are not Apple.
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Compiling FFmpeg without SecIdentityCreate API

2016-09-17 Thread muruganandh
Where are you providing the source code of your app? 
I am trying to submit the app to mac app store. Should i post it somewhere
and link it here? 




--
View this message in context: 
http://ffmpeg-users.933282.n4.nabble.com/Compiling-FFmpeg-without-SecIdentityCreate-API-tp4676487p4677598.html
Sent from the FFmpeg-users mailing list archive at Nabble.com.
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Compiling FFmpeg without SecIdentityCreate API

2016-09-17 Thread muruganandh
Apple is rejecting whatever i do. 

1. I tried to use the static ffmpeg (3.1.3) by tessus. They rejected it.
2. I tried to build myself using this ./configure
--disable-protocol=tls_securetransport. They rejected it.
3. I have no idea how to build ffmpeg so that Apple guys accept it.



--
View this message in context: 
http://ffmpeg-users.933282.n4.nabble.com/Compiling-FFmpeg-without-SecIdentityCreate-API-tp4676487p4677599.html
Sent from the FFmpeg-users mailing list archive at Nabble.com.
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Compiling FFmpeg without SecIdentityCreate API

2016-09-16 Thread Carl Eugen Hoyos
2016-09-16 13:13 GMT+02:00 muruganandh :

> This is the configure command i am using
>
> ./configure --enable-libx264 --disable-securetransport

This configure line is supposed to fail so you cannot use it.

Carl Eugen
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Compiling FFmpeg without SecIdentityCreate API

2016-09-16 Thread muruganandh
Thanks so much Carl.

--disable-securetransport worked perfectly. 

But i see a new issue: dyld: Library not loaded:
/usr/local/opt/x264/lib/libx264.148.dylib

This is the configure command i am using
 
./configure --enable-libx264 --disable-securetransport

I think the x264 is just linked NOT embedded inside ffmpeg. I need it to be
embedded (I am ok with file size increase of ffmpeg executable because i
want to work on other machines that don't have -
/usr/local/opt/x264/lib/libx264.148.dylib)





--
View this message in context: 
http://ffmpeg-users.933282.n4.nabble.com/Compiling-FFmpeg-without-SecIdentityCreate-API-tp4676487p4677561.html
Sent from the FFmpeg-users mailing list archive at Nabble.com.
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

[FFmpeg-user] compiling ffmpeg

2016-09-07 Thread John Pham
trying to build ffmpeg - and get this error

ERROR: Decklink API version must be >= 10.6.1

not sure, since the tool pulls these library down

I'm using ffmpeg-windows build tool
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Compiling FFMPEG 2.8.7 fails testing

2016-09-04 Thread Carl Eugen Hoyos
Hi!

2016-09-04 14:35 GMT+02:00 MacFH - C E Macfarlane :
> ~ # gcc --version
> gcc (GCC) 4.2.3

This is known to be broken (sorry if I have not mentioned
this originally), I believe configure warns about it.

It makes no sense to run fate with gcc 4.2.

[...]

> As you suggested above, I've downloaded the latest
> version FFMPEG 3.1.3

This is not "the latest version" and I certainly didn't suggest
to download it.

Carl Eugen
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Compiling FFMPEG 2.8.7 fails testing

2016-09-04 Thread MacFH - C E Macfarlane
Sorry for the delay in replying and thanking you ... been rather busy.  Please 
see detailed response below ...

> -Original Message-
> From: ffmpeg-user [mailto:ffmpeg-user-boun...@ffmpeg.org] On Behalf Of
> Carl Eugen Hoyos
> Sent: 25 August 2016 16:56
> To: FFmpeg user questions
> Subject: Re: [FFmpeg-user] Compiling FFMPEG 2.8.7 fails testing
> 
> Hi!
> 
> 2016-08-25 13:26 GMT+02:00 MacFH - C E Macfarlane
> <c.e.macfarl...@macfh.co.uk>:
> > I know that this group only applies to latest gits, but I'm not ready
> > to use FFMPEG v3, and so am using the last version of 2, and searching
> > for this error didn't find anything useful, so I hope you can help ...
> 
> There are three possibilities:
> 
> There is a bug in 2.8 that was fixed meanwhile.
> If you test current git head, you will immediately find out and be able to fix
> your issue.
> (No effort for me.)
> 
> The bug you found still exists.
> In this case, I will try to reproduce, meaning I have to find an arm system, 
> find
> out which of your compilation option triggers the issue, etc, (A major effort
> for me.)
> 
> There is a compiler bug.
> This situation is more difficult;-(
> Please make sure you are neither using an old, nor a compiler with a low
> micro version number.

I have no choice but use:
~ # gcc --version
gcc (GCC) 4.2.3

I've tried to use that version to build on the NAS itself more recent versions 
of GCC, but the problem is that I do not have the OEM header files, only some 
others for a similar device, and every time the build has failed.  Perhaps I'll 
be able to make it work eventually, each time I try I seem to get a little 
further, but it's all incredibly time consuming and frustrating.

> What I am trying to say is: Of course it is easier for me if you do not test
> current git head, but for FFmpeg users in general (and you), it may make
> more sense if you'd test it.

As you suggested above, I've downloaded the latest version FFMPEG 3.1.3 and 
tried building that, but the results are far, far worse.  Configure and make 
each complete without error, but ...
make -k SAMPLES=fate-suite fate
... results in so many errors that I've had to log them all and put them in a 
zip:
www.macfh.co.uk/Temp/FFMPEG_3-1-3_Make_Fate_Errors.zip

Er, happy bedtime reading :-)

> [...]
> 
> > ./configure --prefix=/opt/share  --enable-libx264 --enable-small
> > --enable-gpl --enable-shared --disable-debug
> > --disable-runtime-cpudetect --disable-doc --disable-armv6
> > --disable-armv6t2 --disable-neon --disable-vfp
> > --disable-vfpv3
> 
> I suspect --disable-runtime-cpudetect is never useful.
> Are you really using FFmpeg on arm hardware without neon support?

I've never got any version of FFMPEG to compile without disabling neon support. 
 Given that this is an OEM device, I suppose it's quite possible that there 
isn't actually an FPU unit installed?

> > 4)  make check
> 
> This is not the suggested method to test FFmpeg (I sincerely hope it is not
> mentioned somewhere in the documentation), "make fate" is.
> 
> To continue tests after a failure, use "make -k fate" (not FFmpeg-related).

Now done with the original build.  It was several days ago now, but AFAICR 
there was only one or two other check/fate errors in functionality that I'm 
unlikely to need, so it may be that I can install and use that build 
satisfactorily.  I have to go out now, but I'll check it out this evening.

Thanks and regards.
Charles.


___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Compiling FFMPEG 2.8.7 fails testing

2016-08-25 Thread Carl Eugen Hoyos
Hi!

2016-08-25 13:26 GMT+02:00 MacFH - C E Macfarlane :
> I know that this group only applies to latest gits, but I'm not ready to use
> FFMPEG v3, and so am using the last version of 2, and searching for this
> error didn't find anything useful, so I hope you can help ...

There are three possibilities:

There is a bug in 2.8 that was fixed meanwhile.
If you test current git head, you will immediately find out and be
able to fix your issue.
(No effort for me.)

The bug you found still exists.
In this case, I will try to reproduce, meaning I have to find an arm
system, find out
which of your compilation option triggers the issue, etc,
(A major effort for me.)

There is a compiler bug.
This situation is more difficult;-(
Please make sure you are neither using an old, nor a compiler with a low
micro version number.

What I am trying to say is: Of course it is easier for me if you do
not test current
git head, but for FFmpeg users in general (and you), it may make more sense
if you'd test it.

[...]

> ./configure --prefix=/opt/share  --enable-libx264 --enable-small
> --enable-gpl --enable-shared --disable-debug --disable-runtime-cpudetect
> --disable-doc --disable-armv6 --disable-armv6t2 --disable-neon --disable-vfp
> --disable-vfpv3

I suspect --disable-runtime-cpudetect is never useful.
Are you really using FFmpeg on arm hardware without neon support?

[...]

> 4)  make check

This is not the suggested method to test FFmpeg (I sincerely hope it is not
mentioned somewhere in the documentation), "make fate" is.

To continue tests after a failure, use "make -k fate" (not FFmpeg-related).

Carl Eugen
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

[FFmpeg-user] Compiling FFMPEG 2.8.7 fails testing

2016-08-25 Thread MacFH - C E Macfarlane
I know that this group only applies to latest gits, but I'm not ready to use
FFMPEG v3, and so am using the last version of 2, and searching for this
error didn't find anything useful, so I hope you can help ...

I'm trying to test an apparently successful compilation of FFMPEG v2.8.7 on
a NAS with ARM hardware, as follows:

1)  Apparently successfully, I've compiled and installed x264.

2)  Configured FFMPEG as follows (have to cut down the exec size because
this is a NAS with limited resources):

./configure --prefix=/opt/share  --enable-libx264 --enable-small
--enable-gpl --enable-shared --disable-debug --disable-runtime-cpudetect
--disable-doc --disable-armv6 --disable-armv6t2 --disable-neon --disable-vfp
--disable-vfpv3

3)  make

... apparently successful.

4)  make check

... fails with ...

TESTapi-flac
Test api-flac failed. Look at tests/data/fate/api-flac.err for
details

... but following help previously given here tried both ...

make SAMPLES=fate-suite fate-rsync
make SAMPLES=fate-suite fate

... and (but shouldn't 'make check' be configuring itself to use the newly
built libraries so that I shouldn't need to give the first command
explicitly?) ...

 export
LD_LIBRARY_PATH="/root/build/ffmpeg-2.8.7/libavcodec:/root/build/ffmpeg-2.8.
7/libavdevice:
/root/build/ffmpeg-2.8.7/libavfilter:/root/build/ffmpeg-2.8.7/libavformat:/r
oot/build/ffmpeg-2.8.7/libavresample:/root/b
uild/ffmpeg-2.8.7/libavutil:/root/build/ffmpeg-2.8.7/libpostproc:/root/build
/ffmpeg-2.8.7/library.mak:/root/build/ffmpeg
-2.8.7/libswresample:/root/build/ffmpeg-2.8.7/libswscale:/opt/share/lib:/opt
/lib:/usr/lib:/usr/local/lib:/var/lib:/lib:/
usr/local/zy-pkgs/lib:/opt/arm-none-linux-gnueabi/lib"
make check

.., and both methods now fail with ...

TESTfilter-pixfmts-pullup
--- ./tests/ref/fate/filter-pixfmts-pullup  2016-03-29
03:25:35.0 +0100
+++ tests/data/fate/filter-pixfmts-pullup   2016-08-24
02:49:02.570659000 +0100
@@ -1,12 +1,12 @@
-gray415c928947f83f9b45c24ad15a094bda
-yuv410p 0f29d0b6394871e1e6cde484b4f351f4
-yuv411p ec059b1992e1acda472b9b2dd3e4506b
-yuv420p dba6303cd02cc39cb0db7b546793d565
-yuv422p d7d3224dd900bb1b96608a28a704360d
-yuv440p d4c5f20701cfceb4bbf7d75cfcc13514
-yuv444p 7e405274037e7f2ab845d7413a71e16d
-yuvj411pdc602e7bd3449d16e17e695815616b1e
-yuvj420pb98ec86eeef2d512aeb2fc4d32ffa656
-yuvj422pf09c3240bb662477b76ce4da34b4feed
-yuvj440p8d3ab69e2bd2f9be323c18922533
-yuvj444p2dc27560eed5d685354796de853c
+gray91dc4bbdef5565d3d544fbd518735c8a
+yuv410p 63d9ee24a4a9ad1e6bbf7d77804dcf02
+yuv411p 58b3f60a4118e1bf1142037d5c99ce68
+yuv420p c9628343e7f3035c3a8eddac79ce41ee
+yuv422p 5c1867e6c9f2e2eb00513ee6474f8e52
+yuv440p bba5c1a2a0058f248eee59a0bcca7a0e
+yuv444p 4ca3403246cce4686718489f33477efd
+yuvj411p5f7913849fbce83f76e93f9db8800a77
+yuvj420pbaadc4d8ec958ff0d02f8cd48686f85b
+yuvj422pa8a620f543221d87c187fb79506b2f92
+yuvj440pa76f545076ef075035fa2f0adc2af349
+yuvj444pa09d8823efe444ae15d9cdc26e8a3158
Test filter-pixfmts-pullup failed. Look at
tests/data/fate/filter-pixfmts-pullup.err for details.

Here's the contents of tests/data/fate/filter-pixfmts-pullup.err:

detected 1 logical cores
[scale @ 0x111080] w:iw h:ih flags:'bilinear' interl:0
detected 1 logical cores
[scale @ 0x111080] w:iw h:ih flags:'bilinear' interl:0
detected 1 logical cores
ffmpeg version 2.8.7 Copyright (c) 2000-2016 the FFmpeg developers
  built with gcc 4.2.3 (GCC)
  configuration: --prefix=/opt/share --enable-libx264 --enable-small
--enable-gpl --enable-nonfree --enable-shared --disable-debug
--disable-runtime-cpudetect --disable-doc --disable-armv6 --disable-armv6t2
--disable-neon --disable-vfp --disable-vfpv3
  libavutil  54. 31.100 / 54. 31.100
  libavcodec 56. 60.100 / 56. 60.100
  libavformat56. 40.101 / 56. 40.101
  libavdevice56.  4.100 / 56.  4.100
  libavfilter 5. 40.101 /  5. 40.101
  libswscale  3.  1.101 /  3.  1.101
  libswresample   1.  2.101 /  1.  2.101
  libpostproc53.  3.100 / 53.  3.100
Input #0, image2, from '/root/build/ffmpeg-2.8.7/tests/vsynth1/%02d.pgm':
  Duration: 00:00:02.00, start: 0.00, bitrate: N/A
Stream #0:0: Video: pgmyuv, yuv420p, 352x288, 25 fps, 25 tbr, 25 tbn, 25
tbc
[Parsed_telecine_0 @ 0x79580] Telecine pattern 23 yields up to 2 frames per
frame, pts advance factor: 4/5
Output #0, nut, to 'md5:':
Stream #0:0: Video: rawvideo (Y800 / 0x30303859), gray, 352x288, q=2-31,
200 kb/s, 31.25 fps, 64k tbn, 31.25 tbc
Metadata:
  encoder : Lavc rawvideo
Stream mapping:
  Stream #0:0 -> #0:0 (pgmyuv (native) -> rawvideo (native))
frame=   25 fps= 11 q=-0.0 Lsize=2476kB 

Re: [FFmpeg-user] Compiling FFmpeg without SecIdentityCreate API

2016-06-27 Thread Carl Eugen Hoyos
Anand  gmail.com> writes:

> I need to compile & create FFmpeg executable without (or 
> altering name) this method "SecIdentityCreate" because it 
> seems it conflicts  from the framework
> '/System/Library/Frameworks/Security.framework/Versions/A/Security'

How can I reproduce this compilation problem?
We test FFmpeg regularly on different platforms including osx...

Thank you, Carl Eugen

___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

[FFmpeg-user] Compiling FFmpeg without SecIdentityCreate API

2016-06-27 Thread Anand
Hi,

I need to compile & create FFmpeg executable without (or altering name)
this method "SecIdentityCreate" because it seems it conflicts  from the
framework
'/System/Library/Frameworks/Security.framework/Versions/A/Security'

Does anybosy know how to do that?

Thanks
Anand
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Compiling ffmpeg with libx264

2016-01-26 Thread Farid Zakaria
The website has some pretty clear documents on how to do it.

Just add --libx264 and make sure the shared libraries are in a default path
(or you can add to the LD_LIBRARY_PATH)
On 25 Jan 2016 10:21 p.m., "Rayden" 
wrote:

> Is there anyone who could help in this?
>
>
>
> --
> View this message in context:
> http://ffmpeg-users.933282.n4.nabble.com/Compiling-ffmpeg-with-libx264-tp4674076p4674112.html
> Sent from the FFmpeg-users mailing list archive at Nabble.com.
> ___
> ffmpeg-user mailing list
> ffmpeg-user@ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


Re: [FFmpeg-user] Compiling ffmpeg with libx264

2016-01-25 Thread Rayden
Is there anyone who could help in this?



--
View this message in context: 
http://ffmpeg-users.933282.n4.nabble.com/Compiling-ffmpeg-with-libx264-tp4674076p4674112.html
Sent from the FFmpeg-users mailing list archive at Nabble.com.
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


Re: [FFmpeg-user] Compiling ffmpeg with libx264

2016-01-19 Thread Krishnan Unni
Moritz Barsnick  gmx.net> writes:

> 
> On Thu, Jan 14, 2016 at 07:14:26 -0500, Krishnan Unni wrote:
> > successfully. But when I try to compile x264 lib based on the guide
> > provided in ffmpeg wiki it's failing saying "could not identify os"
> 
> I can't even find that string or a similar one in the libx264 source
> tree. (Using 0c21480 from 20150901.)
> 
> Moritz
> ___
> ffmpeg-user mailing list
> ffmpeg-user  ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
> 


Hi Moritz

Sorry for the vague error. Here is the exact error message when I type
"./configure --enable-shared"
The error is "unknown system pc-msys, edit the configure".

Could you please help me with this.

___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


Re: [FFmpeg-user] Compiling ffmpeg with libx264

2016-01-19 Thread Krishnan Unni
Hi Henrik

I tried launching msys2 from mingw64 shell. But still receiving the same error. 
I am using windows 10 x64. I am trying to get a dll for libx264 which can work 
with visual studio 2015 projects and WinRT app just like ffmpeg. This is how I 
compiled ffmpeg for win10rt: https://trac.ffmpeg.org/wiki/CompilationGuide/WinRT
Tried the same for x264 too. No luck. Could you please guide me.

-Original Message-
From: "Krishnan Unni" 
Sent: ‎1/‎14/‎2016 7:14
To: "ffmpeg-user@ffmpeg.org" 
Subject: Compiling ffmpeg with libx264

Hi

I am trying to compile ffmpeg with libx264 in windows 10 x64. Based on the 
guideline in ffmpeg wiki I am able to compile ffmpeg alone successfully. But 
when I try to compile x264 lib based on the guide provided in ffmpeg wiki it's 
failing saying "could not identify os" and give two links to update the 
configure.* (2 files). Once I updated the file from the provided link and try 
to compile again MSYS is throwing error "could not identify OS" . The same MSYS 
compiled the ffmpeg fine.   please help me to compile libx264 . I know how to 
enable it for ffmpeg once its cookies using the enable-libx264 attribute.
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


Re: [FFmpeg-user] Compiling ffmpeg with libx264

2016-01-15 Thread Rayden
Sorry for the vague error. Here is the exact error message when I type
"./configure --enable-shared"
The error is "unknown system pc-msys, edit the configure".



--
View this message in context: 
http://ffmpeg-users.933282.n4.nabble.com/Compiling-ffmpeg-with-libx264-tp4674076p4674091.html
Sent from the FFmpeg-users mailing list archive at Nabble.com.
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


Re: [FFmpeg-user] Compiling ffmpeg with libx264

2016-01-15 Thread Moritz Barsnick
On Thu, Jan 14, 2016 at 07:14:26 -0500, Krishnan Unni wrote:
> successfully. But when I try to compile x264 lib based on the guide
> provided in ffmpeg wiki it's failing saying "could not identify os"

I can't even find that string or a similar one in the libx264 source
tree. (Using 0c21480 from 20150901.)

Moritz
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


Re: [FFmpeg-user] Compiling ffmpeg with libx264

2016-01-14 Thread Rayden
Hi
I tried contacting the user community in the mail address provided. Didn't
receive any response, that's why I came here. Thought there would be people
who would have done this and willing to help. My apologies if this is the
wrong place to put this.



--
View this message in context: 
http://ffmpeg-users.933282.n4.nabble.com/Compiling-ffmpeg-with-libx264-tp4674076p4674078.html
Sent from the FFmpeg-users mailing list archive at Nabble.com.
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


[FFmpeg-user] Compiling ffmpeg with libx264

2016-01-14 Thread Krishnan Unni
Hi

I am trying to compile ffmpeg with libx264 in windows 10 x64. Based on the 
guideline in ffmpeg wiki I am able to compile ffmpeg alone successfully. But 
when I try to compile x264 lib based on the guide provided in ffmpeg wiki it's 
failing saying "could not identify os" and give two links to update the 
configure.* (2 files). Once I updated the file from the provided link and try 
to compile again MSYS is throwing error "could not identify OS" . The same MSYS 
compiled the ffmpeg fine.   please help me to compile libx264 . I know how to 
enable it for ffmpeg once its cookies using the enable-libx264 attribute.
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


Re: [FFmpeg-user] Compiling ffmpeg with libx264

2016-01-14 Thread Lou
On Thu, 14 Jan 2016 07:14:26 -0500
Krishnan Unni  wrote:

> I am able to compile ffmpeg alone successfully. But when I try to
> compile x264 lib based on the guide provided in ffmpeg wiki it's
> failing saying "could not identify os"

If you're having problems compiling x264 you should get help from x264.
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


Re: [FFmpeg-user] Compiling ffmpeg with libmfx

2015-10-10 Thread Maxim Kozlov
Got it!

How to compile sdk + ffmpeg on ubuntu 12.04.5. server
1. apt-get install gcc gobjc pkg-config libpthread-stubs0-dev
libpciaccess-dev make patch yasm g++ autoconf cmake \
automake build-essential libass-dev libfreetype6-dev libgpac-dev
libsdl1.2-dev libtheora-dev libtool libva-dev libvdpau-dev libvorbis-dev
libx11-dev \
libxext-dev libxfixes-dev texi2html zlib1g-dev libx264-dev libmp3lame-dev
libfaac-dev librtmp-dev libvo-aacenc-dev libx264-dev cifs-utils

2. Media Server Studio Essentials 2015r6
wget http://.../mediaserverstudioessentials2015r6.tar.gz
tar xf mediaserverstudioessentials2015r6.tar.gz
cd MediaServerStudioEssentials2015R6
tar xf SDK2015Production16.4.2.1.tar.gz
cd SDK2015Production16.4.2.1/Generic/
tar xf intel-linux-media-ocl_generic_16.4.2.1-39163_64bit.tar.gz
./install_media.sh

3. libdrm
cd /opt/intel/mediasdk/opensource/libdrm/2.4.54-39163/
tar xf libdrm-2.4.54.tar.bz2
cd libdrm-2.4.54
./configure
make -j 8
make install

4. libva
cd /opt/intel/mediasdk/opensource/libva/1.3.1-staging.20130628.39163
tar xf libva-1.3.1.tar.bz2
cd libva-1.3.1
./configure --enable-static
make
make install

5. libmfx
cd /opt/intel/mediasdk/opensource/mfx_dispatch/
mkdir build
cd build
cmake –D__ARCH:STRING=intel64 ../
make -j 8
ln -s /opt/intel/mediasdk/include/ /usr/local/include/mfx

6. libs
cd /usr/local/lib
ln -sf /opt/intel/mediasdk/opensource/mfx_dispatch/build/__lib/libmfx.a
ln -sf
/opt/intel/mediasdk/opensource/mfx_dispatch/build/__lib/libdispatch_trace.a
ln -sf
/opt/intel/mediasdk/opensource/mfx_dispatch/build/__lib/libdispatch_shared.a
ln -sf
/opt/intel/mediasdk/opensource/libva/1.3.1-staging.20130628.39163/libva-1.3.1/va/.libs/libva.a
ln -sf
/opt/intel/mediasdk/opensource/libva/1.3.1-staging.20130628.39163/libva-1.3.1/va/.libs/libva-drm.a
ln -sf
/opt/intel/mediasdk/opensource/libva/1.3.1-staging.20130628.39163/libva-1.3.1/va/.libs/libva-tpi.a

7. create file /usr/lib/pkgconfig/libmfx.pc:
prefix=/usr/local
exec_prefix=${prefix}
libdir=${prefix}/lib
includedir=${prefix}/include

Name: libmfx
Description: Intel Media SDK Dispatched static library
Version: 2015
Requires:
Requires.private:
Conflicts:
Libs: -L${libdir} -lmfx -ldispatch_shared -lva -lva-drm -lsupc++ -lstdc++
-ldl
Libs.private:
Cflags: -I${includedir}
-I/opt/intel/mediasdk/opensource/mfx_dispatch/include

8. add to /etc/environment:
LD_LIBRARY_PATH="/usr/local/lib:/usr/lib64"
LIBVA_DRIVER_NAME=iHD
LIBVA_DRIVERS_PATH=/opt/intel/mediasdk/lib64

9. linux-kernel patch
wget https://www.kernel.org/pub/linux/kernel/v3.x/linux-3.14.5.tar.xz
tar xf linux-3.14.5.tar.xz
cd linux-3.14.5
cp
/opt/intel/mediasdk/opensource/patches/kmd/3.14.5/intel-kernel-patches.tar.bz2
.
tar xf intel-kernel-patches.tar.bz2
for i in intel-kernel-patches/*.patch; do patch -p1 < $i; done
make olddefconfig
make -j 8
make modules_install
make install
reboot

10. ffmpeg will be installed to /opt/ffmpeg_qsv/
wget http://ffmpeg.org/releases/ffmpeg-snapshot.tar.bz2
tar xf ffmpeg-snapshot.tar.bz2
cd ffmpeg
./configure --disable-shared --enable-static --enable-gpl --enable-nonfree
--enable-fontconfig --enable-libfaac --enable-libfreetype \
--enable-libmp3lame --enable-librtmp --enable-libvo-aacenc --enable-libx264
--enable-version3 --enable-ffplay --disable-doc \
--disable-ffserver --enable-pthreads --enable-filters --enable-libvorbis
--enable-libtheora --enable-runtime-cpudetect --enable-libass \
--enable-bzlib --enable-zlib --prefix=/opt/ffmpeg_qsv/ --enable-libmfx
make -j 8
make install

2015-10-01 12:39 GMT+03:00 Maxim Kozlov :

> Hi.
>
> Trying to compile latest ffmpeg with libmfx(intel quick sync) support
> under Ubuntu 12.04.5 LTS.
>
> What i've done.
> 1. installed Intel Media Server Studio Essentials 2015r6
>
> wget http:///mediaserverstudioessentials2015r6.tar.gz
> tar xf mediaserverstudioessentials2015r6.tar.gz
> cd MediaServerStudioEssentials2015R6
> tar xf SDK2015Production16.4.2.1.tar.gz
> cd SDK2015Production16.4.2.1/Generic/
> tar xf intel-linux-media-ocl_generic_16.4.2.1-39163_64bit.tar.gz
> ./install_media.sh
>
> 2. compiled and installed libdrm
> cd /opt/intel/mediasdk/opensource/libdrm/2.4.54-39163/
> tar xf libdrm-2.4.54.tar.bz2
> cd libdrm-2.4.54
> ./configure
> make
> make install
>
> 3. compiled and installed libva
> cd /opt/intel/mediasdk/opensource/libva/1.3.1-staging.20130628.39163
> tar xf libva-1.3.1.tar.bz2
> cd libva-1.3.1
> ./configure
> make
> make install
>
> 4. compiled and installed libmfx
> cd /opt/intel/mediasdk/opensource/mfx_dispatch/
> mkdir build
> cd build
> cmake –D__ARCH:STRING=intel64 ../
> make
> cp /opt/intel/mediasdk/opensource/mfx_dispatch/build/__lib/libmfx.a
> /usr/local/lib/libmfx.a
> ln -s /opt/intel/mediasdk/include/ /usr/local/include/mfx
>
> 5. created file /usr/lib/pkgconfig/libmfx.pc:
>
> prefix=/usr/local
> exec_prefix=${prefix}
> libdir=${prefix}/lib
> includedir=${prefix}/include
>
> Name: libmfx
> Description: Intel Media SDK Dispatched static library
> Version: 2015
> Requires:
> 

[FFmpeg-user] Compiling ffmpeg with libmfx

2015-10-01 Thread Maxim Kozlov
Hi.

Trying to compile latest ffmpeg with libmfx(intel quick sync) support under
Ubuntu 12.04.5 LTS.

What i've done.
1. installed Intel Media Server Studio Essentials 2015r6

wget http:///mediaserverstudioessentials2015r6.tar.gz
tar xf mediaserverstudioessentials2015r6.tar.gz
cd MediaServerStudioEssentials2015R6
tar xf SDK2015Production16.4.2.1.tar.gz
cd SDK2015Production16.4.2.1/Generic/
tar xf intel-linux-media-ocl_generic_16.4.2.1-39163_64bit.tar.gz
./install_media.sh

2. compiled and installed libdrm
cd /opt/intel/mediasdk/opensource/libdrm/2.4.54-39163/
tar xf libdrm-2.4.54.tar.bz2
cd libdrm-2.4.54
./configure
make
make install

3. compiled and installed libva
cd /opt/intel/mediasdk/opensource/libva/1.3.1-staging.20130628.39163
tar xf libva-1.3.1.tar.bz2
cd libva-1.3.1
./configure
make
make install

4. compiled and installed libmfx
cd /opt/intel/mediasdk/opensource/mfx_dispatch/
mkdir build
cd build
cmake –D__ARCH:STRING=intel64 ../
make
cp /opt/intel/mediasdk/opensource/mfx_dispatch/build/__lib/libmfx.a
/usr/local/lib/libmfx.a
ln -s /opt/intel/mediasdk/include/ /usr/local/include/mfx

5. created file /usr/lib/pkgconfig/libmfx.pc:

prefix=/usr/local
exec_prefix=${prefix}
libdir=${prefix}/lib
includedir=${prefix}/include

Name: libmfx
Description: Intel Media SDK Dispatched static library
Version: 2015
Requires:
Requires.private:
Conflicts:
Libs: -L${libdir} -lsupc++ ${libdir}/libmfx.a
Libs.private:
Cflags: -I${includedir}
-I/opt/intel/mediasdk/opensource/mfx_dispatch/include

6. added to /etc/environment:
LD_LIBRARY_PATH="/usr/local/lib;/usr/lib64"
LIBVA_DRIVER_NAME=iHD
LIBVA_DRIVERS_PATH=/opt/intel/mediasdk/lib64

7. Patched linux kernel:
wget https://www.kernel.org/pub/linux/kernel/v3.x/linux-3.14.5.tar.xz
tar xf linux-3.14.5.tar.xz
cd linux-3.14.5
cp
/opt/intel/mediasdk/opensource/patches/kmd/3.14.5/intel-kernel-patches.tar.bz2
.
for i in intel-kernel-patches/*.patch; do patch -p1 < $i; done
make olddefconfig
make -j 8
make modules_install
make install

8. try to compile ffmpeg
wget http://ffmpeg.org/releases/ffmpeg-snapshot.tar.bz2
tar xf ffmpeg-snapshot.tar.bz2
cd ffmpeg
./configure --enable-libmfx

ERROR: libmfx not found using pkg-config

If you think configure made a mistake, make sure you are using the latest
version from Git.  If the latest version fails, report the problem to the
ffmpeg-user@ffmpeg.org mailing list or IRC #ffmpeg on irc.freenode.net.
Include the log file "config.log" produced by configure as this will help
solve the problem.

config.log - http://pastebin.com/Sw7s87NR


What can be wrong?
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


Re: [FFmpeg-user] Compiling ffmpeg with NVENC and NVIDIA GRID K1

2015-09-24 Thread Klaus Schürmann
If I take the sources  from here

https://github.com/Brainiarc7/ffmpeg_libnvenc

I can compile it with working nvenc for a NVIDIA GRID K1.

Where ist he difference?
 

-Ursprüngliche Nachricht-
Von: ffmpeg-user [mailto:ffmpeg-user-boun...@ffmpeg.org] Im Auftrag von Timo 
Rothenpieler
Gesendet: Donnerstag, 27. August 2015 10:27
An: Steven Liu <lingjiujia...@gmail.com>; FFmpeg user questions 
<ffmpeg-user@ffmpeg.org>
Betreff: Re: [FFmpeg-user] Compiling ffmpeg with NVENC and NVIDIA GRID K1

> 
> Hi Timo,
> 
> I saw the status of 0x0A if header file /usr/include/nvEncodeAPI.h
> perhaps the memory alloc is large? 
> 
>  /* 1MB is large enough to hold most output frames. NVENC increases
> this automaticaly if it's not enough. */
> allocOut.size = 1024 * 1024;
> 
> allocOut.memoryHeap = NV_ENC_MEMORY_HEAP_SYSMEM_CACHED;
> 
> 
> /**
>  * This indicates that the API call failed because it was unable
> to allocate
>  * enough memory to perform the requested operation.
>  */
> NV_ENC_ERR_OUT_OF_MEMORY,
> 
> 
> I make mistake, this is not the error code info,

0xA is the error code. Your GPU and/or system seems to be out of memory
capable to transfer surfaces. Unfortunately, there isn't much I can tell
you about that. 1MB per surface should not overwhelm any somewhat modern
GPU(So, every NVENC capable one). I also don't have too much of an idea
about Non-GeForce GPUs.
You might be better of asking Nvidia about this.

___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


Re: [FFmpeg-user] Compiling ffmpeg with NVENC and NVIDIA GRID K1

2015-08-27 Thread Timo Rothenpieler
 
 Hi Timo,
 
 I saw the status of 0x0A if header file /usr/include/nvEncodeAPI.h
 perhaps the memory alloc is large? 
 
  /* 1MB is large enough to hold most output frames. NVENC increases
 this automaticaly if it's not enough. */
 allocOut.size = 1024 * 1024;
 
 allocOut.memoryHeap = NV_ENC_MEMORY_HEAP_SYSMEM_CACHED;
 
 
 /**
  * This indicates that the API call failed because it was unable
 to allocate
  * enough memory to perform the requested operation.
  */
 NV_ENC_ERR_OUT_OF_MEMORY,
 
 
 I make mistake, this is not the error code info,

0xA is the error code. Your GPU and/or system seems to be out of memory
capable to transfer surfaces. Unfortunately, there isn't much I can tell
you about that. 1MB per surface should not overwhelm any somewhat modern
GPU(So, every NVENC capable one). I also don't have too much of an idea
about Non-GeForce GPUs.
You might be better of asking Nvidia about this.



signature.asc
Description: OpenPGP digital signature
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


Re: [FFmpeg-user] Compiling ffmpeg with NVENC and NVIDIA GRID K1

2015-08-27 Thread Steven Liu
2015-06-29 18:12 GMT+08:00 Klaus Schürmann k...@mediabeam.com:

 Hello,

 I compiled ffmpeg with nvenc support. The compile process worked without
 any error. But if I try to convert a file with nvenc I got the error
 message [nvenc @ 0x39dc1c0] CreateInputBuffer failed.

 Can somebody help me to fix this problem?

 Best Regards
 Klaus Schuermann

 OS: Ubuntu 14.04.2 LTS
 NVidia driver: 346

 Her is the complete output oft he convert job:

 root@video-convert1:~/ffmpeg_sources/ffmpeg_libnvenc# ffmpeg -i
 /media/testfile.mkv -r 60 -s 1024x768 -vcodec nvenc -b:v 5750k testfile.mp4
 ffmpeg version N-73133-gd7e224e Copyright (c) 2000-2015 the FFmpeg
 developers
   built with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04)
   configuration: --prefix=/root/ffmpeg_build --pkg-config-flags=--static
 --extra-cflags=-I/root/ffmpeg_build/include
 --extra-ldflags=-L/root/ffmpeg_build/lib --bindir=/root/bin --enable-gpl
 --enable-libass --enable-libfdk-aac --enable-libfreetype
 --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis
 --enable-libvpx --enable-libx264 --enable-libx265 --enable-nvenc
 --enable-nonfree
   libavutil  54. 27.100 / 54. 27.100
   libavcodec 56. 44.101 / 56. 44.101
   libavformat56. 38.101 / 56. 38.101
   libavdevice56.  4.100 / 56.  4.100
   libavfilter 5. 18.100 /  5. 18.100
   libswscale  3.  1.101 /  3.  1.101
   libswresample   1.  2.100 /  1.  2.100
   libpostproc53.  3.100 / 53.  3.100
 Input #0, matroska,webm, from '/media/testfile.mkv':
   Metadata:
 encoder : libebml v1.3.0 + libmatroska v1.4.1
 creation_time   : 2014-09-29 00:31:12
   Duration: 00:21:03.51, start: 0.00, bitrate: 3015 kb/s
 Stream #0:0(eng): Video: h264 (High), yuv420p(tv,
 bt709/unknown/unknown), 1280x720, SAR 1:1 DAR 16:9, 23.98 fps, 23.98 tbr,
 1k tbn, 47.95 tbc (default)
 Stream #0:1: Audio: ac3, 48000 Hz, 5.1(side), fltp, 448 kb/s (default)
 [nvenc @ 0x39dc1c0] CreateInputBuffer failed Output #0, mp4, to
 'testfile.mp4':
   Metadata:
 encoder : libebml v1.3.0 + libmatroska v1.4.1
 Stream #0:0(eng): Video: h264, none, q=2-31, 128 kb/s, SAR 4:3 DAR
 0:0, 60 fps (default)
 Metadata:
   encoder : Lavc56.44.101 nvenc
 Stream #0:1: Audio: aac, 0 channels, 128 kb/s (default)
 Metadata:
   encoder : Lavc56.44.101 libfdk_aac
 Stream mapping:
   Stream #0:0 - #0:0 (h264 (native) - h264 (nvenc))
   Stream #0:1 - #0:1 (ac3 (native) - aac (libfdk_aac)) Error while
 opening encoder for output stream #0:0 - maybe incorrect parameters such as
 bit_rate, rate, width or height

 Output of devicequery:

 root@video-convert1:~#
 NVIDIA_CUDA-7.0_Samples/1_Utilities/deviceQuery/deviceQuery
 NVIDIA_CUDA-7.0_Samples/1_Utilities/deviceQuery/deviceQuery Starting...

  CUDA Device Query (Runtime API) version (CUDART static linking)

 Detected 4 CUDA Capable device(s)

 Device 0: GRID K1
   CUDA Driver Version / Runtime Version  7.0 / 7.0
   CUDA Capability Major/Minor version number:3.0
   Total amount of global memory: 4096 MBytes (4294770688
 bytes)
   ( 1) Multiprocessors, (192) CUDA Cores/MP: 192 CUDA Cores
   GPU Max Clock rate:850 MHz (0.85 GHz)
   Memory Clock rate: 891 Mhz
   Memory Bus Width:  128-bit
   L2 Cache Size: 262144 bytes
   Maximum Texture Dimension Size (x,y,z) 1D=(65536), 2D=(65536,
 65536), 3D=(4096, 4096, 4096)
   Maximum Layered 1D Texture Size, (num) layers  1D=(16384), 2048 layers
   Maximum Layered 2D Texture Size, (num) layers  2D=(16384, 16384), 2048
 layers
   Total amount of constant memory:   65536 bytes
   Total amount of shared memory per block:   49152 bytes
   Total number of registers available per block: 65536
   Warp size: 32
   Maximum number of threads per multiprocessor:  2048
   Maximum number of threads per block:   1024
   Max dimension size of a thread block (x,y,z): (1024, 1024, 64)
   Max dimension size of a grid size(x,y,z): (2147483647, 65535, 65535)
   Maximum memory pitch:  2147483647 bytes
   Texture alignment: 512 bytes
   Concurrent copy and kernel execution:  Yes with 1 copy engine(s)
   Run time limit on kernels: No
   Integrated GPU sharing Host Memory:No
   Support host page-locked memory mapping:   Yes
   Alignment requirement for Surfaces:Yes
   Device has ECC support:Disabled
   Device supports Unified Addressing (UVA):  Yes
   Device PCI Domain ID / Bus ID / location ID:   0 / 132 / 0
   Compute Mode:
   Default (multiple host threads can use ::cudaSetDevice() with
 device simultaneously) 

 Device 1: GRID K1
   CUDA Driver Version / Runtime Version  7.0 / 7.0
   CUDA Capability Major/Minor version 

Re: [FFmpeg-user] Compiling ffmpeg with NVENC and NVIDIA GRID K1

2015-08-27 Thread Steven Liu
2015-08-27 15:08 GMT+08:00 Steven Liu lingjiujia...@gmail.com:



 2015-08-27 14:52 GMT+08:00 Steven Liu lingjiujia...@gmail.com:


 2015-06-29 18:12 GMT+08:00 Klaus Schürmann k...@mediabeam.com:

 Hello,

 I compiled ffmpeg with nvenc support. The compile process worked without
 any error. But if I try to convert a file with nvenc I got the error
 message [nvenc @ 0x39dc1c0] CreateInputBuffer failed.

 Can somebody help me to fix this problem?

 Best Regards
 Klaus Schuermann

 OS: Ubuntu 14.04.2 LTS
 NVidia driver: 346

 Her is the complete output oft he convert job:

 root@video-convert1:~/ffmpeg_sources/ffmpeg_libnvenc# ffmpeg -i
 /media/testfile.mkv -r 60 -s 1024x768 -vcodec nvenc -b:v 5750k testfile.mp4
 ffmpeg version N-73133-gd7e224e Copyright (c) 2000-2015 the FFmpeg
 developers
   built with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04)
   configuration: --prefix=/root/ffmpeg_build --pkg-config-flags=--static
 --extra-cflags=-I/root/ffmpeg_build/include
 --extra-ldflags=-L/root/ffmpeg_build/lib --bindir=/root/bin --enable-gpl
 --enable-libass --enable-libfdk-aac --enable-libfreetype
 --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis
 --enable-libvpx --enable-libx264 --enable-libx265 --enable-nvenc
 --enable-nonfree
   libavutil  54. 27.100 / 54. 27.100
   libavcodec 56. 44.101 / 56. 44.101
   libavformat56. 38.101 / 56. 38.101
   libavdevice56.  4.100 / 56.  4.100
   libavfilter 5. 18.100 /  5. 18.100
   libswscale  3.  1.101 /  3.  1.101
   libswresample   1.  2.100 /  1.  2.100
   libpostproc53.  3.100 / 53.  3.100
 Input #0, matroska,webm, from '/media/testfile.mkv':
   Metadata:
 encoder : libebml v1.3.0 + libmatroska v1.4.1
 creation_time   : 2014-09-29 00:31:12
   Duration: 00:21:03.51, start: 0.00, bitrate: 3015 kb/s
 Stream #0:0(eng): Video: h264 (High), yuv420p(tv,
 bt709/unknown/unknown), 1280x720, SAR 1:1 DAR 16:9, 23.98 fps, 23.98 tbr,
 1k tbn, 47.95 tbc (default)
 Stream #0:1: Audio: ac3, 48000 Hz, 5.1(side), fltp, 448 kb/s
 (default) [nvenc @ 0x39dc1c0] CreateInputBuffer failed Output #0, mp4, to
 'testfile.mp4':
   Metadata:
 encoder : libebml v1.3.0 + libmatroska v1.4.1
 Stream #0:0(eng): Video: h264, none, q=2-31, 128 kb/s, SAR 4:3 DAR
 0:0, 60 fps (default)
 Metadata:
   encoder : Lavc56.44.101 nvenc
 Stream #0:1: Audio: aac, 0 channels, 128 kb/s (default)
 Metadata:
   encoder : Lavc56.44.101 libfdk_aac
 Stream mapping:
   Stream #0:0 - #0:0 (h264 (native) - h264 (nvenc))
   Stream #0:1 - #0:1 (ac3 (native) - aac (libfdk_aac)) Error while
 opening encoder for output stream #0:0 - maybe incorrect parameters such as
 bit_rate, rate, width or height

 Output of devicequery:

 root@video-convert1:~#
 NVIDIA_CUDA-7.0_Samples/1_Utilities/deviceQuery/deviceQuery
 NVIDIA_CUDA-7.0_Samples/1_Utilities/deviceQuery/deviceQuery Starting...

  CUDA Device Query (Runtime API) version (CUDART static linking)

 Detected 4 CUDA Capable device(s)

 Device 0: GRID K1
   CUDA Driver Version / Runtime Version  7.0 / 7.0
   CUDA Capability Major/Minor version number:3.0
   Total amount of global memory: 4096 MBytes (4294770688
 bytes)
   ( 1) Multiprocessors, (192) CUDA Cores/MP: 192 CUDA Cores
   GPU Max Clock rate:850 MHz (0.85 GHz)
   Memory Clock rate: 891 Mhz
   Memory Bus Width:  128-bit
   L2 Cache Size: 262144 bytes
   Maximum Texture Dimension Size (x,y,z) 1D=(65536), 2D=(65536,
 65536), 3D=(4096, 4096, 4096)
   Maximum Layered 1D Texture Size, (num) layers  1D=(16384), 2048 layers
   Maximum Layered 2D Texture Size, (num) layers  2D=(16384, 16384), 2048
 layers
   Total amount of constant memory:   65536 bytes
   Total amount of shared memory per block:   49152 bytes
   Total number of registers available per block: 65536
   Warp size: 32
   Maximum number of threads per multiprocessor:  2048
   Maximum number of threads per block:   1024
   Max dimension size of a thread block (x,y,z): (1024, 1024, 64)
   Max dimension size of a grid size(x,y,z): (2147483647, 65535,
 65535)
   Maximum memory pitch:  2147483647 bytes
   Texture alignment: 512 bytes
   Concurrent copy and kernel execution:  Yes with 1 copy
 engine(s)
   Run time limit on kernels: No
   Integrated GPU sharing Host Memory:No
   Support host page-locked memory mapping:   Yes
   Alignment requirement for Surfaces:Yes
   Device has ECC support:Disabled
   Device supports Unified Addressing (UVA):  Yes
   Device PCI Domain ID / Bus ID / location ID:   0 / 132 / 0
   Compute Mode:
   Default (multiple host threads can use ::cudaSetDevice() with
 device 

Re: [FFmpeg-user] Compiling ffmpeg with NVENC and NVIDIA GRID K1

2015-08-27 Thread Steven Liu
2015-08-27 14:52 GMT+08:00 Steven Liu lingjiujia...@gmail.com:


 2015-06-29 18:12 GMT+08:00 Klaus Schürmann k...@mediabeam.com:

 Hello,

 I compiled ffmpeg with nvenc support. The compile process worked without
 any error. But if I try to convert a file with nvenc I got the error
 message [nvenc @ 0x39dc1c0] CreateInputBuffer failed.

 Can somebody help me to fix this problem?

 Best Regards
 Klaus Schuermann

 OS: Ubuntu 14.04.2 LTS
 NVidia driver: 346

 Her is the complete output oft he convert job:

 root@video-convert1:~/ffmpeg_sources/ffmpeg_libnvenc# ffmpeg -i
 /media/testfile.mkv -r 60 -s 1024x768 -vcodec nvenc -b:v 5750k testfile.mp4
 ffmpeg version N-73133-gd7e224e Copyright (c) 2000-2015 the FFmpeg
 developers
   built with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04)
   configuration: --prefix=/root/ffmpeg_build --pkg-config-flags=--static
 --extra-cflags=-I/root/ffmpeg_build/include
 --extra-ldflags=-L/root/ffmpeg_build/lib --bindir=/root/bin --enable-gpl
 --enable-libass --enable-libfdk-aac --enable-libfreetype
 --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis
 --enable-libvpx --enable-libx264 --enable-libx265 --enable-nvenc
 --enable-nonfree
   libavutil  54. 27.100 / 54. 27.100
   libavcodec 56. 44.101 / 56. 44.101
   libavformat56. 38.101 / 56. 38.101
   libavdevice56.  4.100 / 56.  4.100
   libavfilter 5. 18.100 /  5. 18.100
   libswscale  3.  1.101 /  3.  1.101
   libswresample   1.  2.100 /  1.  2.100
   libpostproc53.  3.100 / 53.  3.100
 Input #0, matroska,webm, from '/media/testfile.mkv':
   Metadata:
 encoder : libebml v1.3.0 + libmatroska v1.4.1
 creation_time   : 2014-09-29 00:31:12
   Duration: 00:21:03.51, start: 0.00, bitrate: 3015 kb/s
 Stream #0:0(eng): Video: h264 (High), yuv420p(tv,
 bt709/unknown/unknown), 1280x720, SAR 1:1 DAR 16:9, 23.98 fps, 23.98 tbr,
 1k tbn, 47.95 tbc (default)
 Stream #0:1: Audio: ac3, 48000 Hz, 5.1(side), fltp, 448 kb/s
 (default) [nvenc @ 0x39dc1c0] CreateInputBuffer failed Output #0, mp4, to
 'testfile.mp4':
   Metadata:
 encoder : libebml v1.3.0 + libmatroska v1.4.1
 Stream #0:0(eng): Video: h264, none, q=2-31, 128 kb/s, SAR 4:3 DAR
 0:0, 60 fps (default)
 Metadata:
   encoder : Lavc56.44.101 nvenc
 Stream #0:1: Audio: aac, 0 channels, 128 kb/s (default)
 Metadata:
   encoder : Lavc56.44.101 libfdk_aac
 Stream mapping:
   Stream #0:0 - #0:0 (h264 (native) - h264 (nvenc))
   Stream #0:1 - #0:1 (ac3 (native) - aac (libfdk_aac)) Error while
 opening encoder for output stream #0:0 - maybe incorrect parameters such as
 bit_rate, rate, width or height

 Output of devicequery:

 root@video-convert1:~#
 NVIDIA_CUDA-7.0_Samples/1_Utilities/deviceQuery/deviceQuery
 NVIDIA_CUDA-7.0_Samples/1_Utilities/deviceQuery/deviceQuery Starting...

  CUDA Device Query (Runtime API) version (CUDART static linking)

 Detected 4 CUDA Capable device(s)

 Device 0: GRID K1
   CUDA Driver Version / Runtime Version  7.0 / 7.0
   CUDA Capability Major/Minor version number:3.0
   Total amount of global memory: 4096 MBytes (4294770688
 bytes)
   ( 1) Multiprocessors, (192) CUDA Cores/MP: 192 CUDA Cores
   GPU Max Clock rate:850 MHz (0.85 GHz)
   Memory Clock rate: 891 Mhz
   Memory Bus Width:  128-bit
   L2 Cache Size: 262144 bytes
   Maximum Texture Dimension Size (x,y,z) 1D=(65536), 2D=(65536,
 65536), 3D=(4096, 4096, 4096)
   Maximum Layered 1D Texture Size, (num) layers  1D=(16384), 2048 layers
   Maximum Layered 2D Texture Size, (num) layers  2D=(16384, 16384), 2048
 layers
   Total amount of constant memory:   65536 bytes
   Total amount of shared memory per block:   49152 bytes
   Total number of registers available per block: 65536
   Warp size: 32
   Maximum number of threads per multiprocessor:  2048
   Maximum number of threads per block:   1024
   Max dimension size of a thread block (x,y,z): (1024, 1024, 64)
   Max dimension size of a grid size(x,y,z): (2147483647, 65535,
 65535)
   Maximum memory pitch:  2147483647 bytes
   Texture alignment: 512 bytes
   Concurrent copy and kernel execution:  Yes with 1 copy engine(s)
   Run time limit on kernels: No
   Integrated GPU sharing Host Memory:No
   Support host page-locked memory mapping:   Yes
   Alignment requirement for Surfaces:Yes
   Device has ECC support:Disabled
   Device supports Unified Addressing (UVA):  Yes
   Device PCI Domain ID / Bus ID / location ID:   0 / 132 / 0
   Compute Mode:
   Default (multiple host threads can use ::cudaSetDevice() with
 device simultaneously) 

 Device 1: GRID K1
   CUDA Driver Version / Runtime 

  1   2   >