[linux-dvb] kaffeine s2api v2 patch

ChaosMedia > WebDev webdev at chaosmedia.org
Mon Oct 27 14:25:50 CET 2008


You can also configure kaffeine with an extra parameter :

--with-extra-includes=/usr/src/s2api/s2-liplianin/linux/include/

of course replace this path with the path of your dvb lib, just make 
sure that the directory you specify is on top of this : linux/dvb/frontend.h

in my case the full path is 
/usr/src/s2api/s2-liplianin/linux/include/linux/dvb/frontend.h

that will tell the compiler to use include files located at that 
location first.


As for your HD crash problem, you should try to use the latest ffmpeg 
svn as well as current xine hg with external ffmpeg and you should get a 
very stable h264 HD sat stream display. Of course you will need some 
real muscle to decode them, not mentionning to turn off deinterlace for 
1080i streams if you're a bit short of cpu power on a single core..

Marc



Francesco Fumanti wrote:
> Hello Darron,
>
>
> I followed your instructions below which solved the compilation problem 
> and I was able to compile and install kaffeine. Thanks.
>
> A new scan found also the dvb-s2 channels (Anixe HD, Simul HD,...).
>
> When I try to watch them, there are a lot of artifacts and picture 
> hangers which is surely normal for a Pentium 4 and a nvidia 6610 XL.
>
> However, kaffeine also crashes when watching hd content and in the last 
> lines in the terminal (I launched it from terminal to have feedback), 
> there is a "Internal error: picture buffer overflow".
>
> As the crashes did not occur during channel switches, but while watching 
> hd content, I suppose that the problem is rather due to xine than to the 
> s2api patch.
>
>
> Cheers,
>
> Francesco
>
>
> Darron Broad wrote:
>   
>> In message <49038A28.4040601 at gmx.net>, Francesco Fumanti wrote:
>>     
>>> Hello,
>>>       
>> Hi Francesco.
>>
>>     
>>> Did anybody succeed to compile kaffeine from svn with the s2api patch on 
>>> Ubuntu 8.10 (not Kubuntu) ?
>>>
>>> I have been using the instructions on http://kaffeine.kde.org/?q=devel 
>>> but I get the following error:
>>> make[6]: Entering directory 
>>> `/home/frafu/kaffeine-svn/kaffeine/src/input/dvb'
>>> /bin/bash ../../../../libtool --silent --tag=CXX   --mode=compile g++ 
>>> -DHAVE_CONFIG_H -I. -I../../../.. -I../../../../kaffeine/src/input/ 
>>> -I../../../../kaffeine/src/input/dvb/lib 
>>> -I../../../../kaffeine/src/input/dvb/plugins/stream 
>>> -I../../../../kaffeine/src/input/dvb/plugins/epg 
>>> -I../../../../kaffeine/src -I/usr/include/kde -I/usr/share/qt3/include 
>>> -I.   -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wno-long-long -Wundef -ansi 
>>> -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall 
>>> -W -Wpointer-arith -O2 -Wformat-security -Wmissing-format-attribute 
>>> -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common 
>>> -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT 
>>> -DQT_NO_TRANSLATION  -MT audioeditor.lo -MD -MP -MF 
>>> .deps/audioeditor.Tpo -c -o audioeditor.lo audioeditor.cpp
>>> In file included from audioeditor.h:24,
>>>                  from audioeditor.cpp:30:
>>> channeldesc.h:104: error: 'fe_rolloff_t' does not name a type
>>> make[6]: *** [audioeditor.lo] Error 1
>>> make[6]: Leaving directory `/home/frafu/kaffeine-svn/kaffeine/src/input/dvb'
>>> make[5]: *** [all-recursive] Error 1
>>> make[5]: Leaving directory `/home/frafu/kaffeine-svn/kaffeine/src/input/dvb'
>>> make[4]: *** [all-recursive] Error 1
>>> make[4]: Leaving directory `/home/frafu/kaffeine-svn/kaffeine/src/input'
>>> make[3]: *** [all-recursive] Error 1
>>> make[3]: Leaving directory `/home/frafu/kaffeine-svn/kaffeine/src'
>>> make[2]: *** [all-recursive] Error 1
>>> make[2]: Leaving directory `/home/frafu/kaffeine-svn/kaffeine'
>>> make[1]: *** [all-recursive] Error 1
>>> make[1]: Leaving directory `/home/frafu/kaffeine-svn'
>>> make: *** [all] Error 2
>>>
>>> You might perhaps also want to know that the application of the patch 
>>> worked without error.
>>>       
>> You need to update frontend.h in /usr/include/linux/dvb/
>>
>> eg.
>>
>> mv /usr/include/linux/dvb/frontend.h /usr/include/linux/dvb/frontend.h.bak
>> cp /???/v4l-dvb/linux/include/linux/dvb/frontend.h /usr/include/linux/dvb/frontend.h
>>
>> Then recompile. Obviously replace ??? with the path to your v4l-dvb source
>> files.
>>
>> Good luck.
>>
>> --
>>
>>  // /
>> {:)==={ Darron Broad <darron at kewl.org>
>>  \\ \ 
>>
>>     
>
>
> _______________________________________________
> linux-dvb mailing list
> linux-dvb at linuxtv.org
> http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
>
>   



More information about the linux-dvb mailing list