Hi,

v4l is the legacy (old) video API. Now there's v4l2 (video for linux 2),
which is gradually being replaced in the newer devices.

Please try v4l2src (not the inner "2") instead of v4lsrc.

Come back to the list if you get the same results.

Thanks and good luck
Rubén

2012/4/9 zengshan <[email protected]>

> **
> **
> Hi all,
>     I use a video conventer to convert AV to VGA, and connect it to
> VGA2USB device, but when I run the following command:
>  gst-launch  -e v4lsrc device=/dev/video1 ! ffenc_mpeg2video ! mpegpsmux !
> filesink location=test1.mpg
> I got:
>  Setting pipeline to PAUSED ...
> 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 ...
>
> 2012-04-09
> ------------------------------
>  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
>
>
_______________________________________________
Matterhorn-users mailing list
[email protected]
http://lists.opencastproject.org/mailman/listinfo/matterhorn-users

Reply via email to