Hi all, This is a three input cards (DVB-T, Composite and S-Video) and I am at the moment struggling to capture from the Composite input, for example. Attached are some v4l2-ctl outputs and gst-launch debug logs. First thing I do is set input to composite: v4l2-ctl -d 0 -i 1 Most naive attempt to get something is: gst-launch-0.10 v4l2src ! queue ! xvimagesink Which fails with (also log.0 attached): gstv4l2object.c(2093): gst_v4l2_object_set_format (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Call to S_FMT failed for YUYV @ 720x480: Invalid argument Gstreamer is 0.10.32 and plugins-good are 0.10.27. I tried messing around with specifying caps like: v4l2src ! video/x-raw-yuv,format=YV12 ! queue ! xvimagesink Which results in (log.yv12): WARNING: erroneous pipeline: could not link v4l2src0 to queue0 If anyone has any hints on what is the problem it would be appreciated. Thanks, Tvrtko _______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel v4l2-ctl.all (1K) Download Attachment v4l2-ctl.list-format-ext (2K) Download Attachment log.0.gz (350K) Download Attachment log.yv12.gz (283K) Download Attachment |
Hi,
On Wed, May 25, 2011 at 5:17 PM, Tvrtko Ursulin <[hidden email]> wrote: > > Hi all, > > This is a three input cards (DVB-T, Composite and S-Video) and I am at the > moment struggling to capture from the Composite input, for example. > > Attached are some v4l2-ctl outputs and gst-launch debug logs. > > First thing I do is set input to composite: > v4l2-ctl -d 0 -i 1 > > Most naive attempt to get something is: > gst-launch-0.10 v4l2src ! queue ! xvimagesink > > Which fails with (also log.0 attached): > gstv4l2object.c(2093): gst_v4l2_object_set_format (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: > Call to S_FMT failed for YUYV @ 720x480: Invalid argument some memories from an old bt878-based card. I remember that some color space combinations did not work with a given frame size/interlacing method.. maybe you can get more info about this on the linuxtv.org's mailing lists. > > Gstreamer is 0.10.32 and plugins-good are 0.10.27. > > I tried messing around with specifying caps like: > v4l2src ! video/x-raw-yuv,format=YV12 ! queue ! xvimagesink > > Which results in (log.yv12): > WARNING: erroneous pipeline: could not link v4l2src0 to queue0 using an ffmpegcolospace between the queue and xvimagesink could help. The queue itself is not mandatory in this pipeline. Regards > > If anyone has any hints on what is the problem it would be appreciated. > > Thanks, > > Tvrtko > > _______________________________________________ > gstreamer-devel mailing list > [hidden email] > http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel > > gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
On Thursday 02 Jun 2011 10:15:46 Marco Ballesio wrote:
> Hi, > > On Wed, May 25, 2011 at 5:17 PM, Tvrtko Ursulin > > <[hidden email]> wrote: > > Hi all, > > > > This is a three input cards (DVB-T, Composite and S-Video) and I am at > > the moment struggling to capture from the Composite input, for example. > > > > Attached are some v4l2-ctl outputs and gst-launch debug logs. > > > > First thing I do is set input to composite: > > v4l2-ctl -d 0 -i 1 > > > > Most naive attempt to get something is: > > gst-launch-0.10 v4l2src ! queue ! xvimagesink > > > > Which fails with (also log.0 attached): > > gstv4l2object.c(2093): gst_v4l2_object_set_format (): > > /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Call to S_FMT failed for > > YUYV @ 720x480: Invalid argument > > some memories from an old bt878-based card. I remember that some color > space combinations did not work with a given frame size/interlacing > method.. maybe you can get more info about this on the linuxtv.org's > mailing lists. It seems to be fixed in more recent GStreamer. There was nothing in the change logs but commit 6b86b56abd8a28b9e94cee679e3d86367a9a0ab3 sounds like could be the one. Thanks, Tvrtko _______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |