New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
invalid value "thumb" in "vod" directive #498
Comments
This was caused by a change in ffmpeg API (the functions used for thumbnail grabbing became deprecated in the latest ffmpeg). We've just finished updating the code to work against the new API, a new package will be available on Sunday. |
Hello @anhngodangquoc, Like @erankor wrote, the next stable release will include kaltura-nginx compiled against ffmpeg 3.2 and will be released on Sun [Jan 8].
For RHEL/CentOS 7 use:
|
The stable repo now contains kaltura-nginx packages compiled with the latest vod module tag [1.12] and ffmpeg 3.2 so both vod features that require ffmpeg should now work correctly. |
Hi, @jessp01 |
Hi @RecareLee, We only ship packages for RHEL/CentOS and Debian/Ubuntu. SLES also uses the RPM format for packaging however, it often has different package names and file paths and so, trying to install the RPM packages meant for RHEL/CentOS has the potential of failing. You can compile the Nginx VOD module from source. In order to make use of the thumbnail capture feature, you need to have FFmpeg 3.2 on your machine, both the shared objects and the header files are needed. If your FFmpeg is not installed onto a path the compiler, linker and dynamic loader look at by default, you'll need to export the following ENV vars to include the paths, like so:
|
Thanks @jessp01 , i just have already get the ffmpeg-master source code in my linux environment. the ffmpeg source code's directory is: libavcodec how should i configure the ENV vars? |
Hi @RecareLee, Having the FFmpeg source is not enough, you need to compile it.
|
Sorry, @jessp01 , i compiled ffmpeg without --prefix, there were some ffmpeg's '.a' files on the path /usr/local/lib, however it still failed when configured thumb directive.. ls /usr/local/lib/libav*/usr/local/lib/libavcodec.a |
Hi @RecareLee, This feature requires libavcodec, which according to your output, you've got the archive file for, though I recommend you link against the SO and not the archive [dynamic linkage vs. static]. If you installed FFmpeg onto /usr/local, the ENV vars should be exported like so:
At any rate, the tests to determine whether the lib is available are done here: https://github.com/kaltura/nginx-vod-module/blob/master/config#L60 I suggest you take a look at the configure output and also at objs/autoconf.err to see why libavcodec is not found. |
Hi,@jessp01 License: LGPL version 2.1 or later i found the ffmpeg configure process need Git supported, should i install Git first? |
I install kaltura-nginx and kaltura ffmpeg by yum already. lasttime it work ok, i can get thumb from video. But today, i try to restart kaltura-nginx and i got:
nginx: [emerg] invalid value "thumb" in "vod" directive, it must be one of: none,dash,hds,hls,mss
what can i do now?
kaltura-nginx-1.10.2-4.x86_64
kaltura-ffmpeg-3.2-1.x86_64
The text was updated successfully, but these errors were encountered: