stephenlacy / easycap Goto Github PK
View Code? Open in Web Editor NEWEasyCap driver for linux
License: MIT License
EasyCap driver for linux
License: MIT License
it says in the documentation that to stream video you do
sudo somagic-capture -n | mplayer -vf yadif,screenshot -demuxer rawvideo -rawvideo "ntsc:format=uyvy:fps=30000/1001" -aspect 4:3 -
and it works perfectly!
but it doesnt mention anywhere how to stream audio, let alone at the same time (using somagic-both
)
hello.
I have a misterious ezcap 534d:0021 with nothing more than the number.
it seems to "quite" work on raspbian, but i cannot set video standard and other weird thing.
do you think i can solve with your software in an arm enviroment?
cheers
I have read that this should work using the 4ch version of the somagic capture card. However it appears that the 4ch version is not really 4ch but simply has a mux that switches the input.
It now appears that there is a true 4ch real-time version!
and on board sdram?
chipset is SMI2022, which I cannot find details about, but it appears to use the same driver?
I have one but it does not seem to work, firmware extraction works fine and I can somagic-init the device, however it errors when attempting to capture.
Is this necessary to install ubuntu 64 bit ?
I've scoured the internet for a means to get this working in linux (Centos 7 flavor). I'd be willing to help in any way I can, just let me know what I can do!
Hi,
i have connected multiple devices.
But the Problem is, the capture tool always uses the last device it finds with the "*find_device(int vendor, int product)" function.
so its quit with "Failed to claim device interface: Device or resource busy - Is somagic-capture already running?"
My idea: can u add a parameter "-dn 1" (1 is default) - so i can give the device number for the "find_device" - so it uses by default the first matching device - or if i give "-dn 3" then it returns the 3'th found devide.
At the moment it uses always the last device it finds with lsusb.
its imho an easy hack, but I'm not into "c" - so it's difficult for me to make this patch.
best regards,
Daniel
Hello I use easyCap for capturing video I it works pretty well.
But only for video works, somagic-audio-capture and somagic-both are not present after 'make install'.
Is that because libgcrypt11-dev can't been found?
This error shows when somagic-init is executed.
bash: /usr/local/bin/somagic-init: cannot execute binary file: Exec format error
I think the firmware is not compatible with the ARM architecture. I am using a RaspberryPi3 and a 4CH capture card(https://images-americanas.b2w.io/produtos/01/00/sku/9403/8/9403895_1GG.jpg).
Unfortunatly, I have no idea how to program on C and what is needed to convert and recompile the source.
I have converted 20 videos of length ~4h. After some minutes, it appears a Video / Sound desynchronization.
The video data is often shorter than the sound data. So, I get the video before the sound when I read the file. Maybe the computer or the usb device is too slow and some video images are dropped.
I think I need to synchronize the two source during acquisition. Maybe by dropping some "music frames" such that there is almost the same number of frames produced.
Maybe I will try to improve it. So I put an issue.
I haven't really read the code yet. If you have any ideas or suggestion, I would love getting them.
Thanks!
Hi,
the Terratec AV Grabster 300 MX is virtually identical in HW to the Somagic EasyCap.
Unfortunately I could not find any driver / linux support for this device so far but modifying
somagic-capture.c slighty => and the device was working.
It just has a different vendor id (0x0ccd) and product (0x00b6).
It does not seem to require firmware initialization (at least for me)
but using:
// #define VENDOR 0x1c88
# define VENDOR 0x0ccd
# define PRODUCT_COUNT 4
static const int PRODUCT[PRODUCT_COUNT] = {
// 0x003c,
0x00b6,
I finally got it to work.
Would be great if you could add it as supported device as well. Thx
Linne
I have an EasyCAP card that I'm trying to get working on an Ubuntu 18.04 machine. yesterday I found somagic Debian packages, installed them, got the firmware off my CD etc and was quite excited as I was able to capture video from an old Digital 8 home video tape. But I was unable to capture any audio. So I started searching and found multiple code repositories for somagic and some of them seemed to have audio, some didn't. It was very confusing and I didn't know which was the best one to use etc. Then I found this one which appears to be set up to be THE place to go for somagic. Is that correct - have I come to the right place?
Second question is, will I be able to capture the audio on the tapes with this version of somagic? I've seen some places that say audio isn't supported and others that say it is.
Third question is, how do I install this version instead of the ones I installed yesterday. Should I just uninstall the Debian packages I got working yesterday and install these? What about the firmware?
Sorry for all the newbie questions!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.