EasyCAP for RaspberryPI

Discussion about this major DATV Project. See https://wiki.batc.org.uk/The_Portsdown_Transmitter
G8GKQ
Site Admin
Posts: 2928
Joined: Sun Mar 22, 2009 1:21 pm

Re: EasyCAP for RaspberryPI

Post by G8GKQ » Wed Feb 15, 2017 10:18 pm

Dave - Thanks for the a.sh. Working now. I think that it was the sound causing me issues.

I'm working on getting it into the main build.

Dave

F5SWB Dimitri
Posts: 39
Joined: Tue Feb 14, 2017 8:39 am

Re: EasyCAP for RaspberryPI

Post by F5SWB Dimitri » Thu Feb 16, 2017 7:16 am

Hi dave, here are the results :

[ 223.627872] usb 1-1.2: new high-speed USB device number 6 using dwc_otg
[ 223.728817] usb 1-1.2: New USB device found, idVendor=1c88, idProduct=0007
[ 223.728839] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 223.728852] usb 1-1.2: Product: SM-USB 007
[ 223.728865] usb 1-1.2: Manufacturer: Somagic, Inc.
[ 223.728877] usb 1-1.2: SerialNumber: SMBL007

Waiting for my new easycap ordered which will arrive in few days ...

F5SWB Dimitri
Posts: 39
Joined: Tue Feb 14, 2017 8:39 am

Re: EasyCAP for RaspberryPI

Post by F5SWB Dimitri » Thu Feb 23, 2017 4:47 pm

Hi everybody,

I've just received my new Easycap key but it does not works :oops:

lsusb :

Bus 001 Device 004: ID 0d8c:000e C-Media Electronics, Inc. Audio Adapter (Planet UP-100, Genius G-Talk)

Dmesg :

[ 65.589804] usb 1-1.4: new high-speed USB device number 6 using dwc_otg
[ 65.691307] usb 1-1.4: New USB device found, idVendor=534d, idProduct=0021
[ 65.691330] usb 1-1.4: New USB device strings: Mfr=1, Product=0, SerialNumber=0
[ 65.691344] usb 1-1.4: Manufacturer: MACROSIL
[ 65.692394] uvcvideo: Found UVC 1.00 device <unnamed> (534d:0021)
[ 65.692893] uvcvideo: UVC non compliance - GET_DEF(PROBE) not supported. Enabling workaround.

[ 2.466299] usb 1-1.4: Manufacturer: MACROSIL
[ 2.871764] input: CM109 USB driver as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.5/1-1.5:1.3/input/input0
[ 2.872157] usbcore: registered new interface driver cm109
[ 2.987910] usbcore: registered new interface driver snd-usb-audio
[ 3.304937] usbcore: registered new interface driver brcmfmac
[ 3.321967] usbcore: registered new interface driver uvcvideo

In the menu item I've choosen /dev/video1 (also try with 0) the TX don't want go on ...
Please Help.

F5SWB Dimitri
Posts: 39
Joined: Tue Feb 14, 2017 8:39 am

Re: EasyCAP for RaspberryPI

Post by F5SWB Dimitri » Fri Feb 24, 2017 10:17 am

F5SWB Dimitri wrote:Hi everybody,

I've just received my new Easycap key but it does not works :oops:

lsusb :

Bus 001 Device 004: ID 0d8c:000e C-Media Electronics, Inc. Audio Adapter (Planet UP-100, Genius G-Talk)

Dmesg :

[ 65.589804] usb 1-1.4: new high-speed USB device number 6 using dwc_otg
[ 65.691307] usb 1-1.4: New USB device found, idVendor=534d, idProduct=0021
[ 65.691330] usb 1-1.4: New USB device strings: Mfr=1, Product=0, SerialNumber=0
[ 65.691344] usb 1-1.4: Manufacturer: MACROSIL
[ 65.692394] uvcvideo: Found UVC 1.00 device <unnamed> (534d:0021)
[ 65.692893] uvcvideo: UVC non compliance - GET_DEF(PROBE) not supported. Enabling workaround.

[ 2.466299] usb 1-1.4: Manufacturer: MACROSIL
[ 2.871764] input: CM109 USB driver as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.5/1-1.5:1.3/input/input0
[ 2.872157] usbcore: registered new interface driver cm109
[ 2.987910] usbcore: registered new interface driver snd-usb-audio
[ 3.304937] usbcore: registered new interface driver brcmfmac
[ 3.321967] usbcore: registered new interface driver uvcvideo

In the menu item I've choosen /dev/video1 (also try with 0) the TX don't want go on ...
Please Help.
Where I got it : https://www.amazon.fr/gp/product/B00572 ... UTF8&psc=1

F5SWB Dimitri
Posts: 39
Joined: Tue Feb 14, 2017 8:39 am

Re: EasyCAP for RaspberryPI

Post by F5SWB Dimitri » Fri Feb 24, 2017 4:01 pm

Hi guys,

I have succeed according the idea of G0EID with his post Sat Oct 29, 2016 6:06 pm !
Now it works, but is it normal that the easycap is encoded in H264 ? Not in MPEG2 ?

73's to all.

Dimitri.

F5SWB Dimitri
Posts: 39
Joined: Tue Feb 14, 2017 8:39 am

Re: EasyCAP for RaspberryPI

Post by F5SWB Dimitri » Mon Mar 06, 2017 5:13 pm

It works for me now with :

in /etc/udev/rules.d/ezcap.rules :

SUBSYSTEM=="video4linux", ATTRS{idVendor}=="534d", ATTRS{idProduct}=="00212", MODE:="0660", SYMLINK+="ezcap0"

accordign to my key, I think it should works with other usb cap :)

g0lgj
Posts: 21
Joined: Tue Aug 04, 2009 8:17 pm

Re: EasyCAP for RaspberryPI

Post by g0lgj » Mon Mar 06, 2017 10:41 pm

Hi tried the above but still not working with my EASYCAP details below

Bought from http://www.ebay.co.uk/itm/261591581731? ... EBIDX%3AIT

my info


pi@raspberrypi:~ $

[ 3.579423] usb 1-1.4: new high-speed USB device number 4 using dwc_otg
[ 3.681516] usb 1-1.4: New USB device found, idVendor=534d, idProduct=0021
[ 3.681542] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber =0
[ 3.681555] usb 1-1.4: Product: AV TO USB2.0
[ 3.681568] usb 1-1.4: Manufacturer: MACROSIL
[ 4.224601] usbcore: registered new interface driver snd-usb-audio
[ 4.301926] usbcore: registered new interface driver brcmfmac
[ 4.315768] usbcore: registered new interface driver uvcvideo



pi@raspberrypi:/etc/udev/rules.d $ sudo v4l2-ctl -d 0 --all
Driver Info (not using libv4l2):
Driver name : uvcvideo
Card type : AV TO USB2.0
Bus info : usb-3f980000.usb-1.4
Driver version: 4.4.34
Capabilities : 0x84200001
Video Capture
Streaming
Extended Pix Format
Device Capabilities
Device Caps : 0x04200001
Video Capture
Streaming
Extended Pix Format
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
Width/Height : 720/480
Pixel Format : 'YUYV'
Field : None
Bytes per Line: 1440
Size Image : 691200
Colorspace : Unknown (00000000)
Flags :
Crop Capability Video Capture:
Bounds : Left 0, Top 0, Width 720, Height 480
Default : Left 0, Top 0, Width 720, Height 480
Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 720, Height 480
Selection: crop_bounds, Left 0, Top 0, Width 720, Height 480
Streaming Parameters Video Capture:
Capabilities : timeperframe
Frames per second: 30.000 (30/1)
Read buffers : 0
brightness (int) : min=0 max=255 step=1 default=-8193 value=32
contrast (int) : min=0 max=255 step=1 default=57343 value=128
saturation (int) : min=0 max=255 step=1 default=57343 value=128
hue (int) : min=0 max=127 step=1 default=-8193 value=0
gamma (int) : min=0 max=50 step=1 default=57343 value=0
brightness (int) : min=0 max=255 step=1 default=-8193 value=32
contrast (int) : min=0 max=255 step=1 default=57343 value=128
saturation (int) : min=0 max=255 step=1 default=57343 value=128
hue (int) : min=0 max=127 step=1 default=-8193 value=0
gamma (int) : min=0 max=50 step=1 default=57343 value=0
pi@raspberrypi:/etc/udev/rules.d $


Mark G0LGJ

F5SWB Dimitri
Posts: 39
Joined: Tue Feb 14, 2017 8:39 am

Re: EasyCAP for RaspberryPI

Post by F5SWB Dimitri » Tue Mar 07, 2017 7:28 am

Hello dave, it should work because you've got the same EASYCAP :)

Have you insert the line according to the idea of G0EID with his post Sat Oct 29, 2016 6:06 pm ?
I did it and it works for me ...

73's Dimitri.

G0EID
Posts: 25
Joined: Thu Oct 17, 2013 3:19 pm

Re: EasyCAP for RaspberryPI

Post by G0EID » Tue Mar 07, 2017 9:16 am

F5SWB Dimitri wrote:It works for me now with :

in /etc/udev/rules.d/ezcap.rules :

SUBSYSTEM=="video4linux", ATTRS{idVendor}=="534d", ATTRS{idProduct}=="00212", MODE:="0660", SYMLINK+="ezcap0"

accordign to my key, I think it should works with other usb cap :)
Hi Dimitri,
I think there is a typo in your example above, please double check and let us know which line in the rules file works for you?

Hi Mark,
Your hardware ID's are reported as:
[ 3.681516] usb 1-1.4: New USB device found, idVendor=534d, idProduct=0021

So, please try the line below, reboot, and let us know if it works for you?
SUBSYSTEM=="video4linux", ATTRS{idVendor}=="534d", ATTRS{idProduct}=="0021", MODE:="0660", SYMLINK+="ezcap0"
Select the ANALOGCAM input source and use /dev/ezcap0 as the device name.

73
Dave

g0lgj
Posts: 21
Joined: Tue Aug 04, 2009 8:17 pm

Re: EasyCAP for RaspberryPI

Post by g0lgj » Tue Mar 07, 2017 10:17 am

Hi I have that line already , I am using this to stream to BATC maybe this is the problem as it is in wrong mode ? mpg2 ?
Streamer sees I am "Transmitting" but no video.
Mark G0LGJ

Post Reply

Return to “The Portsdown Digital ATV System”