Re: [Freevo-users] mplayer change channel

2006-12-07 Thread S2
Philip Armstrong wrote:
> I thought I'd tested it!
> 
> Maybe I forgot to clear out .pyc files or something (although surely
> the python interpreter should pick up on that...)

no problem :) happenso to me too :)

> You're right though, the code as written isn't picking up the channel
> number. Note that nextchan *is* calculated within the function in
> question though: it should just be a matter of putting it in the
> string passed to mplayer.

mplayer is expecting the channel *number* not the *name*. sending a
string instead of a number segfaults mplayer. i think you have to grep
through mplayers channels.config file to find the number, but that would
be a very ugly hack.

> I'll prod it when I get a chance tomorrow /
> over the weekend.

that would be great! i am curious about the solution you will come up
with :) maybe add the channel number to freevos channels tuple?

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] mplayer change channel

2006-12-07 Thread Philip Armstrong
On Thu, Dec 07, 2006 at 08:45:32PM +0100, S2 wrote:
> Philip Armstrong wrote:
> > Attached is a more complete patch including the channel changes.
> 
> how is your patch supposed to work? You have to send mplayer the enext
> channel number in his channels.conf file.
> this
> self.app.write('dvb_set_channel nextchan 0\n')
> sends that string to mplayer. it should be something like
> self.app.write('dvb_set_channel 124 0\n')
> but i see 2 problems here:
> - not everybody has only 1 dvb tuner
> - how do you get che channel number?

I thought I'd tested it!

Maybe I forgot to clear out .pyc files or something (although surely
the python interpreter should pick up on that...)

You're right though, the code as written isn't picking up the channel
number. Note that nextchan *is* calculated within the function in
question though: it should just be a matter of putting it in the
string passed to mplayer. I'll prod it when I get a chance tomorrow /
over the weekend.

cheers, Phil

-- 
http://www.kantaka.co.uk/ .oOo. public key: http://www.kantaka.co.uk/gpg.txt

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] mplayer change channel

2006-12-07 Thread S2
Philip Armstrong wrote:
> Attached is a more complete patch including the channel changes.

Hello Philip,
how is your patch supposed to work? You have to send mplayer the enext
channel number in his channels.conf file.
this
self.app.write('dvb_set_channel nextchan 0\n')
sends that string to mplayer. it should be something like
self.app.write('dvb_set_channel 124 0\n')
but i see 2 problems here:
- not everybody has only 1 dvb tuner
- how do you get che channel number?

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Freevo for HDTV?

2006-12-07 Thread Dirk Meyer
Jason Tackaberry wrote:
> On Wed, 2006-12-06 at 23:09 +0100, Dirk Meyer wrote:
>> I have a Core 2 Duo 6400. I can play 720p H.264 without any
>> problems. 1080i is not possible right now, but onlu because ffmpeg
>> only uses one core for decoding. Splitting the decoder on both cores
>> should make it possble.
>
> Assuming decoding is parallelizable, which I think is doubtful.

It works for the mpeg2 decoder in ffmpeg.


Dischi

-- 
Someday I'll find that peer and reset his connection!


pgpMx0QFqdOyq.pgp
Description: PGP signature
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Freevo for HDTV?

2006-12-07 Thread Dirk Meyer
[EMAIL PROTECTED] wrote:
> Quoting Dirk Meyer <[EMAIL PROTECTED]>:
>
>
>> I have a Core 2 Duo 6400. I can play 720p H.264 without any
>> problems. 1080i is not possible right now, but onlu because ffmpeg
>> only uses one core for decoding. Splitting the decoder on both cores
>> should make it possble.
>
>How about mpeg2? are you using xvmc?

I have no 1080i mpeg2 stream. I only have the 1080i Apple trailer for
testing and they are H.264. And no, I'm not using xvmc. Since mpeg2 is
very simple, I can do that in software. And even for 1080i it should
work in software because ffmepg can use threads internal for mpv.


Dischi

-- 
The opinions above are solely those of a 12 year old hacker who has
broken into my account, and not those of my employer or any other
organization.


pgpLhPSVdD11a.pgp
Description: PGP signature
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] mplayer change channel + UNICHROME

2006-12-07 Thread Philip Armstrong
On Thu, Dec 07, 2006 at 11:55:58AM +0100, Paul Sijben wrote:
>I have applied the patch in my setup too and also patched
>tv/plugins.mplayer.py for unichrom hwaccel
>insert:
> 
>args = (config.MPLAYER_NICE, config.MPLAYER_CMD,\
>config.MPLAYER_VO_DEV_HWACCEL,\
>" "+config.MPLAYER_VO_DEV_OPTS_HWACCEL,\
>config.MPLAYER_AO_DEV, config.MPLAYER_ARGS_DEF)
> 
>in the clause under group ivtv (line 109).
> 
>I have made no patch yet for this because I have two questions:
>1) is it only IVTV that generates MPEG or are there other capture cards
>that need this too?

DVB cards usually give you an mpeg transport stream.

>2) I notice that after a channel change mplayer is struggling with
>displaying the video, pressing pause and unpausing after a little sorts
>that out. Is this something that is related to my setup IVTV+UNICHROME out
>or do others have this problem too?

Audio sync in current mplayer sucks rocks in my experience. It often
takes ages to come into sync when starting playback. Sometimes
twiddling with autosync values helps, but it's pot luck as far as I
can tell.

>BTW: is channel changing supposed to take several seconds?

mplayer seems to like to search the mpeg stream for the program and
audio chunks, even if you've told it the pid values beforehand, which
means it has to cache a chunk of the stream and scan through it first.

There's also some retune time in the receiver circuitry of course: it
has to sync to the new signal. For DVB, changing channels within a
single MUX *ought* to be instantaneous, since no retuning is necessary.

Phil

-- 
http://www.kantaka.co.uk/ .oOo. public key: http://www.kantaka.co.uk/gpg.txt

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] mplayer change channel + UNICHROME

2006-12-07 Thread Paul Sijben
I have applied the patch in my setup too and also patched
tv/plugins.mplayer.py for unichrom hwaccel

insert:

args = (config.MPLAYER_NICE, config.MPLAYER_CMD,\
config.MPLAYER_VO_DEV_HWACCEL,\
" "+config.MPLAYER_VO_DEV_OPTS_HWACCEL,\
config.MPLAYER_AO_DEV, config.MPLAYER_ARGS_DEF)

in the clause under group ivtv (line 109).

I have made no patch yet for this because I have two questions:
1) is it only IVTV that generates MPEG or are there other capture cards
that need this too?
2) I notice that after a channel change mplayer is struggling with
displaying the video, pressing pause and unpausing after a little sorts
that out. Is this something that is related to my setup IVTV+UNICHROME
out or do others have this problem too?

BTW: is channel changing supposed to take several seconds?

Paul

Philip Armstrong wrote:
> On Wed, Dec 06, 2006 at 10:42:34PM +0100, Duncan Webb wrote:
>   
>> Philip Armstrong wrote:
>> 
>>> Attached is a more complete patch including the channel changes.
>>>
>>> cheers, Phil
>>>   
>> I would be very happy if you would add a feature request for this.
>> http://sourceforge.net/tracker/?func=add&group_id=46652&atid=446898
>> 
>
> Done, I think: Request ID 1610656. Let me know if I've messed anything
> up!
>
> cheers, Phil
>
>   

-- 
Paul Sijben mailto:[EMAIL PROTECTED]
Amersfoort, NL  http://www.sijben.net
tel:+31 334557522   fax:+31 33 4557523

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


[Freevo-users] 1.6.1 weather plugin issue

2006-12-07 Thread Paul Sijben
All,

I have been investigating why my weather plugin often fails these days.

error looks like this:
  File "/usr/lib/python2.4/site-packages/freevo/plugins/weather.py",
line 327, in getForecast
self.convertWeatherData()
  File "/usr/lib/python2.4/site-packages/freevo/plugins/weather.py",
line 514, in convertWeatherData
self.setWeatherIcon( )
  File "/usr/lib/python2.4/site-packages/freevo/plugins/weather.py",
line 522, in setWeatherIcon
match = weatherTypes.findType( name=self.shortdesc )
  File "/usr/lib/python2.4/site-packages/freevo/plugins/weather.py",
line 618, in findType
raise Exception, "unknown type requested in
WeatherTypesClass::findType() %s:%s:%s"%(number,name,icon)
Exception: unknown type requested in WeatherTypesClass::findType()
None::None

I have added the printout of the parameters to findType, and gee it
turns out it can not find a type of you give it no input.

So I looked at the data file for my location, it is attached. The
problem is that self.shortdesc is empty which is because both the CIcon
and Context fields are empty in the data it receives.

Does anyone understand the weather plugin sufficiently to know how to
fix this?

Paul


-- 
Paul Sijben mailto:[EMAIL PROTECTED]
Amersfoort, NL  http://www.sijben.net
tel:+31 334557522   fax:+31 33 4557523



data
Description: Binary data
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] mplayer change channel

2006-12-07 Thread Philip Armstrong
On Wed, Dec 06, 2006 at 10:42:34PM +0100, Duncan Webb wrote:
> Philip Armstrong wrote:
> > Attached is a more complete patch including the channel changes.
> > 
> > cheers, Phil
> 
> I would be very happy if you would add a feature request for this.
> http://sourceforge.net/tracker/?func=add&group_id=46652&atid=446898

Done, I think: Request ID 1610656. Let me know if I've messed anything
up!

cheers, Phil

-- 
http://www.kantaka.co.uk/ .oOo. public key: http://www.kantaka.co.uk/gpg.txt

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users