網誌分類:用腦記事 |
圖片
網誌日期:2009-11-02 16:12
In order to broadcast two video signal at the same time, I'd installed two TV capture card on the system that running Ubuntu 9.04. But I found trouble to make the second card to work properly.
* The TV Card that I select was MSI TV@nywhere Plus (use saa7134 chipset ) bcoz it cost only $95![]()

Ubuntu already detected two video devices /dev/video0 and /dev/video1 existed in the system, and I'd already setup a module config file saa7134.conf at /etc/modprobe.d
alias char-major-81 videodev
alias char-major-81-0 saa7134
alias char-major-81-1 saa7134
options saa7134 card=17
I'd search through many many forums and help files, but seems nobody will setup two identical TV Card on the same system
Finally I got the answer from Video for Linux Two API Specification http://v4l2spec.bytesex.org/spec/c174.htm
And modified the config file as below
alias char-major-81 videodev
alias char-major-81-0 saa7134 #device major num 81(fixed) and minor num 0, driver saa7134
alias char-major-81-1 saa7134 #device major num 81(fixed) and minor num 1, driver saa7134
options saa7134 card=17,17 #first card type=17, second card type=17
Finally it works, both TV capture card works![]()
Final outcome, mosaic two video and streaming to the network
Love Bird Jackson 2009-11-24 21:51
明日預告
1) boxing day
2) 防空洞
Love Bird Jackson 2009-11-23 20:25
明日預告
1)孖公仔_跳芭蕾舞
2)芝麻仔合法地使用暴力
3)肥
與瘦
Iceman / 七號窗 2009-11-17 23:30
補上
Bt878 傳奇
http://ck101.com/thread-1308073-1-1.html
2 強 2009-11-03 20:34
Iceman / 七號窗2009-11-04 23:17
其實我都唔係好識, 網上 d 資料太多, 不過又好難搵, 仲要有唔少係唔 work, 都搞左我好耐下
因為我要 streaming 兩個 cam signal, 本身都有一張 cctv capture card 係一張有四個 input 大陸野雞廠及 Winfast VC100
不過如果張咭得一粒 chip 就會每用多一個 channel share 多左粒 chip frame rate, 用四粒 chip d 咭又太貴
其實好多 capture card 生產商都好鐘意用 conexant BT868 粒 chip, 本來粒 chip 都唔係 support 4 channel, 係 d 廠搞鬼等佢 share 左 frame rate 先扮到 4 個 channel