On 10.08.2008 16:36, Thorsten Leemhuis wrote:
On 10.08.2008 14:42, Thorsten Leemhuis wrote:
=== F9 ===

|| # || name || problem ||
|| 420 || k9copy || CMake Error: Could not find avcodec ||
|| 428 || vdr-dxr3 || /usr/bin/ld: cannot find -lavcodec ||
|| 463 || qmmp-plugins-freeworld || error: avformat.h: No such file or 
directory ||
|| 506 || gstreamer-ffmpeg || gstffmpegenc.c:34:28: error: ffmpeg/avcodec.h: No 
such file or directory ||
|| 508 || gstreamer-plugins-bad || gstdiracenc.cc:431: error: 'struct 
dirac_encparams_t' has no member named 'prefilter' ||

I might have found the root cause for those build problems.

--verbose: ffmpeg-libs.fc9.x86_64 was truncated somehow and thus didn't install correctly. I don't know why that happened; I tried to rebuild it and it happened again; I can it another try and it worked just fine. No idea why, sorry.

Anyway: Actually it was only the root cause for once of the build problems mentioned above (vdr-dxr3, to be precise). The others k9copy, qmmp-plugins-freeworld and gstreamer-ffmpeg still fail. They need to be patched here and in devel for the new ffmpeg location.

Dan HorĂ¡k/sharkcz did that earlier today for kino. His patch can be found at
http://cvs.rpmfusion.org/viewvc/free/rpms/kino/devel/kino-ffmpeg.patch?view=markup

Hans took another approach and in
http://cvs.rpmfusion.org/viewvc/free/rpms/gstreamer-ffmpeg/F-9/gstreamer-ffmpeg.spec?view=markup
just did

# adjust includes for the header move in latest ffmpeg <sigh>
sed -i -e 's|ffmpeg/avcodec.h|ffmpeg/libavcodec/avcodec.h|g' \
  -e 's|ffmpeg/avformat.h|ffmpeg/libavformat/avformat.h|g' \
  -e 's|postproc/postprocess.h|ffmpeg/libpostproc/postprocess.h|g' \
  -e 's|ffmpeg/swscale.h|ffmpeg/libswscale/swscale.h|g' \
  ext/ffmpeg/*.c ext/ffmpeg/*.h ext/libpostproc/*.c

in %prep

Hope this gives some ideas how to fix those problems that are related to the new ffmpeg.

HTH

Cu
knurd

Reply via email to