LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-17-2010, 08:45 PM   #1
linuxishard
Member
 
Registered: Jun 2010
Distribution: Ubuntu 10.10 Netbook Remix
Posts: 81

Rep: Reputation: 16
Easycap Viewer Problem


Alright so i found a program that i downloaded to make videos with my easycap 2.0, the program is located here

http://bentrask.com/easycap/

i downloaded the file and its a java run file!
can you get java on linux ubuntu 10.04?
 
Old 07-17-2010, 11:11 PM   #2
Kenny_Strawn
Senior Member
 
Registered: Feb 2010
Location: /usa/ca/orange_county/lake_forest
Distribution: ArchBang, Google Android 2.1 + Motoblur (on Motortola Flipside), Google Chrome OS (on Cr-48)
Posts: 1,791
Blog Entries: 62

Rep: Reputation: 56
The Java Runtime Environment for Linux is in the Ubuntu repository.
 
Old 07-18-2010, 06:12 AM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Genuine sun java for Ubuntu 10.04 Lucid :
http://ubuntuforums.org/showthread.php?t=1486951
After install, check that it is configured :
'sudo update-alternatives --config java'
... and choose sun.

Can also be checked with the command : java -version
..

Last edited by knudfl; 07-18-2010 at 06:17 AM.
 
Old 07-22-2010, 07:56 AM   #4
rmt1947
LQ Newbie
 
Registered: Jun 2010
Posts: 14

Rep: Reputation: 1
There are several kinds of EasyCAP out there. With the EasyCAP plugged in, running the command

lsusb

will produce output including a line like

Bus XXX Device XXX: ID 05e1:0408 Syntek Semiconductor Co., Ltd

or a line like

Bus XXX Device XXX: ID eb1a:2861 eMPIA Technology, Inc.

or maybe even a line like

Bus XXX Device XXX: ID 1c88:0007 Somagic, Inc.

The Empia EasyCAP should work out of the box on Ubuntu 10.04 (maybe without sound initially). The Syntek EasyCAP will work with a driver downloaded from

http://sourceforge.net/projects/easycapdc60/

As far as I know, no Linux driver exists for the Somagic EasyCAP.

Mike
 
Old 07-27-2010, 11:36 AM   #5
linuxishard
Member
 
Registered: Jun 2010
Distribution: Ubuntu 10.10 Netbook Remix
Posts: 81

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by rmt1947 View Post
There are several kinds of EasyCAP out there. With the EasyCAP plugged in, running the command

lsusb

will produce output including a line like

Bus XXX Device XXX: ID 05e1:0408 Syntek Semiconductor Co., Ltd

or a line like

Bus XXX Device XXX: ID eb1a:2861 eMPIA Technology, Inc.

or maybe even a line like

Bus XXX Device XXX: ID 1c88:0007 Somagic, Inc.

The Empia EasyCAP should work out of the box on Ubuntu 10.04 (maybe without sound initially). The Syntek EasyCAP will work with a driver downloaded from

http://sourceforge.net/projects/easycapdc60/

As far as I know, no Linux driver exists for the Somagic EasyCAP.

Mike
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 003: ID 05e1:0408 Syntek Semiconductor Co., Ltd
Bus 001 Device 002: ID 04f2:b084 Chicony Electronics Co., Ltd
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

i found the device
" Bus 001 Device 003: ID 05e1:0408 Syntek Semiconductor Co., Ltd "

but what do i do with it now?
 
Old 07-28-2010, 04:18 AM   #6
rmt1947
LQ Newbie
 
Registered: Jun 2010
Posts: 14

Rep: Reputation: 1
Point your browser at the website

http://sourceforge.net/projects/easycapdc60/

Click on the green box labelled "Download Now!" and, when prompted, opt to "Save File". If you are using Firefox on Ubuntu 10.04 this will create a file

easycap_dc60.0.8.2.tar.gz

in directory ~/Downloads (in other words: in the Downloads subdirectory of your home directory). Then open a terminal window (by clicking on Applications->Accessories->Terminal if using Gnome) and type this:

cd ~
mkdir EASYCAP
cd EASYCAP
cp -p ~/Downloads/easycap* .
tar zxf easycap_dc60.0.8.2.tar.gz
cd easycap_dc60.0.8.2
ls

This will list a lot of files, one of which is called README. Open this file with your favourite editor (for example by clicking on Applications->Accessories->gedit Text Editor...File->Open->EASYCAP->easycap_dc60.0.8.2->README if using Gnome) and follow the instructions in the section of this file headed "QUICK START GUIDE", starting with the line

./install.sh

This command needs to be run as root, so on Ubuntu you will need to type it as

sudo ./install.sh

Some of the other commands mentioned in the README may also need to be run using sudo.

Mike
 
Old 07-30-2010, 02:00 PM   #7
linuxishard
Member
 
Registered: Jun 2010
Distribution: Ubuntu 10.10 Netbook Remix
Posts: 81

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by rmt1947 View Post
Point your browser at the website

http://sourceforge.net/projects/easycapdc60/

Click on the green box labelled "Download Now!" and, when prompted, opt to "Save File". If you are using Firefox on Ubuntu 10.04 this will create a file

easycap_dc60.0.8.2.tar.gz

in directory ~/Downloads (in other words: in the Downloads subdirectory of your home directory). Then open a terminal window (by clicking on Applications->Accessories->Terminal if using Gnome) and type this:

cd ~
mkdir EASYCAP
cd EASYCAP
cp -p ~/Downloads/easycap* .
tar zxf easycap_dc60.0.8.2.tar.gz
cd easycap_dc60.0.8.2
ls

This will list a lot of files, one of which is called README. Open this file with your favourite editor (for example by clicking on Applications->Accessories->gedit Text Editor...File->Open->EASYCAP->easycap_dc60.0.8.2->README if using Gnome) and follow the instructions in the section of this file headed "QUICK START GUIDE", starting with the line

./install.sh

This command needs to be run as root, so on Ubuntu you will need to type it as

sudo ./install.sh

Some of the other commands mentioned in the README may also need to be run using sudo.

Mike
thanks a bunch! do i have to run the code in terminal everytime i want too use it or will it turn on when i plug it in?
 
Old 07-30-2010, 02:56 PM   #8
rmt1947
LQ Newbie
 
Registered: Jun 2010
Posts: 14

Rep: Reputation: 1
Personally I always open a terminal window and simply run

./install.sh

before plugging in the EasyCAP. This gives a reliable result.

Whether or not the EasyCAP will automatically work immediately after booting the computer depends on which Linux distribution you are using: it may work for Debian Lenny but not for Ubuntu 10.04, for example. The problem is that the Linux kernel includes a driver called snd-usb-audio which competes with the Sourceforge easycapdc60 driver for the EasyCAP's sound channel. If snd-usb-audio wins out, the EasyCAP will not work properly. The script ./install.sh temporarily removes the snd-usb-audio driver from the kernel and so allows the easycapdc60 driver to take control of the EasyCAP sound channel without any competition. I'm sure it must be possible to configure things (udev?) so that the easycapdc60 driver always get full control of the EasyCAP (both video and audio) whenever it's plugged in - I just don't know how to do it.

Mike
 
Old 07-30-2010, 03:29 PM   #9
linuxishard
Member
 
Registered: Jun 2010
Distribution: Ubuntu 10.10 Netbook Remix
Posts: 81

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by rmt1947 View Post
Personally I always open a terminal window and simply run

./install.sh

before plugging in the EasyCAP. This gives a reliable result.

Whether or not the EasyCAP will automatically work immediately after booting the computer depends on which Linux distribution you are using: it may work for Debian Lenny but not for Ubuntu 10.04, for example. The problem is that the Linux kernel includes a driver called snd-usb-audio which competes with the Sourceforge easycapdc60 driver for the EasyCAP's sound channel. If snd-usb-audio wins out, the EasyCAP will not work properly. The script ./install.sh temporarily removes the snd-usb-audio driver from the kernel and so allows the easycapdc60 driver to take control of the EasyCAP sound channel without any competition. I'm sure it must be possible to configure things (udev?) so that the easycapdc60 driver always get full control of the EasyCAP (both video and audio) whenever it's plugged in - I just don't know how to do it.

Mike
ok i get it to show video in mplayer, but when i try to record in mencoder with this code

Quote:
mencoder tv:// -tv device=/dev/video0:input=1:norm=NTSC:width=1280: height=720 -vf pp=md -o Recording -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=8000
it records with the webcam on my laptop. anything wrong with this terminal code. btw i run this code out of a shell script.

Last edited by linuxishard; 07-30-2010 at 03:32 PM.
 
Old 07-30-2010, 04:53 PM   #10
rmt1947
LQ Newbie
 
Registered: Jun 2010
Posts: 14

Rep: Reputation: 1
The "device=/dev/video0" needs to be replaced by "/dev/easycap0", but you'll have to make further changes if, for example, you want the recording to include sound. I recommend this useful website (not mine, I hasten to add) for tips on how to record:

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

Mike
 
Old 07-30-2010, 05:44 PM   #11
linuxishard
Member
 
Registered: Jun 2010
Distribution: Ubuntu 10.10 Netbook Remix
Posts: 81

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by rmt1947 View Post
The "device=/dev/video0" needs to be replaced by "/dev/easycap0", but you'll have to make further changes if, for example, you want the recording to include sound. I recommend this useful website (not mine, I hasten to add) for tips on how to record:

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

Mike
Quote:
drew@drew-laptop:~$ mencoder tv:// -tv device=/dev/easycap0:input=1:norm=PAL-60:width=1280: height=720 -vf pp=md -o Recording -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=8000
MEncoder SVN-r1.0~rc3+svn20090426-4.4.3 (C) 2000-2009 MPlayer Team
success: format: 9 data: 0x0 - 0x0
TV file format detected.
Selected driver: v4l2
name: Video 4 Linux 2 input
author: Martin Olschewski <olschewski@zpr.uni-koeln.de>
comment: first try, more to come ;-)
Selected device: EasyCAP DC60
Capabilites: video capture audio read/write streaming
supported norms: 0 = PAL_BGHIN; 1 = NTSC_N_443; 2 = PAL_Nc; 3 = NTSC_N; 4 = SECAM; 5 = NTSC_M; 6 = NTSC_M_JP; 7 = PAL_60; 8 = NTSC_443; 9 = PAL_M;
inputs: 0 = CVBS0; 1 = CVBS1; 2 = CVBS2; 3 = CVBS3; 4 = CVBS4; 5 = S-VIDEO;
Current input: 0
Current format: UYVY
tv.c: norm_from_string(PAL-60): Bogus norm parameter, setting default.
Selected input hasn't got a tuner!
Unable to open '/dev/dsp': Device or resource busy
v4l2: 0 frames successfully processed, 0 frames dropped.
============ Sorry, this file format is not recognized/supported =============
=== If this file is an AVI, ASF or MPEG stream, please contact the author! ===
Cannot open demuxer.

Exiting...
drew@drew-laptop:~$
any suggestions?
 
Old 07-30-2010, 05:45 PM   #12
linuxishard
Member
 
Registered: Jun 2010
Distribution: Ubuntu 10.10 Netbook Remix
Posts: 81

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by linuxishard View Post
any suggestions?
imagine that it was on ntsc instead of pal-60, it still does the same thing.

Last edited by linuxishard; 07-30-2010 at 05:47 PM.
 
Old 08-22-2010, 06:10 AM   #13
Alex Atkin UK
LQ Newbie
 
Registered: Apr 2004
Posts: 5

Rep: Reputation: 1
Its been nearly a month, did you fix this or is there no response because you gave up?

The most immediately obvious problem is you are trying to capture 720p when EasyCAP can only do 576i. You should be using width 720 height 576 or width 640 height 480, but the latter overscans (crops the outer edge of the image) at least for PAL signals.

The biggest problem I am having is trying to get 720x576 to work in anything other than mencoder. ffmpeg seems to refuse to work at anything other than 640x480 (thus the overscan problem as I am using it for CCTV and do not want to lose the edge of the picture) and gstreamer I can't even get above 320x240 so far.
 
Old 08-23-2010, 09:09 AM   #14
linuxishard
Member
 
Registered: Jun 2010
Distribution: Ubuntu 10.10 Netbook Remix
Posts: 81

Original Poster
Rep: Reputation: 16
hello there i am glad to hear from you,

no i have not given up, i have been on a business trip with no access to the easycap but am back and still trying to get it to work. so far i get the test image videos to work that comes with the drivers you download, ./test 5
./test 4
etc.

but that as far as i can get with getting an image to appear.
last time i was able to get it too start to record all it did was skip frames the whole time, i will post a reply with the advice you listed around 12 between 6 tonight i hope you will bookmark this page and continue to help.
 
Old 08-23-2010, 02:06 PM   #15
linuxishard
Member
 
Registered: Jun 2010
Distribution: Ubuntu 10.10 Netbook Remix
Posts: 81

Original Poster
Rep: Reputation: 16
drew@drew-laptop:~$ mencoder tv:// -tv device=/dev/easycap0:input=1:norm=NTSC:width=640: height=480 -vf pp=md -o Recording -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=8000
MEncoder 1.0rc4-4.4.5 (C) 2000-2010 MPlayer Team
success: format: 9 data: 0x0 - 0x0
TV file format detected.
Selected driver: v4l2
name: Video 4 Linux 2 input
author: Martin Olschewski <olschewski@zpr.uni-koeln.de>
comment: first try, more to come ;-)
Selected device: EasyCAP DC60
Capabilites: video capture audio read/write streaming
supported norms: 0 = PAL_BGHIN; 1 = NTSC_N_443; 2 = PAL_Nc; 3 = NTSC_N; 4 = SECAM; 5 = NTSC_M; 6 = NTSC_M_JP; 7 = PAL_60; 8 = NTSC_443; 9 = PAL_M;
inputs: 0 = CVBS0; 1 = CVBS1; 2 = CVBS2; 3 = CVBS3; 4 = CVBS4; 5 = S-VIDEO;
Current input: 0
Current format: UYVY
tv.c: norm_from_string(NTSC): --->Bogus norm parameter, setting default.<--- (fixed below)
Selected input hasn't got a tuner!
--->Unable to open '/dev/dsp': No such file or directory<---
v4l2: 0 frames successfully processed, 0 frames dropped.
============ Sorry, this file format is not recognized/supported =============
=== If this file is an AVI, ASF or MPEG stream, please contact the author! ===
Cannot open demuxer.

i believe that is what is causing the problem. any solutions?

Quote:
drew@drew-laptop:~$ mencoder tv:// -tv device=/dev/easycap0:input=1:norm=NTSC_M:width=640: height=480 -vf pp=md -o Recording -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=8000
MEncoder 1.0rc4-4.4.5 (C) 2000-2010 MPlayer Team
success: format: 9 data: 0x0 - 0x0
TV file format detected.
Selected driver: v4l2
name: Video 4 Linux 2 input
author: Martin Olschewski <olschewski@zpr.uni-koeln.de>
comment: first try, more to come ;-)
Selected device: EasyCAP DC60
Capabilites: video capture audio read/write streaming
supported norms: 0 = PAL_BGHIN; 1 = NTSC_N_443; 2 = PAL_Nc; 3 = NTSC_N; 4 = SECAM; 5 = NTSC_M; 6 = NTSC_M_JP; 7 = PAL_60; 8 = NTSC_443; 9 = PAL_M;
inputs: 0 = CVBS0; 1 = CVBS1; 2 = CVBS2; 3 = CVBS3; 4 = CVBS4; 5 = S-VIDEO;
Current input: 0
Current format: UYVY
? --->Selected input hasn't got a tuner!<--- (could this be a problem?)
--->Unable to open '/dev/dsp': No such file or directory<--- (this still apears to be the problem.)
v4l2: 0 frames successfully processed, 0 frames dropped.
============ Sorry, this file format is not recognized/supported =============
=== If this file is an AVI, ASF or MPEG stream, please contact the author! ===
Cannot open demuxer.

Last edited by linuxishard; 08-23-2010 at 02:12 PM.
 
  


Reply

Tags
sun java6, sun java6 jdk



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Why won't my Easycap video capture device show up for my Linux driver? Bkowalch Linux - Hardware 8 06-06-2011 08:51 PM
.DWF viewer or CAD viewer redline1022 Linux - Software 3 04-27-2011 04:38 PM
EasyCap usb code: saa7113h kpg06482 namit Linux - Software 3 07-22-2010 08:10 AM
Easycap seecam Linux - Hardware 4 02-25-2010 05:50 AM
realvnc viewer works in browser but not w/ Viewer gtjr92 Linux - Software 6 04-14-2007 02:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:51 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration