gkaindl / ambi-tv

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

unsupported video format in ambitv_video_fmt_detect_crop_for_frame. #25

Open bolek1 opened 10 years ago

bolek1 commented 10 years ago

i get the error: unsupported video format in ambitv_video_fmt_detect_crop_for_frame.

after sudo bin/ambi-tv --button-gpio 3

mplayer is ok!

i make a video http://www.youtube.com/watch?v=MzT5AHSQhPw

thanks regards

Mrjohns42 commented 10 years ago

If you are using the usbtv driver with an NTSC video signal, make sure to comment out PAL_HACK from usbtv.c.

bolek1 commented 10 years ago

i think it is PAL but i use a Stk1160 Chipset maybe this is the cause??

Hinge76 commented 10 years ago

Could you solve the problem? And if so, how? I have exactly the same

bolek1 commented 10 years ago

The usb grabber was not the right.

You need a funshicai chipset.

Regards

Von: Hinge76 [mailto:notifications@github.com] Gesendet: Dienstag, 19. November 2013 11:29 An: gkaindl/ambi-tv Cc: bolek1 Betreff: Re: [ambi-tv] unsupported video format in ambitv_video_fmt_detect_crop_for_frame. (#25)

Could you solve the problem? And if so, how? I have exactly the same

— Reply to this email directly or view it on GitHub https://github.com/gkaindl/ambi-tv/issues/25#issuecomment-28779560 . https://github.com/notifications/beacon/vlQKFJ032B_tOhlAXL6lRN9Qhc3OhrbkDEYC7tJyuTvR8TGClLMohGzUheN9y4PG.gif

bobobado commented 8 years ago

Hello,

I know this thread hasn't been updated in a while, but i'm getting desperate. This is an awesome project and I'm so close but can't quite get it functioning. Everything in my setup works. I got one of the loathsome Somagic Easycaps but following instructions from various sources on the web, i have successfully compiled and applied a driver to my kernel. mplayer tv:// works just fine but when launching ambi-tv, I receive the unsupported video format error as listed above. I would really like to avoid buying these grabbers over and over in hopes of getting the proper one, especially since I have it working natively. After reading through various posts on this site, I'm beginning to believe the problem lies in the video format. As mentioned on the main page "Right now, only YUYV (aka. YUV 4:2:2) is supported, because this is what my capture device uses." but when I use mplayer, the output is RAW UYVY. Am I on the right track? How hard would it be to change the video-fmt.c file to accommodate this media type and where would I start? Thanks in advance!

duenorh commented 8 years ago

https://github.com/gkaindl/ambi-tv/issues/12

bobobado commented 8 years ago

Wow thank you so much @duenorh. I swore I had combed this entire page but somehow missed this resolution. No more errors at startup!!! Looks like I need to tweak some of the colors to get them right but at least its working!. Thank you again!