[Freevo-users] Re: Playing Shoutcast/Icecast Streams
From: Justin [EMAIL PROTECTED].net Re: Playing Shoutcast/Icecast Streams 2005-03-07 17:37 On Mon, 2005-03-07 at 10:28 +0800, Ow Mun Heng wrote: Hi All, Whats the best way to actually be able to play Internet Radio? eg: Shotcast/Icecast Streams. I noticed the plugin shoutcast grabber.pl but am unsure how to use it. Can anyone help me out with this? ps: I dont want to run a icecast server. I added the following line to my AUDIO_ITEMS section ; (WebRadio, /home/freevo/fxd/webradio.fxd), Location of the fxd file is wherever you want, but the fxd file contains the info for each radiostation. Like so; ... [SNIP] . The only problem I appear to have with this system is forcing the webradio audio to use my digital out hwplug from my soundcard, whereas all my other movies and music use digital flawlessly. (*shrug*) Thanks Justin, It worked perfectly. The only thing which is not working perfectly is unfortunately the Audio Stream played by either Mplayer or fbxine. There seems to be cracks and hisses in the stream when played from xine. Is there another alternative for this?? (trying it out from my laptop using xine cracks and hisses, xmms is fine.) -- Ow Mun Heng Gentoo/Linux on DELL D600 1.4Ghz 98% Microsoft(tm) Free!! Neuromancer 19:21:30 up 10:11, 8 users, load average: 0.22, 0.31, 0.35 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ Freevo-users mailing list Freevo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-users
Re: [Freevo-users] Re: Playing Shoutcast/Icecast Streams
On Tue, 2005-03-08 at 19:31 +0800, Ow Mun Heng wrote: From: Justin [EMAIL PROTECTED].net Re: Playing Shoutcast/Icecast Streams 2005-03-07 17:37 On Mon, 2005-03-07 at 10:28 +0800, Ow Mun Heng wrote: Hi All, Whats the best way to actually be able to play Internet Radio? eg: Shotcast/Icecast Streams. I noticed the plugin shoutcast grabber.pl but am unsure how to use it. Can anyone help me out with this? ps: I dont want to run a icecast server. I added the following line to my AUDIO_ITEMS section ; (WebRadio, /home/freevo/fxd/webradio.fxd), Location of the fxd file is wherever you want, but the fxd file contains the info for each radiostation. Like so; ... [SNIP] . The only problem I appear to have with this system is forcing the webradio audio to use my digital out hwplug from my soundcard, whereas all my other movies and music use digital flawlessly. (*shrug*) Thanks Justin, It worked perfectly. The only thing which is not working perfectly is unfortunately the Audio Stream played by either Mplayer or fbxine. There seems to be cracks and hisses in the stream when played from xine. Is there another alternative for this?? (trying it out from my laptop using xine cracks and hisses, xmms is fine.) Does it crack and hiss over the top of the broadcast? or do you only get cracks and hisses? If you only get cracks and hisses then I suspect (only maybe) that your audio setup could be trying to passthrough into a non-digital receiver (or some other such mismatch). It could well be similar to the problem I am having. Xmms also works perfectly for me in digital, but only with certain stream types (xmms does not handle them all). In my case I would prefer to use mplayer, as it supports all the stream types. Unfortunately there appears to be a problem with the webradio plugin in freevo, where it does not pay attention to /home/user/.mplayer/config default settings, nor the default settings in the freevo video section. There may be an easy way to set webradio mplayer settings.. I just haven't seen it documented. If anyone has a clue on this, some enlightenment would be appreciated. -Justin -- Justin [EMAIL PROTECTED] --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ Freevo-users mailing list Freevo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-users
[Freevo-users] mencoder eats my cpu
Hi. I'm trying recording with freevo from my bt8x8 card. It seems to work fine, but it eats more than 50% of my cpu. It's a 3GHz pentium-iv. I'd like to get good quality, but without frying my cpu, as I'd like it to be quiet too. This is how mencoder is executed: /usr/local/bin/mencoder tv:// -tv driver=v4l2:input=0:norm=pal:channel=44:chanlist=europe-west:width=768:height=576:outfmt=yuy2:device=/dev/video0:adevice=/dev/dsp:audiorate=32000:forceaudio:forcechan=1:buffersize=64 -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=1200:keyint=30 -oac mp3lame -lameopts br=128:cbr:mode=3 -ffourcc divx -endpos 1138 -o /mnt/video/03-08_15:45_El_cor_de_la_ciutat.avi What do you use to get good quality and less cpu usage? Alberto --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ Freevo-users mailing list Freevo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-users
Re[4]: [Freevo-users] Freevo fullscreen and X in dual screen setup
Hello Shawn, Saturday, February 26, 2005, 6:42:32 AM, you wrote: SD Have you tried using two X servers with different xorg.conf files SD being loaded? One with mouse and the other without. I have one graphic card (GeForce4 MX440). So it will be no output to both TV and monitor in same time. I mean it will be no output on TV while I am using first X server (monitor) or no output to monitor when I switch to second one (TV). SD On Fri, 25 Feb 2005 14:42:49 +0200, Andriy Kulchytskyy SD [EMAIL PROTECTED] wrote: Hello Rob, Wednesday, February 23, 2005, 4:31:14 PM, you wrote: [...] RS Try this patch to pygame. I can't test it at all but it compiles on my RS machine. This will make pygame's mouse module bail on init if RS SDL_NOMOUSE is set. This may make other bad things happen I don't know. RS If so you will have to find somewhere else in pygame to do this. When RS pygame.init() is called it just calls init() on some other pygame RS modules. I think we call pygame.init() (src/osd.py) but instead maybe RS we could call pygame.display.init() and init() on anything else we need RS (explicitly). I seem to remember doing this before but running into RS problems. RS Index: src/mouse.c RS === RS RCS file: /home/cvspsrv/cvsroot/games/pygame/src/mouse.c,v RS retrieving revision 1.11 RS diff -u -r1.11 mouse.c RS --- src/mouse.c 23 Oct 2003 17:17:17 - 1.11 RS +++ src/mouse.c 23 Feb 2005 14:28:28 - RS @@ -340,6 +340,9 @@ RS PYGAME_EXPORT RS void initmouse(void) RS { RS + if (getenv(SDL_NOMOUSE) != NULL) RS + return; RS + RS PyObject *module, *dict; RS /* create the module */ With this patch pygame will fail to import module pygame.mouse. However I have tried to cut off import pygame.mouse in /usr/lib/python2.3/site-packages/pygame/__init__.py to force not to load mouse module. Also I cut off all pygame.mouse.* calls from freevo. No luck. Mouse still lives and is locked in freevo window. So the conclusion is that mouse is initialized even we don't init python mouse module. One more investigation - SDL_NOMOUSE environment variable is only used in some SDL frame buffer drivers and have no effect to x11 or xv. Looks like there is no way to disable mouse, not in pygame, and seems to me, not in SDL. The only way to disable it is xorg.conf, but this will disable mouse on all displays and is not a reasonable solution. Alternative investigation direction is not disable mouse, but free from window locking. I found some strange pygame method: http://www.pygame.org/docs/ref/pygame_event.html#set_grab pygame.event.set_grab(bool) - None Grabs all mouse and keyboard input for the display. Grabbing the input is not neccessary to receive keyboard and mouse events, but it ensures all input will go to your application. It also keeps the mouse locked inside your window. Set the grabbing on or off with the boolean argument. It is best to not always grab the input, since it prevents the end user from doing anything else on their system. I have tried to call pygame.event.set_grab(0) somewhere after pygame.mouse.set_visible(1) in osd.py. But still no luck. Any other ideas? -- Best regards, Andriymailto:[EMAIL PROTECTED] --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ Freevo-users mailing list Freevo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-users
[Freevo-users] Re: adding menu events to remote
Jaap Struyk wrote: Op vr 04-03-2005, om 13:29 schreef Dirk Meyer: It's the mediamenu plugin and it is activated when the special media directories are activated. E.g. plugin.activate('image') activate the image mimetype plugin and that plugin activates the image menumenu. So I have to write a event_handler for every entry (video,audio,image,games) into mediamenu.py? No (I think). What do you want to do? Dischi -- My mind not only wanders, sometimes it leaves completely. pgp0hJ7Hzp6By.pgp Description: PGP signature
Re: [Freevo-users] mencoder eats my cpu
Alberto Hernando wrote: Hi. I'm trying recording with freevo from my bt8x8 card. It seems to work fine, but it eats more than 50% of my cpu. It's a 3GHz pentium-iv. I'd like to get good quality, but without frying my cpu, as I'd like it to be quiet too. This is how mencoder is executed: /usr/local/bin/mencoder tv:// -tv driver=v4l2:input=0:norm=pal:channel=44:chanlist=europe-west:width=768:height=576:outfmt=yuy2:device=/dev/video0:adevice=/dev/dsp:audiorate=32000:forceaudio:forcechan=1:buffersize=64 -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=1200:keyint=30 -oac mp3lame -lameopts br=128:cbr:mode=3 -ffourcc divx -endpos 1138 -o /mnt/video/03-08_15:45_El_cor_de_la_ciutat.avi What do you use to get good quality and less cpu usage? Alberto --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ Freevo-users mailing list Freevo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-users Here is my mencoder command, it uses like 35% of my 1ghz celeron. mencoder tv:// -tv driver=v4l:input=0:norm=ntsc:channel=10:chanlist=us-cable:width=320:height=240:outfmt=yuy2:device=/dev/video0:adevice=/dev/dsp1:audiorate=48000:forceaudio:forcechan=1:buffersize=64 -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=4000:keyint=23 -oac mp3lame -lameopts br=128:cbr:mode=3 -ffourcc divx -endpos 3619 -o output.ext I see that you are recording at 768x576, I bet that is the main problem. I have played with these settings quite a bit and the audiorate doesnt really change the cpu usage. So I would play around with width, height, vbitrate, and keyint and see what you can change to make it use less CPU. As a recommendation, i'd record at 384x288, that will really cut down om the CPU usage. --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ Freevo-users mailing list Freevo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-users
[Freevo-users] Freevo/Emulator issues
I'm using fakenes for NES emulation (mostly becuase it runs way better than fceu). When I run a X windows session and run fakenes it runs great, but when I run fakenes through freevo it is 25x slower, unless I turn of the sound. Please help. --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ Freevo-users mailing list Freevo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-users
Re: [Freevo-users] mencoder eats my cpu
tir, 08 03 2005 kl. 16:06 +0100, skrev Alberto Hernando: Hi. I'm trying recording with freevo from my bt8x8 card. It seems to work fine, but it eats more than 50% of my cpu. It's a 3GHz pentium-iv. I'd like to get good quality, but without frying my cpu, as I'd like it to be quiet too. This is how mencoder is executed: /usr/local/bin/mencoder tv:// -tv driver=v4l2:input=0:norm=pal:channel=44:chanlist=europe-west:width=768:height=576:outfmt=yuy2:device=/dev/video0:adevice=/dev/dsp:audiorate=32000:forceaudio:forcechan=1:buffersize=64 -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=1200:keyint=30 -oac mp3lame -lameopts br=128:cbr:mode=3 -ffourcc divx -endpos 1138 -o /mnt/video/03-08_15:45_El_cor_de_la_ciutat.avi What do you use to get good quality and less cpu usage? Alberto Recording in Fullframe square D1 is a cpuhog. as a general guideline, the number of pixels is almost linear propartional to the processing time required. So simple reduce the number of pixels by 2, and your cpuload will drop to half.. Also, with regards to playing back the video, horizontially rectangular pixels is less visible than vertiacally rectangular. In other words, 384x576 seems less grainy than 768x288. This is especially true on tv sets, which blurs horizontially more than vertically. This alos leads to the fact than tv's dont use square pixels. thats why PAL Fullframe D1 is actually 720x576, and not 768x576 which is square pixels more suited for monitors. This effects is also used on low-res DVDs (Half-res) which uses 352x576, and Quarter-res 352x288. These should all be scaled to an aspect ratio of 4/3 (or 16/9 depending on content.. ). hmm.. lots of details here.. I can go into more if anyone wants it, but I'll cut it short here and give you my mencoder line. It records in 352x576, which is autostretched by mplayer to 768x576, which makes for excellent video quality on regular tv-sets. Also it includes option which allows it to pack it all into about 700Mb pr. hour in decent quality. ( I only record tv-shows, so I'd rather have a large base than super quality... doubling the bitrate pretties the picture up a bit. ). It uses about 67%cpu on a Athlon 700. Of course its not HDTV or DVD quality.. but If thats what you wanted, I wouldn't think youve bought a bt8x8 card ;) nice -n -17 /usr/bin/mencoder tv:// -oac mp3lame -lameopts cbr:br=128:mode=3 -force-avi-aspect 1.33 -ovc lavc -vf pp=lb/al -lavcopts vcodec=mpeg4:vbitrate=1650:mbd=1:vqmin=2:vlelim=-4:vcelim=7:lumi_mask=0.15:dark_mask=0.07:vqcomp=0.5:vqblur=0.2:mpeg_quant:keyint=50 -ffourcc divx -noskip -tv driver=v4l2:outfmt=yv12:input=0:width=352:height=576:device=/dev/video0:norm=pal:chanlist=europe-west:channel=S11:adevice=/dev/dsp1:audiorate=44100:buffersize=64 -endpos 3649 -o recording.avi notice the nice value, which removes framedrops but renders the rest of the system very slow. Also notice the -vf pp=al/lb, which makes the colors pretty and deinterlaces the picture. I notice you're from europe, so your signal is very likely interlaced, hence you might want deinterlacing. (this is another long story on how to handle this I will spare you ;) but you can encode the interlaced picture which plays nicer on interlaced tv's ) Hope you all enjoyed my rant :) maybe I should type up an article for the web or wiki on this topic :) - Jesper -- PGP/GnuPG key available at http://www.control.aau.dk/~jsma00/pgpkey.txt signature.asc Description: Dette er en digitalt underskrevet brevdel
Re: [Freevo-users] Freevo/Emulator issues
On Tue, 08 Mar 2005 12:37:31 -0800 Ryan Roth [EMAIL PROTECTED] wrote: I'm using fakenes for NES emulation (mostly becuase it runs way better than fceu). When I run a X windows session and run fakenes it runs great, but when I run fakenes through freevo it is 25x slower, unless I turn of the sound. Please help. Ask again tomorrow, we only pay attention to people with matching initials on Wednesdays. --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ Freevo-users mailing list Freevo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-users
Re: [Freevo-users] Freevo/Emulator issues
Wow, thanks that was extremely helpful. --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ Freevo-users mailing list Freevo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-users
Re: [Freevo-users] Freevo/Emulator issues
On Tue, 08 Mar 2005 14:47:41 -0800 Ryan Roth [EMAIL PROTECTED] wrote: Wow, thanks that was extremely helpful. I was making light of the fact that if your question wasn't well enough formed to illicit a response yesterday, you should have no reason to believe that the same question verbatim should work today. What i was hoping someone would point out is that you've handed us a question that relates to a field where there hasn't been a lot of focus lately, and you didn't give us enough detail to even guess. I was only aware of people using zsnes with freevo because it can output through sdl, which means by extension that i can use it with dfbmga, which is the only way i use freevo, and thus the only snes emulator I'm at all interested in using with freevo. So questions regarding fakenes are greek to me. So that's why i wasn't helpful. You say fakenes is fast in X, what are you running freevo under? We need a lot more detail. --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ Freevo-users mailing list Freevo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-users
Re: [Freevo-users] Freevo/Emulator issues
Eric Jorgensen wrote: On Tue, 08 Mar 2005 14:47:41 -0800 Ryan Roth [EMAIL PROTECTED] wrote: Wow, thanks that was extremely helpful. I was making light of the fact that if your question wasn't well enough formed to illicit a response yesterday, you should have no reason to believe that the same question verbatim should work today. What i was hoping someone would point out is that you've handed us a question that relates to a field where there hasn't been a lot of focus lately, and you didn't give us enough detail to even guess. I was only aware of people using zsnes with freevo because it can output through sdl, which means by extension that i can use it with dfbmga, which is the only way i use freevo, and thus the only snes emulator I'm at all interested in using with freevo. So questions regarding fakenes are greek to me. So that's why i wasn't helpful. You say fakenes is fast in X, what are you running freevo under? We need a lot more detail. --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ Freevo-users mailing list Freevo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-users I use Advancemame (MAME), Advancemess (NES SMS), zsnes (SNES), gens (Genesis). Try those out if you use SDL. --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ Freevo-users mailing list Freevo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-users
[Freevo-users] Freevo mentioned on slashdot again!
Freevo was mentioned recently on slashdot in regard to Plextor PVR's being supported now under linux. planetjay http://planetjay.com writes /Plextor PVR's now support Linux http://www.plextor.com/english/news/press/LinuxPVR_pr.htm with an open source SDK http://www.plextor.com/english/support/LinuxSDK.htm for their ConvertX PVR http://www.plextor.com/english/products/TV402U.htm external USB TV tuner/encoder This is great news for Linux PVR users who want to use an external device with hardware based MPEG-2 and MPEG-4/DivX encoding in their MythTV http://www.mythtv.org/ or Freevo http://freevo.sourceforge.net/ homebuilt PVR http://www.byopvr.com/. Plextor is strongly committed to supporting the Open Source Software movement with free development tools that help speed the creation of next-generation Linux-based video software, said Dirk Peters, director of marketing, Plextor. /Always good to get more people knowing of what a great project this is :-) Nick --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ Freevo-users mailing list Freevo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-users
Re: [Freevo-users] Freevo/Emulator issues
The reason I posted it again is that it looked like yesterdays did not make it on the the sourceforge page Also I realize you were joking. As far as freevo is concerned I run it in a X session. As soon as I stop freevo i can use fakenes fine. What I have been able to deturmine is that it is the ALSA sound processing that is bogging down, if I disable sound in fakenes it fast even when freevo is running. --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ Freevo-users mailing list Freevo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-users
Re: [Freevo-users] Re: adding menu events to remote
Op di 08-03-2005, om 16:56 schreef Dirk Meyer: No (I think). What do you want to do? Press the video button and the video menu opens ;-) So I added in event.py: MENU_EVENTS = { 'TV': MENU_TV, 'VIDEOS': MENU_VIDEOS, 'MUSIC' : MENU_MUSIC, 'PICTURES' : MENU_PICTURES, 'GUIDE' : MENU_TV_GUIDE, 'RADIO' : MENU_RADIO } And on top of that file to the menu entry's: MENU_TV = Event('TV') MENU_VIDEOS = Event('VIDEO_PLAYER') MENU_MUSIC = Event('AUDIO_PLAYER') MENU_PICTURES = Event('IMAGE_PLAYER') MENU_TV_GUIDE = Event('TV_GUIDE') MENU_RADIO = Event('RADIO_PLAYER') These entry's are also in my lircrc so pressing the video button gives me a message that VIDEO_PLAYER has no eventhandler. So I tryed: MENU_VIDEOS = Event(plugin.activate('video')) But in that case freevo doesn't even boot. My best bet is that somewhere I have to add an eventhendler for the plugin.activate function, but I can't see where. -- Groetjes Japie --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ Freevo-users mailing list Freevo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-users