On 21-02-12 23:42, Greg Logan wrote:
Try using /dev/video1 (or whatever device appears when the Epiphan
driver is loaded).  /dev/vga2usb0 is not a v4l device, so you won't be
able to get capture data out of it.

Mixed up /dev/vga2usb0 and /dev/vga2usb.
Unfortunately /dev/video1 (symlinked from /dev/vga2usb) has some kind of problem too.

WITH GST-LAUNCH:

sudo gst-launch --gst-debug-no-color -e --gst-debug=2 v4lsrc device=/dev/vga2usb ! fakesink
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
0:00:00.392823086 6438 0x2310dc0 WARN v4l v4lsrc_calls.c:124:gst_v4lsrc_sync_frame:<v4lsrc0> error: system error: Broken pipe 0:00:00.392965963 6438 0x2310dc0 WARN basesrc gstbasesrc.c:2550:gst_base_src_loop:<v4lsrc0> error: Internal data flow error. 0:00:00.392993824 6438 0x2310dc0 WARN basesrc gstbasesrc.c:2550:gst_base_src_loop:<v4lsrc0> error: streaming task paused, reason error (-5) ERROR: from element /GstPipeline:pipeline0/GstV4lSrc:v4lsrc0: Could not synchronize on resource.
Additional debug info:
v4lsrc_calls.c(124): gst_v4lsrc_sync_frame (): /GstPipeline:pipeline0/GstV4lSrc:v4lsrc0:
system error: Broken pipe
Execution ended after 115611211 ns.
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...

WITH MENCODER (from the epiphan drivers' README):

$ mencoder -oac lavc -ovc lavc -lavcopts vcodec=mpeg4:keyint=100:vbitrate=8000:vhq -noaspect -flip -o test.avi -tv noaudio:driver=v4l:outfmt=bgr24:device=/dev/video1 tv://
MEncoder 1.0rc4-4.4.5 (C) 2000-2010 MPlayer Team
success: format: 9  data: 0x0 - 0x0
TV file format detected.
Selected driver: v4l
 name: Video 4 Linux input
 author: Alex Beregszaszi
 comment: under development
Selected device: Epiphan VGA2USB LR #V4U121082
 Capabilites: capture
 Device type: 1
 Supported sizes: 1280x1024 => 1280x1024
 Inputs: 1
  0: VGA:  (tuner:0, norm:pal)
Using input 'VGA'
Selected input hasn't got a tuner!
[V] filefmt:9  fourcc:0x42475218  size:1280x1024  fps:25.000  ftime:=0.0400
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1
==========================================================================
Opening video decoder: [raw] RAW Uncompressed Video
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
Opening video filter: [flip]
Movie-Aspect is undefined - no prescaling applied.
[swscaler @ 0x28f5220]using unscaled bgr24 -> yuv420p special converter
videocodec: libavcodec (1280x1024 fourcc=34504d46 [FMP4])
[VE_LAVC] High quality encoding selected (non-realtime)!
Selected video codec: [rawbgr24] vfm: raw (RAW BGR24)
==========================================================================
Forcing audio preload to 0, max pts correction to 0.
Writing header...
ODML: Aspect information not (yet?) available or unspecified, not writing vprp header.
Writing header...
ODML: Aspect information not (yet?) available or unspecified, not writing vprp header.
Pos:   0.1s      2f ( 0%)  0.00fps Trem:   0min   0mb  A-V:0.000 [0:0]
Skipping frame!
Pos:   0.1s      4f ( 0%)  0.00fps Trem:   0min   0mb  A-V:0.000 [0:0]
Skipping frame!
Pos:   0.2s      6f ( 0%)  0.00fps Trem:   0min   0mb  A-V:0.000 [0:0]
video buffer full - dropping frame

video buffer full - dropping frame

video buffer full - dropping frame
Pos:   0.2s      7f ( 0%)  0.00fps Trem:   0min   0mb  A-V:0.000 [0:0]
Skipping frame!
Pos:   0.2s      8f ( 0%)  0.00fps Trem:   0min   0mb  A-V:0.000 [0:0]
Skipping frame!
Pos:   0.2s     10f ( 0%)  0.00fps Trem:   0min   0mb  A-V:0.000 [0:0]
Skipping frame!
Pos:   0.2s     11f ( 0%)  0.00fps Trem:   0min   0mb  A-V:0.000 [0:0]
Skipping frame!
Pos:   0.2s     12f ( 0%)  0.00fps Trem:   0min   0mb  A-V:0.000 [0:0]
Skipping frame!
Pos:   0.2s     13f ( 0%)  0.00fps Trem:   0min   0mb  A-V:0.000 [0:0]
video buffer full - dropping frame

video buffer full - dropping frame



--
No part of this copyright message may be reproduced, read or seen,
dead or alive or by any means, including but not limited to telepathy
without the benevolence of the author.
_______________________________________________
Matterhorn-users mailing list
[email protected]
http://lists.opencastproject.org/mailman/listinfo/matterhorn-users

Reply via email to