Re: [Freevo-users] lack of menu refreshes after Ubuntu upgrade

2014-05-19 Thread Paul Sijben
I skipped 12.04

Dan Schmidt schreef op 17-5-2014 17:23:
 Did 12.04 work OK?

 On Thu, May 8, 2014 at 5:22 AM, Paul Sijben p...@sijben.net wrote:
 Hi all,

 I thought it would be a good idea to upgrade my freevo box to Ubuntu
 14.04. (64 bit, AMD built in video)

 Unfortunately navigating through menus has sporadic issues resulting in
 lack of certain refreshes so at some point the interface becomes unusable.

 I have already upgraded to the git version of Kaa but to no avail.

 Does anyone recognize this issue and know how to fix it?

 Paul


 --
 Is your legacy SCM system holding you back? Join Perforce May 7 to find out:
 #149; 3 signs your SCM is hindering your productivity
 #149; Requirements for releasing software faster
 #149; Expert tips and advice for migrating your SCM now
 http://p.sf.net/sfu/perforce
 ___
 Freevo-users mailing list
 Freevo-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/freevo-users
 --
 Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
 Instantly run your Selenium tests across 300+ browser/OS combos.
 Get unparalleled scalability from the best Selenium testing platform available
 Simple to use. Nothing to install. Get started now for free.
 http://p.sf.net/sfu/SauceLabs
 ___
 Freevo-users mailing list
 Freevo-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/freevo-users

-- 
Paul Sijben
tel 0334557522


--
Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free.
http://p.sf.net/sfu/SauceLabs
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


[Freevo-users] lack of menu refreshes after Ubuntu upgrade

2014-05-08 Thread Paul Sijben
Hi all,

I thought it would be a good idea to upgrade my freevo box to Ubuntu 
14.04. (64 bit, AMD built in video)

Unfortunately navigating through menus has sporadic issues resulting in 
lack of certain refreshes so at some point the interface becomes unusable.

I have already upgraded to the git version of Kaa but to no avail.

Does anyone recognize this issue and know how to fix it?

Paul


--
Is your legacy SCM system holding you back? Join Perforce May 7 to find out:
#149; 3 signs your SCM is hindering your productivity
#149; Requirements for releasing software faster
#149; Expert tips and advice for migrating your SCM now
http://p.sf.net/sfu/perforce
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] iptv_record

2012-02-28 Thread Paul Sijben
Adam,

I already have the patches to record multiple shows om the same plugin
at the same time. I sent them on this list recently.

I'll try and test my iptv_record soon.

Paul

On 28-02-12 20:52, Adam Charrett wrote:
 On Sun, 2012-02-26 at 13:08 +0100, Paul Sijben wrote:
 I have been writing some code. But I have nog had a chance to test it yet...

 I also noted that the framework allows only one recorder plugin to be
 active at a time, so I have to choose between one of the recording
 schemes. Is that correct or am I missing something?
 Yes, that's correct the current version of the recordserver is very limited, 
 only a single recording plugin and only a single event being recorded at a 
 time.

 I'm about half (maybe a little more) through writing a new tv server
 that will allow multiple plugins and multiple events at the same time
 (including multiple events on the same plugin at the same time if it is
 possible i.e. the channels on the same multiplex for digital tv).

 But as part of that I'm updating freevo to use the new kaa.epg library
 which I need to get finished off first.

 Cheers

 Adam

 On 25-02-12 23:40, Liz wrote:
 On Sun, 29 Jan 2012 21:27:51 +
 Adam Charrett a...@dvbstreamer.org wrote:

 On Sun, 2012-01-22 at 11:48 +0100, Paul Sijben wrote:
 I am referring to IP TV technology. (basically multicasts).

 I am planning to simply fire off vlc to record a steam (vlc
 --run-time=3600 UDP://@123.123.123.123:1234 --sout
 file/ts:filename.ts vlc://quit).  In that way I initially do not
 even need to implement Stop :-)

 Ahh, but you'll still need to implement stop as if the program is
 removed from the schedule you'll need to cancel the recording.

 If the stream is an MPEG2 TS over UDP or RTP you don't even need to
 use vlc, python would be more than capable of receiving the stream and
 saving it to disk.

 I have a networked tuner (HDHomerun)
 the stream is identified as UDP://127.0.0.1:5000

 I would love to be able to tune this via Freevo and then record / play
 from the stream, because the transmitter has been retuned, an
 additional transponder added, and the current signal is too weak even
 with a masthead amplifier for my USB TV stick.

 Sadly, if I can't receive on the DVB-T stick I'll have to go off to
 Myth which I do know can handle the networked tuner. 

 Liz

 --
 Virtualization  Cloud Management Using Capacity Planning
 Cloud computing makes use of virtualization - but cloud computing 
 also focuses on allowing computing to be delivered as a service.
 http://www.accelacomm.com/jaw/sfnl/114/51521223/
 ___
 Freevo-users mailing list
 Freevo-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/freevo-users


 --
 Keep Your Developer Skills Current with LearnDevNow!
 The most comprehensive online learning library for Microsoft developers
 is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
 Metro Style Apps, more. Free future releases when you subscribe now!
 http://p.sf.net/sfu/learndevnow-d2d
 ___
 Freevo-users mailing list
 Freevo-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/freevo-users

-- 
Paul Sijben
tel 0334557522


--
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] iptv_record

2012-02-26 Thread Paul Sijben
I have been writing some code. But I have nog had a chance to test it yet...

I also noted that the framework allows only one recorder plugin to be
active at a time, so I have to choose between one of the recording
schemes. Is that correct or am I missing something?

Paul

On 25-02-12 23:40, Liz wrote:
 On Sun, 29 Jan 2012 21:27:51 +
 Adam Charrett a...@dvbstreamer.org wrote:

 On Sun, 2012-01-22 at 11:48 +0100, Paul Sijben wrote:
 I am referring to IP TV technology. (basically multicasts).

 I am planning to simply fire off vlc to record a steam (vlc
 --run-time=3600 UDP://@123.123.123.123:1234 --sout
 file/ts:filename.ts vlc://quit).  In that way I initially do not
 even need to implement Stop :-)

 Ahh, but you'll still need to implement stop as if the program is
 removed from the schedule you'll need to cancel the recording.

 If the stream is an MPEG2 TS over UDP or RTP you don't even need to
 use vlc, python would be more than capable of receiving the stream and
 saving it to disk.

 I have a networked tuner (HDHomerun)
 the stream is identified as UDP://127.0.0.1:5000

 I would love to be able to tune this via Freevo and then record / play
 from the stream, because the transmitter has been retuned, an
 additional transponder added, and the current signal is too weak even
 with a masthead amplifier for my USB TV stick.

 Sadly, if I can't receive on the DVB-T stick I'll have to go off to
 Myth which I do know can handle the networked tuner. 

 Liz

 --
 Virtualization  Cloud Management Using Capacity Planning
 Cloud computing makes use of virtualization - but cloud computing 
 also focuses on allowing computing to be delivered as a service.
 http://www.accelacomm.com/jaw/sfnl/114/51521223/
 ___
 Freevo-users mailing list
 Freevo-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/freevo-users

-- 
Paul Sijben
tel 0334557522


--
Virtualization  Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] iptv_record

2012-01-22 Thread Paul Sijben
I am referring to IP TV technology. (basically multicasts).

I am planning to simply fire off vlc to record a steam (vlc
--run-time=3600 UDP://@123.123.123.123:1234 --sout file/ts:filename.ts
vlc://quit).  In that way I initially do not even need to implement Stop :-)



On 21-01-12 22:21, Adam Charrett wrote:
 On Sat, 2012-01-21 at 10:59 +0100, Paul Sijben wrote:
 Hi all,

 Recently I got IPtv here and am looking in (re)writing a plugin for
 1.9.x that does record from IPtv rather than ivtv.

 Has anyone started on such a project or shall I simply take an axe to
 ivtv_record?

 Hi Paul,

 I'm not looking into anything like this so please go ahead. One question
 though, you say IPtv is this a name of a provider or are you referring
 to IP TV?

 Cheers

 Adam


 --
 Try before you buy = See our experts in action!
 The most comprehensive online learning library for Microsoft developers
 is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
 Metro Style Apps, more. Free future releases when you subscribe now!
 http://p.sf.net/sfu/learndevnow-dev2
 ___
 Freevo-users mailing list
 Freevo-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/freevo-users

-- 
Paul Sijben
tel 0334557522


--
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


[Freevo-users] iptv_record

2012-01-21 Thread Paul Sijben
Hi all,

Recently I got IPtv here and am looking in (re)writing a plugin for
1.9.x that does record from IPtv rather than ivtv.

Has anyone started on such a project or shall I simply take an axe to
ivtv_record?

Paul


--
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] stop 'tearing' in AMD Radeon HD 6410D?

2012-01-15 Thread Paul Sijben
part of the answer seems to be to install cpufreqd.
On ubuntu it is automatically configured to scale up the CPU frequency
when mplayer or xine are run.



On 21-12-11 19:48, Preston Hagar wrote:
 On Wed, Dec 21, 2011 at 3:22 AM, Paul Sijben p...@sijben.net wrote:
 Update: the 3400 runs at 2.7Ghz. Do not know why /proc/cpuinfo reports it
 as 800MHz.

 Not sure about the ATI card, I use a NVIDIA,

 As for /proc/cpuinfo,

 It will read the speed the CPU is currently running at, not the max
 speed.  AMD chips are actually pretty good about scaling, so when idle
 they tend to slow down to reduce heat and save power.  For example, I
 have a Athlon 64 X2 6000+ (3.0 Ghz, dual core) in my main freevo box,
 but it is reading 1 Ghz for cpu speed right now.

 With cpufreq-set, you can adjust the cpu speed at will.  For example,
 I run Hulu Desktop with Freevo (using a fxd command file).  Since Hulu
 seems to take a lot of processing power and sometimes the cpu doesn't
 scale up fast enough, I now start hulu with this script:


 cpufreq-set -c 0 -f 3.0GHz
 cpufreq-set -c 1 -f 3.0GHz
 /usr/bin/huludesktop
 cpufreq-set -c 0 -f 1.0GHz
 cpufreq-set -c 1 -f 1.0GHz


 Basically, the first two commands set my cpu frequency for each core
 to their max (3.0 Ghz), then I run hulu.  When it exits, I set the
 frequency back to the minimum 1 Ghz and let the standard governor take
 over.

 Try

 cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor

 to see what your current governor is, or

 cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors

 to see the available ones.

 I use userspace, which then lets me use powernowd (you have to install
 it separately).  It seems to be decent.

 Anyway, you might try setting the governor to performance or just
 setting the cpufreq to maximum before trying a video and see if that
 helps your tearing problem.  You probably want the cpu to idle lower
 when not in use, but it might at least give you an idea if your issue
 is your cpu not running at full speed.

 Preston

 --
 Write once. Port to many.
 Get the SDK and tools to simplify cross-platform app development. Create 
 new or port existing apps to sell to consumers worldwide. Explore the 
 Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
 http://p.sf.net/sfu/intel-appdev
 ___
 Freevo-users mailing list
 Freevo-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/freevo-users

-- 
Paul Sijben
tel 0334557522


--
RSA(R) Conference 2012
Mar 27 - Feb 2
Save $400 by Jan. 27
Register now!
http://p.sf.net/sfu/rsa-sfdev2dev2
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] stop 'tearing' in AMD Radeon HD 6410D?

2011-12-21 Thread Paul Sijben
Update: the 3400 runs at 2.7Ghz. Do not know why /proc/cpuinfo reports it
as 800MHz.

On Wed, 21 Dec 2011 07:43:15 +0100, Paul Sijben p...@sijben.net wrote:
 Phil,
 
 I am using an AMD A4-3400 which is apparently only 800Mhz (but indeed
 dual core). However CPU load is not the limiting factor (according to
top).
 
 I will try VLC as you suggest.
 
 Paul
 
 On 12/21/2011 04:42 AM, Phil Raymond wrote:
 Sorry, I need to slow down my thought process when reading. Obviously,
 the amdcccle tool is the Catalyst Control. The only other idea i can
 suggest is to use the vlc plugin. I do have better results using vlc,
 instead of mplayer. I'm assuming you do have at least 2.2 ghz dual core
 processor, that's the only other thing I can think of that could effect
 frame rate.


 - Original Message -
 From: Phil Raymond tvp...@yahoo.com
 To: freevo-users@lists.sourceforge.net
 freevo-users@lists.sourceforge.net
 Cc: '
 Sent: Tuesday, December 20, 2011 4:17 PM
 Subject: Re: [Freevo-users] stop 'tearing' in AMD Radeon HD 6410D?

 Paul,
  
 I use the ATI Mobility Radeon HD 4650 and like you, install the fglrx
 drivers. When you downloaded the driver from AMD, you should have also
 gotten the Catalyst Control Center automatically. It is the ATI
graphics
 card control software and one of the display options is for tear free
 to reduce tearing. One difference between your system and mine is I'm
 running Xubuntu 11.10, not Ubuntu (I can't stand Unity). I get to the
 Catalyst Control Center under Settings Manager. I can't remember what
 the Ubuntu equivalent of that might be, but it should be somewhere.

 Phil


 - Original Message -
 From: Paul Sijben p...@sijben.net
 To: freevo-users@lists.sourceforge.net
 Cc: 
 Sent: Tuesday, December 20, 2011 2:50 PM
 Subject: [Freevo-users] stop 'tearing' in AMD Radeon HD 6410D?

 I recently upgraded my freevo box to a new motherboard that uses the
AMD
 Radeon HD 6410D chipset.

 The only way I could get it to work was with the proprietary fglrx
 driver (the open source driver requires KMS which is a sure-fire way of
 crashing the kernel). But now I have the choice between 'tearing' of
 video and a very low framerate (when I check the no tearing option in
 the amdcccle tool).

 Does anyone know what is the right way of getting this video chipset to
 deliver the promised performance?

 Paul

 

--
 Write once. Port to many.
 Get the SDK and tools to simplify cross-platform app development. Create

 new or port existing apps to sell to consumers worldwide. Explore the 
 Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
 http://p.sf.net/sfu/intel-appdev
 ___
 Freevo-users mailing list
 Freevo-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/freevo-users

--
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


[Freevo-users] anyone interested in multirecoding patches?

2011-12-20 Thread Paul Sijben
Hi all,

I had to reinstall my freevo box and had to reapply my patches so I
could record from multiple ivtv cards concurrently.

Is anyone interested in those patches?

Paul

--
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] The future of Freevo 2.0

2011-08-18 Thread Paul
You're right - I'll double mine if we get three more contributions...

On 18 August 2011 21:25, Dan Schmidt helpdesk...@gmail.com wrote:


  14. It has been 2 or 3 years since I last asked for donations and I am
  paying for the server and the domain on my own since the money run out.
  It is only 11 EUR/month but it would be nice if some of you would help
  me out here. You can use paypal and dis...@freevo.org for donations.
  I git two donations, one very generous. But these do not even cover the
  last years.
 

 Make that three.  C'mon people, we should at least help him break even!
 Especially those of us who can't code.  (or can't code well enough)


 --
 Get a FREE DOWNLOAD! and learn more about uberSVN rich system,
 user administration capabilities and model configuration. Take
 the hassle out of deploying and managing Subversion and the
 tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2
 ___
 Freevo-users mailing list
 Freevo-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/freevo-users

--
Get a FREE DOWNLOAD! and learn more about uberSVN rich system, 
user administration capabilities and model configuration. Take 
the hassle out of deploying and managing Subversion and the 
tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] The future of Freevo 2.0

2011-07-22 Thread Paul
Like many have said here already the thing that sets Freevo apart for me is
its endless configurability, if there's anything I don't like or don't need
I can more often than not remove it or change it without having to have vast
amounts of geek knowledge. A couple of years ago when I set out to build a
media centre I remember going through most of the usual suspects: XBMC,
Linux MCE, Geexbox, Moovida, an early look at Enna etc - it wasn't actually
that time consuming as I invariably almost instantly found something that I
didn't like or something that I couldn't do (with many I recall it was
simply playing a LAN shoutcast stream playing from MediaMonkey on my Windows
desktop) with no obvious way of rectifying it.

Freevo was one of the last ones I tried and it was quickly fairly apparent
that, with a little work, this was something that I could customise to my
needs. I'm probably different to many here in that I don't use the TV
recording part of Freevo at all - initially I was just interested in playing
recorded TV or ripped DVDs over the network from my desktop, playing music
either a LAN stream using my Mediamonkey playlists, ripped CD's or radio and
viewing photos. But now with just a little bash scripting knowledge my
Freevo is also a karaoke machine, an internet browser with access to
news/tv/movie streams  google earth, an arcade/c64/DOS retro gaming
machine, and a photo booth all controlled with a wiimote which changes
automatically from keyboard interface to mouse pointer to joystick depending
on which application is being used. I haven't been back to check on the
other media centre applications since mainly because I'm fairly sure I would
run into a dealbreaker fairly quickly - I doubt there is anything else out
there that would allow the average user to do all of this and more with just
a bit of scripting.

I haven't looked at Freevo 2 yet either but, to echo others' comments, I
hope it retains the ease of configuration and customisation that make its
predecessor so unique.

Viva Freevo

On 19 July 2011 18:43, Andreas Dick and...@gmx.ch wrote:

 Hei Dischi
 great to hear that freevo 2 is back on the road! For me, the main plus of
 freevo 1.x is the simple plugin API... and the powerfull configuration
 options.

 Is there allready a plan, how the plugins can be used/reused in freevo 2?
 is
 there a new API or just copy and past of the old ones?

 Andreas


 Am Sonntag, 17. Juli 2011, um 11.47:46 schrieb Dirk Meyer:
  Hi everyone,
 
  please read this if you are a Freebo user, even if you are no developer
  at all. I have been thinking about the future of Freevo 2.0 and need all
  your help to get it going somehow.
 
  I tried XBMC some days ago and while it looks very nice, it forces me to
  organize my media collection in a way I don't want to and has some
  usability issues (IMHO). Therefore, I still need Freevo. :)
 
  The main problem with Freevo 2.0 is my and Jason's lack of time the last
  year. Development was not only slow, it wasn't existant. I now have one
  Freevo-hacking day in my calender each week which may be dropped if the
  weather is too good but it is there and I plan to use it. There are some
  minor issues I will fix no matter what happens. But I do not have the
  time to finish Freevo 2.0 to make it look and feel like I want. If you
  want to help in any way, please answer to this mail and we can discuss
  it. If you need help to start (like kaa.base help), feel free to ask.
  Jason and I can both answer your questions. Jason: I assign your name to
  some smaller stuff here, I hope it is OK. ;)
 
  Freevo Core:
 
  1. kaa.base is done and has all the cool stuff I want. If there is a
  bug, Jason and I will take care of it. But it shouldn't be much.
 
  2. kaa.metadata is also done. Maybe add or change a parser, but that is
  not important right now. Patches are always welcome.
 
  3. kaa.imlib2 is also working as it should and it does not play a big
  role in the Freevo 2.0 core.
 
  4. The Freevo core directory is also mostly done. There are some minor
  bugs in the playlist stuff but it should be easy to fix. The menu reload
  also has some problems I need to investigate.
 
  To summarize: the core is mostly done and the remaining points are on my
  TODO list and I will fix them. Now the bigger problems: GUI. The
  clutter-based GUI can do nice stuff but needs some more work.
 
  5. kaa.candy has the basics, but may need some nice effects like
  mirror-effect, better animations, etc. It has everything we need to make
  Freevo 2.0 work but it could be nicer. If you know C (Python not needed)
  and want to play with clutter or if you now Python and want to dive into
  kaa.candy, drop me a note. You only need to know kaa.base and clutter as
  dependency.
 
  6. XBMC looks s cool. The big background images, the animations.
  Nice! We do have the code in Freevo 2.0 to do the same (even support to
  grab TV show or movie specific wallpapers and images). I need help from
  a 

Re: [Freevo-users] Xine audio stream metadata

2010-11-21 Thread Paul
Hi James,

Yes, thats the same problem I have with CD's - when I run it from the
command line it says things like - unable to fill buffer, can't read buffer
etc, the best setting I could get for it was a buffer of 4096, speed 8x. and
minimum buffer of 40% - but this isn't acceptable for playing CD's - if I
skip tracks of have it on random play it takes a good half a minute between
tracks filling the buffer. I haven't tried playing mp3 files over the
network again as this is already a deal breaker but previously in Ubuntu
they would just pause for a few seconds, fiddling with the buffers could get
it down to once or twice per song. I can't find anything on forums other
than running enormous buffers as a way aorund this so I will continue using
Xine - if only Freevo could read the artist metadata when playing radio
streams with Xine!

PS - I was at the stage of looking at hdparm settings becasue of these
issues but never changed anything, I have tested three different CD drives
and the problem is the same with all of them.

2010/11/18 James Trietsch kero...@yahoo.com


 *From:* Paul strifek...@users.sourceforge.net
 *To:* freevo-users@lists.sourceforge.net
 *Sent:* Fri, November 12, 2010 11:49:58 AM
 *Subject:* [Freevo-users] Xine audio stream metadata

 I have set up arch linux on a new hard drive to run freevo 1.9 and found to
 my dismay that mplayer still has the same issues it had on Ubuntu (skipping
 stuttering play of CD's and audio files) I thought this was due to pulse
 audio on Ubuntu but clearly not. Thus I will have to return to Xine for
 audio playing which is fine except I have never been able to get Freevo to
 broadcast audio stream metadata (song tite, artist) from Icecast/shoutcast
 stations using Xine, however with Mplayer it works fine. Has anyone had
 success with this?

 Paul:

 What kind of skipping and stuttering are you having playing CDs in mplayer?
 I have a problem where the buffer runs out while playing, although not until
 after track 3 or 4 on any given disc. It's not a stutter so much as a gap in
 playback about 5 seconds long while the drive gets sorted out and starts
 reading data again. Setting a bigger cache helps a little, setting the CD
 speed to around 8x (-cdda speed=8) clears it up, but this seems odd to me,
 since should anything better than realtime be able to fill the buffer?

 It seems to be that my CD-ROM reads out enough data to fill the buffer,
 then while waiting to read more, it spins down. By the time it gets the next
 read command, it can't spin up fast enough and find where to read from
 before the buffer empties and the music stops. I thought it was a problem
 with the CD-ROM so I tried playing in Xine and like you, I found there are
 no problems. Very odd.

 Still stranger, I know it didn't always do this. I was able to play back
 CDs with the drive ticking over at 2x, with the read light blinking almost
 steadily. Now it seems to read a strip to fill the buffer, then wait for the
 buffer to get down to 15% before attempting to read more. I believe I've
 tried to lower the cache or even remove it, but that just ends in disaster
 all around.

 Anyone have an ideas, especially some setting I may have made with hdparm
 that I didn't think mattered but it turns out made a big difference? Oh yes,
 this happens in Freevo and on the command line, so it's definitely something
 to do with MPlayer, or some other external widget.

 Thanks guys.

 James




 --
 Beautiful is writing same markup. Internet Explorer 9 supports
 standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2  L3.
 Spend less time writing and  rewriting code and more time creating great
 experiences on the web. Be a part of the beta today
 http://p.sf.net/sfu/msIE9-sfdev2dev
 ___
 Freevo-users mailing list
 Freevo-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/freevo-users


--
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2  L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today
http://p.sf.net/sfu/msIE9-sfdev2dev___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


[Freevo-users] howto get resume playback as default action on video item play?

2010-11-21 Thread Paul Sijben


  
  
A little niggle is starting to annoy me enough to do something about
it: how do I configure the order of video item actions in such a way
that "resume playback" (when available) is the default action when I
select a video item in the UI?

Is this possible or does it require hacking the code?
    
Paul
    -- 
Paul Sijben
tel 0334557522

  


--
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2  L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today
http://p.sf.net/sfu/msIE9-sfdev2dev___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


[Freevo-users] Xine audio stream metadata

2010-11-12 Thread Paul
I have set up arch linux on a new hard drive to run freevo 1.9 and found to
my dismay that mplayer still has the same issues it had on Ubuntu (skipping
stuttering play of CD's and audio files) I thought this was due to pulse
audio on Ubuntu but clearly not. Thus I will have to return to Xine for
audio playing which is fine except I have never been able to get Freevo to
broadcast audio stream metadata (song tite, artist) from Icecast/shoutcast
stations using Xine, however with Mplayer it works fine. Has anyone had
success with this?

Thanks,

Paul
--
Centralized Desktop Delivery: Dell and VMware Reference Architecture
Simplifying enterprise desktop deployment and management using
Dell EqualLogic storage and VMware View: A highly scalable, end-to-end
client virtualization framework. Read more!
http://p.sf.net/sfu/dell-eql-dev2dev___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] KeyMaps

2010-11-01 Thread Paul
Thats great news, thanks Adam.

On 1 November 2010 14:13, Adam Charrett a...@dvbstreamer.org wrote:

 Hi Paul,

 On Sun, 31 Oct 2010, Paul wrote:

  How can I create keymaps for multiple key presses, ie: [CTRL] + ... or
 [CTRL] + [ALT] ... in Freevo?
 
  For exmple if I have KEYMAP[key.K_q] = 'EXIT' how would I make it [CTRL]
 q ?

 There is currently a patch waiting in the tracker for this, hopefully I
 should get a chance to commit it to svn soon.

  Also I haven't been able to change the key for fullscreen (z), looking in
 the Freevo docuentation it says the Freevo
  command is Toggle Fullscreen, but it is not in capitals like most of the
 rest of the commands, does this mean it can't
  be altered?

 Short answer yes, long answer I'm working on removing this hardcoded key
 and also the help and screenshot keys so hopefully for the next release
 you will be able to configure this.

  Cheers,
 
  Paul
 
 

 Cheers

 Adam


 --
 Nokia and ATT present the 2010 Calling All Innovators-North America
 contest
 Create new apps  games for the Nokia N8 for consumers in  U.S. and Canada
 $10 million total in prizes - $4M cash, 500 devices, nearly $6M in
 marketing
 Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
 http://p.sf.net/sfu/nokia-dev2dev
 ___
 Freevo-users mailing list
 Freevo-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/freevo-users

--
Nokia and ATT present the 2010 Calling All Innovators-North America contest
Create new apps  games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


[Freevo-users] KeyMaps

2010-10-31 Thread Paul
How can I create keymaps for multiple key presses, ie: [CTRL] + ... or
[CTRL] + [ALT] ... in Freevo?

For exmple if I have KEYMAP[key.K_q] = 'EXIT' how would I make it [CTRL] q ?

Also I haven't been able to change the key for fullscreen (z), looking in
the Freevo docuentation it says the Freevo command is Toggle Fullscreen, but
it is not in capitals like most of the rest of the commands, does this mean
it can't be altered?

Cheers,

Paul
--
Nokia and ATT present the 2010 Calling All Innovators-North America contest
Create new apps  games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


[Freevo-users] Which distro?

2010-08-30 Thread Paul
I've been using Freevo on Ubuntu Karmic Koala for about 6 months but always
with the intention of trying something else at some point. The main reason
is the audio performance, I seem to be one of the many users suffering from
Ubuntu's implementation of Pulseaudio, and looking at the Ubuntu forums it
seems this problem is still present in Lucid Lynx. With my hard drive
recently failing it seems a good time to try something else, I was looking
at Debian but am open to suggestions, what have your experiences been?

Thanks

Paul
--
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] FXD command files

2010-08-28 Thread Paul
Good to know it works, thanks Adam (I've just had a hard drive failure, but
when I'm up and running again I'll give it a try).

2010/8/23 Adam Charrett a...@dvbstreamer.org



 On Mon, 23 Aug 2010, Francisco Eduardo Álvarez Solano wrote:

  2010/8/21 Paul strifek...@users.sourceforge.net

  That's odd, I can't replicate either of those functions - I'm
  using 1.9.0 - I just get an empty directory if there's an fxd
  command file in it and if I put the fxd location in the relevent
  menu items nothing shows up in Freevo. I'm using bash scripts to
  launch all of the applications but see you have successfully
  used with picasa, any other tips of here to go from here?


 I'm using Ubuntu 10.04 and Freevo 1.8.2 with this setup.

 I've tried Freevo 1.9.0 and, yes, I can't see the new menu entries. I
 think
 it's related to the plugin 'command.fxdhandler'. When I've enabled it in
 1.9.0 in local_conf.py, I've got an error whenever I try one of the menus
 that have a fxd file:

 plugin.activate('command.fxdhandler')

 $ freevo

 Traceback (most recent call last):
   File /datos/freevo190/lib/python2.6/site-packages/freevo/fxditem.py,
 line 132, in parse
 parser.parse()

 snip

 self.spawnwm = config.COMMAND_SPAWN_WM
 AttributeError: 'module' object has no attribute 'COMMAND_SPAWN_WM'


 Looks like you need to add 2 new variables in your local_conf.py called
 COMMAND_SPAWN_WM and COMMAND_KILL_WM

 ie.

 COMMAND_SPAWN_WM = ''
 COMMAND_KILL_WM = ''

 These appear to be used to start and stop a window manager using the
 sqawnwm tag. You probably don't need this but defining these should allow
 you to use the plugin.

 What is odd is that the plugin should defined these automatically?! Looks
 like another bug to bash.

 Cheers

 Adam

 --
 This SF.net email is sponsored by

 Make an app they can't live without
 Enter the BlackBerry Developer Challenge
 http://p.sf.net/sfu/RIM-dev2dev
 ___
 Freevo-users mailing list
 Freevo-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/freevo-users


--
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] FXD command files

2010-08-21 Thread Paul
Hi Bill,

I use pykaraoke. It has a special mini frontend that's perfect - it launches
full screen and is just simply a list of all the karaoke songs in the
database (you can set this and update it from the main program) - the user
just scrolls through the songs and selects whichever one they want. My
requirements are for a robust system which family friends or guests can use
intutively with a wiimote without (accidentally or intentionally) breaking
out of freevo and into other parts of the system, so this integrates very
easily.

Now back to my problem, Francisco - is there anything you can think of that
I might not have done with my shell scripts that may be causing me problems?

Cheers

On 21 August 2010 03:21, Bill Burroughs djmatu...@yahoo.com wrote:

 P.S. Apologies for replying to the digest and not chopping off the majority
 of
 it - my bad. :(

 Nothing is true; Everything is permissible...






 --
 This SF.net email is sponsored by

 Make an app they can't live without
 Enter the BlackBerry Developer Challenge
 http://p.sf.net/sfu/RIM-dev2dev
 ___
 Freevo-users mailing list
 Freevo-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/freevo-users

--
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev ___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] FXD command files

2010-08-20 Thread Paul
That's odd, I can't replicate either of those functions - I'm using 1.9.0 -
I just get an empty directory if there's an fxd command file in it and if I
put the fxd location in the relevent menu items nothing shows up in Freevo.
I'm using bash scripts to launch all of the applications but see you have
successfully used with picasa, any other tips of here to go from here?

Cheers

2010/8/20 Francisco Eduardo Álvarez Solano franciscoe.alva...@gmail.com



 2010/8/19 Paul strifek...@users.sourceforge.net

 Is it possible to run fxd command files from within the standard menu
 structure? I have quite a few running from the main menu now (internet,
 karaoke, the cheese photo application) and I wanted to clean it up by
 inserting some within the menu items (ie: karaoke within music, the cheese
 app within photos), there's not a whole lot of documentation on fxd files
 and I've been fiddling with them for a while with no success, is this
 possible at all?


 Yes!.

 I've added a Spotify entry within the Music main menu. First I've written
 this fxd file:

 spotify.fxd:

 ?xml version=1.0 ?
 freevo
 command title=Spotify
 cmdwine C:\Archivos de programa\Spotify\spotify.exe/cmd
 stoposd /
 /command
 /freevo

 And then, I've added the fxd file to the AUDIO_ITEMS section in
 local_conf.py:

 AUDIO_ITEMS = [
  ('Infantil', '/datos/musica/infantil'),
  ('Pop', '/datos/musica/pop'),
  ('Otras', '/datos/musica/otras'),
  '/opt/config/freevo/fxd/spotify.fxd',
 ]

 I also have a Picasa entry in the Photo menu, though, instead of adding the
 fxd file to the IMAGES section in local_conf.py, I've included it in my
 image directory:

 picasa.fxd:

 ?xml version=1.0 ?
 freevo
 command title=Editar fotos en Picasa
  cmd/opt/config/freevo/fxd/picasa.cmd/cmd
  nostdout /
 /command
 /freevo

 picasa.cmd:

 #!/bin/sh
 picasa 
 true

 local_conf.py:

 IMAGE_ITEMS = [ ('Ver Fotos', '/datos/Escritorio/fotos'),
 # '/opt/config/freevo/fxd/picasa.fxd',
 ]

 In /datos/Escritorio/fotos I have a directory named fotos and the fxd
 file picasa.fxd. As you can see, I previously added the fxd file directly to
 the IMAGE_ITEMS section, though now I've commented out the entry.
 Nevertheless, both approachs work flawlessly for me.


 --
 This SF.net email is sponsored by

 Make an app they can't live without
 Enter the BlackBerry Developer Challenge
 http://p.sf.net/sfu/RIM-dev2dev
 ___
 Freevo-users mailing list
 Freevo-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/freevo-users


--
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev ___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


[Freevo-users] FXD command files

2010-08-19 Thread Paul
Is it possible to run fxd command files from within the standard menu
structure? I have quite a few running from the main menu now (internet,
karaoke, the cheese photo application) and I wanted to clean it up by
inserting some within the menu items (ie: karaoke within music, the cheese
app within photos), there's not a whole lot of documentation on fxd files
and I've been fiddling with them for a while with no success, is this
possible at all?

Cheers,

Paul
--
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev ___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] FXD command files

2010-08-19 Thread Paul
No, it doesn't show up, I've fiddled with it a lot but haven't had any
success.

On 19 August 2010 16:17, Alberto Hernando pajaro...@gmail.com wrote:

 On Thursday 19 August 2010 20:05:43 Paul wrote:
  Is it possible to run fxd command files from within the standard menu
  structure? I have quite a few running from the main menu now (internet,
  karaoke, the cheese photo application) and I wanted to clean it up by
  inserting some within the menu items (ie: karaoke within music, the
 cheese
  app within photos), there's not a whole lot of documentation on fxd files
  and I've been fiddling with them for a while with no success, is this
  possible at all?

 What happens if you just put your karaoke.fxd in a music folder?
 It works with playlists. Perhaps all fxd will work too.

 Alberto


 --
 This SF.net email is sponsored by

 Make an app they can't live without
 Enter the BlackBerry Developer Challenge
 http://p.sf.net/sfu/RIM-dev2dev
 ___
 Freevo-users mailing list
 Freevo-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/freevo-users

--
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev ___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


[Freevo-users] Audio Performance

2010-05-03 Thread Paul Harper
Hi everyone,

I have an external hard drive on an XP computer which has a shared folder
that is automounted when I boot my media centre PC on Ubuntu. This contains
all of my media files which are referenced through Freevo, its working fine
playing .avi movies using Xine, with fluid playback but playing mp3 files is
another story. Using Mplayer or Xine I can't get through 2-3 minutes of
music without a pause of a second or two in the playback. Most of my mp3
files are 256-320 kbs but I have tried this with 160 kbs files and still get
the same results. I have tried putting the MPLAYER_AUDIO_CACHE_KB up to 5000
from within Freevo but still can't get reliable playback, yet outside of
Freevo without any manipulation of Mplayer settings there is no problem
playing these same files. I can even stream audio over the LAN at 192kbs
using Shoutcast from the Windows PC and play this on Freevo without
skipping. Something similar happened with CD playback - from within Freevo
there were regular pauses and I had to change the Mplayer CD cache settings
to 4096 - this seems to work but makes for huge pauses in random play or
when skipping to another track as the cache is filled. Is there any reason
for this discrepancy in performance and any way I can circumvent these
problems from within Freevo?

Thanks.
--
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] multirecording patches

2010-04-30 Thread Paul Sijben
I have not submitted it yet

I have found a leeetle issue for which I am testing the fix. It had to
do with two programs with the same name scheduled back to back.

The thumbnail generation is still an issue. Sometimes I only get a
fraction of a thumbnail and I have not been able to correlate it with
multiple recordings finishing at the same time. So I am at a loss what
the cuase is for this issue. Does anyone have any ideas?




On 22-04-10 9:08, John Molohan wrote:
 Hi Paul,

 Did you end up submitting this to the tracker? If it's ready it would be 
 fantastic to have in freevo.

 John

 Paul Sijben wrote:
   
 I think I have a solution for the thumbnails (used a with statement
 around the code that creates the thumbnails) I will test it for a bit
 before sending the code.

 The TV viewing works now I have configured tv.ivtv-xine, however there
 is currently no conflict resolution!

 Is it correct that there is no conflict resolution currently in Freevo
 anyway? Or did I simply miss that bit in the code?

 Paul

 On 11-03-10 0:33, John Molohan wrote:
   
 
 Paul Sijben wrote:
   
 
   
 Remus,

 sorry for the delay in reponding, must have overlooked this email before.

 Remus Koos wrote:
   
 
   
 
 Hi Paul !

 I can test your changes. I have a dual Hauppauge ivtv card.

 How do I do it ? Just copy over the three files and restart freevo ?

   
 
   
 
   
 yes and change the local conf in the way indicated in my mail. However
 as with all these things backup your old files first!!!

   
 
   
 
 How do you determine which device to use for recording ? Are you locking 
 the devices that are recording and just go to the next one in the list 
 when is time to record a new program ?
   
 
   
 
   
 the way I am using the record group simply lists all the devices used
 for recording.

   
 
   
 
 Also, as far as VIDEO_GROUPS go, don't you have to have two entries for 
 each device, one for viewing and one for recording with the 
 'record_group' of the first entry pointing to the next one if you want to 
 use it for both viewing and recording ?
   
 
   
 
   
 I may have destroyed the viewing but, have not tested that since this 
 change
 
   
 
 Unless live TV works then the patch won't be accepted. It'll be a few 
 more weeks before I can test this but if anyone else can please provide 
 feedback for Paul.

 John
 
   

 --
 ___
 Freevo-users mailing list
 Freevo-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/freevo-users
   

-- 
Paul Sijben
tel 0334557522


--
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


[Freevo-users] IMDB lookup

2010-04-26 Thread Paul Harper
Hi,

After a couple of solid weekends I have just about everything working how I 
want it, but the IMDB plugin that I just can't work out. I'm using Freevo 1.9.0 
on Ubuntu Karmic Koala, I have patched the IMDB plugin and am using html5lib as 
described elsewhere on these pages. This allowed me to progress to the point of 
being able to choose from a list of films to parse information from. After 
selecting the correct film and getting a message along the lines of 'retrieving 
information' Freevo crashes with this message:

event 'MENU_SELECT' crashed

In the terminal it says:

Traceback (most recent call last):
  File /usr/lib/python2.6/dist-packages/freevo/main.py, line 306, in 
eventhandler
    app.eventhandler(event)
  File /usr/share/pyshared/freevo/menu.py, line 842, in eventhandler
    self._handle_play_item(menu, event)
  File /usr/share/pyshared/freevo/menu.py, line 654, in _handle_play_item
    action(arg=arg, menuw=self)
  File /usr/share/pyshared/freevo/menu.py, line 106, in select
    self.function(arg=self.arg, menuw=menuw)
  File /usr/share/pyshared/freevo/video/plugins/imdb.py, line 227, in 
imdb_create_fxd
    fxd.getIMDBid(arg[0], self.season, self.episode)
  File /usr/share/pyshared/freevo/util/fxdimdb.py, line 308, in getIMDBid
    self.parse_data(idpage, id, episodeid, season, episode)
  File /usr/share/pyshared/freevo/util/fxdimdb.py, line 431, in parse_data
    soup.feed(r.read())
TypeError: 'NoneType' object is not callable

and from the log file:

2010-04-26 03:42:06,750 DEBUG    fxdimdb.py (273): id=0930083 season= episode=
2010-04-26 03:42:06,750 DEBUG    fxdimdb.py (279): 
url=u'http://www.imdb.com/title/tt0930083/episodes'
2010-04-26 03:42:07,945 DEBUG    fxdimdb.py (879): id=u'0930083'
2010-04-26 03:42:07,946 DEBUG    fxdimdb.py (292): 
url=u'http://www.imdb.com/title/tt0930083'
2010-04-26 03:42:10,930 DEBUG    fxdimdb.py (412): items=rating:7.6/10 (778 
votes)
2010-04-26 03:42:10,930 DEBUG    fxdimdb.py (412): items=language:Japanese
2010-04-26 03:42:10,931 DEBUG    fxdimdb.py (412): items=plot:A documentary 
filmmaker explores seemingly unrelated paranormal incidents connected by the 
legend of an ancient demon called the kagutaba. |
2010-04-26 03:42:10,931 DEBUG    fxdimdb.py (412): items=tagline:Everybody died.
2010-04-26 03:42:10,934 DEBUG    fxdimdb.py (412): items=release_date:20 August 
2005 (Japan)
2010-04-26 03:42:10,934 DEBUG    fxdimdb.py (412): items=title:Noroi
2010-04-26 03:42:10,935 DEBUG    fxdimdb.py (412): items=plot_keywords:Demon / 
Fake Documentary / 2000s / Dam / Pigeon
2010-04-26 03:42:10,935 DEBUG    fxdimdb.py (412): items=country:Japan
2010-04-26 03:42:10,936 DEBUG    fxdimdb.py (412): items=aspect_ratio:1.85 : 1
2010-04-26 03:42:10,936 DEBUG    fxdimdb.py (412): items=also_known_as:Noroi 
the Curse - Hong Kong
2010-04-26 03:42:10,937 DEBUG    fxdimdb.py (412): items=year:2005
2010-04-26 03:42:10,937 DEBUG    fxdimdb.py (412): items=genre:Horror
2010-04-26 03:42:10,937 DEBUG    fxdimdb.py (412): items=runtime:Japan:115 min
2010-04-26 03:42:10,938 DEBUG    fxdimdb.py (413): id=0930083, dvd=0
2010-04-26 03:42:10,938 DEBUG    fxdimdb.py (414): {'rating': u'7.6/10 (778 
votes)', u'language': u'Japanese', 'plot': u'A documentary filmmaker explores 
seemingly unrelated paranormal incidents connected by the legend of an ancient 
demon called the kagutaba. |', 'tagline': u'Everybody died.', 
u'release_date': u'20 August 2005 (Japan)', 'title': u'Noroi', 
u'plot_keywords': u'Demon / Fake Documentary / 2000s / Dam / Pigeon', 
u'country': u'Japan', u'aspect_ratio': u'1.85 : 1', u'also_known_as': u'Noroi 
the Curse - Hong Kong', 'year': u'2005', 'genre': u'Horror', 'runtime': 
u'Japan:115 min'}
2010-04-26 03:42:14,393 DEBUG    fxdimdb.py (426): 
url=http://us.imdb.com/title/tt0930083/dvd;
Traceback (most recent call last):
  File /usr/lib/python2.6/dist-packages/freevo/main.py, line 306, in 
eventhandler
    app.eventhandler(event)
  File /usr/share/pyshared/freevo/menu.py, line 842, in eventhandler
    self._handle_play_item(menu, event)
  File /usr/share/pyshared/freevo/menu.py, line 654, in _handle_play_item
    action(arg=arg, menuw=self)
  File /usr/share/pyshared/freevo/menu.py, line 106, in select
    self.function(arg=self.arg, menuw=menuw)
  File /usr/share/pyshared/freevo/video/plugins/imdb.py, line 227, in 
imdb_create_fxd
    fxd.getIMDBid(arg[0], self.season, self.episode)
  File /usr/share/pyshared/freevo/util/fxdimdb.py, line 308, in getIMDBid
    self.parse_data(idpage, id, episodeid, season, episode)
  File /usr/share/pyshared/freevo/util/fxdimdb.py, line 431, in parse_data
    soup.feed(r.read())
TypeError: 'NoneType' object is not callable

Can anyone help? I'm sorry if this is obvious, I've spent a lot of time working 
other problems out as I'm new to freevo and linux and I want to advance my 
understanding at least a little, but this one has me stuck.

Cheers.



  


[Freevo-users] crash while recursive random playing

2010-03-20 Thread Paul Sijben
I just got this crash  while recursive random playing my music collection.
doen anyone have a fix for this one?

Paul

--

2010-03-20 12:54:45,834 DEBUGplayer.py (46): get()
_player_=audio.player.PlayerGUI instance at 0xab6ccac
2010-03-20 12:54:45,836 DEBUGplayer.py (135): stop(restore_menu=False)
2010-03-20 12:54:45,836 DEBUGplaylist.py (362):
playlist.Playlist.play(arg='next', menuw=class menu.MenuWidget at
0x8de8d1c)
2010-03-20 12:54:46,026 DEBUGplaylist.py (362):
playlist.Playlist.play(arg='next', menuw=class menu.MenuWidget at
0x8de8d1c)
2010-03-20 12:54:46,026 ERRORevent callback
Traceback (most recent call last):
  File /usr/lib/python2.6/dist-packages/kaa/event.py, line 190, in handle
handler(event)
  File /usr/lib/python2.6/dist-packages/kaa/event.py, line 144, in
__call__
super(EventHandler, self).__call__(event)
  File /usr/lib/python2.6/dist-packages/kaa/nf_wrapper.py, line 86, in
__call__
ret = super(NotifierCallback, self).__call__(*args, **kwargs)
  File /usr/lib/python2.6/dist-packages/kaa/callback.py, line 212, in
__call__
result = cb(*cb_args, **cb_kwargs)
  File /usr/lib/python2.6/dist-packages/freevo/main.py, line 285, in
eventhandler
event.handler(event=event)
  File /usr/share/pyshared/freevo/audio/plugins/mplayer.py, line 230,
in eventhandler
return self.item.eventhandler(event)
  File /usr/share/pyshared/freevo/item.py, line 472, in eventhandler
return self.parent.eventhandler(event, menuw)
  File /usr/share/pyshared/freevo/playlist.py, line 484, in eventhandler
self.play(menuw=menuw, arg='next')
  File /usr/share/pyshared/freevo/playlist.py, line 415, in play
self.current_item.play(arg=arg, menuw=menuw)
  File /usr/share/pyshared/freevo/playlist.py, line 389, in play
for i in p.get(self, [ self.current_item ]):
  File /usr/share/pyshared/freevo/fxditem.py, line 66, in get
fxd_files = util.find_matches(files, ['fxd'])
  File /usr/share/pyshared/freevo/util/fileops.py, line 234, in
find_matches
return filter(lambda x: x[x.rfind('.')+1:].lower() in suffix_list,
files)
  File /usr/share/pyshared/freevo/util/fileops.py, line 234, in lambda
return filter(lambda x: x[x.rfind('.')+1:].lower() in suffix_list,
files)
AttributeError: 'NoneType' object has no attribute 'rfind'
2010-03-20 12:54:46,060 DEBUGplayer.py (46): get() _player_=None

-- 
Paul Sijben
tel 0334557522


--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] commdetectserver

2010-03-17 Thread Paul Sijben
it works great for me.
i do believe the encoding server is needed. I am running it and not to
re-encode my recordings

On 17-03-10 4:48, Dan Schmidt wrote:
 Does commdetectserver still work?  Does it require the EncodingServer to
 work correctly? 

 --
 Download Intel#174; Parallel Studio Eval
 Try the new software tools for yourself. Speed compiling, find bugs
 proactively, and fine-tune applications for parallel performance.
 See why Intel Parallel Studio got high marks during beta.
 http://p.sf.net/sfu/intel-sw-dev
 ___
 Freevo-users mailing list
 Freevo-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/freevo-users
   

-- 
Paul Sijben
tel 0334557522


--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] multirecording patches

2010-03-17 Thread Paul Sijben
I think I have a solution for the thumbnails (used a with statement
around the code that creates the thumbnails) I will test it for a bit
before sending the code.

The TV viewing works now I have configured tv.ivtv-xine, however there
is currently no conflict resolution!

Is it correct that there is no conflict resolution currently in Freevo
anyway? Or did I simply miss that bit in the code?

Paul

On 11-03-10 0:33, John Molohan wrote:
 Paul Sijben wrote:
   
 Remus,

 sorry for the delay in reponding, must have overlooked this email before.

 Remus Koos wrote:
   
 
 Hi Paul !

 I can test your changes. I have a dual Hauppauge ivtv card.

 How do I do it ? Just copy over the three files and restart freevo ?

   
 
   
 yes and change the local conf in the way indicated in my mail. However
 as with all these things backup your old files first!!!

   
 
 How do you determine which device to use for recording ? Are you locking 
 the devices that are recording and just go to the next one in the list when 
 is time to record a new program ?
   
 
   
 the way I am using the record group simply lists all the devices used
 for recording.

   
 
 Also, as far as VIDEO_GROUPS go, don't you have to have two entries for 
 each device, one for viewing and one for recording with the 'record_group' 
 of the first entry pointing to the next one if you want to use it for both 
 viewing and recording ?
   
 
   
 I may have destroyed the viewing but, have not tested that since this change
 
 Unless live TV works then the patch won't be accepted. It'll be a few 
 more weeks before I can test this but if anyone else can please provide 
 feedback for Paul.

 John

 --
 Download Intel#174; Parallel Studio Eval
 Try the new software tools for yourself. Speed compiling, find bugs
 proactively, and fine-tune applications for parallel performance.
 See why Intel Parallel Studio got high marks during beta.
 http://p.sf.net/sfu/intel-sw-dev
 ___
 Freevo-users mailing list
 Freevo-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/freevo-users
   

-- 
Paul Sijben
tel 0334557522


--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] multirecording patches

2010-03-16 Thread Paul Sijben
Ok will need to look at that.

Today I found a bug, when two programs are to be recorded at the same
time, only one gets recorded. Need to investigate that too

On 11-03-10 0:33, John Molohan wrote:
 Paul Sijben wrote:
   
 Remus,

 sorry for the delay in reponding, must have overlooked this email before.

 Remus Koos wrote:
   
 
 Hi Paul !

 I can test your changes. I have a dual Hauppauge ivtv card.

 How do I do it ? Just copy over the three files and restart freevo ?

   
 
   
 yes and change the local conf in the way indicated in my mail. However
 as with all these things backup your old files first!!!

   
 
 How do you determine which device to use for recording ? Are you locking 
 the devices that are recording and just go to the next one in the list when 
 is time to record a new program ?
   
 
   
 the way I am using the record group simply lists all the devices used
 for recording.

   
 
 Also, as far as VIDEO_GROUPS go, don't you have to have two entries for 
 each device, one for viewing and one for recording with the 'record_group' 
 of the first entry pointing to the next one if you want to use it for both 
 viewing and recording ?
   
 
   
 I may have destroyed the viewing but, have not tested that since this change
 
 Unless live TV works then the patch won't be accepted. It'll be a few 
 more weeks before I can test this but if anyone else can please provide 
 feedback for Paul.

 John

 --
 Download Intel#174; Parallel Studio Eval
 Try the new software tools for yourself. Speed compiling, find bugs
 proactively, and fine-tune applications for parallel performance.
 See why Intel Parallel Studio got high marks during beta.
 http://p.sf.net/sfu/intel-sw-dev
 ___
 Freevo-users mailing list
 Freevo-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/freevo-users
   

-- 
Paul Sijben
tel 0334557522


--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] multirecording patches

2010-03-08 Thread Paul Sijben
Remus,

sorry for the delay in reponding, must have overlooked this email before.

Remus Koos wrote:
 Hi Paul !

 I can test your changes. I have a dual Hauppauge ivtv card.

 How do I do it ? Just copy over the three files and restart freevo ?

   
yes and change the local conf in the way indicated in my mail. However
as with all these things backup your old files first!!!

 How do you determine which device to use for recording ? Are you locking the 
 devices that are recording and just go to the next one in the list when is 
 time to record a new program ?
   
the way I am using the record group simply lists all the devices used
for recording.

 Also, as far as VIDEO_GROUPS go, don't you have to have two entries for each 
 device, one for viewing and one for recording with the 'record_group' of the 
 first entry pointing to the next one if you want to use it for both viewing 
 and recording ?
   

I may have destroyed the viewing but, have not tested that since this change
 remus


   


 --
 Download Intel#174; Parallel Studio Eval
 Try the new software tools for yourself. Speed compiling, find bugs
 proactively, and fine-tune applications for parallel performance.
 See why Intel Parallel Studio got high marks during beta.
 http://p.sf.net/sfu/intel-sw-dev
 ___
 Freevo-users mailing list
 Freevo-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/freevo-users
   

-- 
Paul Sijben mailto:p...@sijben.net
Amersfoort  http://www.sijben.net


--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] multirecording patches

2010-02-18 Thread Paul Sijben






On 18-02-10 12:46, John Molohan wrote:

  
Hi Paul,
  
Thanks for your work on this. I haven't got my freevo box up and
running at the moment but as soon as it's back in action I'll apply
your patches and test them.
  
Just to be clear you're saying these patches haven't been tested with
the generic record plugin, they may or may not work, they need to be
tested? Should they currently work with ivtv or dvb or both?
  


I have only changed ivtv_record not the generic recoder as I do not use
it and hence cannot test it. Basically what I did in the ivtv plugin
was make an array of recodring cards in stead of the one object. That
needs to happen to the generic plugin too.

Paul

Thanks,
  
John


-- 
Paul Sijben
tel 0334557522




--
Download Intelreg; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs 
proactively, and fine-tune applications for parallel performance. 
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Freevo PVR 350 woes

2010-02-18 Thread Paul Sijben
I have had no issues using a PVR 350 on Ubuntu 9.10.

you can test that your card is working by looking at the output of dmesg
and looking for the ivtv entries. It should detect your card out of the box.

You do realize you need the freevo ivtv record plugin for it to work?

Paul

On 18-02-10 5:57, Dan Schmidt wrote:
 I apologize in advance for newbie question, but

 Ubuntu 9.10, whenever I attempt to configure my PVR 350, Freevo fails to
 start.  Could this be caused by an incomplete/bad local_conf.py?  I have
 to comment out almost everything just to bring it up.  A correct
 configuration for 1.9 would be much appreciated if somebody would be so
 kind. 

 Ubuntu 9.10 seems to have issues, perhaps I should choose a different
 distro?  The LIRC import code fails and has to be done manually.  (Part
 of the problem seems that  are still present after you split() the
 line looking for the path)

 --
 Download Intelreg; Parallel Studio Eval
 Try the new software tools for yourself. Speed compiling, find bugs 
 proactively, and fine-tune applications for parallel performance. 
 See why Intel Parallel Studio got high marks during beta.
 http://p.sf.net/sfu/intel-sw-dev
 ___
 Freevo-users mailing list
 Freevo-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/freevo-users
   

-- 
Paul Sijben
tel 0334557522


--
Download Intelreg; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs 
proactively, and fine-tune applications for parallel performance. 
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] multirecording patches

2010-02-18 Thread Paul Sijben




Something I noticed that needs addressing is the generation of the
image when the recording has ended. When more than one recording ends
at the same time the image is malformed or missing. 

I have not investigated yet what needs to change to fix this.

Paul

On 18-02-10 15:42, John Molohan wrote:

  
On 18/02/2010 11:53, Paul Sijben wrote:
  



On 18-02-10 12:46, John Molohan wrote:

  
Hi Paul,
  
Thanks for your work on this. I haven't got my freevo box up and
running at the moment but as soon as it's back in action I'll apply
your patches and test them.
  
Just to be clear you're saying these patches haven't been tested with
the generic record plugin, they may or may not work, they need to be
tested? Should they currently work with ivtv or dvb or both?
  


I have only changed ivtv_record not the generic recoder as I do not use
it and hence cannot test it. Basically what I did in the ivtv plugin
was make an array of recodring cards in stead of the one object. That
needs to happen to the generic plugin too.

Paul
Grand, I'll test as soon as I can but that could still be a few weeks
away. 
  
Maybe Adam or one of the guys using DVB could take a look at making it
work with DVB/livepause.
  
John
  

--
Download Intelreg; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs 
proactively, and fine-tune applications for parallel performance. 
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
  

___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users
  


-- 
Paul Sijben
tel 0334557522




--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


[Freevo-users] webserver vlc streaming bug

2010-02-12 Thread Paul Sijben
I had to remove all the lines referring to vlc.log in vlc_funcs.js to
make the vlc streaming work. There probably is a better way of getting
it to work, what would that be?

Paul

-- 
Paul Sijben
tel 0334557522


--
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] how to configure 16:9 screen and crop tv recordings?

2010-02-09 Thread Paul Sijben




OK with some hacking I got the 16:9 detection to work reliably. On my
current set of testfiles it works a treat. 
So I am now sharing the file (to go into video/plugins) for others to
play with.

So please provide feedback if you find a case where it does not work as
expected.

Paul


On 26-01-10 12:02, John Molohan wrote:

  
Interesting, thanks for the update.
  
John
  
On 25/01/2010 6:11, Paul Sijben wrote:
  


OK found it. The problem was that the detetection performed did not
play well with the not-so-black bars in the recording. However giving a
limit value to cropdetect does not always yield the desired result. So
I am preparing a patch for video/plugins/mplayer.py that will yield the
correct result.



On 24-01-10 11:52, Paul Sijben wrote:

  
I am in the process of converting my freevo setup to new hardware and a
new 16:9 screen (1360x768)
  
I tried to set it up correctly but apparently I have forgotten
something as recorded wide screen broadcasts now have black bars all
around. So I turned on debugging and found this in the mplayer log:
  
CommandLine: '-slave' '-v' '-vo' 'xv,sdl,x11,' '-ao' 'oss:/dev/dsp'
'-autosync' '100' '-nolirc' '-nojoystick' '-autoq' '100' '-screenw'
'1360' '-screenh' '768' '-fs' '-cache' '5000' '-monitoraspect'
'16:9' '-af' 'volnorm=1' '-vf' 'pp=de,crop=720:576:0:0'
'//home/freevo/tvrecordings/12-26_1430_Bridge_to_Terabithia.mpeg'
  
so it is told of the screen size and aspect but then does not crop the
video to the correct part.
  
What should I do to have recorded TV cropped correctly? 
  
Paul
  
  -- 
Paul Sijben
tel 0334557522
  
  
--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
  
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users
  


-- 
Paul Sijben
tel 0334557522
  

--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev

___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users
  
  
  
  
  -- 
John Molohan
IT Manager

Griffith College Dublin
South Circular Road
Dublin 8
Ireland

Phone: +353 1 4163366
Web: www.it.gcd.ie www.gcd.ie

Disclaimer:
This E-mail is from Griffith College Dublin.
The E-mail and any files transmitted with it are confidential and may be privileged and are intended solely for the use of the individual or entity to whom they are addressed. If you are not the addressee you are prohibited from disclosing its content, copying it or distributing it otherwise than to the addressee. If you have received this e-mail in error, please immediately notify the sender by replying to this e-mail and delete the e-mail from your computer.

Bellerophon Ltd, trades as Griffith College (registered in Ireland No. 60469) with its registered address as Griffith College Campus, South Circular Road, Dublin 8, Ireland.
  
  

--
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
  

___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users
  


-- 
Paul Sijben
tel 0334557522



# -*- coding: iso-8859-1 -*-
# ---
# Freevo video module for MPlayer
# ---
# $Id: mplayer.py 11479 2009-05-07 17:34:38Z duncan $
# ---
# Freevo - A Home Theater PC framework
# Copyright (C) 2002 Krister Lagerstrom, et al.
# Please see the file freevo/Docs/CREDITS for a complete list of authors.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General

Re: [Freevo-users] command fxd example that works with freevo -f?

2010-02-09 Thread Paul Sijben
Ok progress report. I found the issue originates in the DPI.
Unfortunately tweaking the DPI in xorg.conf makes firefox behave right
but makes the video playback scaled way back.

So I am now looking at how to tell firefox  thunderbird to ignore the
X11 dpi and substitute my own...

On 08-02-10 20:06, Paul Sijben wrote:
 I was very happy with my comannd fxd files (based on the example on the
 size) for firefox and mozilla on my 1360x768 tv until I moved my setup
 to automatically start freevo on bootup.

 Now Firefox starts without window manager and in a very low resolution.

 Does anyone have a setup like this that works, if so can you please
 share the fxd file?

 Paul

   

-- 
Paul Sijben
tel 0334557522


--
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] command fxd example that works with freevo -f?

2010-02-09 Thread Paul Sijben
OK I have given up on this.As soon as you start up a window manager it
changes the DPI of the screen to (a) something that is wrong for firefox
 thunderbird and (b) does not set it back so the video playback is
shrunken.

Since one needs a keyboard to enter urls and emails, I opted to run the
apps on a different virtual terminal.

On 09-02-10 16:54, Paul Sijben wrote:
 Ok progress report. I found the issue originates in the DPI.
 Unfortunately tweaking the DPI in xorg.conf makes firefox behave right
 but makes the video playback scaled way back.

 So I am now looking at how to tell firefox  thunderbird to ignore the
 X11 dpi and substitute my own...

 On 08-02-10 20:06, Paul Sijben wrote:
   
 I was very happy with my comannd fxd files (based on the example on the
 size) for firefox and mozilla on my 1360x768 tv until I moved my setup
 to automatically start freevo on bootup.

 Now Firefox starts without window manager and in a very low resolution.

 Does anyone have a setup like this that works, if so can you please
 share the fxd file?

 Paul

   
 
   

-- 
Paul Sijben
tel 0334557522


--
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


[Freevo-users] SOLVED Re: how to (re) enable the recording time date in directorylisting?

2010-02-08 Thread Paul Sijben
I (re) inserted the line

fxd.info['year'] = time.strftime('%m-%d ' + config.TV_TIME_FORMAT,
time.localtime(rec_prog.start))
  
in recordserver create_fxd (around line 1395) (I am imprecise because of
my own changes to the file for multiple concurrent recording.)

It looks as if this line was removed because the info goes into
userdate. But that is not shown in the listings.

On 07-02-10 20:46, Paul Sijben wrote:
 In moving to freevo 1.9 from 1.6 I seem to have lost the date and time
 in the fxd files for the recorded shows.

 What should I do to get that back, is there some setting I forgot to set?

 any help would be greatly appreciated.

 Paul

   

-- 
Paul Sijben
tel 0334557522


--
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


[Freevo-users] buttonbar lirc howto?

2010-02-08 Thread Paul Sijben
new question: how do I attach the colored buttons on my remote to the
entries for the buttonbar plugin?

key.Red does not work but there probably is some similar form describing
the buttons on the remote but I can not find it.

who can help me with this?

paul

-- 
Paul Sijben
tel 0334557522


--
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] buttonbar lirc howto?

2010-02-08 Thread Paul Sijben
ah so the lircrc entry needs to look like this?
begin
  prog=freevo
  button=Yellow
  config=YELLOW
end

if so, how do I then map the old mapping for Yellow (display) so it
still work as expected in the media player?

paul

On 08-02-10 12:54, Adam Charrett wrote:
 On Mon, February 8, 2010 11:15 am, Paul Sijben wrote:
   
 new question: how do I attach the colored buttons on my remote to the
 entries for the buttonbar plugin?

 key.Red does not work but there probably is some similar form describing
 the buttons on the remote but I can not find it.

 who can help me with this?
 
 The names for the buttons needs to be in caps and are 'RED', 'GREEN',
 'YELLOW' and 'BLUE'.

 Cheers

 Adam


 --
 The Planet: dedicated and managed hosting, cloud storage, colocation
 Stay online with enterprise data centers and the best network in the business
 Choose flexible plans and management services without long-term contracts
 Personal 24x7 support from experience hosting pros just a phone call away.
 http://p.sf.net/sfu/theplanet-com
 ___
 Freevo-users mailing list
 Freevo-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/freevo-users
   

-- 
Paul Sijben
tel 0334557522


--
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


[Freevo-users] command fxd example that works with freevo -f?

2010-02-08 Thread Paul Sijben
I was very happy with my comannd fxd files (based on the example on the
size) for firefox and mozilla on my 1360x768 tv until I moved my setup
to automatically start freevo on bootup.

Now Firefox starts without window manager and in a very low resolution.

Does anyone have a setup like this that works, if so can you please
share the fxd file?

Paul

-- 
Paul Sijben
tel 0334557522


--
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


[Freevo-users] how to (re) enable the recording time date in directorylisting?

2010-02-07 Thread Paul Sijben
In moving to freevo 1.9 from 1.6 I seem to have lost the date and time
in the fxd files for the recorded shows.

What should I do to get that back, is there some setting I forgot to set?

any help would be greatly appreciated.

Paul

-- 
Paul Sijben
tel 0334557522


--
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] how to configure 16:9 screen and crop tv recordings?

2010-01-25 Thread Paul Sijben




OK found it. The problem was that the detetection performed did not
play well with the not-so-black bars in the recording. However giving a
limit value to cropdetect does not always yield the desired result. So
I am preparing a patch for video/plugins/mplayer.py that will yield the
correct result.



On 24-01-10 11:52, Paul Sijben wrote:

  
I am in the process of converting my freevo setup to new hardware and a
new 16:9 screen (1360x768)
  
I tried to set it up correctly but apparently I have forgotten
something as recorded wide screen broadcasts now have black bars all
around. So I turned on debugging and found this in the mplayer log:
  
CommandLine: '-slave' '-v' '-vo' 'xv,sdl,x11,' '-ao' 'oss:/dev/dsp'
'-autosync' '100' '-nolirc' '-nojoystick' '-autoq' '100' '-screenw'
'1360' '-screenh' '768' '-fs' '-cache' '5000' '-monitoraspect'
'16:9' '-af' 'volnorm=1' '-vf' 'pp=de,crop=720:576:0:0'
'//home/freevo/tvrecordings/12-26_1430_Bridge_to_Terabithia.mpeg'
  
so it is told of the screen size and aspect but then does not crop the
video to the correct part.
  
What should I do to have recorded TV cropped correctly? 
  
Paul
  
  -- 
Paul Sijben
tel 0334557522
  
  

--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
  

___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users
  


-- 
Paul Sijben
tel 0334557522




--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


[Freevo-users] how to configure 16:9 screen and crop tv recordings?

2010-01-24 Thread Paul Sijben




I am in the process of converting my freevo setup to new hardware and a
new 16:9 screen (1360x768)

I tried to set it up correctly but apparently I have forgotten
something as recorded wide screen broadcasts now have black bars all
around. So I turned on debugging and found this in the mplayer log:

CommandLine: '-slave' '-v' '-vo' 'xv,sdl,x11,' '-ao' 'oss:/dev/dsp'
'-autosync' '100' '-nolirc' '-nojoystick' '-autoq' '100' '-screenw'
'1360' '-screenh' '768' '-fs' '-cache' '5000' '-monitoraspect'
'16:9' '-af' 'volnorm=1' '-vf' 'pp=de,crop=720:576:0:0'
'//home/freevo/tvrecordings/12-26_1430_Bridge_to_Terabithia.mpeg'

so it is told of the screen size and aspect but then does not crop the
video to the correct part.

What should I do to have recorded TV cropped correctly? 

Paul

-- 
Paul Sijben
tel 0334557522




--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


[Freevo-users] multiple concurrent recording how to?

2010-01-24 Thread Paul Sijben
When I installed my old freevo setup with 3 ivtv adapters I published
some patches on this list against 1.6.x to allow for multiple concurrent
recordings.

Looking at the documentation I am led to believe that this did not make
it into the tree. Is that correct?
If so, when I patch my current 1.9 setup how do I publish the resulting
patch so others can benefit from it?

Paul

-- 
Paul Sijben
tel 0334557522


--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


[Freevo-users] install on USB, any issues?

2009-12-27 Thread Paul Sijben
I am planning a major upgrade of my Freevo box, new mother board, up to
date distro and the latest freevo (still running a customized 1.6.x).

I noticed that the wiki page on usb installs refers ubuntu 8.10 and I
find elsewhere that since then things have changed.  Should I expect
any issues if I simply install Ubuntu 9.10 onto a USB stick?

Paul

-- 
Paul Sijben
tel 0334557522


--
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Newbie: Problem with HD channel names

2009-08-30 Thread Paul Rensing
I tracked the problem a little further. The bug is in the simplistic 
TV_CHANNELS_SORT routine which just forces the channel number to be an 
int. There is no protection around that call, so it all fails. If there 
had been protection, my channel list would have been fine except not sorted.


  Paul Rensing

Adam Charrett wrote:

On Sat, 2009-08-29 at 18:44 -0700, Phil Raymond wrote:
  

You need to add dvbstreamer (http://sourceforge.net/projects/dvbstreamer/) to Freevo as a plugin 
and then use it to scan for the channels in your area. The command in terminal is 
setupdvbstreamer -A channels.conf. Next run this commmand, dvbctrl lsservices -- 
-id| grep -v  ^... This will capture the channels available. Next, copy and paste 
your channel list to your local_conf.py.Here's my list as an example of what it should look like.




I would recommend using the newer livepause plugin (tv.livepause) rather
the the dvbstreamer specific one. The new livepause plugin is a lot more
refined and uses less CPU. For that you will need the livepause program
(also available from the dvbstreamer sourceforge page).

  

plugin_record = plugin.activate('tv.dvbstreamer.record')


You will still need to use this to record though

Cheers

Adam


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july

___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users
  
--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


[Freevo-users] Newbie: Problem with HD channel names

2009-08-29 Thread Paul Rensing

Hello,

I am trying to set up Freevo for the first time. I installed 1.9 from 
source and am now trying to set up the TV viewing.


I am in the US and I have an HDHomeRun tuner (external box with Ethernet 
interface). I have my XMLTV feed set up. Where I am failing is that my 
channel names are like 2-1, etc. Freevo fails with the message:


   Error in TV.xml file, unable to set TV_CHANNELS
   invalid literal for int() with base 10: '2-2'

I looked through the Web site, but did not see anything about this. How 
does one configure HD stations?


Also, if anyone has a configuration using an HDHomeRun, how exactly does 
one configure the tuners in Freevo?


   Thanks,

 Paul Rensing

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Manual installation of Freevo in Ubuntu 8.04

2008-07-13 Thread Paul Sijben


By the way, I can't check it now, but I think freevo package has been 
removed from Hardy (I can't find it in packages.ubuntu.com 
http://packages.ubuntu.com, but it do appears in 'intrepid'). Can 
someone confirm this?


I can confirm it, indeed freevo is no longer available for install 
through the regular ubuntu channels


--
Paul Sijben mailto:[EMAIL PROTECTED]
Amersfoort  http://www.sijben.net

-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Manual installation of Freevo in Ubuntu 8.04

2008-07-11 Thread Paul Sijben

Hi Fransisco,

thanks for the manual, I was considering doing a manual install on hardy 
sometime soon and this is quite useful.
One question, the last time I did a manual install I handled 
dependencies with


sudo apt-get build-dep freevo


is there a reason you did not opt for that approach to get the dependencies?

Paul

Francisco Eduardo Álvarez Solano wrote:


Hi,

I've written a quick guide to install Freevo in Ubuntu 8.04 Hardy 
Heron. As Freevo packages in Ubuntu are broken, I've done a manual 
installatio from source.


This approach has the advantage that is very easy to setup several 
Freevo versions in the same machine, and switch between them without 
problem.


These are the basic steps; below is an example script to save some 
typing. I will add this guide to the wiki if it proves to be useful.


1.- Download Freevo sources from 
http://sourceforge.net/project/showfiles.php?group_id=46652

===
Freevo-x.x.x.tar.gz
kaa-base-x.x.x.tar.gz
kaa-imlib2-x.x.x.tar.gz
kaa-metadata-x.x.x.tar.gz

2.- Make '~/src' directory and extract all the packages in it

3.- Install dependencies
 ===
(It would be very wise to add 'Medibuntu' repository before this step)
libglib2.0-dev
libimlib2
libimlib2-dev
libdvdread-dev
python-xml
python-pygame
python-twisted
python-dev
python-beautifulsoup
xmltv
lsdvd
aumix
mplayer
libdvdcss2

4.- Optional packages
 ==
w32codecs
python-pylirc
lirc
tvtime
xine-ui

5.- Install Freevo packages in order
 ===
kaa-base
kaa-imlib2
kaa-metadata
freevo

6.- Copy configuration files in Freevo directory
 ===

- If you are using Freevo for the first time:
- Exec 'freevo setup' to get 'freevo.conf'
- Move '~/.freevo/freevo.conf' to '~/freevo-1.8.1'
- Copy '~/src/freevo*/local_conf.py.example' to 
'local_conf.py' in Freevo installation directory

- Edit and adapt 'local_conf.py'

- If you have a working Freevo
- Copy 'freevo.conf' and 'local_conf.py' in ~/freevo-1.8.1
- Run the /convert_config/ helper

  To make things clear
  ==

# Add Medibuntu
sudo wget http://www.medibuntu.org/sources.list.d/hardy.list -O 
/etc/apt/sources.list.d/medibuntu.list
sudo apt-get update  sudo aptitude install medibuntu-keyring  
sudo apt-get update


# Mandatory dependencies
sudo aptitude install libglib2.0-dev libimlib2 libimlib2-dev 
libdvdread-dev python-xml python-pygame python-twisted python-dev 
python-beautifulsoup xmltv lsdvd aumix mplayer libdvdcss2


# Optional packages
sudo aptitude install w32codecs python-pylirc lirc tvtime xine-ui

# Extract packages
mkdir ~/src
cd ~/src
cp ~/Desktop/*.tar.gz .
tar xvzf kaa-base*.tar.gz
tar xvzf kaa-imlib2*.tar.gz
tar xvzf kaa-metadata*.tar.gz
tar xvzf freevo*.tar.gz

# Installing Kaa
cd ~/src/kaa-base*
python setup.py install --prefix=~/freevo-1.8.1
#version=$(python -V 21 | sed -n 's/Python \(.\..\).*/\1/p')
#export PYTHONPATH=~/freevo-1.8.1/lib/python${version}/site-packages
export 
PYTHONPATH=~/freevo-1.8.1/lib/python2.5/site-packages:/usr/lib/python2.5/site-packages/oldxml

cd ~/src/kaa-imlib2*
python setup.py install --prefix=~/freevo-1.8.1
cd ~/src/kaa-metadata*
python setup.py install --prefix=~/freevo-1.8.1

# Install Freevo
cd ~/src/freevo*
python setup.py install --prefix=~/freevo-1.8.1

# Should the previous command fail:
# ---add the next line to 'setup.py' below 'import sys'---
sys.path.append('/usr/lib/python%s/site-packages/oldxml' % 
sys.version[:3])

# 
python setup.py install --prefix=~/freevo-1.8.1


* Excuting Freevo
  
cd ~/freevo-1.8.1

PYTHONPATH=~/freevo-1.8.1/lib/python2.5/site-packages:/usr/lib/python2.5/site-packages/oldxml 
bin/freevo



* Now Freevo should work fine and you can remove ~/src and all its 
contents.



* Two or more Freevo versions
  =

-Download and extract Freevo packages as described before

-Make a symlink 'freevo' pointing to the version you want to use

-Make the directories 'cache' y 'log' inside every freevo directory

-In each 'local_conf.py' set these variables as needed:
FREEVO_STATICDIR=~/freevo-1.8.1/lib
FREEVO_LOGDIR=~/freevo-1.8.1/log
FREEVO_CACHEDIR=~/freevo-1.8.1/cache

-Run Freevo with:
cd ~/freevo

PYTHONPATH=~/freevo/lib/python2.5/site-packages:/usr/lib/python2.5/site-packages/oldxml 
bin/freevo


-If you want to use another version of Freevo, you can change the 
symlink or, simply, cd to that Freevo version directory and adapt 
PYTHONPATH in the command line as needed.



Hope this will be useful. Hints are always welcome

[Freevo-users] further update on parallel recording

2007-01-30 Thread Paul Sijben
When I first posted patches to achieve multiple concurrent recordings I
said that there were a few desired features not yet implemented. These
included better conflict resolution and 2 programs starting at the same
time.

The attached helpers/recordserver.py fixes that.  (based on 1.6.1 I believe)

The only assumptions this code makes is that all entries in VIDEO_GROUPS
are of the same type (I use it with ivtv) and are able to record the
same channels (I currently use a PVR500).

have fun!

Paul

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

#!/usr/bin/env python
# -*- coding: iso-8859-1 -*-
# ---
# record_server.py - A network aware TV recording server.
# ---
# $Id: recordserver.py 8569 2006-11-11 11:29:08Z duncan $
#
# ---
# Freevo - A Home Theater PC framework
# Copyright (C) 2002 Krister Lagerstrom, et al. 
# Please see the file freevo/Docs/CREDITS for a complete list of authors.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of MER-
# CHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
# Public License for more details.
#
# You should have received a copy of the GNU General Public License along
# with this program; if not, write to the Free Software Foundation, Inc.,
# 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#
# ---


import sys, string, random, time, os, re, pwd, stat, threading
import config
from util import vfs

# change uid
if __name__ == '__main__':
try:
if config.TV_RECORD_SERVER_UID and os.getuid() == 0:
os.setgid(config.TV_RECORD_SERVER_GID)
os.setuid(config.TV_RECORD_SERVER_UID)
os.environ['USER'] = pwd.getpwuid(os.getuid())[0]
os.environ['HOME'] = pwd.getpwuid(os.getuid())[5]
except Exception, e:
print e

from twisted.web import xmlrpc, server
from twisted.internet.app import Application
from twisted.internet import reactor
from twisted.python import log
from util.marmalade import jellyToXML, unjellyFromXML

import rc
rc_object = rc.get_singleton(use_pylirc=0, use_netremote=0)

from tv.record_types import TYPES_VERSION
from tv.record_types import ScheduledRecordings

import tv.record_types
import tv.epg_xmltv
import util.tv_util as tv_util
import plugin
import util.popen3
from tv.channels import FreevoChannels
from util.videothumb import snapshot
from event import *

DEBUG = config.DEBUG

def _debug_(text, level=1):
if DEBUG = level:
try:
log.debug(String(text))
except:
log.debug('Failed to log a message')

_debug_('PLUGIN_RECORD: %s' % config.plugin_record)

appname = os.path.splitext(os.path.basename(sys.argv[0]))[0]
logfile = '%s/%s-%s.log' % (config.LOGDIR, appname, os.getuid())
log.startLogging(open(logfile, 'a'))

plugin.init_special_plugin(config.plugin_record)

if config.TV_RECORD_PADDING_PRE == None:
config.TV_RECORD_PADDING_PRE = config.TV_RECORD_PADDING
if config.TV_RECORD_PADDING_POST == None:
config.TV_RECORD_PADDING_POST = config.TV_RECORD_PADDING

def print_plugin_warning():
print '*'
print '**  Warning: No recording plugin registered.  **'
print '**   Check your local_conf.py for a   **'
print '**   bad plugin_record = line or**'
print '**   this log for a plugin failure.   **'
print '**   Recordings will fail!**'
print '*'


if not plugin.getbyname('RECORD'):
print_plugin_warning()


class RecordServer(xmlrpc.XMLRPC):

def __init__(self):
self.lock = threading.Lock()
self.fc = FreevoChannels()
# XXX: In the future we should have one lock per VideoGroup.
self.tv_lock_file = None
self.vg = None
	self.cardrecording=[]
	for i in range(len(config.VIDEO_GROUPS)):
		self.cardrecording.append()


def isRecording(self):
_debug_('in isRecording', 3)
return glob.glob(config.FREEVO_CACHEDIR + '/record.*') and TRUE or FALSE


def progsTimeCompare(self, first, second):
t1 = first.split(':')[-1]
t2 = second.split(':')[-1]
try:
return int(t1) - int(t2)
except ArithmeticError:
pass
return 0


def findNextProgram(self):
_debug_

Re: [Freevo-users] xine speed patch

2007-01-28 Thread Paul Sijben
Frank,

I do not have the events in my local_conf.py. I do not seem to need 
them. However my lircrc binds Skip to CH- like this:

begin
   prog=freevo
   button=Replay
   config=CH+
end
begin
   prog=freevo
   button=Skip
   config=CH-
end
begin
   prog=freevo
   button=Replay/SkipBackward
   config=CH+
end
begin
   prog=freevo
   button=SkipForward
   config=CH-
end

And through the regular freevo mechanism that is mapped to 
PLAYLIST_NEXT/PREV.

Does this setup work for you?

Paul

Antispam wrote:
 Paul,
 
 If checked you patch but I'm missing something.
 
 Can you tell me where If gone wrong?
 
 Patched:
 /usr/lib/python2.4/site-packages/freevo/video/plugins/xine.py
 
 Added to local_cong.py:
 EVENTS['video']['SKIP'] = Event(PLAYLIST_NEXT)
 EVENTS['video']['REPLAY'] = Event(PLAYLIST_PREV)
 
 Logmessage:
 no event mapping for key SKIP in context dvd
 send button event BUTTON arg=SKIP
 EVENT= BUTTON
 
 Thanks,
 Frank 
 
 -Oorspronkelijk bericht-
 Van: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Namens Paul Sijben
 Verzonden: 29 November 2006 17:02
 Aan: freevo-users@lists.sourceforge.net
 Onderwerp: [Freevo-users] xine speed patch
 
 attached is a quick patch I did for xine. It allows the playback speed to be
 changed with the skip and prev keys on your remote.
 
 this may be useful to others too ;-)
 
 BTW: I have got a similar patch for mplayer (1.0rc1) but I am only be able
 to speed up the sound with that, not the video. Is that supposed to
 happen???
 

-- 
Paul Sijben mailto:[EMAIL PROTECTED]
Amersfoort  http://www.sijben.net

-
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.phpp=sourceforgeCID=DEVDEV
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] xine speed patch

2007-01-28 Thread Paul Sijben


Antispam wrote:
 Hoi Paul,
 
 I've got a hauppauge remote with the following in my lircrc:
 
 --- snip 
 begin
 prog   = freevo
 button = REPLAY
 config = REPLAY
 end
 begin
 prog   = freevo
 button = SKIP
 config = SKIP
 end 
 --- snip 
 
 So I thought I needed those. 

Ah well, they ought to work...

But I need to assign CH+/CH- to the replay and
 skip functions!

That is how my setup is, I do not recall if I ended up at that because 
of some legacy issue or because of some other reason.

Otherwise you can always try the following:

 if event == PLAYLIST_NEXT or event==SKIP:
 self.app.write('SpeedFaster\n')
 self.speed*=2
 return True
 if event == PLAYLIST_PREV or event==REPLAY:
 self.app.write('SpeedSlower\n')
 self.speed*=.5
 return True


 
 Will try that tomorrow and post my results.
 
 Thanks,
 Frank
 
 
 
 -Oorspronkelijk bericht-
 Van: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Namens Paul Sijben
 Verzonden: 28 January 2007 09:48
 Aan: freevo-users@lists.sourceforge.net
 Onderwerp: Re: [Freevo-users] xine speed patch
 
 Frank,
 
 I do not have the events in my local_conf.py. I do not seem to need them.
 However my lircrc binds Skip to CH- like this:
 
 begin
prog=freevo
button=Replay
config=CH+
 end
 begin
prog=freevo
button=Skip
config=CH-
 end
 begin
prog=freevo
button=Replay/SkipBackward
config=CH+
 end
 begin
prog=freevo
button=SkipForward
config=CH-
 end
 
 And through the regular freevo mechanism that is mapped to
 PLAYLIST_NEXT/PREV.
 
 Does this setup work for you?
 
 Paul
 
 Antispam wrote:
 Paul,

 If checked you patch but I'm missing something.

 Can you tell me where If gone wrong?

 Patched:
 /usr/lib/python2.4/site-packages/freevo/video/plugins/xine.py

 Added to local_cong.py:
 EVENTS['video']['SKIP'] = Event(PLAYLIST_NEXT) 
 EVENTS['video']['REPLAY'] = Event(PLAYLIST_PREV)

 Logmessage:
 no event mapping for key SKIP in context dvd send button event BUTTON 
 arg=SKIP EVENT= BUTTON

 Thanks,
 Frank

 -Oorspronkelijk bericht-
 Van: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Namens Paul Sijben
 Verzonden: 29 November 2006 17:02
 Aan: freevo-users@lists.sourceforge.net
 Onderwerp: [Freevo-users] xine speed patch

 attached is a quick patch I did for xine. It allows the playback speed 
 to be changed with the skip and prev keys on your remote.

 this may be useful to others too ;-)

 BTW: I have got a similar patch for mplayer (1.0rc1) but I am only be 
 able to speed up the sound with that, not the video. Is that supposed 
 to happen???

 

-- 
Paul Sijben mailto:[EMAIL PROTECTED]
Amersfoort  http://www.sijben.net

-
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.phpp=sourceforgeCID=DEVDEV
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] VLC streaming towards freevo client

2007-01-28 Thread Paul Sijben
Geert,

just for my information, why would you want to stream the data? Wouldn't 
an NFS or CIFS share achieve your goals simpler?

Paul Sijben

Geert Decorte wrote:
 Folks I need some advice,
 
 First I explain what I've got
 
 - a freevo recording server running on CC 4.0 (no gui) works perfect. 
 This machine is also my home internet server (combining best of both 
 worlds) On this machine I have vlc installed and I'm alrady capable of 
 starting a live stream or a recorded stream from my PVR 500 in the CC 
 box. The client interface I have for the moment is a php webinterface 
 (mozilla only) which works in linux and windows. It's client independend.
 
 Now I wanna implement live tv stream in a freevo client without TV card. 
 (Everything streamed from my CC server)
 
 I'v created a fxd file capable of launching vlc on the client box in 
 stream listening mode, and streamed content gets actualy played.
 
 (I'm using a modified vlc.py I grabbed from freevofreebox1.0.tgz)
 
 Now I need to find a way to start up vlc with the desired parameters on 
 the server.
 
 rsh comes to my mind to do this from the command line.
 
 Is there any possibility to execute multiple commands from a fxd file? 
 like starting the stream remotly and then start vlc localy to listen.
 
 Other aproaches?
 
 Geert
 
 
 
 
 -
 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.phpp=sourceforgeCID=DEVDEV
 
 
 
 
 ___
 Freevo-users mailing list
 Freevo-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/freevo-users

-- 
Paul Sijben mailto:[EMAIL PROTECTED]
Amersfoort  http://www.sijben.net

-
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.phpp=sourceforgeCID=DEVDEV
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] VLC streaming towards freevo client

2007-01-28 Thread Paul Sijben
I can watch programs currently being recorded from other freevo installs
than the on with the TV card, but true you can not simply stream from
the capture card.

Geert Decorte wrote:

 You can watch recorded movies using NFS or CIFS as I sometimes
 currently do, but AFAIK, you can't watch live TV when you don't have a
 TV card in the client. Putting the TV card on a server and stream the
 content is a way to have live TV on any computer in the network,
 without installing a extra TV card.

 For instance I have a wireless networked portable where I can watch
 TV. No need for TV cable connection or TV tunner thnx to the streaming
 concept. I have something working for the portable using php, but I
 like to extend this towards my freevo client. Yo can make any linux
 client make watch TV live without having a tuner, if you got a home server

 Quoting Paul Sijben [EMAIL PROTECTED]:

  Geert,
 
  just for my information, why would you want to stream the data? Wouldn't
  an NFS or CIFS share achieve your goals simpler?
 
  Paul Sijben
 
  Geert Decorte wrote:
  Folks I need some advice,
 
  First I explain what I've got
 
  - a freevo recording server running on CC 4.0 (no gui) works perfect.
  This machine is also my home internet server (combining best of both
  worlds) On this machine I have vlc installed and I'm alrady capable of
  starting a live stream or a recorded stream from my PVR 500 in the CC
  box. The client interface I have for the moment is a php webinterface
  (mozilla only) which works in linux and windows. It's client
 independend.
 
  Now I wanna implement live tv stream in a freevo client without TV
 card.
  (Everything streamed from my CC server)
 
  I'v created a fxd file capable of launching vlc on the client box in
  stream listening mode, and streamed content gets actualy played.
 
  (I'm using a modified vlc.py I grabbed from freevofreebox1.0.tgz)
 
  Now I need to find a way to start up vlc with the desired parameters on
  the server.
 
  rsh comes to my mind to do this from the command line.
 
  Is there any possibility to execute multiple commands from a fxd file?
  like starting the stream remotly and then start vlc localy to listen.
 
  Other aproaches?
 
  Geert
 
 
 
 
 
 
 -
  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.phpp=sourceforgeCID=DEVDEV
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 
 
 
 
 
  ___
  Freevo-users mailing list
  Freevo-users@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/freevo-users
 
  --
  Paul Sijbenmailto:[EMAIL PROTECTED]
  Amersfoort  http://www.sijben.net
 
 
 -
  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.phpp=sourceforgeCID=DEVDEV
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
  ___
  Freevo-users mailing list
  Freevo-users@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/freevo-users
 
 

 

 -
 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.phpp=sourceforgeCID=DEVDEV
 

 ___
 Freevo-users mailing list
 Freevo-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/freevo-users
   

-- 
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.phpp=sourceforgeCID=DEVDEV___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https

Re: [Freevo-users] PVR-350

2007-01-26 Thread Paul Sijben
Pascal,

could you share your X config file with us (and other configs that might
be of relevance)?

There are multiple people interested in this setup.

Paul Sijben

Pascal Schirrmann wrote:
 Jason Tackaberry a écrit :
   
 The video out on the 350 is workable if all you want to do is output
 captured material.  But as a general use output (i.e. freevo gui) in
 combination with generic material (random AVIs, dvd rips, etc) it is
 rather problematic.

   
 
 Hi,

 I'm using a PVR-350 card on my freevo box.
 The system is based on a Mandriva 2007.
 I setup the PVR card as a X display, and start freevo with the -fs option.

 I'm really impressed by the picture (and our TV, a 82 cm / 32  Sony TV 
 is very difficult to feed). That's true with MPEG file recorded by the 
 PVR-350 card, but also with all sort of avi/mp4/mpeg1 stuff I found to 
 test. So far, it's the best TV out I ever have seen. Even my wife is 
 very satisfied (And, speaking about video, her WAF is very strength !)

 For the beginning of the topic : With this setup, the sound is the 
 system sound, and this works well with the analog sound output, but 
 works also with the optical digital output of the sound card.

 Regards,

   

-- 
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.phpp=sourceforgeCID=DEVDEV___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] mplayer flickering bars

2007-01-19 Thread Paul Sijben
Jason,

thanks this was very helpful  the -vf did the trick. Had some problems
convincing freevo to actually use it but that's sorted too.

Paul

Jason Tackaberry wrote:
 On Fri, 2007-01-19 at 08:52 +0900, mike lewis wrote:
   
 Hmm.  Sounds like mplayer is not drawing the black bars, but instead
 it's leaving those areas alone.  Freevo should by default black
 that area out.  I only have a WS TV so I can't really test.
 

 Note this isn't a function of Freevo, but of mplayer.  Also the
 behaviour of fullscreen mode can to vary by vo driver.
 Paul, try specifying -noslices and see if that changes anything?

   
 Have you tried issueing from the command line?  I know xine has a
 plugin to inject those black lines onto the screen..  But I can't
 remember if mplayer does.  Try xine with the expand plugin.
 

 mplayer also has an expand plugin, which is actually slightly more
 capable than xine's currently is.

 Paul, you can try -vf expand=:4/3.  If you still get weird results,
 try passing -noslices on the command line.

 Cheers,
 Jason.


 -
 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.phpp=sourceforgeCID=DEVDEV
 ___
 Freevo-users mailing list
 Freevo-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/freevo-users
   

-- 
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.phpp=sourceforgeCID=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-17 Thread Paul Sijben
Duncan,

Sorry for the delay. I now had time to test the patch and it does not
work. it now produces the following command (adding both the non
hardware accellerated VO device and the non HW accel):

 --prio=-20 /usr/bin/mplayer -vo xvidixxvmc  -vc ffmpeg12mc -framedrop  
-ao alsa -fs -autosync 100 -nolirc -autoq 100 -screenw 768 -screenh 576
-fs -slave -cache 8192 /dev/video0


Duncan Webb wrote:
 Paul Sijben wrote:
   
 1.6.1 with the modifications I have shared with the email list ;-)
 

 Will you try this patch against the original tv/plugins/mplayer.py?

 I would like to know if the changes are valid for the HWACCEL stuff.

 Duncan

   
 

 --- src/tv/plugins/mplayer.py 2006-10-24 09:44:21.0 +0200
 +++ src/tv/plugins/mplayer.py.r8716   2006-12-11 22:00:10.0 +0100
 @@ -2,14 +2,14 @@
  # ---
  # mplayer.py - implementation of a TV function using MPlayer
  # ---
 -# $Id: mplayer.py 8460 2006-10-24 07:44:20Z duncan $
 +# $Id: mplayer.py 8716 2006-12-10 16:50:42Z duncan $
  #
  # Notes:
 -# Todo:
 +# Todo:
  #
  # ---
  # Freevo - A Home Theater PC framework
 -# Copyright (C) 2002 Krister Lagerstrom, et al. 
 +# Copyright (C) 2002 Krister Lagerstrom, et al.
  # Please see the file freevo/Docs/CREDITS for a complete list of authors.
  #
  # This program is free software; you can redistribute it and/or modify
 @@ -69,7 +69,7 @@
  
  __muted= 0
  __igainvol = 0
 -
 +
  def __init__(self):
  self.tuner_chidx = 0# Current channel, index into 
 config.TV_CHANNELS
  self.app_mode = 'tv'
 @@ -81,19 +81,20 @@
  
  if not tuner_channel:
  tuner_channel = self.fc.getChannel()
 -
 +
  vg = self.current_vg = self.fc.getVideoGroup(tuner_channel, True)
  
  # Convert to MPlayer TV setting strings
  norm = 'norm=%s' % vg.tuner_norm
  input = 'input=%s' % vg.input_num
  device= 'device=%s' % vg.vdev
 -
 +
  w, h = config.TV_VIEW_SIZE
  outfmt = 'outfmt=%s' % config.TV_VIEW_OUTFMT
  
  # Build the MPlayer command
  args = (config.MPLAYER_NICE, config.MPLAYER_CMD, 
 config.MPLAYER_VO_DEV,
 +config.MPLAYER_VO_DEV_HWACCEL, 
 config.MPLAYER_VO_DEV_OPTS_HWACCEL,
  config.MPLAYER_VO_DEV_OPTS, config.MPLAYER_AO_DEV, 
 config.MPLAYER_ARGS_DEF)
  
  if mode == 'tv':
 @@ -104,7 +105,7 @@
  #ivtv_dev.print_settings()
  ivtv_dev.close()
  self.fc.chanSet(tuner_channel, True)
 -
 +
  tvcmd = vg.vdev
  
  if config.MPLAYER_ARGS.has_key('ivtv'):
 @@ -128,7 +129,7 @@
  
  tvcmd = ('tv:// -tv driver=%s:%s:freq=%s:%s:%s:'
   '%s:width=%s:height=%s:%s %s' %
 - (config.TV_DRIVER, vg.adev, tuner_freq, device, 
 input, norm, 
 + (config.TV_DRIVER, vg.adev, tuner_freq, device, 
 input, norm,
w, h, outfmt, config.TV_OPTS))
  
  if config.MPLAYER_ARGS.has_key('tv'):
 @@ -140,7 +141,7 @@
  
  tvcmd = ('tv:// -tv driver=%s:freq=%s:%s:%s:'
   '%s:width=%s:height=%s:%s %s' %
 - (config.TV_DRIVER, tuner_freq, device, input, norm, 
 + (config.TV_DRIVER, tuner_freq, device, input, norm,
w, h, outfmt, config.TV_OPTS))
  
  if config.MPLAYER_ARGS.has_key('tv'):
 @@ -149,7 +150,7 @@
  elif mode == 'vcr':
  tvcmd = ('tv:// -tv driver=%s:%s:%s:'
   '%s:width=%s:height=%s:%s %s' %
 - (config.TV_DRIVER, device, input, norm, 
 + (config.TV_DRIVER, device, input, norm,
w, h, outfmt, config.TV_OPTS))
  
  if config.MPLAYER_ARGS.has_key('tv'):
 @@ -161,9 +162,10 @@
  
  args += (tvcmd,)
  
 -mpl = '--prio=%s %s -vo %s%s -ao %s -fs %s -slave %s %s' % args
 +mpl = '--prio=%s %s -vo %s%s %s %s -ao %s -fs %s -slave %s %s' % args
  
  command = mpl
 +_debug_('command=\%s\', (command))
  self.mode = mode
  
  
 @@ -172,7 +174,7 @@
  # VCR is mic in
  # btaudio (different dsp device) will be added later
  mixer = plugin.getbyname('MIXER')
 -
 +
  if mixer and config.MAJOR_AUDIO_CTRL == 'VOL':
  mixer_vol = mixer.getMainVolume()
  mixer.setMainVolume(0)
 @@ -182,7 +184,7 @@
  
  # Start up the TV task
  self.app = childapp.ChildApp2(command)
 -
 +
  self.prev_app = rc.app

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

2006-12-17 Thread Paul Sijben
sure, I would expect to see for unichrome or other HWacel output playback:

 --prio=-20 /usr/bin/mplayer -vo xvmc  -vc ffmpeg12mc -framedrop  
-ao alsa -fs -autosync 100 -nolirc -autoq 100 -screenw 768 -screenh 576
-fs -slave -cache 8192 /dev/video0


and when one does not have mpeg2 HWaccel:

 --prio=-20 /usr/bin/mplayer -vo xvidix -framedrop  
-ao alsa -fs -autosync 100 -nolirc -autoq 100 -screenw 768 -screenh 576
-fs -slave -cache 8192 /dev/video0


Note that in my setup there are no MPLAYER_VO_DEV_OPTS

Paul


Duncan Webb wrote:
 Paul Sijben wrote:
   
 Duncan,

 Sorry for the delay. I now had time to test the patch and it does not
 work. it now produces the following command (adding both the non
 hardware accellerated VO device and the non HW accel):

  --prio=-20 /usr/bin/mplayer -vo xvidixxvmc  -vc ffmpeg12mc -framedrop  
 -ao alsa -fs -autosync 100 -nolirc -autoq 100 -screenw 768 -screenh 576
 -fs -slave -cache 8192 /dev/video0
 

 What is the correct command line, can you list the different command
 lines that you expect if they are different.

 Thanks
 Duncan


 -
 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.phpp=sourceforgeCID=DEVDEV
 ___
 Freevo-users mailing list
 Freevo-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/freevo-users
   

-- 
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.phpp=sourceforgeCID=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-17 Thread Paul Sijben
That was not what I meant. on a unichrome platform xvidix will do hw
/assisted /decoding of thinks like divx, it does not work for mpeg2.
I only used it as an example of the template I think should be used.

So for me personally the -vo xvmc  -vc ffmpeg12mc  should be used when
the recording devices is ivtv.

Others will need the normal MPLAYER_VO_DEV and MPLAYER_VO_DEV_OPTS

Paul


Duncan Webb wrote:
 Paul Sijben wrote:
   
 sure, I would expect to see for unichrome or other HWacel output playback:

  --prio=-20 /usr/bin/mplayer -vo xvmc  -vc ffmpeg12mc -framedrop  
 -ao alsa -fs -autosync 100 -nolirc -autoq 100 -screenw 768 -screenh 576
 -fs -slave -cache 8192 /dev/video0


 and when one does not have mpeg2 HWaccel:

  --prio=-20 /usr/bin/mplayer -vo xvidix -framedrop  
 -ao alsa -fs -autosync 100 -nolirc -autoq 100 -screenw 768 -screenh 576
 -fs -slave -cache 8192 /dev/video0


 Note that in my setup there are no MPLAYER_VO_DEV_OPTS
 

 Now I'm confused the only difference is -vo xvmc -vc ffmpeg12mc for
 hardware decoding and -vo xvidix for software decoding.

 So why do we need HWaccel options, they could be set up in local_conf.py as:
 MPLAYER_VO_DEV = 'xvmc'
 MPLAYER_VO_DEV_OPTS = '-vc ffmpeg12mc'

 Do you only want these options for watching tv?

 Duncan

   
 Paul


 Duncan Webb wrote:
 
 Paul Sijben wrote:
   
   
 Duncan,

 Sorry for the delay. I now had time to test the patch and it does not
 work. it now produces the following command (adding both the non
 hardware accellerated VO device and the non HW accel):

  --prio=-20 /usr/bin/mplayer -vo xvidixxvmc  -vc ffmpeg12mc -framedrop  
 -ao alsa -fs -autosync 100 -nolirc -autoq 100 -screenw 768 -screenh 576
 -fs -slave -cache 8192 /dev/video0
 
 
 What is the correct command line, can you list the different command
 lines that you expect if they are different.

 Thanks
 Duncan
   


 -
 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.phpp=sourceforgeCID=DEVDEV
 ___
 Freevo-users mailing list
 Freevo-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/freevo-users
   

-- 
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.phpp=sourceforgeCID=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-17 Thread Paul Sijben
 So what you need is a way to change the MPLAYER_VO_DEV depending on the
 media type, rather than the activity?


indeed. The problem is that with ivtv the tv also gives mpeg.

but I am not sure the MPLAYER ARGS will work as it will insert also the
other VO_DEV which I guess will confuse mplayer.
right?
Paul

Duncan Webb wrote:
 Paul Sijben wrote:
   
 That was not what I meant. on a unichrome platform xvidix will do hw
 /assisted /decoding of thinks like divx, it does not work for mpeg2.
 I only used it as an example of the template I think should be used.

 So for me personally the -vo xvmc  -vc ffmpeg12mc  should be used when
 the recording devices is ivtv.

 Others will need the normal MPLAYER_VO_DEV and MPLAYER_VO_DEV_OPTS
 

 Then I think you could add special device arguments to the MPLAYER_ARGS,
 this is what I have:
 MPLAYER_ARGS = { 'dvd': '-cache 8192',
  'vcd': '-cache 4096',
  'cd' : '-cache 1024 -cdda speed=2',
  'tv' : '-nocache',
  'ivtv'   : '-cache 8192',
  'dvb': '-cache 1024',
  'avi': '-cache 5000 -idx',
  'rm' : '-cache 5000 -forceidx',
  'rmvb'   : '-cache 5000 -forceidx',
  'webcam' : 'tv:// -tv
 driver=v4l:width=352:height=288:outfmt=yuy2:device=/dev/video2',
  'default': '-cache 5000'
  }

 AFAIK I could also add mpeg it the above.

 So what you need is a way to change the MPLAYER_VO_DEV depending on the
 media type, rather than the activity?

 Duncan

   
 Paul


 Duncan Webb wrote:
 
 Paul Sijben wrote:
   
   
 sure, I would expect to see for unichrome or other HWacel output playback:

  --prio=-20 /usr/bin/mplayer -vo xvmc  -vc ffmpeg12mc -framedrop  
 -ao alsa -fs -autosync 100 -nolirc -autoq 100 -screenw 768 -screenh 576
 -fs -slave -cache 8192 /dev/video0


 and when one does not have mpeg2 HWaccel:

  --prio=-20 /usr/bin/mplayer -vo xvidix -framedrop  
 -ao alsa -fs -autosync 100 -nolirc -autoq 100 -screenw 768 -screenh 576
 -fs -slave -cache 8192 /dev/video0


 Note that in my setup there are no MPLAYER_VO_DEV_OPTS
 
 
 Now I'm confused the only difference is -vo xvmc -vc ffmpeg12mc for
 hardware decoding and -vo xvidix for software decoding.

 So why do we need HWaccel options, they could be set up in local_conf.py as:
 MPLAYER_VO_DEV = 'xvmc'
 MPLAYER_VO_DEV_OPTS = '-vc ffmpeg12mc'

 Do you only want these options for watching tv?

 Duncan

   
   
 Paul


 Duncan Webb wrote:
 
 
 Paul Sijben wrote:
   
   
   
 Duncan,

 Sorry for the delay. I now had time to test the patch and it does not
 work. it now produces the following command (adding both the non
 hardware accellerated VO device and the non HW accel):

  --prio=-20 /usr/bin/mplayer -vo xvidixxvmc  -vc ffmpeg12mc -framedrop  
 -ao alsa -fs -autosync 100 -nolirc -autoq 100 -screenw 768 -screenh 576
 -fs -slave -cache 8192 /dev/video0
 
 
 
 What is the correct command line, can you list the different command
 lines that you expect if they are different.

 Thanks
 Duncan
   
   
 -
 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.phpp=sourceforgeCID=DEVDEV
 ___
 Freevo-users mailing list
 Freevo-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/freevo-users
   
   
 -- 
 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.phpp=sourceforgeCID=DEVDEV


 

 ___
 Freevo-users mailing list
 Freevo-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/freevo-users
 



 -
 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.phpp=sourceforgeCID=DEVDEV
 ___
 Freevo-users

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

2006-12-11 Thread Paul Sijben
they are overwritten with the HWACCEL params when those params are
needed. (python does not allow partial changes of a set)

Duncan Webb wrote:
 Philip Armstrong wrote:
   
 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).
   

 This is not correct, at the args are set up earlier in the program

 Duncan


 -
 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.phpp=sourceforgeCID=DEVDEV
 ___
 Freevo-users mailing list
 Freevo-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/freevo-users
   

-- 
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.phpp=sourceforgeCID=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-11 Thread Paul Sijben
1.6.1 with the modifications I have shared with the email list ;-)

Duncan Webb wrote:
 Paul Sijben wrote:
   
 they are overwritten with the HWACCEL params when those params are
 needed. (python does not allow partial changes of a set)
 

 Hi Paul,
 which version of freevo are you using?

 Duncan


 -
 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.phpp=sourceforgeCID=DEVDEV
 ___
 Freevo-users mailing list
 Freevo-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/freevo-users
   

-- 
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.phpp=sourceforgeCID=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.phpp=sourceforgeCID=DEVDEV___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


[Freevo-users] recording server, how can this work???

2006-12-04 Thread Paul Sijben
All,

I tried getting the recording server to work, but I get no items in the
menu. OK so I look at the source code for dvdbackup.py. I see this

 if item.type == 'video' and item.mode == 'dvd' and hasattr(item,
'info_type'):
if item.info_type == track: #and item.media and
item.media.devicename:
#for dvd on disc
self.dvdsource = item.filename
self.title = int(split(item.url)[-1])
   
if hasattr(item, 'media') and hasattr(item.media,
'devicename'):
#we have a real dvd disc
self.dvdsource = item.media.devicename
self.title = int(item.url[6:])

self.item = item
return [ (self.encoding_profile_menu, _('Backup this dvd
title...')) ]
return []

Now there must be at least something wrong with this indentation because
a real DVD does not have a info_type.
So I hacked the code around a little to make sure that we got to the bit
that has the comment on the real dvd disc in it. Next issue: the url ==
dvd:// according to the log, which int should be put here in self.title?

At this point I am stumped. How can this code work? Am I missing something?
I have looked at both the plugin for 1.5.x as well as the version in
1.7.0rc1.
Input is greatly appreciated.

Paul

-- 
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.phpp=sourceforgeCID=DEVDEV
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] recording server, how can this work???

2006-12-04 Thread Paul Sijben
Ah, OK will undo my changes and try again!

Duncan Webb wrote:
 Paul Sijben wrote:
   
 Duncan Webb wrote:
 
 Now there must be at least something wrong with this indentation because
 a real DVD does not have a info_type.
 
 You're not backing up a DVD but a title and titles have info_type.
   
   
 If I try and backup a DVD I come by the same code, and it is completely
 bypassed (because a DVD has no info_type) so I see no entry in the menu
 and can not backup. That is what I see happening. Is that correct?
 

 You need to go to the sub-menu (Enter) of a DVD and then select a title
 and then the sub-menu of a title, you will find it there.

 The plug-in has a bad name is should really be called backupdvdtrack.

 Duncan


 -
 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.phpp=sourceforgeCID=DEVDEV
 ___
 Freevo-users mailing list
 Freevo-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/freevo-users
   

-- 
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.phpp=sourceforgeCID=DEVDEV___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


[Freevo-users] bug in 1.6.1 when trying to open bookmarks item

2006-12-03 Thread Paul Sijben
I tried to open the bookmarks and got this error, I am running 1.6.1
---
Traceback (most recent call last):
  File /usr/lib/python2.4/site-packages/freevo/main.py, line 321, in
eventhandler
app.eventhandler(event)
  File /usr/lib/python2.4/site-packages/freevo/menu.py, line 621, in
eventhandler
action( arg=arg, menuw=self )
  File /usr/lib/python2.4/site-packages/freevo/menu.py, line 92, in select
self.function(arg=self.arg, menuw=menuw)
  File
/usr/lib/python2.4/site-packages/freevo/video/plugins/bookmarker.py,
line 122, in bookmark_menu
menuw.pushmenu(moviemenu)
  File /usr/lib/python2.4/site-packages/freevo/menu.py, line 334, in
pushmenu
self.refresh()
  File /usr/lib/python2.4/site-packages/freevo/menu.py, line 362, in
refresh
skin.draw('menu', self, self.menustack[-1])
  File /usr/lib/python2.4/site-packages/freevo/skins/main/main.py,
line 537, in draw
a.draw(settings, object, menu, style, type, self.force_redraw)
  File /usr/lib/python2.4/site-packages/freevo/skins/main/area.py,
line 201, in draw
self.update_content()
  File
/usr/lib/python2.4/site-packages/freevo/skins/main/default_areas.py,
line 183, in update_content
p.draw((self.widget_type, self.menuw), self)
  File /usr/lib/python2.4/site-packages/freevo/plugins/lcd.py, line
801, in draw
info = get_info( menu.selected, menu_info[ menu.selected.type ] )
  File /usr/lib/python2.4/site-packages/freevo/plugins/lcd.py, line
643, in get_info
v = item.getattr( l[ 0 ] )
  File /usr/lib/python2.4/site-packages/freevo/item.py, line 440, in
getattr
r = self.__getitem__(attr)
  File /usr/lib/python2.4/site-packages/freevo/video/videoitem.py,
line 188, in __getitem__
if key == 'geometry' and self.info['width'] and self.info['height']:
KeyError: 'width'
-
is there a fix for this?

Paul

-- 
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.phpp=sourceforgeCID=DEVDEV
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


[Freevo-users] freevo unichrome SOLVED

2006-11-30 Thread Paul Sijben
Ok you have been seeing the problem I (and others had with unichrome and
freevo). I seem to have got the solution now.

A good compile of mplayer 1.0rc1 (for a certain definition of good) and
the attached patch for video/plugins/mplayer.py will do the trick (the
patch is against freevo 1.6.1). Note I am using a recent unichrome build.

Actually the attached freevo patch works for all kinds of video outputs
that require a different vo setting for different classes of movies.

So if you have a unichrome system (possibly an EPIA board) put this in
your local_conf.py in the mplayer section and apply the patch. It tells
freevo to use the vo device xvmc:deint-bob with option -vc
ffmpeg12mc when playing mpeg2 (the bob deinterlace option I found to be
necessary, it will play with less CPU usage without it but the image
will be flickery sometimes, so you may try simply xvmc if you want
even less CPU usage). For all other movies it will use xvidix using a
different kind of hardware acceleration.

MPLAYER_VO_DEV_HWACCEL = xvmc:deint-bob
MPLAYER_HWACCEL_SUFFIX=[mpeg,mpg,vob]
MPLAYER_VO_DEV = xvidix
MPLAYER_VO_DEV_OPTS_HWACCEL='-vc ffmpeg12mc'

of course as well as having mpeg,mpg,vob in the
VIDEO_MPLAYER_SUFFIX list.

and put
colorkey=0x00
 in your .mplayer/config (it always failed when I tried to put it on the
command line but this works too)

and put
libviaXvMC.so.1
in /etc/X11/XvMCConfig

Now coming to the point of a good build of  mplayer may be simple or
hard for you. In all cases you will need some patches. Some exchanges
with  Davin Desborough and myself have resulted in the following recipe.
The first three lines are relevant if you are on Ubuntu or some other
debian derivative, of you are on another linux flavour, you need to
resolve it in another way.
 
add deb-src to /etc/apt/sources.list if you don't have it
sudo apt-get update
sudo apt-get build-dep mplayer
#OK so we now have all the dependencies sorted
wget
ftp://ftp.fu-berlin.de/unix/X11/multimedia/MPlayer/releases/MPlayer-1.0rc1.tar.bz2
wget
http://wiki.openchrome.org/pipermail/openchrome-users/attachments/20061023/6cdd63fd/mplayer.tar.obj
tar xvf mplayer.tar.obj
bunzip2 MPlayer-1.0rc1.tar.bz2
tar xvf MPlayer-1.0rc1.tar
cd MPlayer-1.0rc1/
patch -p1 -i ../mplayer/MPlayer-1.0rc1-openchrome_xvmc_vld.patch
patch -p1 -i ../mplayer/MPlayer-1.0rc1-remove_bobdeint.patch
patch -p1 -i ../mplayer/MPlayer-1.0rc1-openchrome_bob.patch
./configure --prefix=/usr --enable-xvmc --with-xvmclib=XvMCW
make
sudo make install

OK, you now may be set, or you may be not. Try to play some audio with
mplayer. If it sounds good, you are ready.
If it sounds horrible you are likely on a VIA C-2 or AMD CPU. There
appears to be a bug in mp3lib that is triggered on CPUs with MMX or some
such speedup tech. This is fixed in the svn build of mplayer. so check
that out in the way indicated on the mplayer site. I tried applying the
unichrome patches manually to the svn tree but that failed, so I ended
up configuring that tree too with the same options as I built 1.0rc1.
When it is configured copy over the mp3lib directory to the 1.0rc1 tree
as well as mpcommon.mak . Now build your 1.0rc1 tree again (a make clean
before doing that make might not hurt, I guess). I found that the
resulting mplayer works just fine.

At this point I am using just some 25% of total CPU power on my 600Mhz
EPIA board while playing a recorded TV prog (recorded with ivtv). Using
mplayer I can stop the show and can resume playback later. Also I found
that mplayer is far more responsive to input from the remote control
than xine.

So after all the hard work I am a happy camper. So I hope this will give
you what you need to!
BTW: Davin offered to put all of this in a more verbose version in the
Wiki so I'll gladly let him have the honor of doing that :-)
BTW2: I suggest this patch to be included in the main freevo tree as
many people are running freevo on EPIA and other unichrome setups.

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

--- mplayer.py  2006-11-30 17:45:33.0 +0100
+++ mplayer.py-orig 2006-11-28 12:46:11.0 +0100
@@ -53,8 +53,7 @@
 def __init__(self):
 # create plugin structure
 plugin.Plugin.__init__(self)
-   if not hasattr(config,'MPLAYER_HWACCEL_SUFFIX'):
-config.MPLAYER_HWACCEL_SUFFIX=[]
+
 # register mplayer as the object to play video
 plugin.register(MPlayer(), plugin.VIDEO_PLAYER, True)
 
@@ -110,13 +109,6 @@
 self.item_length  = -1
 self.item.elapsed = 0
 
-   #XXX PS
-   VODEV=config.MPLAYER_VO_DEV
-   VODEVOPTS=config.MPLAYER_VO_DEV_OPTS
-   if item.mimetype in config.MPLAYER_HWACCEL_SUFFIX:
-   VODEV=config.MPLAYER_VO_DEV_HWACCEL
-   VODEVOPTS=config.MPLAYER_VO_DEV_OPTS_HWACCEL
-
 if mode == 'file':
 url = item.url[6

Re: [Freevo-users] update on parallel recording

2006-11-29 Thread Paul Sijben
Duncan,

I have changed my recordingserver so it now also creates lockfiles with
the video dev appended.

I have looked at upsoon and that needs some work to make it work with
parallel recording, it does not need to kill the TV viewing if there is
another card available for recording (the policy I put into my patched
recording server is that it will take the last item in VIDEO_GROUPS
first and then work to the start to give TV viewing the best chance of
working).

So the test should be something like is there a recording coming up? If
so, check if there is an equivalent video device available from
record_groups, assume the recordserver will use that one and do nothing.

That is more work than I can put into it right now. I'll look at that later.

Paul

Duncan Webb wrote:
 Paul Sijben wrote:
   
 I think that before this code is included in the main distribution a
 couple of loose ends need fixing:

 - how to check for the number of (ivtv) capture cards without naively
 checking against the length of  VIDEO_GROUPS (input needed, is there a
 function to call for that???)
 

 I think you would need to scan the video devices using tv.v4l2 it
 queries the devices capabilities. If you can read C check the
 ivtv-detect program in the ivtv-0.8.1 driver.

   
 - I wrote:/ I am pretty sure I broke some system that handles
 interaction between TV viewing and recording. /This is because I changed
 the name of the lockfile to deal with multiple cards. So this needs to
 be aligned with other parts of freevo that look at this lockfile.
 

 IIRC, I changed the lockfile to use the video device name as a suffix,
 but you may need to fix upsoon as this checks this device and sends a
 stop to the player if the tv card's tuner is in use.

   
 - I think conflict resolution needs a bit more refinement
 - is there an elegant way (or even a need) to allow parallel recording
 over multiple card types?
 

 BTTV and saa713x cards use a raw video stream, which in turn needs
 encoding in real-time (The raw files are massive, 27Mb/sec). Real-time
 software encoding on more than one channel would put a very high load on
 the system, but I've not tried it.

 Duncan


   
 Duncan Webb wrote:
 
 Paul Sijben wrote:
   
   
 OK here are the 1.6 files as patched.

 The patch allows recording multiple shows concurrently. It assumes
 that all TV channels are available from the same card type. (in this
 case ivtv, you can make a similar patch against other record types,
 just patch _record.py).

 I am using VIDEO_GROUPS as follows. (note that I also assume that this
 is the only kind of entries there are in video groups.I simply check
 for the number of cards by checking the length of VIDEO_GROUPS, there
 must be a more elegant way to do this...)

 VIDEO_GROUPS = [
VideoGroup(vdev=/dev/video0,
   adev=None,
   input_type='tuner',
 #  input_num=0,
   tuner_norm=CONF.tv,
   tuner_chanlist=CONF.chanlist,
   desc='Cable',
   group_type='ivtv',
   record_group=None),
   VideoGroup(vdev=/dev/video1,
   adev=None,
   input_type='tuner',
 #  input_num=0,
   tuner_norm=CONF.tv,
   tuner_chanlist=CONF.chanlist,
   desc='Cable',
   group_type='ivtv',
 record_group=None)
]

 conflict resolution is now as follows:
 - are there unused capture cards, pick one of those, highest number
 first (as TV viewing is always done on video0)
 - if all are busy find a card where the show is to end now
 - otherwise pick an active card and use the normal conflict resolution
 code. (indeed this could use with some refining)

 Note: I am pretty sure I broke some system that handles interaction
 between TV viewing and recording.
 
 
 I'm interested to get some feedback from anybody who has tried Paul's
 changes, if some of you are using this and others want to use it then
 I'm more than happy to add the changes into rel-1.

 Duncan
   


 -
 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.phpp=sourceforgeCID=DEVDEV
 ___
 Freevo-users mailing list
 Freevo-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/freevo-users
   

-- 
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.phpp=sourceforgeCID

Re: [Freevo-users] update on parallel recording

2006-11-29 Thread Paul Sijben
Euhm, thinking a bit more

Wouldn't it be simpler to let the TV viewing app write a lockfile of the
device it is using (so in practice something like viewing.video0).
Then let ivtv_record test for that file when it wants to use that video
device.  If the device is needed for recording, send a STOP to the TV
viewing thread and use the device.

BTW: I can not find any checks for recording lockfiles in ivtv_xine_tv
where is checked if you are not ruining a recording in progress by
starting to watch TV?

Paul

Paul Sijben wrote:
 Duncan,

 I have changed my recordingserver so it now also creates lockfiles
 with the video dev appended.

 I have looked at upsoon and that needs some work to make it work with
 parallel recording, it does not need to kill the TV viewing if there
 is another card available for recording (the policy I put into my
 patched recording server is that it will take the last item in
 VIDEO_GROUPS first and then work to the start to give TV viewing the
 best chance of working).

 So the test should be something like is there a recording coming up?
 If so, check if there is an equivalent video device available from
 record_groups, assume the recordserver will use that one and do nothing.

 That is more work than I can put into it right now. I'll look at that
 later.

 Paul

 Duncan Webb wrote:
 Paul Sijben wrote:
   
 I think that before this code is included in the main distribution a
 couple of loose ends need fixing:

 - how to check for the number of (ivtv) capture cards without naively
 checking against the length of  VIDEO_GROUPS (input needed, is there a
 function to call for that???)
 

 I think you would need to scan the video devices using tv.v4l2 it
 queries the devices capabilities. If you can read C check the
 ivtv-detect program in the ivtv-0.8.1 driver.

   
 - I wrote:/ I am pretty sure I broke some system that handles
 interaction between TV viewing and recording. /This is because I changed
 the name of the lockfile to deal with multiple cards. So this needs to
 be aligned with other parts of freevo that look at this lockfile.
 

 IIRC, I changed the lockfile to use the video device name as a suffix,
 but you may need to fix upsoon as this checks this device and sends a
 stop to the player if the tv card's tuner is in use.

   
 - I think conflict resolution needs a bit more refinement
 - is there an elegant way (or even a need) to allow parallel recording
 over multiple card types?
 

 BTTV and saa713x cards use a raw video stream, which in turn needs
 encoding in real-time (The raw files are massive, 27Mb/sec). Real-time
 software encoding on more than one channel would put a very high load on
 the system, but I've not tried it.

 Duncan


   
 Duncan Webb wrote:
 
 Paul Sijben wrote:
   
   
 OK here are the 1.6 files as patched.

 The patch allows recording multiple shows concurrently. It assumes
 that all TV channels are available from the same card type. (in this
 case ivtv, you can make a similar patch against other record types,
 just patch _record.py).

 I am using VIDEO_GROUPS as follows. (note that I also assume that this
 is the only kind of entries there are in video groups.I simply check
 for the number of cards by checking the length of VIDEO_GROUPS, there
 must be a more elegant way to do this...)

 VIDEO_GROUPS = [
VideoGroup(vdev=/dev/video0,
   adev=None,
   input_type='tuner',
 #  input_num=0,
   tuner_norm=CONF.tv,
   tuner_chanlist=CONF.chanlist,
   desc='Cable',
   group_type='ivtv',
   record_group=None),
   VideoGroup(vdev=/dev/video1,
   adev=None,
   input_type='tuner',
 #  input_num=0,
   tuner_norm=CONF.tv,
   tuner_chanlist=CONF.chanlist,
   desc='Cable',
   group_type='ivtv',
 record_group=None)
]

 conflict resolution is now as follows:
 - are there unused capture cards, pick one of those, highest number
 first (as TV viewing is always done on video0)
 - if all are busy find a card where the show is to end now
 - otherwise pick an active card and use the normal conflict resolution
 code. (indeed this could use with some refining)

 Note: I am pretty sure I broke some system that handles interaction
 between TV viewing and recording.
 
 
 I'm interested to get some feedback from anybody who has tried Paul's
 changes, if some of you are using this and others want to use it then
 I'm more than happy to add the changes into rel-1.

 Duncan
   


 -
 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.phpp=sourceforgeCID=DEVDEV
 ___
 Freevo-users mailing list
 Freevo-users@lists.sourceforge.net
 https://lists.sourceforge.net

Re: [Freevo-users] update on parallel recording

2006-11-29 Thread Paul Sijben

 I don't think that you can remove the input from VideoGroups because
 this can be used to set a different input device, such as the S-Video.

   
that was not what I meant. I meant I can not pick it from videogroups
when I am creating the lockfile.

 Also you should be aware that it may not be a desirable feature if two
 cards come from two different sources, such as Analogue and DVB-S, so
 there needs to be a way to turn it off. I think using the record_group
 is the best way.

   
You may be right but at this point I am confused. Could you explain to
me the current definition of record_group (and the context of
video_groups) and in the in the case of a setup where one may have a
PVR-500, used for parallel recording on analogue and a DVB card.

An example of video_groups in that setting would also help me a lot I think

   
 BTW: I can not find any checks for recording lockfiles in ivtv_xine_tv
 where is checked if you are not ruining a recording in progress by
 starting to watch TV?
 

 ivtv_xine_tv is new on 1.6 and may never have been implemented.
   
Ah, OK

 Hope this helps,
 Duncan

 -
 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.phpp=sourceforgeCID=DEVDEV
 ___
 Freevo-users mailing list
 Freevo-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/freevo-users
   

-- 
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.phpp=sourceforgeCID=DEVDEV___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


[Freevo-users] freevo does not kill X in 1.6.x, bug or feature

2006-11-29 Thread Paul Sijben
I noticed since upgrading to freevo 1.6.x (both .1 en .0) it no longer
kills the X-server it created for itself.

Is this a bug or a feature?

Paul

-- 
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.phpp=sourceforgeCID=DEVDEV
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


[Freevo-users] xine speed patch

2006-11-29 Thread Paul Sijben
attached is a quick patch I did for xine. It allows the playback speed
to be changed with the skip and prev keys on your remote.

this may be useful to others too ;-)

BTW: I have got a similar patch for mplayer (1.0rc1) but I am only be
able to speed up the sound with that, not the video. Is that supposed to
happen???

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

--- xine.py-orig2006-11-28 12:46:11.0 +0100
+++ xine.py 2006-11-29 16:49:57.0 +0100
@@ -120,6 +120,7 @@
 
 play a dvd with xine
 
+   self.speed=1.0
 self.item = item
 if config.EVENTS.has_key(item.mode):
 self.app_mode = item.mode
@@ -193,12 +194,28 @@
 eventhandler for xine control. If an event is not bound in this
 function it will be passed over to the items eventhandler
 
+   print EVENT=,event
 if not self.app:
 return self.item.eventhandler(event)
 
 if event in ( PLAY_END, USER_END ):
 self.stop()
 return self.item.eventhandler(event)
+# added by PAUL
+if event == PLAYLIST_NEXT:
+self.app.write('SpeedFaster\n')
+self.speed*=2
+return True
+if event == PLAYLIST_PREV:
+self.app.write('SpeedSlower\n')
+self.speed*=.5
+return True
+if event == PLAY and self.speed!=1.0:
+self.app.write('SpeedReset\n')
+self.speed=1.0
+return True
+
+#-
 
 if event == PAUSE or event == PLAY:
 self.app.write('pause\n')
@@ -223,7 +240,6 @@
 pos = 30
 self.app.write('%s%s\n' % (action, pos))
 return True
-
 if event == TOGGLE_OSD:
 self.app.write('OSDStreamInfos\n')
 return True
-
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.phpp=sourceforgeCID=DEVDEV___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] update on parallel recording

2006-11-29 Thread Paul Sijben

 Do you keep track of the VideoGroup index? IFAICS this is all you need,
 with this you have the video device and hence the lockfile name.

   

actually I keep track of the device too. So returning the vdev chosen
back to the record server was no problem
 Also you should be aware that it may not be a desirable feature if two
 cards come from two different sources, such as Analogue and DVB-S, so
 there needs to be a way to turn it off. I think using the record_group
 is the best way.

   
   
 You may be right but at this point I am confused. Could you explain to
 me the current definition of record_group (and the context of
 video_groups) and in the in the case of a setup where one may have a
 PVR-500, used for parallel recording on analogue and a DVB card.
 

 The record_group is an index into the VideoGroup list, starting at 0. If
 the record_group is not None then it uses this VideoGroup to record. The
 first group, by default, is the play-back group but this can be
 overridden in the TV_CHANNELS list.

   
 An example of video_groups in that setting would also help me a lot I think
 

 I gave you one, but here is again, this time adjusted.
   

the reason I asked was because I got really confused when you threw in
the DVB card too. I agree it is a reasonable scenario, I was just
wondering how you propose to describe that.

   VideoGroup(vdev = '/dev/video0',
 vvbi = '/dev/vbi0',
 adev = '/dev/adsp',
 input_type = 'tuner',
 input_num = 0,
 tuner_norm = CONF.tv,
 tuner_chanlist = CONF.chanlist,
 desc = 'PVR-500 Play (2nd Record) Group',
 group_type = 'ivtv',
 record_group = 1),
   VideoGroup(vdev = '/dev/video1',
 vvbi = '/dev/vbi1',
 adev = '/dev/adsp',
 input_type = 'tuner',
 input_num = 0,
 tuner_norm = CONF.tv,
 tuner_chanlist = CONF.chanlist,
 desc = 'PVR-500 Record Group',
 group_type = 'ivtv',
 record_group = 0),

 VideoGroup[0] is the play-back group, the record_group points to
 VideoGroup[1] and in this example it points back to the first group (At
 the moment it would be None)

 Clearer?
 Duncan

 -
 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.phpp=sourceforgeCID=DEVDEV
 ___
 Freevo-users mailing list
 Freevo-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/freevo-users
   

-- 
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.phpp=sourceforgeCID=DEVDEV___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] xine speed patch

2006-11-29 Thread Paul Sijben


Duncan Webb wrote:
 Paul Sijben wrote:
   
 You want to go beyond 2x for effective fast playing, and then you need
 to mute the sound too.
 

 May be if the squeaky sound bothers you.

   

indeed it gets rather annoying after a bit ;-)
 Tried the same patch on a non-unichrome machine and found that there the
 video will speed up, so what I saw earlier was a unichrome issue.

 Paul

 Duncan Webb wrote:
 
 Paul Sijben wrote:
   
   
 attached is a quick patch I did for xine. It allows the playback speed
 to be changed with the skip and prev keys on your remote.

 this may be useful to others too ;-)

 BTW: I have got a similar patch for mplayer (1.0rc1) but I am only be
 able to speed up the sound with that, not the video. Is that supposed to
 happen???
 
 
 Do you really need a patch for mplayer?

 Adding this to local_conf.py does fast play back.

 EVENTS['video']['PLAY'] = Event(VIDEO_SEND_MPLAYER_CMD, \
 arg='speed_set 1.0')
 EVENTS['video']['FFWD'] = Event(VIDEO_SEND_MPLAYER_CMD, \
 arg='speed_mult 2.0')

 You can't have reverse playback, shame, but it is possible to slow it down.

 Duncan

   
   
 

 --- xine.py-orig   2006-11-28 12:46:11.0 +0100
 +++ xine.py2006-11-29 16:49:57.0 +0100
 @@ -120,6 +120,7 @@
  
  play a dvd with xine
  
 +  self.speed=1.0
  self.item = item
  if config.EVENTS.has_key(item.mode):
  self.app_mode = item.mode
 @@ -193,12 +194,28 @@
  eventhandler for xine control. If an event is not bound in this
  function it will be passed over to the items eventhandler
  
 +  print EVENT=,event
  if not self.app:
  return self.item.eventhandler(event)
  
  if event in ( PLAY_END, USER_END ):
  self.stop()
  return self.item.eventhandler(event)
 +# added by PAUL
 +if event == PLAYLIST_NEXT:
 +self.app.write('SpeedFaster\n')
 +self.speed*=2
 +return True
 +if event == PLAYLIST_PREV:
 +self.app.write('SpeedSlower\n')
 +self.speed*=.5
 +return True
 +if event == PLAY and self.speed!=1.0:
 +self.app.write('SpeedReset\n')
 +self.speed=1.0
 +return True
 +
 +#-
  
  if event == PAUSE or event == PLAY:
  self.app.write('pause\n')
 @@ -223,7 +240,6 @@
  pos = 30
  self.app.write('%s%s\n' % (action, pos))
  return True
 -
  if event == TOGGLE_OSD:
  self.app.write('OSDStreamInfos\n')
  return True
 

 -
 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.phpp=sourceforgeCID=DEVDEV
 ___
 Freevo-users mailing list
 Freevo-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/freevo-users
   

-- 
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.phpp=sourceforgeCID=DEVDEV___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] update on parallel recording

2006-11-28 Thread Paul Sijben

Duncan Webb wrote:

 I think you would need to scan the video devices using tv.v4l2 it
 queries the devices capabilities. If you can read C check the
 ivtv-detect program in the ivtv-0.8.1 driver.

   
Hmm, I was hoping to be able to just scan VIDEO_GROUPS. I was hoping
there already were functions for that. ;-)

 - I wrote:/ I am pretty sure I broke some system that handles
 interaction between TV viewing and recording. /This is because I changed
 the name of the lockfile to deal with multiple cards. So this needs to
 be aligned with other parts of freevo that look at this lockfile.
 

 IIRC, I changed the lockfile to use the video device name as a suffix,
 but you may need to fix upsoon as this checks this device and sends a
 stop to the player if the tv card's tuner is in use.
   

OK, I currently create lockfiles that have the form
record.VIDEO_GROUPS_index, I can let the recording start code deliver
the videodevice too (I need the index to stop the correct recording)

   
 - I think conflict resolution needs a bit more refinement
 - is there an elegant way (or even a need) to allow parallel recording
 over multiple card types?
 

 BTTV and saa713x cards use a raw video stream, which in turn needs
 encoding in real-time (The raw files are massive, 27Mb/sec). Real-time
 software encoding on more than one channel would put a very high load on
 the system, but I've not tried it.
   

OK, I'll cheerfully forget it for now.

Paul
 Duncan


   
 Duncan Webb wrote:
 
 Paul Sijben wrote:
   
   
 OK here are the 1.6 files as patched.

 The patch allows recording multiple shows concurrently. It assumes
 that all TV channels are available from the same card type. (in this
 case ivtv, you can make a similar patch against other record types,
 just patch _record.py).

 I am using VIDEO_GROUPS as follows. (note that I also assume that this
 is the only kind of entries there are in video groups.I simply check
 for the number of cards by checking the length of VIDEO_GROUPS, there
 must be a more elegant way to do this...)

 VIDEO_GROUPS = [
VideoGroup(vdev=/dev/video0,
   adev=None,
   input_type='tuner',
 #  input_num=0,
   tuner_norm=CONF.tv,
   tuner_chanlist=CONF.chanlist,
   desc='Cable',
   group_type='ivtv',
   record_group=None),
   VideoGroup(vdev=/dev/video1,
   adev=None,
   input_type='tuner',
 #  input_num=0,
   tuner_norm=CONF.tv,
   tuner_chanlist=CONF.chanlist,
   desc='Cable',
   group_type='ivtv',
 record_group=None)
]

 conflict resolution is now as follows:
 - are there unused capture cards, pick one of those, highest number
 first (as TV viewing is always done on video0)
 - if all are busy find a card where the show is to end now
 - otherwise pick an active card and use the normal conflict resolution
 code. (indeed this could use with some refining)

 Note: I am pretty sure I broke some system that handles interaction
 between TV viewing and recording.
 
 
 I'm interested to get some feedback from anybody who has tried Paul's
 changes, if some of you are using this and others want to use it then
 I'm more than happy to add the changes into rel-1.

 Duncan
   


 -
 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.phpp=sourceforgeCID=DEVDEV
 ___
 Freevo-users mailing list
 Freevo-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/freevo-users
   

-- 
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.phpp=sourceforgeCID=DEVDEV___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


[Freevo-users] ivtv unichrome tips

2006-11-28 Thread Paul Sijben
All,

I was suffering from two issues when recording and playing back TV on my
freevo, in the past 24 hours I resolved both of them. You may benefit
from this too (PAL, VIA EPIA/UNICHROME deployment):

1) overly saturated video resulting in badly readable text etc). IVTV
issue. The default settings of the driver are not optimal (at least for me)

ivtvctl  --set-ctrl=contrast=45  -d /dev/video0  # so lower the
default value
ivtvctl  --set-ctrl=brightness=180 -d /dev/video0  #compensate the
overall image

fixed this for me (no it won't take multiple control settings on one
line), btw, I also set the audio to something more sensible.
(ivtvctl -y volume=65535  -d /dev/video0) Also found that too many
of these control calls in too short a time is bad too. when you put
these in a script, sleep1 between the commands helps.

2) pixelated video on scene changes. Openchrome issue.  get the latest
source through svn, compile and install, was the solution for me.

have fun

Paul

-- 
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.phpp=sourceforgeCID=DEVDEV___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] update on parallel recording

2006-11-28 Thread Paul Sijben


Duncan Webb wrote:

 Hmm, I was hoping to be able to just scan VIDEO_GROUPS. I was hoping
 there already were functions for that. ;-)
 

 VideoGroups is set up manually, suppose it could be auto-generated, but
 may need some manual adjustment.
   

indeed. I can also find the number of cards by simply looking for all
ivtv entries in VIDEO_GROUPS


 If you have the index then you also have the device name (vdev).

   

Hmm, yes, under the current assumption that all cards are ivtv. actually
it is an index in the cards as managed by the chosen record type (and
hence refers to a list of active recording threads)


-- 
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.phpp=sourceforgeCID=DEVDEV___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Perfect motherboard for Freevo (was Re: Freevo box over Compact Flash.)

2006-11-28 Thread Paul Sijben
yep, sweet!

Ignacio - wrote:
 wow, that motheboard rocks. that was nice.
 
 On 11/29/06, Eric Jorgensen [EMAIL PROTECTED] wrote:
 On Sat, 18 Nov 2006 08:14:16 +0100
 Paul Sijben [EMAIL PROTECTED] wrote:


 So I'd guess the next question is now what is the perfect MB for
 freevo?

 One would need:

 -capable of playing mpeg2,mp3,mpeg4
 -low noise (this also implies low-noise/fanless CPU setup)
 -at least 2 PCI slots
 -TV-out,optionally HD-TV-out
 -good sound
 -good price

 Asus and MSI have some good candidates - boards with onboard Geforce
 6150 w/ tv and hdtv-out.

 http://www.asus.com/products4.aspx?modelmenu=2model=1138l1=3l2=101l3=0

 http://www.msicomputer.com/product/p_spec.asp?model=K9NGM2-FIDclass=mb

 The asus comes with the tv-out bracket, the msi site says theirs is
 'optional'.

 the geforce6150 has enough xvmc oomph for mpeg2 ad HD resolutions. no
 mpeg4 support in hardware, but that probably shouldn't be an issue. On
 the other hand, I have no idea what it takes to decode h.264 at HD
 resolutions - but at SD resolutions, my athlon-xp 1600 does just fine.

 both support spdif out at 44.1 and 48khz, the msi board also does 96 and
 192khz and at 20 and 24 bits.

 Asus warns that their DVI connector does not support the common dongles
 that convert DVI to RGB for analog monitors, and that you cannot use the
 VGA port and TV-Out ports simultaneously. This is odd, but probably not
 an issue for htpc use. The MSI board probably has the same restrictions
 - I'm guessing it's a chipset thing.

 athlon64 processors are as quiet as you make 'em. My 2-year-old 3500+
 runs quite cool, so it should be possible to make a very quiet,
 feature-rich system with either of these boards.

 They both retail for about $90. The cheapest AM2 sempron is about $40
 and may or may not be enough for HDTV. the cheapest full athlon64 is
 about $85, and is certainly enough for HDTV. The cheapest dual-core
 athlon64 is about $150 and probably massive overkill.

 Other motherboard makers may have similar boards. Looks like good
 hardware to me.

 -
 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.phpp=sourceforgeCID=DEVDEV
 ___
 Freevo-users mailing list
 Freevo-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/freevo-users

 
 -
 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.phpp=sourceforgeCID=DEVDEV
 ___
 Freevo-users mailing list
 Freevo-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/freevo-users

-- 
Paul Sijben mailto:[EMAIL PROTECTED]
Amersfoort  http://www.sijben.net

-
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.phpp=sourceforgeCID=DEVDEV
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


[Freevo-users] freevo file manager

2006-11-27 Thread Paul Sijben
just a question. I have a dedicated freevo box, hooked to a TV and
mainly used via an infrared remote.

Now of course from time to time I want to plug in a USB device
(containing pictures, filmclips or music)  and copy its contents to an
appropriate directory on the box.

Is there a file manager function/plugin to do that?

Paul

-- 
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.phpp=sourceforgeCID=DEVDEV
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] freevo file manager

2006-11-27 Thread Paul Sijben
Indeed I never would have guessed with that name.
thanks will try that out.

Paul

Duncan Webb wrote:
 Paul Sijben wrote:
   
 just a question. I have a dedicated freevo box, hooked to a TV and
 mainly used via an infrared remote.

 Now of course from time to time I want to plug in a USB device
 (containing pictures, filmclips or music)  and copy its contents to an
 appropriate directory on the box.

 Is there a file manager function/plugin to do that?
 

 It's plug-in with a silly name called shoppingcart.

 Duncan


 -
 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.phpp=sourceforgeCID=DEVDEV
 ___
 Freevo-users mailing list
 Freevo-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/freevo-users
   

-- 
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.phpp=sourceforgeCID=DEVDEV___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] update on parallel recording

2006-11-27 Thread Paul Sijben
I think that before this code is included in the main distribution a
couple of loose ends need fixing:

- how to check for the number of (ivtv) capture cards without naively
checking against the length of  VIDEO_GROUPS (input needed, is there a
function to call for that???)
- I wrote:/ I am pretty sure I broke some system that handles
interaction between TV viewing and recording. /This is because I changed
the name of the lockfile to deal with multiple cards. So this needs to
be aligned with other parts of freevo that look at this lockfile.
- I think conflict resolution needs a bit more refinement
- is there an elegant way (or even a need) to allow parallel recording
over multiple card types?

Paul

Duncan Webb wrote:
 Paul Sijben wrote:
   
 OK here are the 1.6 files as patched.

 The patch allows recording multiple shows concurrently. It assumes
 that all TV channels are available from the same card type. (in this
 case ivtv, you can make a similar patch against other record types,
 just patch _record.py).

 I am using VIDEO_GROUPS as follows. (note that I also assume that this
 is the only kind of entries there are in video groups.I simply check
 for the number of cards by checking the length of VIDEO_GROUPS, there
 must be a more elegant way to do this...)

 VIDEO_GROUPS = [
VideoGroup(vdev=/dev/video0,
   adev=None,
   input_type='tuner',
 #  input_num=0,
   tuner_norm=CONF.tv,
   tuner_chanlist=CONF.chanlist,
   desc='Cable',
   group_type='ivtv',
   record_group=None),
   VideoGroup(vdev=/dev/video1,
   adev=None,
   input_type='tuner',
 #  input_num=0,
   tuner_norm=CONF.tv,
   tuner_chanlist=CONF.chanlist,
   desc='Cable',
   group_type='ivtv',
 record_group=None)
]

 conflict resolution is now as follows:
 - are there unused capture cards, pick one of those, highest number
 first (as TV viewing is always done on video0)
 - if all are busy find a card where the show is to end now
 - otherwise pick an active card and use the normal conflict resolution
 code. (indeed this could use with some refining)

 Note: I am pretty sure I broke some system that handles interaction
 between TV viewing and recording.
 

 I'm interested to get some feedback from anybody who has tried Paul's
 changes, if some of you are using this and others want to use it then
 I'm more than happy to add the changes into rel-1.

 Duncan



 -
 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.phpp=sourceforgeCID=DEVDEV
 ___
 Freevo-users mailing list
 Freevo-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/freevo-users
   

-- 
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.phpp=sourceforgeCID=DEVDEV___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


[Freevo-users] update on parallel recording

2006-11-24 Thread Paul Sijben
I have been progressing my work on using multiple video devices to
record multiple programs at the same time.(eg with a PVR-500)

I have been making some improvements on conflict resolution and some
other details. I have been using it happily for quite a while now so I
am convinced the code is working well.

Note it (ab)uses the video groups to do its work, and I have not checked
any possible conflicts with TV viewing.

Is anyone interested in the patches?

Paul

-- 
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.phpp=sourceforgeCID=DEVDEV
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Freevo box over Compact Flash.

2006-11-17 Thread Paul Sijben
the M-series epia boards have hardware decompression for Mpeg2  4.
Linux today supports that hardware quite well out of the box. I can play
media while using less than 30% of my CPU.

I too have had an epia board die on me but that was my own fault, too
many HDs in a case with not enough airflow.
An additional (silent!) case fan solved that problem.

Paul

[EMAIL PROTECTED] wrote:
 Quoting Chris Thomas [EMAIL PROTECTED]:

   
 Rid you Freevo of all noise:

 1. Buy a fanless epia
 2. Buy a fanless psu, http://www.mini-box.com/s.nl/it.A/id.222/.f?category=13
 3. Net boot or boot off of a cf card or usb drive

 

 I'll pass on the EPIA. the fanless boards are unbelievably slow, and i 
 prefer to be able to play things like H.264 on my Freevo system. Even 
 the en-fanned, very loud EPIA boards are really, really slow.

 I've also personally seen 3 EPIA-M1's die right on my desk at work.

 I am not a fan of VIA boards after having worked at a company that 
 shipped a few thousand of them.

 I think the division of VIA that makes the EPIA just doesn't get it. 
 They want to position the board for multimedia, embedded, and 
 industrial use - but it's multimedia capabilities are sub par at best, 
 they're not reliable enough for embedded use, and they don't keep a 
 board on the market long enough for anyone to trust it as an industrial 
 solution.

 I am also not a fan of the power supplies that you end up using in 
 mini-itx cases. Not all power supplies work well with all boards, and 
 the quality control can be somewhat lacking.



 -
 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.phpp=sourceforgeCID=DEVDEV
 ___
 Freevo-users mailing list
 Freevo-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/freevo-users
   

-- 
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.phpp=sourceforgeCID=DEVDEV___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


[Freevo-users] freevo-mailreader plugin does not quite work under freevo 1.6 /python2.4

2006-11-14 Thread Paul Sijben
I have found that the mailreader plugin can show the subjects of the
mails in a pop3 box but reading it does not work (freevo freezes on the
clock icon).

Has anyone found out what causes this? (or am I the only one running
that plugin?)

Paul

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


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


[Freevo-users] 1.6 bug in record_types / String

2006-11-10 Thread Paul Sijben
I seem to be unable to record this show through the web-interface. See 
the debug output below.

Do I conclude correctly from this that String(prog) is barfing over the 
accented e in the title which it is trying to print because debugging is on?

---

2006/11/10 09:51 CET [HTTPChannel,373,127.0.0.1] findProg: 5, 1163145600
2006/11/10 09:51 CET [HTTPChannel,373,127.0.0.1] CHANNEL MATCH: 5
2006/11/10 09:51 CET [HTTPChannel,373,127.0.0.1] PROGRAM MATCH: Donna op één
2006/11/10 09:51 CET [HTTPChannel,373,127.0.0.1] 127.0.0.1 - - 
[10/Nov/2006:08:51:31 +] POST / HTTP/1.0 200 1395 - 
xmlrpclib.py/1.0.1 (by www.pythonware.com)
2006/11/10 09:51 CET [HTTPChannel,374,127.0.0.1] scheduleRecording: 
prog.channel_id=5 chan.id=5 chan.tunerid=12
2006/11/10 09:51 CET [HTTPChannel,374,127.0.0.1] GET: reading cached 
file (/var/cache/freevo/record_schedule.xml)
2006/11/10 09:51 CET [HTTPChannel,374,127.0.0.1] Return cached data
2006/11/10 09:51 CET [HTTPChannel,374,127.0.0.1] addProgram: key is 
5:1163145600
2006/11/10 09:51 CET [HTTPChannel,374,127.0.0.1] Traceback (most recent 
call last):
   File /usr/lib/python2.4/site-packages/twisted/web/http.py, 
line 601, in requestReceived
 self.process()
   File 
/usr/lib/python2.4/site-packages/twisted/web/server.py, line 160, in 
process
 self.render(resrc)
   File 
/usr/lib/python2.4/site-packages/twisted/web/server.py, line 167, in 
render
 body = resrc.render(self)
   File 
/usr/lib/python2.4/site-packages/twisted/web/xmlrpc.py, line 117, in 
render
 defer.maybeDeferred(function, *args).addErrback(
 --- exception caught here ---
   File 
/usr/lib/python2.4/site-packages/twisted/internet/defer.py, line 107, 
in maybeDeferred
 result = f(*args, **kw)
   File 
/usr/lib/python2.4/site-packages/freevo/helpers/recordserver.py, line 
775, in xmlrpc_scheduleRecording
 (status, response) = self.scheduleRecording(prog)
   File 
/usr/lib/python2.4/site-packages/freevo/helpers/recordserver.py, line 
264, in scheduleRecording
 scheduledRecordings.addProgram(prog, tv_util.getKey(prog))
   File 
/usr/lib/python2.4/site-packages/freevo/tv/record_types.py, line 58, 
in addProgram
 print 'addProgram: actually adding %s' % String(prog)
   File 
/usr/lib/python2.4/site-packages/twisted/python/log.py, line 331, in write
 d = (self.buf + data).split('\n')
 exceptions.UnicodeDecodeError: 'ascii' codec can't decode byte 
0xc3 in position 71: ordinal not in range(128)

-- 
Paul Sijben mailto:[EMAIL PROTECTED]
Amersfoort  http://www.sijben.net

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] PVR-150 data loss????

2006-11-10 Thread Paul Sijben
Well to make a very long story short. My problem was not interference
with xine, not em interference inside the case, but a problem with ivtv
driver 0.7.0.

It was hard to debug because the problem only appeared after many hours
of recording. Now I have upgraded to driver version 0.7.1 and applied
this patch to ivtv-streams.c

@@ -789,6 +789,9 @@
 IVTV_DEBUG_INFO(Disabling digitizer\n);
itv-card-video_dec_func(itv, VIDIOC_STREAMOFF, dummy);
 
+   /* give PVR150/500 cards 50ms to shut down the decoder stream */
+   ivtv_sleep_timeout(HZ / 20, 0);
+
 /* initialize or refresh input */
 if (atomic_read(itv-capturing) == 0)
 ivtv_vapi(itv, IVTV_API_INITIALIZE_INPUT, 0);


to address the audio problem.

I have been recording for many hours with both my TV cards and have not
seen a single glitch. So the problem seems to have been solved.

maybe this helps others as well.

Paul Sijben wrote:
 I am having some problems with my PVR-150 when I am recording a TV show 
 at the same time as playing another one. The recording has strange spots 
 in it, that I attribute to data loss in the mpeg stream. I do not have 
 it when I am not simultaneously playing a recording.

 The strange thing is that I do not have this with my PVR-350, also using 
 the ivtv driver.

 I can believe that xine playing an mpeg stream (on a unichrome system 
 with xxmc driver) will take sufficient CPU power to make a python thread 
 not be very prompt. However, losing data like that should happen in the 
 same way on a 350 too. Or does the 150 have much less buffer capacity?

 Or am I missing something else here?

 Paul
   

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


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] slingbox plugin?

2006-11-08 Thread Paul Sijben




Thanks. Have not managed to get the http interface of VLC to play ball.

I found real-time streaming might be a bit tricky as the conversion
between capture quality and something one might push out of the home
takes too much effort for the CPU.

Have you found a way to solve that issue by any chance?

Paul

mike lewis wrote:

  Video Lan combined with no-ip already does this.  Just set it up to
watch the record dir.

Mick

On 11/4/06, Paul Sijben [EMAIL PROTECTED] wrote:
  
  
Question: has anyone built a slingbox-like plugin. That allows me, when
I am away from home, have recorded TV, films or even live TV streamed to
me over the Internet via some suitably low-bitrate codec?
--
Paul Sijben mailto:[EMAIL PROTECTED]
Amersfoort  http://www.sijben.net

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


  
  
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users
  


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


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


[Freevo-users] PVR-150 data loss????

2006-11-07 Thread Paul Sijben
I am having some problems with my PVR-150 when I am recording a TV show 
at the same time as playing another one. The recording has strange spots 
in it, that I attribute to data loss in the mpeg stream. I do not have 
it when I am not simultaneously playing a recording.

The strange thing is that I do not have this with my PVR-350, also using 
the ivtv driver.

I can believe that xine playing an mpeg stream (on a unichrome system 
with xxmc driver) will take sufficient CPU power to make a python thread 
not be very prompt. However, losing data like that should happen in the 
same way on a 350 too. Or does the 150 have much less buffer capacity?

Or am I missing something else here?

Paul
-- 
Paul Sijben mailto:[EMAIL PROTECTED]
Amersfoort  http://www.sijben.net

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] freevo 1.6/ Ubuntu 6.10/EPIA/xine weirdness

2006-11-05 Thread Paul Sijben




Thanks for the tips. I tried mpeg2desc which gave this output on a 39
minutes show (half an hour + 5 mins padding fromt and back):
..
528ec80e: pes audio 0; length=2028; hdr=12; pts 2385.876 sec
528ed000: mpeg2 pack hdr, 2385.842 sec
528ed00e: pes video 0; length=2028; hdr=8; pts 2386.280 sec
.

so that is correct

mplayer concurs

I tried xine on FC5 and it also gives the wrong result So it looks to
be isolated to xine.

I guess I have to get the latest snapshot of xine to see if that solves
it...

Paul

Duncan Webb wrote:

  Paul Sijben wrote:
  
  
I have noticed two possibly related weirdnesses with xine in my freevo
1.6/ Ubuntu 6.10/VIA EPIA/TV-out PAL setup.

1) pressing fast forward on the remote is often not really responded to
very quickly
2) the program playing time is off a program of 84 minutes is displayed
as 69 minutes , 40 minutes displayed as 32) etc.

For point 2) this fraction is remarkably similar to 60/50. So my guess
is that xine tries to play out at 60 hz while the recording was at 50.
Possibly this makes it very distracted and unable to react quickly to my
inputs addressing problem 1)

Looking at xine's output and config files I see no reason why this
should happen. It does not complain other than that it can not talk to
gnome's d-bus.

My xine entries in local_conf.py are:

XINE_VO_DEV  = 'xxmc'
XINE_COMMAND = '%s  --install --hide-gui -pq -g -B --geometry %sx%s+0+0
--no-spl
ash' % \
  (CONF.xine, CONF.width, CONF.height)

# XINE_ARGS_DEF = '--no-lirc --post=pp:quality=10,expand'

# XINE_AO_DEV = 'oss' # alsa or oss
XINE_AO_DEV = 'alsa'

Does anyone have any idea what might cause this?

  
  
Your using an ivtv card, so I would first check that the SCRs (system
clock reference) are correct in the mpeg file.

Included with dvdauthor http://dvdauthor.sourceforge.net/ is a program
called mpeg2desc which can be used to print out the SCRs it says
something like pack hdr and then a time.

You can run it with
cat /path/to/mpegfile | mpeg2desc | tail -100
If the file is big it will take a while.

Other tools for analysing mpeg files are mpegcat from gopchop and I have
written another one called mpegcheck which you can get from
svn co http://svn.linuxowl.com/vbitools

mpegcat -V /path/to/mpegfile | head -20
tells you the frame rate.

When you're seen that everything is okay try using mplayer to see if the
file has the correct time, use the osd to see the times.

Duncan


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users
  


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


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] DVB recording questions

2006-11-05 Thread Paul Sijben




Harri,

I do not know anything about how DVB devices appear in Linux. However
if they appear as v4l devices /dev/videoX..X+n then you may benefit
from the multirecording posting I did to this list Friday night. That
was a quick patch for ivtv devices but you can take the same files and
apply a similar patch to the dvb plugin, I guess.

Paul

Dirk Meyer wrote:

  harri wrote:
  
  
I've been using freevo for some time now, but only now joined the mailing 
list.  I just installed 1.6.0, and have been playing with it for a day or so.
I had some setup trouble for 

DVB transmission stream for a given frequency carries typically multiple 
channels, and it is thus possible to record multiple channels simultaneously 
with a single tuner card.

  
  
Right.

  
  
Freevo configuration does not hint at any way to this possibility.  To my 
knowledge it is impossible to instruct freevo to record two or more channels 
(streams) simultaneously.  

  
  
Again, correct. Freevo 1.x can't do that. But 2.0 svn can.


Dischi

  
  

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
  

___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users
  


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


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] freevo 1.6/ Ubuntu 6.10/EPIA/xine weirdness

2006-11-05 Thread Paul Sijben




I have filed this as a bug with xine. Let's see what happens.

Paul

Paul Sijben wrote:

  
Thanks for the tips. I tried mpeg2desc which gave this output on a 39
minutes show (half an hour + 5 mins padding fromt and back):
..
528ec80e: pes audio 0; length=2028; hdr=12; pts 2385.876 sec
528ed000: mpeg2 pack hdr, 2385.842 sec
528ed00e: pes video 0; length=2028; hdr=8; pts 2386.280 sec
.
  
so that is correct
  
mplayer concurs
  
I tried xine on FC5 and it also gives the wrong result So it looks to
be isolated to xine.
  
I guess I have to get the latest snapshot of xine to see if that solves
it...
  
Paul
  
Duncan Webb wrote:
  
Paul Sijben wrote:
  

  I have noticed two possibly related weirdnesses with xine in my freevo
1.6/ Ubuntu 6.10/VIA EPIA/TV-out PAL setup.

1) pressing fast forward on the remote is often not really responded to
very quickly
2) the program playing time is off a program of 84 minutes is displayed
as 69 minutes , 40 minutes displayed as 32) etc.

For point 2) this fraction is remarkably similar to 60/50. So my guess
is that xine tries to play out at 60 hz while the recording was at 50.
Possibly this makes it very distracted and unable to react quickly to my
inputs addressing problem 1)

Looking at xine's output and config files I see no reason why this
should happen. It does not complain other than that it can not talk to
gnome's d-bus.

My xine entries in local_conf.py are:

XINE_VO_DEV  = 'xxmc'
XINE_COMMAND = '%s  --install --hide-gui -pq -g -B --geometry %sx%s+0+0
--no-spl
ash' % \
  (CONF.xine, CONF.width, CONF.height)

# XINE_ARGS_DEF = '--no-lirc --post=pp:quality=10,expand'

# XINE_AO_DEV = 'oss' # alsa or oss
XINE_AO_DEV = 'alsa'

Does anyone have any idea what might cause this?



Your using an ivtv card, so I would first check that the SCRs (system
clock reference) are correct in the mpeg file.

Included with dvdauthor http://dvdauthor.sourceforge.net/ is a program
called mpeg2desc which can be used to print out the SCRs it says
something like pack hdr and then a time.

You can run it with
cat /path/to/mpegfile | mpeg2desc | tail -100
If the file is big it will take a while.

Other tools for analysing mpeg files are mpegcat from gopchop and I have
written another one called mpegcheck which you can get from
svn co http://svn.linuxowl.com/vbitools

mpegcat -V /path/to/mpegfile | head -20
tells you the frame rate.

When you're seen that everything is okay try using mplayer to see if the
file has the correct time, use the osd to see the times.

Duncan


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users
  
  
  
  -- 
Paul Sijben mailto:[EMAIL PROTECTED]
Amersfoort, NL  http://www.sijben.net
tel:+31 334557522   fax:+31 33 4557523
  

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
  

___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users
  


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


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


[Freevo-users] freevo 1.6/ Ubuntu 6.10/EPIA/xine weirdness

2006-11-04 Thread Paul Sijben
I have noticed two possibly related weirdnesses with xine in my freevo
1.6/ Ubuntu 6.10/VIA EPIA/TV-out PAL setup.

1) pressing fast forward on the remote is often not really responded to
very quickly
2) the program playing time is off a program of 84 minutes is displayed
as 69 minutes , 40 minutes displayed as 32) etc.

For point 2) this fraction is remarkably similar to 60/50. So my guess
is that xine tries to play out at 60 hz while the recording was at 50.
Possibly this makes it very distracted and unable to react quickly to my
inputs addressing problem 1)

Looking at xine's output and config files I see no reason why this
should happen. It does not complain other than that it can not talk to
gnome's d-bus.

My xine entries in local_conf.py are:

XINE_VO_DEV  = 'xxmc'
XINE_COMMAND = '%s  --install --hide-gui -pq -g -B --geometry %sx%s+0+0
--no-spl
ash' % \
  (CONF.xine, CONF.width, CONF.height)

# XINE_ARGS_DEF = '--no-lirc --post=pp:quality=10,expand'

# XINE_AO_DEV = 'oss' # alsa or oss
XINE_AO_DEV = 'alsa'

Does anyone have any idea what might cause this?

Paul

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


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


[Freevo-users] multi-recording patch for 1.6

2006-11-03 Thread Paul Sijben
I got my second PVR card. So I now have a hauppauge PVR-350 and a PVR-150.

I hacked recordserver and ivtv_record (and a bit in channels) so make it
so that I can now record two channels at the same time!
 
I must say the hack was rather straightforward due to the good structure
of freevo! (kudos to the authors!)

The files are attached and will give the desired result with the
following in local_conf.py:

VIDEO_GROUPS = [
   VideoGroup(vdev=/dev/video0,
  adev=None,
  input_type='tuner',
#  input_num=0,
  tuner_norm=CONF.tv,
  tuner_chanlist=CONF.chanlist,
  desc='Cable',
  group_type='ivtv',
  record_group=None),
  VideoGroup(vdev=/dev/video1,
  adev=None,
  input_type='tuner',
#  input_num=0,
  tuner_norm=CONF.tv,
  tuner_chanlist=CONF.chanlist,
  desc='Cable',
  group_type='ivtv',
record_group=None)
   ]

Now I must say that I have cut some corners to get to this result this
quickly.

1) I assumed all cards are of the same type (ivtv).
2) I assumed conflicts would occur rarely now, so I simply kill the
first show on the first card in case of conflicts.
3) I don't watch TV through freevo so I am not too fussed if there now
is undesired interaction between TV viewing and recording (along the
lines of the lockfiles, I am sure I broke something there)

So I do not recommend these changes for inclusion into general codebase
as is. It will need some cleanup to make less assumptions about the
environment..

For the time being I plan to see if this works in practice. Anyone who
wishes to try the code just move the files attached to the correct
places (of course save the originals!!) and go ahead.

channels lives in tv
ivtv_record lives in tv/plugins
recordserver in helpers

enjoy

Paul

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

# -*- coding: iso-8859-1 -*-
# ---
# channels.py - Freevo module to handle channel changing.
# ---
# $Id: channels.py 8347 2006-10-11 08:37:57Z duncan $
#
# Notes:
# Todo:
#
# ---
# Freevo - A Home Theater PC framework
# Copyright (C) 2003 Krister Lagerstrom, et al. 
# Please see the file freevo/Docs/CREDITS for a complete list of authors.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of MER-
# CHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
# Public License for more details.
#
# You should have received a copy of the GNU General Public License along
# with this program; if not, write to the Free Software Foundation, Inc.,
# 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#
# --- */


import config, plugin
import tv.freq, tv.v4l2
import epg_xmltv
import threading
import time

DEBUG = config.DEBUG

# Sample for local_conf.py:
# Three video cards and one web camera.
#VIDEO_GROUPS = [
#VideoGroup(vdev='/dev/video0',
#   adev=None,
#   input_type='tuner',
#   tuner_type='external',
#   tuner_chan='3',
#   desc='Bell ExpressVu (for playing)',
#   record_group=1),
#VideoGroup(vdev='/dev/video1',
#   adev=None,
#   input_type='tuner',
#   tuner_type='external',
#   tuner_chan='3',
#   desc='Bell ExpressVu (for recording)',
#   record_group=None),
#VideoGroup(vdev='/dev/video2',
#   adev='/dev/dsp1',
#   input_type='tuner',
#   desc='ATI TV-Wonder (both playing and recording)',
#   record_group=None),
#VideoGroup(vdev='/dev/video3',
#   adev=None,
#   input_type='webcam',
#   desc='Logitech Quickcam',
#   record_group=None),
#]

class FreevoChannels:

def __init__(self):
self.chan_index = 0
self.lock = threading.Lock()

if config.plugin_external_tuner: 
plugin.init_special_plugin(config.plugin_external_tuner)


def getVideoGroup(self, chan, isplayer):

Gets the VideoGroup object used by this Freevo channel.

try:
self.lock.acquire()
group = 0

for i in range(len(config.TV_CHANNELS)):
chan_info = config.TV_CHANNELS[i]
if chan_info[2] == chan:
try:
group = int

[Freevo-users] slingbox plugin?

2006-11-03 Thread Paul Sijben
Question: has anyone built a slingbox-like plugin. That allows me, when 
I am away from home, have recorded TV, films or even live TV streamed to 
me over the Internet via some suitably low-bitrate codec?
-- 
Paul Sijben mailto:[EMAIL PROTECTED]
Amersfoort  http://www.sijben.net

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] ivtv and via unichrome tv-out interference???

2006-11-02 Thread Paul Sijben




I migrated my machine from FC2 (when setting this up was a royal pain)
to Ubuntu 6.10. On Ubuntu most of it was straightforward. 

Mind I am using the EPIA board for TV-out so the Hauppauge 350 (which
can do TV out too) is not blocked for recording while playing. 

Assuming the trip via the BIOS made something on the IVTV card reset,
it might be what really fixed my problem was the re-installation of the
ivtv formware from the ivtv install manual instead of the stuff that
the Ubuntu ivtv manual gave me.

For the rest the Ubuntu packages work well and have all the hardware
decoding drivers in them.Had to compile openunichrome though to get
hardware support for the video playing. You have to manually set
/etc/X11/XvMCconfic to libviaXvMC.so.1

Paul

Davin Desborough wrote:

  Quick question for a fellow EPIA user what distro did you use? I am 
currently trying EpiOS as it seemed the most straight forward route, but 
am having an issue with mplayer when called from Freevo. Its one of 
those fun cases where the arguments Freevo pass are working great when 
entered on a console, but fail when executed by Freevo (v1.6 btw).

Anyway, I'm still digging into that. My main question was to just find 
out what route you took to Freevo happiness.

Thanks,
Davin

Paul Sijben wrote:
  
  
I tried several cold and warm reboots but to no avail. Until going 
into the BIOS

weird...

Duncan Webb wrote:


  Paul Sijben wrote:
  
  
  
Hi all,

I expect more people on this list to have a Hauppauge ivtv capture card
on a via EPIA motherboard. So this might be of some help to someone.

After rebuilding the software on my freevo box I have just spent several
hours to get my Hauppauge 350 (ivtv) to record data. all looked Ok
except that it only gave me black mpegs. :-

In disgust I gave up for a moment to fix the TV out on my EPIA
motherboard with unichrome chipset  (It booted with CRT video out and
switched to S-video when going into X).

So I told the motherboard in BIOS to boot with TV out. Checked the BIOS
setting for anything that might hamper ivtv (such as ACPI), found none
and booted.

To my utter amazement, not only was my TV-out ok ALSO my ivtv problem
was over!

I do not know how this happened which makes filing bugreports somewhat
difficult. But if you run into this problem. Maybe fixing your video has
the same beneficial effect for you.


  
  Did you do a cold reboot? I've seem problems fixed only after powering
up after taking the power cable out and other problems fixed after a
warm reboot.

I can't possible imagine a relationship between ivtv and via
motherboards, except that VIA doesn't have a good name for reliable chips.

Duncan


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users
  
  

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


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642


___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users
  

  
  
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users
  


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


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly

[Freevo-users] freevo on UNichrome (was: Re: ivtv and via unichrome tv-out interference???)

2006-11-02 Thread Paul Sijben




Small addition:

make sure you select the right hardware accelerated vo devices for xine
and mplayer, in local_conf.py:

MPLAYER_VO_DEV = "xvidix"

XINE_VO_DEV = 'xxmc'


and put colorkey=0x00 in your .mplayer/config file
(haven't been able to make that work from local_conf.py but this works
just as well).



Paul


Paul Sijben wrote:

  
  
I migrated my machine from FC2 (when setting this up was a royal pain)
to Ubuntu 6.10. On Ubuntu most of it was straightforward. 
  
Mind I am using the EPIA board for TV-out so the Hauppauge 350 (which
can do TV out too) is not blocked for recording while playing. 
  
Assuming the trip via the BIOS made something on the IVTV card reset,
it might be what really fixed my problem was the re-installation of the
ivtv formware from the ivtv install manual instead of the stuff that
the Ubuntu ivtv manual gave me.
  
For the rest the Ubuntu packages work well and have all the hardware
decoding drivers in them.Had to compile openunichrome though to get
hardware support for the video playing. You have to manually set
/etc/X11/XvMCconfic to libviaXvMC.so.1
  
Paul
  
Davin Desborough wrote:
  
Quick question for a fellow EPIA user what distro did you use? I am 
currently trying EpiOS as it seemed the most straight forward route, but 
am having an issue with mplayer when called from Freevo. Its one of 
those fun cases where the arguments Freevo pass are working great when 
entered on a console, but fail when executed by Freevo (v1.6 btw).

Anyway, I'm still digging into that. My main question was to just find 
out what route you took to Freevo happiness.

Thanks,
Davin

Paul Sijben wrote:
  

  I tried several cold and warm reboots but to no avail. Until going 
into the BIOS

weird...

Duncan Webb wrote:

  
    Paul Sijben wrote:
  
  

  Hi all,

I expect more people on this list to have a Hauppauge ivtv capture card
on a via EPIA motherboard. So this might be of some help to someone.

After rebuilding the software on my freevo box I have just spent several
hours to get my Hauppauge 350 (ivtv) to record data. all looked Ok
except that it only gave me black mpegs. :-

In disgust I gave up for a moment to fix the TV out on my EPIA
motherboard with unichrome chipset  (It booted with CRT video out and
switched to S-video when going into X).

So I told the motherboard in BIOS to boot with TV out. Checked the BIOS
setting for anything that might hamper ivtv (such as ACPI), found none
and booted.

To my utter amazement, not only was my TV-out ok ALSO my ivtv problem
was over!

I do not know how this happened which makes filing bugreports somewhat
difficult. But if you run into this problem. Maybe fixing your video has
the same beneficial effect for you.



Did you do a cold reboot? I've seem problems fixed only after powering
up after taking the power cable out and other problems fixed after a
warm reboot.

I can't possible imagine a relationship between ivtv and via
motherboards, except that VIA doesn't have a good name for reliable chips.

Duncan


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users
  
  
  
  -- 
Paul Sijben mailto:[EMAIL PROTECTED]
Amersfoort, NL  http://www.sijben.net
tel:+31 334557522   fax:+31 33 4557523


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642


___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users
  



-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Freevo-users mailing list
Fr

Re: [Freevo-users] ivtv and via unichrome tv-out interference???

2006-11-02 Thread Paul Sijben




correct. It has only one pipeline of mpeg hardware.

alberto hernando wrote:

  
  

Mind I am using the EPIA board for TV-out so the Hauppauge 350 (which
can do TV out too) is not blocked for recording while playing. 

  
  
  
Does this mean that the card can't record and while tv-out is working?
  
Alberto
  

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
  

___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users
  


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


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


[Freevo-users] VIDEO_GROUPS in 1.6

2006-11-02 Thread Paul Sijben
I am expecting my second capture card today (also ivtv) and have been
reading up on the Wiki on how to configure that to get two shows to be
recorded at the same time. The text in the wiki did not help me much so
I looked at the source.

   fc = FreevoChannels()
   if DEBUG: print 'CHAN: %s' % fc.getChannel()

  (v_norm, v_input, v_clist, v_dev) = config.TV_SETTINGS.split()

   v = tv.ivtv.IVTV(v_dev)

   v.init_settings()
   vg = fc.getVideoGroup(self.prog.tunerid, False)

   if DEBUG: print 'Setting Input to %s' % vg.input_num
   v.setinput(vg.input_num)

   if DEBUG: print 'Setting Channel to %s' % self.prog.tunerid
   fc.chanSet(str(self.prog.tunerid), False)

 This suggests to me that the capture device is tied to a channel and
not allocated dynamically based on availability. Is that correct? Or am
I simply missing something and can I get what I want with a suitably
crafted VIDEO_GROUPS construct?

Paul

 

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


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] VIDEO_GROUPS in 1.6

2006-11-02 Thread Paul Sijben




OK thanx so I won't spend more time looking :-)

Let's see if I can hack it into 1.6 because I really start to need it.

Paul

Duncan Webb wrote:

  Paul Sijben wrote:
  
  
I am expecting my second capture card today (also ivtv) and have been
reading up on the Wiki on how to configure that to get two shows to be
recorded at the same time. The text in the wiki did not help me much so
I looked at the source.

   fc = FreevoChannels()
   if DEBUG: print 'CHAN: %s' % fc.getChannel()

  (v_norm, v_input, v_clist, v_dev) = config.TV_SETTINGS.split()

   v = tv.ivtv.IVTV(v_dev)

   v.init_settings()
   vg = fc.getVideoGroup(self.prog.tunerid, False)

   if DEBUG: print 'Setting Input to %s' % vg.input_num
   v.setinput(vg.input_num)

   if DEBUG: print 'Setting Channel to %s' % self.prog.tunerid
   fc.chanSet(str(self.prog.tunerid), False)

 This suggests to me that the capture device is tied to a channel and
not allocated dynamically based on availability. Is that correct? Or am
I simply missing something and can I get what I want with a suitably
crafted VIDEO_GROUPS construct?

  
  
Correct, the multi-tuner support in freevo 1 series is only to allow
recording and watching simultaneously. AFAIK freevo 2 will allow
recording from two or more cards simultaneously.

Duncan


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users
  


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


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


  1   2   3   4   5   >