Mailing List archive

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

[vdr] Re: MPlayer v0.90 rc1 and rc2 not working wiht DVB



Adis Salcin wrote:

>Well here is what i have do,
>compile CVS driver for DVB rev 1.3 card, vdr 1.1.20 and it work okey..
>no problem, but thing is when i wont to compile mplayer to use dvb and
>with extra cddir...
>here what have do
>: download mplayer***.bz2 from HP website
>aplayed this patch to mplayer
>http://www.linuxtv.org:81/mailinglists/vdr/2002/12-2002/msg00707.html
>
>and try this command
>
>./configure --with-extraincdir=/usr/local/src/DVB/include
>and have try /usr/local/src/DVB/include/
>and          /usr/local/src/DVB/include/linux/dvb
>and          /usr/local/src/DVB/include/linux/dvb/
>
>but in configure window when look fot upstair log olways same 
>Checking for DVB ... no (specify path to DVB/ost/include with --with-extraincdir=DIR)
>
>--------
>Checking for SVGAlib ... no
>Checking for FBDev ... yes
>Checking for DVB ... no (specify path to DVB/ost/include with --with-extraincdir=DIR)
>Checking for PNG support ... yes
>--------
>
>and have type olso: make and make install
>have run driver for dvb make insmod(can see n-tv so driver working)
>start moive:
>mplayer -vo mpegpes -ao mpegpes -vop lavc,expand=720:576:0:0:1,scale=720:576
>-subpos 80 -sub /mnt/win_c/Gotovi/Download\ Centre/TrainingDay_serb.sub 
>/mnt/win_c/Gotovi/Download\ Centre/ntk-divx-td1.avi
>
>moive is played as i can see that moive is going but nothing on my TV
>except N-tv,...
>
>pls help me to have this working.. thnx
>
>
>
>-------------------------------- 
>Adis Salčin,                    |
>IT Computers (Mostar) - Servis  |
>http://www.webmaster.co.ba      |
>--------------------------------
>
>
>
>
>  
>
For compatibility with the other part of patch you must change the includes
from
#include <dvb/dmx.h>
to
#include <linux/dvb/dmx.h>

or use this one.


diff -ru MPlayer-0.90pre10org/configure MPlayer-0.90pre10/configure
--- MPlayer-0.90pre10org/configure      Sat Nov  9 18:44:28 2002
+++ MPlayer-0.90pre10/configure Mon Nov 11 18:15:30 2002
@@ -2604,7 +2604,7 @@
 echocheck "DVB"
 if test "$_dvb" != no ; then
   _dvb=no
-  test -c /dev/ost/video && _dvb=yes
+  test -c /dev/dvb/adapter0/video0 && _dvb=yes
 cat >$TMPC << EOF
 #include <sys/poll.h>
 #include <sys/ioctl.h>
@@ -2612,18 +2612,18 @@
 #include <time.h>
 #include <unistd.h>

-#include <ost/dmx.h>
-#include <ost/frontend.h>
-#include <ost/sec.h>
-#include <ost/video.h>
-#include <ost/audio.h>
+#include <linux/dvb/dmx.h>
+#include <linux/dvb/frontend.h>
+/*#include <ost/sec.h>*/
+#include <linux/dvb/video.h>
+#include <linux/dvb/audio.h>
 int main(void) {return 0;}
 EOF
     if cc_check ; then
         _dvb=yes
         echores "yes"
     else
-      for I in "-I/usr/src/DVB/ost/include" "$_inc_extra/ost/include" ; do
+      for I in "-I/usr/local/src/DVB/include" "$_inc_extra/include" ; do
         if cc_check "$I" ; then
           _dvb=yes
           _inc_dvb="$I"
@@ -2631,7 +2631,7 @@
           break
         fi
       done
-      test "$_dvb" = no && echores "no (specify path to DVB/ost/include 
with --with-extraincdir=DIR)"
+      test "$_dvb" = no && echores "no (specify path to DVB/include 
with --with-extraincdir=DIR)"
     fi
 else
     echores "no"

Hope this help solve your Problem.




-- Binary/unsupported file stripped by Listar --
-- Type: application/x-pkcs7-signature
-- File: smime.p7s
-- Desc: S/MIME Cryptographic Signature



-- 
Info:
To unsubscribe send a mail to listar@linuxtv.org with "unsubscribe vdr" as subject.



Home | Main Index | Thread Index