FFmpeg Problem

   2185   4   1
User Avatar
Member
43 posts
Joined: Oct. 2019
Offline
Hey there,


I am using the following in my ffmpeg node(see image attached)

This worked on my windows at home but doesn't seem to work on my Linux centos 7

It gives me the following errors:
fmpeg version 2.8.15 Copyright © 2000-2018 the FFmpeg developers
built with gcc 4.8.5 (GCC) 20150623 (Red Hat 4.8.5-36)
configuration: –prefix=/usr –bindir=/usr/bin –datadir=/usr/share/ffmpeg –incdir=/usr/include/ffmpeg –libdir=/usr/lib64 –mandir=/usr/share/man –arch=x86_64 –optflags='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong –param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' –extra-ldflags='-Wl,-z,relro ‘ –enable-libopencore-amrnb –enable-libopencore-amrwb –enable-libvo-amrwbenc –enable-version3 –enable-bzlib –disable-crystalhd –enable-gnutls –enable-ladspa –enable-libass –enable-libcdio –enable-libdc1394 –enable-libfdk-aac –enable-nonfree –disable-indev=jack –enable-libfreetype –enable-libgsm –enable-libmp3lame –enable-openal –enable-libopenjpeg –enable-libopus –enable-libpulse –enable-libschroedinger –enable-libsoxr –enable-libspeex –enable-libtheora –enable-libvorbis –enable-libv4l2 –enable-libx264 –enable-libx265 –enable-libxvid –enable-x11grab –enable-avfilter –enable-avresample –enable-postproc –enable-pthreads –disable-static –enable-shared –enable-gpl –disable-debug –disable-stripping –shlibdir=/usr/lib64 –enable-runtime-cpudetect
libavutil 54. 31.100 / 54. 31.100
libavcodec 56. 60.100 / 56. 60.100
libavformat 56. 40.101 / 56. 40.101
libavdevice 56. 4.100 / 56. 4.100
libavfilter 5. 40.101 / 5. 40.101
libavresample 2. 1. 0 / 2. 1. 0
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 2.101 / 1. 2.101
libpostproc 53. 3.100 / 53. 3.100
Unrecognized option ’apply_trc'.
Error splitting the argument list: Option not found
Executing command: “ffmpeg” -y -r 24/1 -f concat -safe 0 -apply_trc iec61966_2_1 -i “/tmp/houdini_temp/pdg_demo/pdgtemp/19628/ffmpeg_montage_p00_framelist.txt” -c:v libvpx-vp9 -crf 32 -b:v 0 -vf “fps=24,format=yuv420p” -movflags faststart “/home/suesauer/img/pdg_demo/ffmpeg_montage_p0/pdg_demo.ffmpeg_montage_p0.webm”

If I remove -apply_trc then it complains about -c:v libvpx-vp9. If I remove that it complains about it being an .webm

Is there something I need to install on my Linux to make this ffmpeg work?

Attachments:
Screenshot from 2019-10-04 16-56-00.png (80.2 KB)

User Avatar
Staff
463 posts
Joined: Aug. 2019
Offline
How did you install ffmpeg? It looks like it was compiled with a few options disabled.
User Avatar
Member
43 posts
Joined: Oct. 2019
Offline
Is there somewhere in the documentation that states how I should be compiling it for pdg?
User Avatar
Staff
463 posts
Joined: Aug. 2019
Offline
Not that I'm aware of. If you're not comfortable compiling your own copy, and you're not shy of utilizing 3rd party package repositories, you could install a pre-built version.

This is how I installed it on my machine:

*uninstall current version*
sudo yum install epel-release
sudo rpm -v --import http://li.nux.ro/download/nux/RPM-GPG-KEY-nux.ro
sudo rpm -Uvh http://li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-release-0-5.el7.nux.noarch.rpm
sudo yum install ffmpeg ffmpeg-devel

Note: This uses a 3rd party repository, Nux Desktop. It is well known, but neither I or SideFX have looked into the safety of these packages.
User Avatar
Member
43 posts
Joined: Oct. 2019
Offline
Thanks so much for the help, that seems to have worked
  • Quick Links