gkaindl / ambi-tv

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

'program_mood_light' works, crop_for_frame error running ambi-tv #67

Closed lobocobra closed 10 years ago

lobocobra commented 10 years ago

Hey all

Can you please help me?

I followed the howto in Comment #7 and went through the installation without problems. I managed to install all components on a Pi B and 'program_mood_light', works perfectly. I can also see on the screen a captured video stream using mplayer. Except the HDMI splitter I use all HW described in the howto.

...but...

When I try to run ambi-light I get following error:

video-fmt: unsupported video format in ambitv_video_fmt_detect_crop_for_frame.

I was googeling and saw that it probably has to do with an incompatible video capturing. But as I can watch a film on the PI, it seems to me that the driver installations are ok. lsusb shows: ID 05e1:0408 Syntek Semiconductor Co., Ltd STK1160 Video Capture Device (I know not the one I wanted, but mplayer works, so driver must be ok??)

To see the video I use...

/usr/bin/mplayer -tv driver=v4l2:width=640:height=480:device=/dev/video0 -vo fbdev -fs -fps 24 -aspect 4:3 -nosound tv:// Works perfect on PAL.

So I doubt, that the error has to do with the wrong chipset on the video capture, as I can see the input video with mplayer without any problems. Can you please help me?

Config File EXTRACT...

v4l2-grab-source { name v4l2-video video-device /dev/video0 buffers 4 crop-left 4 crop-top 1 crop-right 4 crop-bottom 1 autocrop-luminance-threshold 8 } .... the rest seems to work as mood light works.

Any idea, how I can bring the working input signal to ambi-tv? Did I miss a setting? Do I need to change the crop setting? => is eventually the picture too small and I must increase crop? To how much?

Thanks Lobo