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

Re: Help with u tube video streaming





2009/1/10 Florian Kulzer <florian.kulzer+debian@icfo.es>
[ Please try to turn off the HTML part of your messages. ]

On Sat, Jan 10, 2009 at 11:33:53 +0000, Chris S wrote:
> 2009/1/10 Adrian Levi <adrian.levi@gmail.com>
> > 2009/1/10 Chris S <cbs108uk@googlemail.com>:
> >
> > > Ok, well still got bad frame rate any ideas, in reply to adrian.levi
> > (thank
> > > you for your encouragement too) in previous post I haven't installed a
> > video
> > > driver myself other than the one selected on install. I searched synaptic
> > > for 'video drivers' and got loads of things installed but not sure if I'm
> > > using the correct one, do you think this could be where the problem is,
> > it
> > > would make sense. anyway thank you to all who have replied. Any advice or
> > > shall i start googling installing video drivers and get back to you all?
> >
> > I think nvidia-glx-legacy is what you need.
> >
> > This page will show you how and walk you through the steps.
> >
> > http://desiato.tinyplanet.ca/~lsorense/debian/debian-nvidia-dri-howto.html<http://desiato.tinyplanet.ca/%7Elsorense/debian/debian-nvidia-dri-howto.html>

> Good morning, ok firstly thank you for all you help last night. I Just
> successfully installed nvidia-glx-legacy from the how-to that was kindly
> given, all stages completed with no error and I now get the nvidia logo when
> X starts but no effect at all on the old problem, frame rate still about a
> frame a second.

That sounds like the nvidia driver is working properly; nevertheless we
should check if there are any problems recorded in the Xorg log. Please
run this command in an X terminal and post the output here:

grep -E '^\((EE|WW)\)' /var/log/Xorg.0.log

Other possible bottlenecks to consider are CPU load and hard disk
access. AFAIK, the older versions of the flashplugin on Linux are not
very efficient in using hardware video acceleration, so most of the
rendering workload is put on the CPU. Check the CPU load with 'top' or
'htop' while you play a flash video. It is possible that Etch's
flashplugin is too inefficient to work nicely on your hardware. To check
your hard disk access speed, you can use the 'hdparm' command.

Another thing to try is to play a flash video with mplayer, which is
usually smarter in using video acceleration. While you have a youtube
video open in your browser, you should see the video file in /tmp/; it
will be called FlashXXXXXX, where XXXXXX is a random string. It should
be possible to play this file like this (replace XXXXXX):

mplayer /tmp/FlashXXXXXX

(Don't hesitate to ask for clarification and further details if
 necessary.)

--
Regards,            | http://users.icfo.es/Florian.Kulzer
         Florian   |


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

Not sure how to turn off the html part of my messages (sorry)(I am using googlemail) but have changed the outgoing message encoding setting from 'default' to unicode in the hope this helps?

Output of  grep -E '^\((EE|WW)\)' /var/log/Xorg.0.log:

JessieJames:/home/chris# grep -E '^\((EE|WW)\)' /var/log/Xorg.0.log
(WW) The directory "/usr/X11R6/lib/X11/fonts/misc" does not exist.
(WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
(WW) The directory "/usr/X11R6/lib/X11/fonts/cyrillic" does not exist.
(WW) The directory "/usr/X11R6/lib/X11/fonts/100dpi/" does not exist.
(WW) The directory "/usr/X11R6/lib/X11/fonts/75dpi/" does not exist.
(WW) The directory "/usr/X11R6/lib/X11/fonts/Type1" does not exist.
(WW) The directory "/usr/X11R6/lib/X11/fonts/100dpi" does not exist.
(WW) The directory "/usr/X11R6/lib/X11/fonts/75dpi" does not exist.
(WW) The directory "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType" does not e xist.
(WW) NVIDIA(0): config file hsync range 30-70kHz not within DDC hsync ranges.
(WW) NVIDIA(0): config file vrefresh range 50-160Hz not within DDC vrefresh rang es.
(WW) NVIDIA(0): Not using mode "840x525" (height 1050 is larger than
(WW) NVIDIA(0):      EDID-specified maximum 768)
(WW) NVIDIA(0): Not using mode "700x525" (height 1050 is larger than
(WW) NVIDIA(0):      EDID-specified maximum 768)
(WW) NVIDIA(0): Not using mode "640x512" (height 1024 is larger than
(WW) NVIDIA(0):      EDID-specified maximum 768)
(WW) NVIDIA(0): Not using mode "720x450" (height 900 is larger than
(WW) NVIDIA(0):      EDID-specified maximum 768)
(WW) NVIDIA(0): Not using mode "640x480" (height 960 is larger than
(WW) NVIDIA(0):      EDID-specified maximum 768)
(WW) NVIDIA(0): Not using mode "640x400" (height 800 is larger than
(WW) NVIDIA(0):      EDID-specified maximum 768)
(WW) NVIDIA(0): Not using mode "576x432" (height 864 is larger than
(WW) NVIDIA(0):      EDID-specified maximum 768)
(WW) NVIDIA(0): Not using mode "576x384":
(WW) NVIDIA(0):   horizontal sync start (589) not a multiple of 8
(WW) NVIDIA(0): Not using mode "360x200":
(WW) NVIDIA(0):   horizontal sync start (378) not a multiple of 8

Ok then to check the CPU load I ran htop firstly with epiphany running with two tabs, first tab u tube but not running a video yet (video paused) and second tab with googlemail open. CPU load over a roughly two minute period was around 15-30% on average. But once I started the video steam CPU load jumped to around 88-93% again, average over a period of a couple of minutes. Seems like this is way to high and last post may be correct? mem was 255/504mb constant and swp 0/1145mb
 
BUT just this minute tried playing the flash file (that appears in /tmp when viedo currently streaming via u tube) with mplayer, and it works great through that, frame rate perfect!!!! Can someone now just please help me one last time, can I get mplayer to automatically play u tube videos as the player in the background on u tube itself? As otherwise I am forced to 'hijack' each video by stealing out of the /tmp directory.
 
Thanks so much for you help, at least I have a work around if nothing else, you have all been great to the newbie.


--
OM MANI PADME HUM


Reply to: