[mythtv] coreavc patch for mythtv on amd64 architecture

Markus Frahm frahm.markus at web.de
Fri Jul 13 17:46:18 UTC 2007


Am Dienstag 10 Juli 2007 23:49:22 schrieben Sie:
> Markus Frahm wrote:
> > Hi, i cannot compile libdshowloader on an amd64 architecture. Is this not
> > possible? I would like to have coreavc support to be able to see HDTV
> > (H264 PAFF) content.
> > I think it has something to do with an old wine version (and therfore old
> > includes, which are not supporting x64 architecture) which you are using
> > in this patch. Am I right?
>
> I do not think this will ever be possible.  The main problem is that
> libdshowloader comes from mplayer, and mplayer does not support either
> 64bit codecs (not that there is one for CoreAVC) or running 32bit codecs
> from a 64bit platform.
>
> since ffh264 is not fast enough to decode many HD h.264 streams on even
> the fastest hardware (it is both slower than CoreAVC and does not allow
> parallelization across multiple CPUs), your only options are to use an
> ia32 distribution, or chroot mythtv into a 32bit env.
>
> If mplayer ever gets the requisite support, I would look into adding it
> to libdshowloader, but it is not something I'm planning on implementing
> myself.
Hi,
I now tried to compile mythtv with the patch in a 32-bit environment and get 
the following error with your patch. Can you help me? I use mythtv version 
0.20.1

Greetings
 Markus

++ -c -pipe -march=athlon-xp -Wall -W -O3 -Wall -Wno-switch -fomit-frame-pointer -I/usr/include/freetype2 -D_REENTRANT -DPIC -fPIC  -DMMX -Di386 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DPREFIX=\"/usr\" -DLIBDIR=\"/usr/lib\" -D_LARGEFILE_SOURCE -DUSING_OSS -DUSING_H264TOOLS -DUSING_XV -DUSING_XVMC -DUSING_XVMCW -DUSING_XVMC_VLD -DUSING_OPENGL -DUSING_OPENGL_VSYNC -DUSING_FRONTEND -DUSING_V4L -DUSING_IVTV -DUSING_DVB -DUSING_BACKEND -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_TABLET_SUPPORT -I/usr/qt/3/mkspecs/linux-g++ -I. -I/usr/include -I/usr/include -I../.. -I.. -I../libmyth -I../libavcodec -I../libavutil -I../libmythmpeg2 -Idvbdev -Impeg -I../libmythlivemedia/BasicUsageEnvironment/include -I../libmythlivemedia/groupsock/include -I../libmythlivemedia/liveMedia/include -I../libmythlivemedia/UsageEnvironment/include -I/usr/qt/3/include -I/usr/X11R6/include -I/usr/X11R6/include -o 
videoout_xv.o videoout_xv.cpp
/usr/qt/3/include/qsqldatabase.h:63: warning: 'class QSqlDriverCreatorBase' 
has virtual functions but non-virtual destructor
../libavformat/avformat.h:228: warning: 'AVFrac' is deprecated (declared 
at ../libavformat/avformat.h:82)
../libavformat/avformat.h:367: warning: attribute ignored in declaration 
of 'struct AVInputImageContext'
../libavformat/avformat.h:367: warning: attribute for 'struct 
AVInputImageContext' must follow the 'struct' keyword
../libavformat/avformat.h:391: warning: 'AVImageInfo' is deprecated (declared 
at ../libavformat/avformat.h:376)
../libavformat/avformat.h:394: warning: 'AVImageInfo' is deprecated (declared 
at ../libavformat/avformat.h:376)
avformatdecoder.cpp: In member function 'bool 
AvFormatDecoderPrivate::InitDirectShow(AVCodecContext*)':
avformatdecoder.cpp:119: error: cannot convert 'const CodecTag*' to 'const 
AVCodecTag*' in initialization
avformatdecoder.cpp:122: error: 'av_codec_get_tag' was not declared in this 
scope
make[2]: *** [avformatdecoder.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory 
`/var/tmp/portage/media-tv/mythtv-0.20.1_p13783/work/mythtv-0.20.1/libs/libmythtv'
make[1]: *** [sub-libmythtv] Error 2
make[1]: Leaving directory 
`/var/tmp/portage/media-tv/mythtv-0.20.1_p13783/work/mythtv-0.20.1/libs'
make: *** [sub-libs] Error 2
 *
 * ERROR: media-tv/mythtv-0.20.1_p13783 failed.                                                            


More information about the mythtv-dev mailing list