till now I compiled mediatomb without having detected ffmpeg. Nevertheless, it was not a problem since mediatomb binary can use ffmpeg to transcode.
Now I did rebuild ffmpeg & ffmpegthumbnailer under /usr/lib, and mediatomb do detect it successfuly :
../src/metadata/ffmpeg_handler.cc: In function ‘void addFfmpegMetadataFields(zmm::Ref<CdsItem>, AVFormatContext*)’:../src/metadata/ffmpeg_handler.cc:110: error: ‘AVMetadataTag’ was not declared in this scope../src/metadata/ffmpeg_handler.cc:110: error: ‘tag’ was not declared in this scope../src/metadata/ffmpeg_handler.cc:111: error: ‘av_metadata_get’ was not declared in this scope../src/metadata/ffmpeg_handler.cc: In member function ‘virtual void FfmpegHandler::fillMetadata(zmm::Ref<CdsItem>)’:../src/metadata/ffmpeg_handler.cc:293: error: ‘av_open_input_file’ was not declared in this scope../src/metadata/ffmpeg_handler.cc:297: warning: ‘int av_find_stream_info(AVFormatContext*)’ is deprecated (declared at /usr/local/include/libavformat/avformat.h:1504)../src/metadata/ffmpeg_handler.cc:297: warning: ‘int av_find_stream_info(AVFormatContext*)’ is deprecated (declared at /usr/local/include/libavformat/avformat.h:1504)../src/metadata/ffmpeg_handler.cc:299: warning: ‘void av_close_input_file(AVFormatContext*)’ is deprecated (declared at /usr/local/include/libavformat/avformat.h:1680)../src/metadata/ffmpeg_handler.cc:299: warning: ‘void av_close_input_file(AVFormatContext*)’ is deprecated (declared at /usr/local/include/libavformat/avformat.h:1680)../src/metadata/ffmpeg_handler.cc:308: warning: ‘void av_close_input_file(AVFormatContext*)’ is deprecated (declared at /usr/local/include/libavformat/avformat.h:1680)../src/metadata/ffmpeg_handler.cc:308: warning: ‘void av_close_input_file(AVFormatContext*)’ is deprecated (declared at /usr/local/include/libavformat/avformat.h:1680)
I tried the git version too, issue is the same
BTW, what's the benefit of compiling with ffmpeg detected, since without it mediatomb is able to parse video tags anyway ??
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Now wait, yesterday night I pushed a new version to git that works fine on Fedora 18, that should have a libav version >0.7, when did you checkout the git sources? Today or earlier?
MediaTomb is able to parse video tags for mp4 files using libmp4v2, but it won't parse tags of AVI or other files when compiled without ffmpeg.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2013-01-26
today, somes hours ago
i'm on fedora 12
but, ffmpeg 1.1 is packed with libav, and I didn't found out yet which version of libav it's paccked with.
should I build libav 0.9.1 appart and recompile ffmpeg before mediatomb ?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2013-01-26
I did it again, I compiled libav 0.9.1 appart too, but error is still the same
could the Fedora release 12 (Constantine) be the problem ?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Could very well be, back in the ffmpeg API was changing very often.
Latest git will work if you install ffmpeg-libs-1.0.1 (which is available in Fedora 18)… I'm dropping support for older versions now, it's just too difficult to maintain.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2013-01-26
i will tell it to Thecus ;)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
hi again
till now I compiled mediatomb without having detected ffmpeg. Nevertheless, it was not a problem since mediatomb binary can use ffmpeg to transcode.
Now I did rebuild ffmpeg & ffmpegthumbnailer under /usr/lib, and mediatomb do detect it successfuly :
However now I'm not able to make it anymore : I now am facing this bug :
https://bugs.launchpad.net/ubuntu/+source/mediatomb/+bug/784431
si I applyied the pach from https://launchpadlibrarian.net/71985647/libav_0.7_support.patch
the make goes further but crash anyway :
I tried the git version too, issue is the same
BTW, what's the benefit of compiling with ffmpeg detected, since without it mediatomb is able to parse video tags anyway ??
Now wait, yesterday night I pushed a new version to git that works fine on Fedora 18, that should have a libav version >0.7, when did you checkout the git sources? Today or earlier?
MediaTomb is able to parse video tags for mp4 files using libmp4v2, but it won't parse tags of AVI or other files when compiled without ffmpeg.
today, somes hours ago
i'm on fedora 12
but, ffmpeg 1.1 is packed with libav, and I didn't found out yet which version of libav it's paccked with.
should I build libav 0.9.1 appart and recompile ffmpeg before mediatomb ?
I did it again, I compiled libav 0.9.1 appart too, but error is still the same
could the Fedora release 12 (Constantine) be the problem ?
Could very well be, back in the ffmpeg API was changing very often.
Latest git will work if you install ffmpeg-libs-1.0.1 (which is available in Fedora 18)… I'm dropping support for older versions now, it's just too difficult to maintain.
i will tell it to Thecus ;)