Current version of the OpenAuto Pro is 10
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Reverse cam
#11
I have tried for days to get that workaround to work, without luck.

This line doesn't work on my RPI4, for some reason. I guess there's a difference between PI 3B and 4, since mine isn't working, or are you using an older version PI software?

ffmpeg -i /dev/video0 -f v4l2 -pix_fmt yuv420p /dev/video5
Dequeued v4l2 buffer contains 687112 bytes, but 691200 were expected. Flags: 0x00002001.

Then I got this to work a little in OAP & VLC:
ffmpeg -f rawvideo -video_size "720x480" -i /dev/video0 -fv4l2 -pix_fmt yuv422 /dev/video1

But is giving me a green flickering tint, which I asked about here:
https://www.raspberrypi.org/forums/viewtopic.php?f=28&t=279608&p=1693495&hilit=green+tinted#p1693495

And finally with Gstreamer, everything was working fine in VLC, but a black screen in OAP
gst-launch-1.0 -v v4l2src device=/dev/video0 ! videoconvert ! video/x-raw, format=\(string\)I420 ! v4l2sink device=/dev/video5

So, getting a bit fed up with this now, and I don't want to wait a month or two for a new grabber, that maybe, maybe not is working arriving from China :/
Most companies doesn't write what chip is inside, so kinda lottery to buy something online from a shop closer than China.
Reply
#12
Just tried on a RPI3B, and that's the same.
Can you remember what ffmpeg & v4l2loopback version you have?
Reply
#13
I just installed OAP in an SD to perform tests and concluded that I have two equal video capture cards on the outside that I thought were STK1160 but after a better analysis I found that only one uses the STK1160 chip and the other uses a UTV007 chip.
I should have the UTV007 installed in the car when I used this workaround because with the STK1160 the screen is all black just like it happens to you. With UTV007 the workaround works well.
That is, I do not think it is possible to use cards with the STK1160 chip in the OAP.
Reply
#14
I found my 10+ year old Hauppauge Live 2 grabber from the cellar, and that is working fine with the FFmpeg command. I can't remember the chip, but not a stk1160.
So I guess the l4v2 driver doesn't like the stk1160 at all.

Lesson learned, avoid stk1160 like the plague.
Reply
#15
https://youtu.be/47yqQziwTD0
Hello!
please tell me what could be. when I activate the camera, the picture floats and the sound starts to jam
Reply
#16
(07-09-2020, 09:18 PM)costa Wrote: Do you happen to know what chip is used inside that grabber you linked?

(07-09-2020, 09:58 PM)Great Wrote: It uses an AMT630A chipset.

Just want to say that I found another USB Video capture card that works out of the box with OAP.
It uses this chipset: MS2106.
Reply
#17
Thanks, can you remember what the brand of the capture card is?
I can't seem to find anything with that chip in it
Reply
#18
(07-30-2020, 12:05 AM)costa Wrote: Thanks, can you remember what the brand of the capture card is?
I can't seem to find anything with that chip in it

I am using this one USB Capture Device
Thanks, Frank
Carputer Detail   Parts List
2004 Chevrolet Tahoe Z71 w/ Bose & Onstar
Reply
#19
https://www.amazon.com/gp/product/B072Q4MNKM/ref=ppx_yo_dt_b_asin_title_o00_s00?ie=UTF8&psc=1
I have this one, which uses a MS2100 chip. It took a while to show up in the mail, but it works, I'm about to make another post on it.
http://en.macrosilicon.com/info.asp?base_id=2&third_id=30
Reply
#20
(07-30-2020, 12:05 AM)costa Wrote: Thanks, can you remember what the brand of the capture card is?
I can't seem to find anything with that chip in it

The brand is UVC.

Like this one:

https://www.ebay.com/itm/USB2-0-VHS-to-DVD-Converter-Capture-Video-Audio-Capture-Adapter-Scart-Card-X4O5/264803017355?_trkparms=aid%3D1110009%26algo%3DSPLICE.COMPLISTINGS%26ao%3D1%26asc%3D228095%26meid%3Dcdeeabbd333143f0b3e0078c7b8ac5ec%26pid%3D100008%26rk%3D4%26rkt%3D12%26sd%3D264348909729%26itm%3D264803017355%26pmt%3D1%26noa%3D0%26pg%3D2047675%26algv%3Ddefault%26brand%3DUnbranded&_trksid=p2047675.c100008.m2219
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)