Skip to contentSkip to conversation

kaffeine s2api v2 patch

linux-dvb Francesco Fumanti 4 participants 6 messages Oct 25, 2008 – Oct 27, 2008 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

Hello,

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.

Cheers

Francesco

Quoted 9 lines · Christophe Thommeret

If anyone is interested.
Applies to kaffeine svn.

A non-text attachment was scrubbed...
Name: kaffeine-s2api-v2.diff
Type: text/x-diff
Size: 33411 bytes
Desc: not available
Url : http://www.linuxtv.org/pipermail/linux-dvb/attachments/20081018/1ac1212c/attachment.diff

_______________________________________________
linux-dvb mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

#1 lore raw
Quoted 1 line · Francesco Fumanti

Hello,

Hi Francesco.

Quoted 37 lines

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++

(quoted diff) +0 -11
-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

Quoted 2 lines

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 <[email protected]>
\\ \

_______________________________________________
linux-dvb mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

#2 lore raw

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

Quoted 55 lines · Darron Broad
Quoted 1 line · Francesco Fumanti

Hello,

Hi Francesco.

Quoted 37 lines

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++

(quoted diff) +0 -11
-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

Quoted 2 lines

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.

Quoted 8 lines

Good luck.

--

// /
{:)==={ Darron Broad <[email protected]>
\\ \

_______________________________________________
linux-dvb mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

#3 lore raw

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

Quoted 95 lines · Francesco Fumanti

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

Quoted 57 lines · Darron Broad
Quoted 2 lines · Francesco Fumanti

Hello,

Hi Francesco.

Quoted 37 lines

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++

(quoted diff) +0 -11
-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

Quoted 3 lines

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.

Quoted 9 lines

Good luck.

--

// /
{:)==={ Darron Broad <[email protected]>
\\ \

Quoted 6 lines

_______________________________________________
linux-dvb mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

_______________________________________________
linux-dvb mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

#4 lore raw

Hi,

Quoted 5 lines · On Mon, Oct 27, 2008 at 02:25:50PM +0100, ChaosMedia > WebDev wrote:

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..

How can the deinterlace be disabled?

Thanks, Artem

_______________________________________________
linux-dvb mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

#5 lore raw

There's a keyboard shortcut, in my config it's "i" but it may not be the default key, check kaffeine Settings > Configure shortcut

I haven't tried s2api and kaffeine yet but i've built both of them so i'll test that with my tt s2-3200 to see how it works..

Marc

Quoted 11 lines · Artem Makhutov

Hi,

Quoted 6 lines · On Mon, Oct 27, 2008 at 02:25:50PM +0100, ChaosMedia > WebDev wrote:

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..

Quoted 5 lines

How can the deinterlace be disabled?

Thanks, Artem

_______________________________________________
linux-dvb mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb