gkaindl / ambi-tv

a flexible ambilight clone for embedded linux
296 stars 85 forks source link

1080p video playback issue #49

Open wisemonkey opened 10 years ago

wisemonkey commented 10 years ago

This question may not be related to ambi-tv itself, but if anyone here had to deal with it, I would appreciate it (I've asked it at stackexchange but thought peeps over here would have more experience with something similar):

http://raspberrypi.stackexchange.com/questions/12178/raspbian-wheezy-with-xbmc-plays-only-audio-for-1080p-videos

wisemonkey commented 10 years ago

Ok Let me ask this differently: Is there upper limit on number of LEDs this setup supports smoothly?

nickmazz commented 10 years ago

Is your USB to the pi and the LEDs bridged together? What is your power supply to the pi? 5v 3A? What about the LEDs? What speed class is your sd card?

On Dec 11, 2013, at 10:14 PM, wisemonkey notifications@github.com wrote:

Ok Let me ask this differently: Is there upper limit on number of LEDs this setup supports smoothly?

— Reply to this email directly or view it on GitHub.

wisemonkey commented 10 years ago

I use separate power for LEDs and for Pi. I've 5V 10A supply for LEDs (cause its around 4 meters) And USB 2A rated supply for Pi.

Do u suggest I should try 3A supply for Pi? -- Can you please post a link for one? (I'm going to tablet chargers -- they are at max 2.1A)

My current SD card came with Pi with NOOB installed (http://www.newark.com/samsung/raspberry-pi-prog-8gb-usd/pre-programmed-microsd-8gb-raspberry/dp/97W1422?COM=rpiaccsy-holiday13-section) I don't see class mentioned for this one.

However I've class10 card with my previous setup (RaspBMC) I can swap SD card in ambiTV setup for SD card in Raspbmc (class10) setup.

Thanks for suggestions.

nickmazz commented 10 years ago

Yes I would try a higher amp power source-try searching cell phone chargers.

I would also use a powered USB hub to hook up any usb devices- this was a problem I ran into.

Lastly, but perhaps most importantly is the version of OS you use. I tried the NOOBs setup with my ambi-tv set up, and it didn't work. I ended up having to download a different version of Wheezy.

What do you think?

wisemonkey commented 10 years ago

Thanks I'll try higher amp rating adapter.

I've only video grabber on USB (so it shouldn't be an issue event then I would appreciate if you can share a link for powered USB hub). HDD connected to other USB is externally powered.

I'm not using NOOBs (but reformatted NOOBs SD with proper Wheezy version) but I'll try other SD card I've around.

I'll report back as soon as I find higher amp charger. Thanks :+1:

wisemonkey commented 10 years ago

Hey btw just looked at raspi-config again and Turbo says "6 overvolt" do I need 6V supply instead of 5V ?

wisemonkey commented 10 years ago

Corrupted my SD card :( I need to be careful while playing with overclocking settings -- I was trying to change these settings manually

Phil1988 commented 10 years ago

PI running Ambi-tv with Grabber connected needs nearly 1A. 2A should be enough. But the Grabber takes too much current from the PI so its not really stable (on an clocked PI).

Instead of a expensive USB Hub I bought one of these: http://www.ebay.de/itm/2ft-USB-2-0-Verlangerungskabel-/400536766020?pt=DE_Computing_USB_Kabel_Hubs_Adapter&hash=item5d41da0644 cut the cable and put 5V and GND from the power supply on it. then resolder it together.

Works fine. Cheers!

wisemonkey commented 10 years ago

I already have USB male-female cable. So according to your suggestion, I'll cut the USB cable and connect power and ground directly from power source while only data lines are connected to USB port of raspberry Pi.

Phil1988 commented 10 years ago

put ground and 5V to the complete cable (like a Y-connection) not only to the grabber... its always better vor signals to have the same potential at the same place..

so just cut off the cable and add 5v and GND... and not only to the side of the grabber.

wisemonkey commented 10 years ago

Done -- connected grabber power source from separate Power and Gnd as well connected them to the Pi side as per suggestion.

What do you guys use for xbmc? I'm following http://michael.gorven.za.net/raspberrypi/xbmc but xbmc crashes at turbo mode, if I don't start xbmc then pi works properly

wisemonkey commented 10 years ago

oh well I don't see /dev/video0 anymore after "modprobe usbtv" :( what can be the issue? --- There is an issue with USB extension cable / the way I'm powering Grabber from external source. I changed the cable to normal USB extension and /dev/video0 is detected. I'll try to buy better quality cable and then apply external source.

wisemonkey commented 10 years ago

Here is what I've done for now: 1 raspberry pi plays videos (XBMC) while 2nd raspberry pi analyzes video -- this setup works pretty cool (though I need 2 Pi)

amroibrahim commented 10 years ago

@wisemonkey you cant put 2 power supplies! Just use the LED power supply to power pi and LEDs. Have a look at http://learn.adafruit.com/system/assets/assets/000/001/589/medium800/diagram.png?13448788

I had same issue ;)

wisemonkey commented 10 years ago

Thanks I'll try that (maybe few days later for now I'll enjoy working system :)), but I can't see why I can't use 2 power supplies? I've matched both grounds the only difference is Pi gets its power from 2.1A source while LED strip gets its power from 10A source. I would think this setup would get cleaner power supply (no single supply getting loaded more than it needs to)