shinyboy / easycap-somagic-linux

Automatically exported from code.google.com/p/easycap-somagic-linux
0 stars 0 forks source link

Every thing looks fine, except it does not capture #21

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hi,
I followed the getting started guide, and almost every steps works for me, 
until I get to the end and try to capture some video.

  sudo somagic-capture -s | mplayer -vf yadif,screenshot -demuxer rawvideo -rawvideo "ntsc:format=uyvy:fps=30000/1001" -aspect 4:3 -
  MPlayer svn r34540 (Ubuntu), built with gcc-4.7 (C) 2000-2012 MPlayer Team
  mplayer: could not connect to socket
  mplayer: No such file or directory
  Failed to open LIRC support. You will not be able to use your remote control.

  Playing -.
  Reading from stdin...

At this point, nothing happens, the mplayer window is NOT visible. 

When I press control-c it outputs:

  MPlayer interrupted by signal 2 in module: demux_open
  rawvideo file format detected.
  Load subtitles in ./
  Failed to open VDPAU backend libvdpau_nvidia.so: cannot open shared object file: No such file or directory
  [vdpau] Error when calling vdp_device_create_x11: 1
  Opening video filter: [screenshot]
  Opening video filter: [yadif]
  ==========================================================================
  Opening video decoder: [raw] RAW Uncompressed Video
  Could not find matching colorspace - retrying with -vf scale...
  Opening video filter: [scale]
  Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
  [swscaler @ 0x9c9a7c0] using unscaled uyvy422 -> yuv420p special converter
  VO: [xv] 720x480 => 720x540 Planar YV12 
  Selected video codec: [rawuyvy] vfm: raw (RAW UYVY)
  ==========================================================================
  Audio: no sound
  Starting playback...
  V:   0.0   0/  0 ??% ??% ??,?% 0 0 

  Exiting... (Quit)

I am on: Lubuntu 13.10 64 bit 

My capture device is a version 3f.
I tried the xp and vista firmwares from the official CD

Is there any info I can gather to find out what is going on here? I would like 
to help!
Please let me know
Thanks

Bart

Original issue reported on code.google.com by b.venne...@gmail.com on 30 Oct 2013 at 8:41

GoogleCodeExporter commented 9 years ago
Hello.

I am also experiencing the same problem. If the device is connected and the 
driver loaded, the server freezes frequency of 1 every 1-3 days.

OS: Ubuntu 13.10 x64
Device: 1c88:003c Somagic, Inc.
Firmware: from CD

If you need more information, then it is prepared to provide.

Original comment by ilgi...@gmail.com on 11 Nov 2013 at 8:53

GoogleCodeExporter commented 9 years ago
Same problem here as the original poster.   have a cap002 on 13.10
Linux miyo 3.11.0-12-generic #19-Ubuntu SMP Wed Oct 9 16:20:46 UTC 2013 x86_64 
x86_64 x86_64
Bus 001 Device 002: ID 1c88:003f Somagic, Inc. 

I execute the mplayer command, and it just hangs without creating a mplayer 
video window.   Typing Ctrl-C prints out the messages below..   Anyone?   
Thanks!

miyo:~> sudo somagic-capture -s | mplayer -vf yadif,screenshot -demuxer 
rawvideo -rawvideo "ntsc:format=uyvy:fps=30000/1001" -aspect 4:3 -
MPlayer svn r34540 (Ubuntu), built with gcc-4.7 (C) 2000-2012 MPlayer Team
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

Playing -.
Reading from stdin...
^C

MPlayer interrupted by signal 2 in module: demux_open
rawvideo file format detected.
Load subtitles in ./
Failed to open VDPAU backend libvdpau_r600.so: cannot open shared object file: 
No such file or directory
[vdpau] Error when calling vdp_device_create_x11: 1
Opening video filter: [screenshot]
Opening video filter: [yadif]
==========================================================================
Opening video decoder: [raw] RAW Uncompressed Video
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
[swscaler @ 0x17fe1e0] using unscaled uyvy422 -> yuv420p special converter
VO: [xv] 720x480 => 720x540 Planar YV12 
Selected video codec: [rawuyvy] vfm: raw (RAW UYVY)
==========================================================================
Audio: no sound
Starting playback...
V:   0.0   0/  0 ??% ??% ??,?% 0 0 

Exiting... (Quit)

Original comment by yago...@gmail.com on 21 Nov 2013 at 6:49

GoogleCodeExporter commented 9 years ago
Same issue on Kubuntu 14.04 x86_64.

Linux version 3.13.0-29-generic (buildd@toyol) (gcc version 4.8.2 (Ubuntu 
4.8.2-19ubuntu1) ) #53-Ubuntu SMP Wed Jun 4 21:00:20 UTC 2014

My Win-XP firmware file that I installed shows the following size and date (ls 
-l)...
805632 Jan 26  2011 SmiUsbGrabber3C.sys

Original comment by sblandf...@gmail.com on 24 Jun 2014 at 10:52

GoogleCodeExporter commented 9 years ago
I installed mplayer and got the EasyCAP working with this command for NTSC:
sudo somagic-capture -c --iso-transfers 100 --ntsc --sync=1  | mplayer -nocache 
-vf yadif -demuxer rawvideo -rawvideo "ntsc:format=uyvy:fps=30" -aspect 4:3 

And this for PAL:
sudo somagic-capture -c --iso-transfers 100 --pal --sync=1 | mplayer -nocache 
-vf yadif -demuxer rawvideo -rawvideo "pal:format=uyvy:fps=25" -aspect 4:3 -

Original comment by philip1...@gmail.com on 3 Feb 2015 at 6:43

GoogleCodeExporter commented 9 years ago
Hi, 

Same here. Ubuntu 14.10, kernel 3.16.0-39-generic.

With this command:
  sudo somagic-capture | mplayer -vf yadif,screenshot -demuxer rawvideo -rawvideo "pal:format=uyvy:fps=25" -aspect 4:3 -
I'm getting to 
  Playing -.
  Reading from stdin...
And nothing happens more than that.

With the command provided by philip: 
  sudo somagic-capture -c --iso-transfers 100 --pal --sync=1 | mplayer -nocache -vf yadif -demuxer rawvideo -rawvideo "pal:format=uyvy:fps=25" -aspect 4:3 -

I'm getting 
  somagic-capture: Failed to submit request #84 for transfer: Cannot allocate memory

When I strace the 1st command, I seening somagic-capture looping over
ioctl(11, USBDEVFS_REAPURBNDELAY, 0x7ffca341fec8) = -1 EAGAIN (Resource 
temporarily unavailable)
poll([{fd=6, events=POLLIN}, {fd=8, events=POLLIN}, {fd=10, events=POLLIN}, 
{fd=11, events=POLLOUT}], 4, 60000) = 1 ([{fd=11, revents=POLLOUT}])
ioctl(11, USBDEVFS_REAPURBNDELAY, 0x7ffca341fec8) = 0

Anyone able to help with that?

Original comment by pawel.r...@gmail.com on 11 Jun 2015 at 9:25