- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
Hi all
I'm working on the mx6 SABREAUTO card with an analog camera device.
Until now, I can watch the video stream by using mxc_v4l_tvin.out file which is in /unit_test folder.
I followed these steps : Setting up modules
modprobe adv7180_tvin
modprobe mxc_v4l2_capture
I can see that modules are set correctly with lsmod command, and devices video0 and video1 appear in /dev folder.
So I can watch the video stream from my analog camera by using the following command :
./mxc_v4l2_tvin.out -ow 640 -oh 480 -ol 10 -ot 20 -f YU12
Now I wish recover my video stream in vlc for example, or in a C program using OpenCV.
But it doesn't work...
With VLC :
I did : vlc v4l2:///dev/video0 without succes, the screen stay black with vlc cone picture.
With my C program : (This program is correct and work very well with a USB webcam.)
I use : capture = cvCaptureFromCAM(0) to use /dev/video0, my program compile but doesn't work when I execute it.
Same problem with capture = cvCaptureFromCAM(-1), the system can't find my device.
Do I something wrong or forgot a step?
Thanks for your help!
Sincerely
解決済! 解決策の投稿を見る。
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
For adv7180_tvin, the CSI input is interlaced data, but for USB camera, the input is progressive, maybe you need check how to support interlace data in VLC.
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
For adv7180_tvin, the CSI input is interlaced data, but for USB camera, the input is progressive, maybe you need check how to support interlace data in VLC.