[Cin] profile vs vprofile in 7.1?
Andrew Randrianasulu
randrianasulu at gmail.com
Wed Oct 23 03:34:06 CEST 2024
We tried to update cinelerra-gg to ffmpeg 7.1 and ran into two problems:
First, vf_scale now declares dynamic input and was filtered out by code
in cinelerra/pluginfclient.C
int flag_mask = AVFILTER_FLAG_DYNAMIC_INPUTS |
AVFILTER_FLAG_DYNAMIC_OUTPUTS;
if( filter->flags & flag_mask ) return AVERROR(EPERM);
ok, it was easy to workaround just by commenting this line out
But then it turned out our vaapi/qsv profiles stopped working, anytime
there was "profile=high" line.
Oh, dang.
Looked around and found this thread on Narkive
https://ffmpeg-user.ffmpeg.narkive.com/FRd15m7B/ffmpeg-1-0-null-0xcb4700-eval-0x7fff0d95cf00-undefined-constant-or-missing-in-wpred
replaced "profile" with "vprofile", now it appear to work again.
But this was a bit unexpected, I do not think both changes were mentioned
as breaking in release notes?
It sort of sad to see this "hidden" breakage every release. Ffmpeg is not
only library that does so, and tracking them all is not fun anymore.
If you can't avoid making breakage - put it up front in release notes, not
hide it like in bad commercial advertisement.
our source:
git://git.cinelerra-gg.org/goodguy/cinelerra.git
you can build ffmpeg 7.1 into /usr/local and then ./auto gen.sh + configure
--without-thirdparty --with-single-user --without-libdpx + make + make
install.
if it does not work on your system - look around in blds directory for
various scripts adding --disable-component switches to configure.
binaries and profiles will be in $cin_src_root/bin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cinelerra-gg.org/pipermail/cin/attachments/20241023/cb63af33/attachment.htm>
More information about the Cin
mailing list