ps:gst-launch -e v4lsrc device=/dev/video0 ! ffenc_mpeg2video ! mpegpsmux !
filesink location=test1.mpg
gst-launch -e v4lsrc device=/dev/video1 ! ffenc_mpeg2video ! mpegpsmux !
filesink location=test2.mpg
these two commands can catch the two videos captured by the two VGA2USB
devices, but when I use start capture in matterhorn, nothing is capturing:
VGA.mpg 0 B 2012-02-14 15:47:52 +0800
camera_out.mpg 0 B 2012-02-14 15:47:52 +0800
episode.xml 457 B 2012-02-14 15:47:51 +0800
My configuration in
/opt/matterhorn/felix/conf/services/org.opencastproject.capture.impl.ConfigurationManager.properties
is as follows: is there anything wrong?
capture.device.names=VGA,PRESENTERcapture.device.VGA.type=EPIPHAN_VGA2USBcapture.device.VGA.flavor=presentation/sourcecapture.device.VGA.outputfile=VGA.mpgcapture.device.VGA.src=/dev/video0#added
by
zengshancapture.device.PRESENTER.type=EPIPHAN_VGA2USBcapture.device.PRESENTER.src=/dev/video1capture.device.PRESENTER.outputfile=camera_out.mpgcapture.device.PRESENTER.flavor=presentation/source
2012-02-14
ZENG SHAN
Tel,861088236837
E-mail,[email protected]
Computing Center
Institute of High Energy Physics,CAS
发件人:zengshan
发送时间:2012-02-14 15:52
主题:[Matterhorn-users] 回复: dural epiphan problems
收件人:Hank Magnuski,Rubén Pérez
抄送:matterhorn-users
My configuration in
/opt/matterhorn/felix/conf/services/org.opencastproject.capture.impl.ConfigurationManager.properties
is as follows: is there anything wrong?
capture.device.names=VGA,PRESENTER
capture.device.VGA.type=EPIPHAN_VGA2USB
capture.device.VGA.flavor=presentation/source
capture.device.VGA.outputfile=VGA.mpg
capture.device.VGA.src=/dev/video0
#added by zengshan
capture.device.PRESENTER.type=EPIPHAN_VGA2USB
capture.device.PRESENTER.src=/dev/video1
capture.device.PRESENTER.outputfile=camera_out.mpg
capture.device.PRESENTER.flavor=presentation/source
2012-02-14
ZENG SHAN
Tel,861088236837
E-mail,[email protected]
Computing Center
Institute of High Energy Physics,CAS
发件人:zengshan
发送时间:2012-02-14 11:44
主题:dural epiphan problems
收件人:Hank Magnuski,Rubén Pérez
抄送:matterhorn-users
Hi all,
I am now using two epiphan's VGA2USB devices to capture both video and ppt, but
when the CA start to capture, the log in CA shows that:
2012-02-14 11:27:08 INFO (GStreamerPipeline:430) - Successfully initialised 2
devices.
2012-02-14 11:27:09 INFO (GStreamerPipeline:96) - Initializing devices for
capture.
2012-02-14 11:27:09 INFO (EpiphanVGA2USBV4LSubDeviceBin:259) - Sending EOS to
stop /dev/video0_v4lsrc
2012-02-14 11:27:09 INFO (EpiphanVGA2USBV4LSubTestSrcBin:188) - Sending EOS to
stop videotestsrc0
2012-02-14 11:27:09 INFO (EpiphanVGA2USBV4LSubDeviceBin:259) - Sending EOS to
stop /dev/video1_v4lsrc
2012-02-14 11:27:09 INFO (EpiphanVGA2USBV4LSubTestSrcBin:188) - Sending EOS to
stop videotestsrc1
2012-02-14 11:27:09 WARN (GStreamerPipeline$2:144) - mpegpsmux0: Could not
create handler for stream:
So I use gst debug level 2 to see more, and it shows that:
matterhorn@capture:/opt/matterhorn/felix/conf$ gst-launch -e --gst-debug=2
v4lsrc device=/dev/video0
Setting pipeline to PAUSED ...
0:00:00.021649224 9240 0x7f9080 WARN v4l
v4lsrc_calls.c:489:gst_v4lsrc_try_capture:<v4lsrc0> error: system error: Wrong
medium type
0:00:00.023990750 9240 0x7f9080 WARN v4l
v4lsrc_calls.c:489:gst_v4lsrc_try_capture:<v4lsrc0> error: system error: Wrong
medium type
0:00:00.026393783 9240 0x7f9080 WARN v4l
v4lsrc_calls.c:489:gst_v4lsrc_try_capture:<v4lsrc0> error: system error: Wrong
medium type
0:00:00.032750484 9240 0x7f9080 WARN v4l
v4lsrc_calls.c:489:gst_v4lsrc_try_capture:<v4lsrc0> error: system error: Wrong
medium type
0:00:00.035141576 9240 0x7f9080 WARN v4l
v4lsrc_calls.c:489:gst_v4lsrc_try_capture:<v4lsrc0> error: system error: Wrong
medium type
0:00:00.036005793 9240 0x7f9080 WARN basesrc
gstbasesrc.c:2639:gst_base_src_default_negotiate:<v4lsrc0> error: No supported
formats found
0:00:00.036024839 9240 0x7f9080 WARN basesrc
gstbasesrc.c:2639:gst_base_src_default_negotiate:<v4lsrc0> error: This element
did not produce valid caps
Pipeline is live and does not need PREROLL ...
ERROR: from element /GstPipeline:pipeline0/GstV4lSrc:v4lsrc0: Could not
synchronize on resource.
Additional debug info:
v4lsrc_calls.c(489): gst_v4lsrc_try_capture ():
/GstPipeline:pipeline0/GstV4lSrc:v4lsrc0:
system error: Wrong medium type
ERROR: pipeline doesn't want to preroll.
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...
matterhorn@capture:/opt/matterhorn/felix/conf$ gst-launch -e --gst-debug=2
v4lsrc device=/dev/video1
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
0:00:01.195766353 9243 0x17458c0 WARN basesrc
gstbasesrc.c:2550:gst_base_src_loop:<v4lsrc0> error: Internal data flow error.
0:00:01.195807301 9243 0x17458c0 WARN basesrc
gstbasesrc.c:2550:gst_base_src_loop:<v4lsrc0> error: streaming task paused,
reason not-linked (-1)
ERROR: from element /GstPipeline:pipeline0/GstV4lSrc:v4lsrc0: Internal data
flow error.
Additional debug info:
gstbasesrc.c(2550): gst_base_src_loop ():
/GstPipeline:pipeline0/GstV4lSrc:v4lsrc0:
streaming task paused, reason not-linked (-1)
Execution ended after 12849465 ns.
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...
2012-02-14
ZENG SHAN
Tel,861088236837
E-mail,[email protected]
Computing Center
Institute of High Energy Physics,CAS
_______________________________________________
Matterhorn-users mailing list
[email protected]
http://lists.opencastproject.org/mailman/listinfo/matterhorn-users