Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vdr] Re: ANNOUNCE: vdr-mhp-0.2



Am Montag, 20. September 2004 21:35 schrieb Laz:
> On Saturday 18 Sep 2004 23:04, Marcel Wiesweg wrote:
> > Hi,
> >
> > after a long time of development followed by a long time very reduced
> > development, I put some work into this and I think it is now the time to
> > make a release. (I know, I should have released long before)
> >
> > This plugin aims at creating an MHP implementation for VDR.
> >
> > This is still a pre-release in the sense that the implementation is far
> > from feature-complete, but at least it is quite stable. Currently the
> > infrastructure is working, and that is the most important thing. However,
> > the APIs are really not complete.
> > I have some self-written sample applications working (among them a
> > primitive image viewer, they are included in the package), but I did not
> > test it at all agains real-world applications, which is the next
> > development step.
> >
> > There is some documentation in the package if you like to know the
> > technical details.
> >
> > Please be aware that there are at least two important dependencies and
> > some pitfalls in installing, so pay attention to the README.
>
> Compilation fails with ffmpeg-0.4.9! I get:
>
> make[3]: Entering directory
> `/home/laz/dvb/vdr-1.3.12/PLUGINS/src/mhp-0.2/libmhpoutput/mpegpes-0.9.20'
> g++ -g -O2 -Wall -Woverloaded-virtual -c  -I/usr/include/dfb++
> -I/usr/include/directfb  -I../.. -I../../mhp/../../../../include/ mpegpes.c
> mpegpes.c: In constructor `MhpOutput::Encoder::Encoder()':
> mpegpes.c:220: error: 'struct AVCodecContext' has no member named
> 'aspect_ratio'
> mpegpes.c:220: error: `FF_ASPECT_4_3_625' undeclared (first use this
> function) mpegpes.c:220: error: (Each undeclared identifier is reported
> only once for each function it appears in.)
> mpegpes.c:220: error: `FF_ASPECT_16_9_625' undeclared (first use this
> function)
> make[3]: *** [mpegpes.o] Error 1
> make[3]: Leaving directory
> `/home/laz/dvb/vdr-1.3.12/PLUGINS/src/mhp-0.2/libmhpoutput/mpegpes-0.9.20'
> make[2]: *** [modules] Error 1
>
> Checking my version of avcodec.h, the only define I have like that is
> FF_ASPECT_EXTENDED, and "aspect-ratio" is now "sample_aspect_ratio"! I
> think the aspect ratios of 0.4.8 have been replaced by things like
> FF_DTG_AFD_4_3
>
> I'll see if I can get anywhere with this...

The problem with FFMpeg is that the API changes constantly, and is completely 
undocumented. So lets guess what these defines mean. The only reliable source 
of information is the source of ffmpeg.c.

Marcel

>
> Cheers,
>
> Laz




Home | Main Index | Thread Index