[olug] Video Capturing Questions

Joseph Gulizia joseph.gulizia at gmail.com
Wed Apr 25 17:54:56 UTC 2012


Hello OLUG Brain Trust:

Does anyone know of a USB Video Capture Dongle that works easily with
mythbuntu and / or VLC to capture broadcast video.

Thanks.


More information:

I have a work project where I'm trying to set-up a computer to capture
video recordings from Terrestrial antennas and satellite receiver boxes.

Requirements:

Due Friday
$300 or less total cost
Capture in MP-4 H.264 at DVD Quality or better under 2 GB
adjustable key frame settings
FTP connection to send files from overseas locations
Original signals may be .PAL or NTSC or SECAM formats.

I have MythBuntu 11.10 installed on a FoxConn Nettop box Model nT-435H

http://www.newegg.com/Product/Product.aspx?Item=N82E16856119051&Tpk=foxconn%20nt435H

160 GB Internal Hard Drive and 2 GB RAM

Using this thread I found a USB dongle that "supposedly" works with
linux......

http://easycap.blogspot.com/

Got the dongle.....found out that the dongle I have is #5 on the list....

http://easycap.blogspot.com/p/devices.html

which uses a somagic chip

Here's where problems begin......

Recognizes device using lsusb as

Bus 001 Device 004: ID 1c88:0007 Somagic, Inc.

Found some answers at

https://github.com/bonybrown/easycap-somagic-linux


Copied files listed but having issues:

Do I need ALL of them including logs?

Requires:
libusb AND libusb-1.0
mplayer can be used to decode and display the UYVY frames (see below)

Compilation:
gcc init1.c -o init1 -lusb
gcc init2.c -o init2 -lusb
gcc capture.c -o capture -lusb-1.0

Usage:
* insert EasyCap device
* sudo ./init1 1c88 0007
* sudo ./init2 1c88 003c
* sudo ./capture 1c88 003c  | mplayer -  -demuxer rawvideo -rawvideo
"w=720:h=576:format=uyvy:fps=25"
You should now be able to see the captured video.
Note: init1 and init2 only need to executed once per device power-up.




Also doesn't appear to record sound.....only works in PAL tv format, etc.


What I've typed so far:

mythbuntu at mythbuntu-nT435-nT535:~$ sudo apt-get install gcc
[sudo] password for mythbuntu:
Reading package lists... Done
Building dependency tree
Reading state information... Done
gcc is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 6 not upgraded.

mythbuntu at mythbuntu-nT435-nT535:~$ gcc init1.c -o init1 -lusb
gcc: error: init1.c: No such file or directory

mythbuntu at mythbuntu-nT435-nT535:~$ sudo apt-get install libusb
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package libusb

mythbuntu at mythbuntu-nT435-nT535:~$ sudo apt-get install libusb-1.0
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'libusb-1.0-0' for regex 'libusb-1.0'
Note, selecting 'libusb-1.0-0-dev' for regex 'libusb-1.0'
libusb-1.0-0 is already the newest version.
The following NEW packages will be installed:
  libusb-1.0-0-dev
0 upgraded, 1 newly installed, 0 to remove and 6 not upgraded.
Need to get 144 kB of archives.
After this operation, 995 kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://us.archive.ubuntu.com/ubuntu/ oneiric/main libusb-1.0-0-dev
i386 2:1.0.8-4 [144 kB]
Fetched 144 kB in 17s (8,285 B/s)

Selecting previously deselected package libusb-1.0-0-dev.
(Reading database ... 129002 files and directories currently installed.)
Unpacking libusb-1.0-0-dev (from .../libusb-1.0-0-dev_2%3a1.0.8-4_i386.deb)
...
Setting up libusb-1.0-0-dev (2:1.0.8-4) ...


Need dmesg or tall?



More information about the OLUG mailing list