Tuner device blocks

Jack Brown zidibik at yahoo.com
Mon Apr 7 07:09:07 PDT 2014


I forgot to add:

When I run the pipeline with debugging enabled, I get tons of the following:

0:00:00.712522377  6818       0x619c30 DEBUG                   v4l2 gstv4l2object.c:1795:gst_v4l2_object_probe_caps_for_format:<v4l2src0> Enumerating frame sizes
0:00:00.712533040  6818       0x619c30 DEBUG                   v4l2 gstv4l2object.c:1822:gst_v4l2_object_probe_caps_for_format:<v4l2src0> we have stepwise frame sizes:
0:00:00.712541437  6818       0x619c30 DEBUG                   v4l2 gstv4l2object.c:1824:gst_v4l2_object_probe_caps_for_format:<v4l2src0> min width:   144
0:00:00.712549500  6818       0x619c30 DEBUG                   v4l2 gstv4l2object.c:1826:gst_v4l2_object_probe_caps_for_format:<v4l2src0> min height:  115
0:00:00.712557499  6818       0x619c30 DEBUG                   v4l2 gstv4l2object.c:1828:gst_v4l2_object_probe_caps_for_format:<v4l2src0> max width:   720
0:00:00.712565563  6818       0x619c30 DEBUG                   v4l2 gstv4l2object.c:1830:gst_v4l2_object_probe_caps_for_format:<v4l2src0> min height:  576
0:00:00.712573618  6818       0x619c30 DEBUG                   v4l2 gstv4l2object.c:1832:gst_v4l2_object_probe_caps_for_format:<v4l2src0> step width:  1
0:00:00.712581604  6818       0x619c30 DEBUG                   v4l2 gstv4l2object.c:1834:gst_v4l2_object_probe_caps_for_format:<v4l2src0> step height: 1
0:00:00.712591653  6818       0x619c30 LOG                     v4l2 gstv4l2object.c:2011:gst_v4l2_object_get_nearest_size:<v4l2src0> getting nearest size to 144x115 with format YUYV
0:00:00.712606284  6818       0x619c30 LOG                     v4l2 gstv4l2object.c:2070:gst_v4l2_object_get_nearest_size:<v4l2src0> got nearest size 144x116
0:00:00.712615173  6818       0x619c30 LOG                     v4l2 gstv4l2object.c:1577:gst_v4l2_object_probe_caps_for_format_and_size:<v4l2src0> get frame interval for 144x115, YUYV
0:00:00.712630174  6818       0x619c30 DEBUG                   v4l2 gstv4l2object.c:1745:gst_v4l2_object_probe_caps_for_format_and_size:<v4l2src0> Unable to enumerate intervals for YUYV at 144x115
0:00:00.712646716  6818       0x619c30 LOG                     v4l2 gstv4l2object.c:2011:gst_v4l2_object_get_nearest_size:<v4l2src0> getting nearest size to 145x116 with format YUYV
0:00:00.712657863  6818       0x619c30 LOG                     v4l2 gstv4l2object.c:2070:gst_v4l2_object_get_nearest_size:<v4l2src0> got nearest size 146x116

It's apparently probing for every single screen size combination. How can I prevent that?

Best,
Burak

On Monday, April 7, 2014 4:43 PM, Jack Brown <zidibik at yahoo.com> wrote:
 
Hi,
>
>
>I'm trying to get an svideo/composite capture device working with gstreamer 0.10.36 and QtGstreamer 0.10.3.
>
>
>My device works with mplayer2 using the following command: mplayer2 --tv=device=/dev/video1 tv:///1 (the second channel is the composite input)
>
>
>Now, with the following pipeline:
>
>
>    "v4l2src name=vsrc ! ffmpegcolorspace ! videoscale ! autovideosink"
>
>
>After setting the ready state and setting the channel using the tuner interface:
>
>
>    const GList *list = gst_tuner_list_channels(tuner);
>    while(list) {
>        GstTunerChannel *channel = GST_TUNER_CHANNEL(list->data);
>        qDebug() << channel << (gchar *)channel->label;
>        gst_tuner_set_channel(tuner, channel);
>        list = list->next;
>    }
>
>
>... setting pipeline's state to Paused or Playing just blocks the program. I do get
>
>
>0xb920f0 S-Video
>
>0xb92230 Composite1
>
>
>in the debug output. Other video devices work fine both with gstreamer and mplayer2.
>
>
>Any ideas? Could I be missing something obvious?
>
>
>Best,
>Burak
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20140407/0c648a23/attachment.html>


More information about the gstreamer-devel mailing list