Re: [Freevo-users] HELP !!

2009-02-18 Thread Adam Charrett
On Wed, February 18, 2009 7:47 am, rahul G wrote:
   Hi All..
   I am using pinnacle 5i (DVB-T) card.And I am using xine
 player for play pause utility.But my xine player is working with xine
 v4l:// command...but it is not working with xine v4l://
 command.when I run this command it show there is no channels.conf
 file.Can any one knows about channels.conf for india.Or anu one is
 havinf ieda how to run xine for DVB-t card without using channels.conf
 file..?

 Thanks In Advance.
 Rahul Gosavi

Hi Rahul,

If you are talking about the tv.xine plugin this does not support live
pause. tv.ivtv_xine (for IVTV based PVR cards) and the tv.livepause plugin
both support live pause. If you want live pause with DVB you will need to
use the tv.livepause plugin (and tv.dvbstreamer.record for recording). 
For this you will also need to get and build/install dvbstreamer (from
www.dvbstreamer.org).  If however you just want live tv (no pause) you can
use tv.xine.

In both case you will need to generate a channels.conf using the linuxtv
scan utility. This takes a configuration file specify where the signals
are, unfortunately while there appears to be lots of example config files
for Europe and Australia and New Zealand there doesn't appear to be any.

Not a big problem as you can use the w_scan utility to generate the
channels.conf file it just takes a little longer:

w_scan -X  channels.conf

Once you've done that for the tv.xine plugin copy the channels.conf to
~/.xine
For tv.livepause you will need to setup dvbstreamer and then start it:

(this only needs to be done once)
setupdvbstreamer -t channels.conf

followed by (every boot):

dvbstreamer -d

You will also need to configure your TV_CHANNELS in local_conf.py (for
both plugins)

For info on TV Plugins:
http://doc.freevo.org/TvPlugins

and here for configuring freevo for TV:
http://doc.freevo.org/TVConfig

cheers

Adam


--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


[Freevo-users] VDPAU - full HD playback using an NVidia card and lower speed CPU.

2009-02-18 Thread Stephen Rowles
Hi all,

I heard about this today in response to my post asking about HDMI output
on Linux, having seen the 5 letters I decided to look it up:

http://en.wikipedia.org/wiki/VDPAU

This looks very good apparently there is already support in xine and ffmpeg.

OSD effects, de-interlace, h.264 decode etc. can all be handed off to an
appropriate NVidia GPU (and in fact I can pick up a fanless one that
supports VDPAU on Linux for about £40 for a PCI-E card).

This looks perfect for media playback allowing HD even with a very slow
processor (according to Phoronix):

http://www.phoronix.com/scan.php?page=articleitem=nvidia_vdpau_gpunum=1

So anyone wanting to build an HD capable system, this could be a cheap,
lower power and lower noise solution.

Hopefully the graphics system for Freevo2 will be able to take advantage
of this API to accelerate the output and provide shiny OSD display etc :)

The mythtv wiki page as a good list of supported cards and the state of
the drivers:

http://www.mythtv.org/wiki/VDPAU


--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] HDMI output with audio in Linux?

2009-02-18 Thread Stephen Rowles
Awesome - thank you! I had not heard of VDPAU.. so looked it up and it
looks perfect, with a new graphics card my AMD LE1000 might even play back
HD h.264 content - WOW.


 I have one from MSI, model N9500GT-MD512Z, Nvidia 9500 fanless. It was
 only
 one I found with heatsink on oposite side of gpu, so it do not waste
 adjacent slot on motherboard. Card has HDMI out and small connector on
 board
 and cable included to connect to digital audio. I connected it to onboard
 SPDIF in parallel to my optical out (little soldering ;) So, at the end
 telly have picture and sound through hdmi. Motherboard - Asus A8N-VM CSM.
 Audio seems to work but not for everything. Recorded DVBs have sound
 crippled, but since my amplifier works fine with the very same content, I
 suppose my telly is one to blame. Haven't dug deeper yet.
 Btw, hope to get VDPAU working on this card ;)
 Reggie
 --
 Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco,
 CA
 -OSBC tackles the biggest issue in open source: Open Sourcing the
 Enterprise
 -Strategies to boost innovation and cut costs with open source
 participation
 -Receive a $600 discount off the registration fee with the source code:
 SFAD
 http://p.sf.net/sfu/XcvMzF8H___
 Freevo-users mailing list
 Freevo-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/freevo-users




--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] [Freevo-devel] VDPAU - full HD playback using an NVidia card and lower speed CPU.

2009-02-18 Thread Jonathan Isom

ASUS m3a78 mothorboard
AMD Athlon64 X2 Dual Core Processor 6000+ 3.1Ghz
Gigabyte NVidia 9400gt  Graphics adapter
Kworld ATSC 110 TV Capture Card
Kworld ATSC 115 TV Capture Card




On Wed, Feb 18, 2009 at 8:27 AM, Jason Tackaberry t...@urandom.ca wrote:
 On Wed, 2009-02-18 at 13:16 +, Stephen Rowles wrote:
 Hopefully the graphics system for Freevo2 will be able to take advantage
 of this API to accelerate the output and provide shiny OSD display etc :)

 Maybe.

 I have tested the Freevo 2 video pipeline with VDPAU and there are some
 problems.  In order to use VDPAU we would need to use
 GLX_EXT_texture_from_pixmap in order to pull the video frame into a
 texture we can use within clutter.

 On NVIDIA cards using Xv this works quite well.  However with VDPAU,
 there is some sluggishness (dropped frames).  An NVIDIA 8500GT can do
 24p ok, and an 8600GT seems to be able to do 30p without dropped frames.
 (This is with 2x AA.)  But 60p is out of the question, at least with the
 8600.  I have not tested any 9000 series, but based on specs alone, I
 think a 9400 would behave about as well as an 8500.

 It seems that after VDPAU there is very little headroom left on the GPU
 to allow for GLX_EXT_texture_from_pixmap.

 Hopefully they do some optimization work.  Alternatively, maybe there's
 some way to share textures between processes.  (If there is, it would
 almost certainly require patching the player.)

Here is a thread that may be of interest.
http://www.nvnews.net/vbulletin/showthread.php?t=126994highlight=vdpau

 --
 Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
 -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
 -Strategies to boost innovation and cut costs with open source participation
 -Receive a $600 discount off the registration fee with the source code: SFAD
 http://p.sf.net/sfu/XcvMzF8H
 ___
 Freevo-devel mailing list
 freevo-de...@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/freevo-devel


--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] freevo-pos patch with vertical layout

2009-02-18 Thread francesco
As for now I solved the issue using freevo in windowed mode under
windowmaker. I configured the window manager not to show the border
and title of the window and now it seems like freevo is working in
fullscreen.

But still no real solution to the problem of the position switch...

francesco

On Sun, Feb 15, 2009 at 17:13, come se fosse antani ant...@gmail.com wrote:
 On Sun, Feb 15, 2009 at 09:01, Duncan Webb dun...@freevo.org wrote:
 francesco wrote:
 Hi.
 I'm using a 40'' LCD (1920x1080) hooked up with freevo. For a project
 I'll have to put the LCD in a vertical position.
 I successfully rotated the X output with xrandr (either -o right or
 --output VGA --rotate right) and modified the freevo.conf (with
 geometry = 1080x1920). When running freevo in window, the window
 places itself correctly.

 The problem is with freevo when running in fullscreen; freevo places
 its fullscreen output in the center of the screen leaving a black bar
 on its left side. So the picture doesn't start at the top left corner
 of the screen (remember I rotated the output with randr clockwise and
 the LCD phisically counterclockwise!)

 According to patch 1869969 freevo placement support
 http://sourceforge.net/tracker/index.php?func=detailgroup_id=46652atid=446898aid=1869969.
 freevo 1.8.1 (the version I'm using under xubuntu) should include a
 new placement support.

 I just can't understand how to exploit this feature when using a
 vertical screen.
 I uploaded some pictures to explain the issue better than my english,

 freevo with the rotated output through xrandr and in windowed mode
 http://www.flickr.com/photos/orangeek/3278546877/
 freevo with the rotated output through xrandr and in fullscreen mode
 [here you can see the issue I'm having]
 http://www.flickr.com/photos/orangeek/3278546885/

 freevo with a non rocdparanoia = /usr/bin/cdparanoia
 tated output and in windowed mode
 http://www.flickr.com/photos/orangeek/3278546895/
 freevo with a non rotated output and in fullscreen
 http://www.flickr.com/photos/orangeek/3278546895/

 do you have any hint?

 Try adding a position = 10,20 to freevo.conf; the actual position
 depends on your set-up.

 I have tried but nothing changes. it seems like freevo doesn't
 consider the 'positiion' switch.
 here is my freevo.conf
 chanlist = italy
 display = x11
 position = 200,200
 geometry = 1080x1920
 lsdvd = /usr/bin/lsdvd
 mplayer = /usr/bin/mplayer
 renice = /usr/bin/renice
 setterm = /usr/bin/setterm
 tv = pal
 unzip = /usr/bin/unzip
 version = 2.2
 xine = /usr/bin/xine

 I also tried with rather inusual values in position = , but nothing happens.

 thank you


--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] [Freevo-devel] VDPAU - full HD playback using an NVidia card and lower speed CPU.

2009-02-18 Thread Jason Tackaberry
On Wed, 2009-02-18 at 08:32 -0600, Jonathan Isom wrote:
  Hopefully they do some optimization work.  Alternatively, maybe there's
  some way to share textures between processes.  (If there is, it would
  almost certainly require patching the player.)
 
 Here is a thread that may be of interest.
 http://www.nvnews.net/vbulletin/showthread.php?t=126994highlight=vdpau

It looks like the method described in this thread is single process (the
process that does the display is the same process that does the
decoding).

Freevo's design moves decoding into a separate process.  With MPlayer
this is obvious, but we do this even with libxine.  Video decoding has
the unhappy reality of being less than robust, and it's not a good thing
for a corrupt video to crash the whole UI.

Jason.


--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] freevo 1.8 memory usage when viewing images

2009-02-18 Thread Duncan Webb
Duncan Webb wrote:
 Francisco Eduardo Álvarez Solano wrote:
 A quick test on a directory of 111 photos (2816x2112) the memory goes
 up from 260MB to 540MB until the cursor is being moved around to the
 next page then memory goes up to 720MB. Moving back a page then the
 memory remains at 720MB.

 Then going to audio the memory goes down to 715MB.

 Not sure quite what the problem is, can you give a bit more detail?
 I've made a directory with 63 photos (3264x2448). When I enter the
 directory with Freevo 1.8.3, the memory raises to 813-900Mb, and when
 I try to go to the next page, Freevo crashes. If I try with a
 directory with less photos, changing from one page to another lasts
 several seconds.

 If I do the same test with Freevo 1.8.2, the memory footprint stands
 without change, and I can navigate through the directory quickly and
 without any problem.

 I'll send several screenshots of Freevo 1.8.3 and Freevo 1.8.2 with
 gnome system monitor in which you can see the memory and cpu
 footprint.
 
 When I check the code differences between 1.8.2 and 1.8.3 there are
 quite a few changes to the osd.py module that deals with images. Will
 you try taking the 1.8.2 osd.py module and replace it the 1.8.3
 site-packages (remove the osd.pyc) and then see what happens?
 
 Attached is a patch that deletes temporary images, which may help.

Attached is a patch that should reduce the memory and speed up the
display of images, it may not be 100% correct yet (lack of rotation and
using the thumbnails for the full image).

The thumbnails can be generated with the helper mkimagemrss and the
size of the thumbnail can be controlled with: WWW_IMAGE_THUMBNAIL_SIZE.

The patch applied to 1.8.3 with some fuzzy offsets.

Will you try this and provide some information if it helps.

Duncan
Index: src/skins/main/skin_utils.py
===
--- src/skins/main/skin_utils.py	(revision 11318)
+++ src/skins/main/skin_utils.py	(working copy)
@@ -66,7 +66,8 @@
 
 @benchmark(benchmarking  0x08, benchmarkcall)
 def format_image(settings, item, width, height, force=0, anamorphic=0):
-#print 'format_image(settings=%r, item=%r, width=%r, height=%r, force=%r, anamorphic=%r)' % (settings, item, width, height, force, anamorphic)
+_debug_('format_image(settings=%r, item=%r, width=%r, height=%r, force=%r, anamorphic=%r)' % \
+(settings, item, width, height, force, anamorphic), 2)
 
 try:
 type = item.display_type
@@ -79,7 +80,7 @@
 type = ''
 
 
-item_image=Unicode(item.image)
+item_image = Unicode(item.image)
 
 cname = '%s-%s-%s-%s-%s-%s-%s' % (settings.icon_dir, item_image, type, item.type, width, height, force)
 
@@ -104,15 +105,23 @@
 if not os.path.exists(item.image):
 return None, 0, 0
 
+for folder in ('.thumbs', '.images'):
+image_parts = os.path.split(item.image)
+imagefile = os.path.join(image_parts[0], folder, image_parts[1])
+if os.path.exists(imagefile):
+break
+else:
+imagefile = item.image
+print 'thumb://%s' % (item.image,)
 image = load_imagecache['thumb://%s' % item.image]
 if not image:
-image = osd.loadbitmap(item.image)
+image = osd.loadbitmap(imagefile)
 load_imagecache['thumb://%s' % item.image] = image
 
 if not item['rotation']:
 try:
-f=open(item.image, 'rb')
-tags=exif.process_file(f)
+f = open(imagefile, 'rb')
+tags = exif.process_file(f)
 f.close()
 if tags.has_key('Image Orientation'):
 orientation = tags['Image Orientation']
--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users