Hi Lovemore,

Could you change your custom producer to:

v4l2src device=/dev/video0 ! image/jpeg,framerate=30/1,rate=30 ! queue !
jpegdec ! queue ! ffmpegcolorspace ! queue

The jpegdecoder doesn't seem to be quite fast enough to handle such large
frames so it will need a buffer. I just gave this camera a try here with
these settings and it stopped complaining about having too many frames to
handle. As soon as I fixed that ffmpegcolorspace complained that it was
falling behind so I think the two extra queues will be necessary. I've
updated the wiki as well to make sure that anyone else using this camera
will know what to do as well.

Cheers,
Adam

On Mon, Feb 14, 2011 at 4:54 AM, Lovemore Nalube
<[email protected]>wrote:

>  I have not problem running the command off the console so I know the
> gstreamer string is correct. I am running the 1.1.x branch.
>
> Thanks
>
>
>  --
> Lovemore Nalube
> OLE Developer (Vula)
> University of Cape Town
> http://www.cet.uct.ac.za/LovemoreN
>
> >>> On 2/13/2011 at 4:39 PM, in message
> <[email protected]>, Rubén
> Pérez<[email protected]> wrote:
>   Also: are you running 'trunk' or the 1.0.1 branch? I'm asking because I
> think that Adam Mackenzie said the CUSTOM_PRODUCER is not really working for
> 1.0.1, but for trunk only.
>
> Good luck,
> Rubén
>
> 2011/2/13 Christopher Brooks <[email protected]>
>
>> Hi Lovemore,
>>
>> This looks like a better question for the gstreamer list; if you run
>> the command off of the command line does it work correctly?
>>
>> Chris
>>
>> On Sun, 13
>> Feb 2011 08:48:11 +0200 Lovemore Nalube <[email protected]>
>> wrote:
>>
>> > Hi
>> >
>> > I'm using CUSTOM_VIDEO_SRC to define gstreamer elements for a
>> > Logitech 9000 Pro Quickcam, however the resulting mpg file is only 1
>> > second long (file attached). These are my configuration settings:
>> >
>> > capture.device.names=Webcam
>> > capture.device.Webcam.type=CUSTOM_VIDEO_SRC
>> > capture.device.Webcam.customProducer=v4l2src device=/dev/video0 !
>> > image/jpeg,framerate=30/1,rate=30 ! jpegdec ! ffmpegcolorspace ! queue
>> > capture.device.Webcam.src=/dev/video0
>> > capture.device.Webcam.flavor=presenter/source
>> > capture.device.Webcam.outputfile=Webcam.mpg
>> >
>> > Logs show:
>> > 2011-02-13 08:40:34 INFO (PipelineFactory:294) - Successfully
>> > initialised 1 devices.
>> > 2011-02-13 08:40:34 INFO (CustomVideoProducer:73) - Custom Video
>> > Producer is using Pipeline: "v4l2src device=/dev/video0 !
>> > image/jpeg,framerate=30/1,rate=30 ! jpegdec ! ffmpegcolorspace !
>> > queue" 2011-02-13 08:40:34 INFO (CaptureAgentImpl:423) -
>> > Initializing devices for capture.
>> > libv4lconvert: warning more framesizes then I can handle!
>> > libv4lconvert: warning more framesizes then I can handle!
>> > 2011-02-13 08:40:34 INFO (CaptureAgentImpl:475) - pipeline1 started.
>> > 2011-02-13 08:40:35 WARN (CaptureAgentImpl$2:446) - jpegdec0: Failed
>> > to decode JPEG image
>> > 2011-02-13 08:40:35 WARN (CaptureAgentImpl$2:446) - v4l2src0:
>> > Internal data flow error.
>> >
>> > Can anyone shed light on why this is? Funny thing is that this camera
>> > works with the Matterhorn 1.0.0 release patched with Miguel's old fix
>> > for USB webcams (http://opencast.jira.com/browse/MH-5405).
>> >
>> > Thanks
>> >
>> >
>> > --
>> > Lovemore Nalube
>> > OLE Developer (Vula)
>> > University of Cape Town
>> > http://www.cet.uct.ac.za/LovemoreN
>> >
>> >
>> >
>> >
>> >
>> > ###
>> > UNIVERSITY OF CAPE TOWN
>> >
>> > This e-mail is subject to the UCT ICT policies and e-mail disclaimer
>> > published on our website at
>> > http://www.uct.ac.za/about/policies/emaildisclaimer/ or obtainable
>> > from +27 21 650 9111. This e-mail is intended only for the person(s)
>> > to whom it is addressed. If the e-mail has reached you in error,
>> > please notify the author. If you are not the intended recipient of
>> > the e-mail you may not use, disclose, copy, redirect or print the
>> > content. If this e-mail is not related to the business of UCT it is
>> > sent by the sender in the sender's individual capacity.
>> >
>> > ###
>> >
>>
>>
>>
>> --
>> Christopher Brooks, BSc, MSc
>> ARIES Laboratory, University of Saskatchewan
>>
>> Web: http://www.cs.usask.ca/~cab938
>> Phone: 1.306.966.1442
>> Mail: Advanced Research in Intelligent Educational Systems Laboratory
>> Department of Computer Science
>> University of Saskatchewan
>> 176 Thorvaldson Building
>> 110 Science Place
>> Saskatoon, SK
>> S7N 5C9
>> _______________________________________________
>> Matterhorn mailing list
>> [email protected]
>> http://lists.opencastproject.org/mailman/listinfo/matterhorn
>>
>>
>> To unsubscribe please email
>> [email protected]
>> _______________________________________________
>>
>
>
>  ###
>
> UNIVERSITY OF CAPE TOWN
>
>  This e-mail is subject to the UCT ICT policies and e-mail disclaimer
> published on our website at
> http://www.uct.ac.za/about/policies/emaildisclaimer/ or obtainable from
> +27 21 650 9111. This e-mail is intended only for the person(s) to whom it
> is addressed. If the e-mail has reached you in error, please notify the
> author. If you are not the intended recipient of the e-mail you may not use,
> disclose, copy, redirect or print the content. If this e-mail is not related
> to the business of UCT it is sent by the sender in the sender's individual
> capacity.
>
>  ###
>
> _______________________________________________
> Matterhorn mailing list
> [email protected]
> http://lists.opencastproject.org/mailman/listinfo/matterhorn
>
>
> To unsubscribe please email
> [email protected]
> _______________________________________________
>
>


-- 
Adam McKenzie
MSc Student
ARIES Laboratory, University of Saskatchewan

Web: http://aries.usask.ca/aiwiki/Adam_McKenzie
Mail: Advanced Research in Intelligent Educational Systems Laboratory
     Department of Computer Science
     University of Saskatchewan
     176 Thorvaldson Building
     110 Science Place
     Saskatoon, SK
     S7N 5C9
_______________________________________________
Matterhorn mailing list
[email protected]
http://lists.opencastproject.org/mailman/listinfo/matterhorn


To unsubscribe please email
[email protected]
_______________________________________________

Reply via email to