Mailing List archive

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

[linux-dvb] Re: mplayer interface



hi

i really don't understand your patch, there is no
files attached with your message, i only found these
words written directly in the email nothing more!!!,
 i don't know to used it?

**************************
diff -u -r -bB --exclude='*Makefile*'
--exclude='config.*' 
--exclude=.deps
kplayer-0.4.0/kplayer/kplayerprocess.cpp 
kplayer-0.4.0-dvb/kplayer/kplayerprocess.cpp
--- kplayer-0.4.0/kplayer/kplayerprocess.cpp   
2003-11-03 
01:08:25.000000000 +0100
+++ kplayer-0.4.0-dvb/kplayer/kplayerprocess.cpp      
 2003-11-14 
16:46:09.000000000 +0100
@@ -29,6 +29,10 @@
 #include "kplayerprocess.moc"
 #include "kplayersettings.h"
 
+#include <iostream>
+using namespace std;
+#include <qlabel.h>
+
 #define MIN_VIDEO_LENGTH 5
 
 //#define DEBUG_KPLAYER_PROCESS
@@ -53,7 +57,7 @@
 static QRegExp re_mpeg12 ("mpeg[12]", false);
 static QRegExp re_version ("^MPlayer *0\\.9.* \\(C\\)
");
 static QRegExp re_crash ("MPlayer crashed");
-static QRegExp re_dvd_vcd ("^(?:vc|dv)d://", false);
+static QRegExp re_dvd_vcd
("^((?:vc|dv)d)|(?:dvb)|(?:tv)://", false);
 
 KPlayerLineOutputProcess::KPlayerLineOutputProcess
(void)
 {
@@ -446,7 +450,8 @@
     *player << "-idx";
   if ( ! settings -> commandLine().isEmpty() )
     *player << QStringList::split (QChar (' '),
settings -> 
commandLine());
-  *player << (m_url.isLocalFile() ? m_url.path() :
m_url.url());
+  *player << (m_url.isLocalFile() ? m_url.path() : 
KURL::decode_string(m_url.url()));
+
   QApplication::connect (player, SIGNAL
(processExited (KProcess*)),
     this, SLOT (onProcessExited (KProcess*)));
 //QApplication::connect (player, SIGNAL
(receivedStderrLine 
(KPlayerLineOutputProcess*, char*, int)),
*******************************************

i dont know what to do with these code.


thanks
abbas




  


--- Vincenzo Di Massa <hawk78_it@yahoo.it> wrote:
> You can try kplayer plus attached patch.
> 
> http://kplayer.sourceforge.net
> 
> It can be used to watch TV and DigitalTV using
> mplayer.
> 
> Il mar, 2004-01-20 alle 12:17, ABBAS AL-MUTAWA ha
> scritto:
> > Hi
> > 
> > is there any nice interface for mplayer that, at
> > least, show all channels  and switch between them
> > easily?
> > 
> > thanks
> > 
> > 
> > --- alx <2alx@tut.by> wrote:
> > > Hi
> > > 
> > > Imho it's good to try mplayer (www.mplayerhq.hu)
> > > 
> > > Alex Kuzmenkov
> > > 
> > > -----Original Message-----
> > > From: linux-dvb-bounce@linuxtv.org
> > > [mailto:linux-dvb-bounce@linuxtv.org]
> > > On Behalf Of ABBAS AL-MUTAWA
> > > Sent: Tuesday, January 20, 2004 12:04 PM
> > > To: linux-dvb@linuxtv.org
> > > Subject: [linux-dvb] DVB-s and software mpeg
> decoder
> > > with VDR
> > > 
> > > Hi
> > > 
> > > does any one know how to get VDR working with
> DVB
> > > card
> > > that does not support hardware mpeg? i.e Twinhan
> DST
> > > card.
> > > 
> > > 
> > > Thanks
> > > 
> > > 
> > > __________________________________
> > > Do you Yahoo!?
> > > Yahoo! Hotjobs: Enter the "Signing Bonus"
> > > Sweepstakes
> > >
> http://hotjobs.sweepstakes.yahoo.com/signingbonus
> > > 
> > > 
> > > -- 
> > > Info:
> > > To unsubscribe send a mail to
> ecartis@linuxtv.org
> > > with "unsubscribe
> > > linux-dvb" as subject.
> > > 
> > > 
> > > 
> > > -- 
> > > Info:
> > > To unsubscribe send a mail to
> ecartis@linuxtv.org
> > > with "unsubscribe linux-dvb" as subject.
> > > 
> > 
> > __________________________________
> > Do you Yahoo!?
> > Yahoo! Hotjobs: Enter the "Signing Bonus"
> Sweepstakes
> > http://hotjobs.sweepstakes.yahoo.com/signingbonus
> -- 
> Vincenzo Di Massa <hawk78_it@yahoo.it>
> > diff -u -r -bB --exclude='*Makefile*'
> --exclude='config.*' --exclude=.deps
> kplayer-0.4.0/kplayer/kplayerprocess.cpp
> kplayer-0.4.0-dvb/kplayer/kplayerprocess.cpp
> --- kplayer-0.4.0/kplayer/kplayerprocess.cpp
> 2003-11-03 01:08:25.000000000 +0100
> +++ kplayer-0.4.0-dvb/kplayer/kplayerprocess.cpp
> 2003-11-14 16:46:09.000000000 +0100
> @@ -29,6 +29,10 @@
>  #include "kplayerprocess.moc"
>  #include "kplayersettings.h"
>  
> +#include <iostream>
> +using namespace std;
> +#include <qlabel.h>
> +
>  #define MIN_VIDEO_LENGTH 5
>  
>  //#define DEBUG_KPLAYER_PROCESS
> @@ -53,7 +57,7 @@
>  static QRegExp re_mpeg12 ("mpeg[12]", false);
>  static QRegExp re_version ("^MPlayer *0\\.9.*
> \\(C\\) ");
>  static QRegExp re_crash ("MPlayer crashed");
> -static QRegExp re_dvd_vcd ("^(?:vc|dv)d://",
> false);
> +static QRegExp re_dvd_vcd
> ("^((?:vc|dv)d)|(?:dvb)|(?:tv)://", false);
>  
>  KPlayerLineOutputProcess::KPlayerLineOutputProcess
> (void)
>  {
> @@ -446,7 +450,8 @@
>      *player << "-idx";
>    if ( ! settings -> commandLine().isEmpty() )
>      *player << QStringList::split (QChar (' '),
> settings -> commandLine());
> -  *player << (m_url.isLocalFile() ? m_url.path() :
> m_url.url());
> +  *player << (m_url.isLocalFile() ? m_url.path() :
> KURL::decode_string(m_url.url()));
> +
>    QApplication::connect (player, SIGNAL
> (processExited (KProcess*)),
>      this, SLOT (onProcessExited (KProcess*)));
>  //QApplication::connect (player, SIGNAL
> (receivedStderrLine (KPlayerLineOutputProcess*,
> char*, int)),
> 

__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!
http://webhosting.yahoo.com/ps/sb/


-- 
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe linux-dvb" as subject.



Home | Main Index | Thread Index