[ 
http://opencast.jira.com/browse/MH-7822?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=27138#comment-27138
 ] 

Adam McKenzie commented on MH-7822:
-----------------------------------

Adam I can't find the exact problem in the second log that is causing it to 
fail on the second capture besides it taking longer than 5 seconds to start. I 
can certainly look into it being more aggressive about stopping the previous 
pipeline if it doesn't shut down in a particular amount of time. Looking into 
the first log is slightly worrying with this:

"2011-06-02 13:54:19  WARN (GStreamerPipeline$2:149) - v4lsrc0: Could not 
get/set settings from/on resource."

That only happens when the vga is unplugged but not the usb. For example this 
is a quick fake gst-launch when the vga is unplugged:

matterhorn@pp003018a9d1a6:/opt/matterhorn/felix/matterhorn$ gst-launch v4lsrc 
device=/dev/video1 ! fakesink
Setting pipeline to PAUSED ...
ERROR: Pipeline doesn't want to pause.
ERROR: from element /GstPipeline:pipeline0/GstV4lSrc:v4lsrc0: Could not get/set 
settings from/on resource.
Additional debug info:
v4l_calls.c(89): gst_v4l_get_capabilities (): 
/GstPipeline:pipeline0/GstV4lSrc:v4lsrc0:
error getting capabilities No medium found of from device /dev/video1
Setting pipeline to NULL ...
Freeing pipeline ...

This is what it looks like when the usb is unplugged:
matterhorn@pp003018a9d1a6:/opt/matterhorn/felix/matterhorn$ gst-launch v4lsrc 
device=/dev/video1 ! fakesink
Setting pipeline to PAUSED ...
ERROR: Pipeline doesn't want to pause.
ERROR: from element /GstPipeline:pipeline0/GstV4lSrc:v4lsrc0: Device 
"/dev/video1" does not exist.
Additional debug info:
v4l_calls.c(168): gst_v4l_open (): /GstPipeline:pipeline0/GstV4lSrc:v4lsrc0
Setting pipeline to NULL ...
Freeing pipeline ...

This is what it should look like when both USB and VGA are properly plugged in:
matterhorn@pp003018a9d1a6:/opt/matterhorn/felix/matterhorn$ gst-launch v4lsrc 
device=/dev/video1 ! fakesink
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
^CCaught interrupt -- handling interrupt.
Interrupt: Stopping pipeline ...
Execution ended after 4242324875 ns.
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...


So for this first log the kangaroo patch is failing to do its job. Was this 
epiphan device setup with the kangaroo patch or the V4LSRC type specified?

> Capture Agent Sometimes Fails to Start Due to Not Shutting Down in Time
> -----------------------------------------------------------------------
>
>                 Key: MH-7822
>                 URL: http://opencast.jira.com/browse/MH-7822
>             Project: Matterhorn Project
>          Issue Type: Bug
>          Components: Capture (Devices and Software)
>    Affects Versions: 1.1 
>            Reporter: Adam Hochman
>            Assignee: Adam McKenzie
>            Priority: Release Blocker
>             Fix For: 1.1.1, 1.2
>
>


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        
_______________________________________________
Matterhorn mailing list
[email protected]
http://lists.opencastproject.org/mailman/listinfo/matterhorn


To unsubscribe please email
[email protected]
_______________________________________________

Reply via email to