[gst-devel] v4lsrc problem

Li Juan GUO li-juan.guo at st.com
Thu Aug 18 11:35:32 CEST 2005


Hi all,

I want to use v4lsrc and ffenc_mpeg2video to capture and encode video.
the following are the problems:


gst-launch v4lsrc ! ffenc_mpeg2video ! filesink location=/home/v1.mpg
RUNNING pipeline ...
ERROR: pipeline doesn't want to play.
ERROR: from element /pipeline0/v4lsrc0: Could not get/set settings from/on
resource. Additional debug info:
v4l_calls.c(244): gst_v4l_close: /pipeline0/v4lsrc0:
Device is in streaming mode

gst-launch v4l2src ! ffenc_mpeg2video ! filesink location=/home/v2.mpg
RUNNING pipeline ...
ERROR: from element /pipeline0/v4l2src0: Could not get/set settings from/on
resource. Additional debug info:
v4l2_calls.c(483): gst_v4l2_get_norm: /pipeline0/v4l2src0: Failed to get the
current norm for device /dev/video0: Invalid argument Segmentation fault


Could you please tell me how to solve these problems?

BR
Lijuan





More information about the gstreamer-devel mailing list