<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:12pt"><div>I forgot to add:</div><div><br></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal;">When I run the pipeline with debugging enabled, I get tons of the following:</div><div><br></div><div style="background-color: transparent;">0:00:00.712522377 6818 0x619c30 DEBUG v4l2 gstv4l2object.c:1795:gst_v4l2_object_probe_caps_for_format:<v4l2src0> Enumerating frame sizes</div><div style="background-color: transparent;">0:00:00.712533040 6818 0x619c30 DEBUG v4l2
gstv4l2object.c:1822:gst_v4l2_object_probe_caps_for_format:<v4l2src0> we have stepwise frame sizes:</div><div style="background-color: transparent;">0:00:00.712541437 6818 0x619c30 DEBUG v4l2 gstv4l2object.c:1824:gst_v4l2_object_probe_caps_for_format:<v4l2src0> min width: 144</div><div style="background-color: transparent;">0:00:00.712549500 6818 0x619c30 DEBUG v4l2 gstv4l2object.c:1826:gst_v4l2_object_probe_caps_for_format:<v4l2src0> min height: 115</div><div style="background-color: transparent;">0:00:00.712557499 6818 0x619c30 DEBUG v4l2 gstv4l2object.c:1828:gst_v4l2_object_probe_caps_for_format:<v4l2src0> max width: 720</div><div
style="background-color: transparent;">0:00:00.712565563 6818 0x619c30 DEBUG v4l2 gstv4l2object.c:1830:gst_v4l2_object_probe_caps_for_format:<v4l2src0> min height: 576</div><div style="background-color: transparent;">0:00:00.712573618 6818 0x619c30 DEBUG v4l2 gstv4l2object.c:1832:gst_v4l2_object_probe_caps_for_format:<v4l2src0> step width: 1</div><div style="background-color: transparent;">0:00:00.712581604 6818 0x619c30 DEBUG v4l2 gstv4l2object.c:1834:gst_v4l2_object_probe_caps_for_format:<v4l2src0> step height: 1</div><div style="background-color: transparent;">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</div><div style="background-color: transparent;">0:00:00.712606284 6818 0x619c30 LOG v4l2 gstv4l2object.c:2070:gst_v4l2_object_get_nearest_size:<v4l2src0> got nearest size 144x116</div><div style="background-color: transparent;">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</div><div style="background-color: transparent;">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@144x115</div><div style="background-color: transparent;">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</div><div style="background-color: transparent;">0:00:00.712657863 6818 0x619c30 LOG v4l2 gstv4l2object.c:2070:gst_v4l2_object_get_nearest_size:<v4l2src0> got nearest size 146x116</div><div><br></div><div>It's apparently probing for every single screen size combination. How can I prevent that?</div><div><br></div><div>Best,</div><div>Burak</div><div><br></div><div class="yahoo_quoted" style="display: block;"> <div
style="font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12pt;"> <div style="font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12pt;"> <div dir="ltr"> <font size="2" face="Arial"> On Monday, April 7, 2014 4:43 PM, Jack Brown <zidibik@yahoo.com> wrote:<br> </font> </div> <blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; margin-top: 5px; padding-left: 5px;"> <div class="y_msg_container"><div id="yiv9925947417"><div><div style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12pt;"><div>Hi,</div><div><br></div><div>I'm trying to get an svideo/composite capture device working with gstreamer 0.10.36 and QtGstreamer 0.10.3.</div><div><br></div><div>My device works with mplayer2 using the following command:
mplayer2 --tv=device=/dev/video1 tv:///1 (the second channel is the composite input)</div><div><br></div><div>Now, with the following pipeline:</div><div><br></div><div> "v4l2src name=vsrc ! ffmpegcolorspace ! videoscale ! autovideosink"</div><div><br></div><div>After setting the ready state and setting the channel using the tuner interface:</div><div><br></div><div> const GList *list = gst_tuner_list_channels(tuner);</div><div> while(list) {</div><div> GstTunerChannel *channel =
GST_TUNER_CHANNEL(list->data);</div><div> qDebug() << channel << (gchar *)channel->label;</div><div> gst_tuner_set_channel(tuner, channel);</div><div> list = list->next;</div><div> }</div><div><br></div><div>... setting pipeline's state to Paused or Playing just blocks the program. I do get</div><div><br></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal;"><span style="color: rgb(31, 28, 27); font-family: monospace; font-size: 12pt;">0xb920f0 S-Video</span><br></div>
<div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal;"><span style="color: rgb(31, 28, 27); font-family: monospace; font-size: 12pt;">0xb92230 Composite1</span></div><div style="color: rgb(31, 28, 27); font-size: 12pt; font-family: monospace; background-color: transparent; font-style: normal;"><br></div><div style="color: rgb(31, 28, 27); font-size: 16px; font-family: monospace; background-color: transparent; font-style: normal;">in the debug output. Other video devices work fine both with gstreamer and mplayer2.</div><div><br></div><div>Any ideas? Could I be missing something obvious?</div><div><br></div><div>Best,</div><div>Burak</div></div></div></div><br><br></div> </blockquote> </div> </div> </div> </div></body></html>