By the way, I got this by using playbin2:<div><br></div><div><div><font face="courier new, monospace"><b>dustin@dustinlenovo:/tmp$ gst-launch --gst-debug=playbin2:5 playbin2 uri=udp://<a href="http://192.168.5.102:5000">192.168.5.102:5000</a></b></font></div>
<div><font face="courier new, monospace"><br></font></div><div><font face="courier new, monospace">0:00:00.021952272 32470 0x9683400 LOG playbin2 gstplaybin2.c:1318:gst_playbin_uri_is_valid:<playbin20> checking uri 'udp://<a href="http://192.168.5.102:5000">192.168.5.102:5000</a>'</font></div>
<div><font face="courier new, monospace">0:00:00.022006314 32470 0x9683400 DEBUG playbin2 gstplaybin2.c:1372:gst_play_bin_set_uri: set new uri to udp://<a href="http://192.168.5.102:5000">192.168.5.102:5000</a></font></div>
<div><font face="courier new, monospace">Setting pipeline to PAUSED ...</font></div><div><font face="courier new, monospace">0:00:00.022144060 32470 0x9683400 LOG playbin2 gstplaybin2.c:3895:gst_play_bin_change_state:<playbin20> clearing shutdown flag</font></div>
<div><font face="courier new, monospace">0:00:00.022164495 32470 0x9683400 DEBUG playbin2 gstplaybin2.c:3790:setup_next_source:<playbin20> setup sources</font></div><div><font face="courier new, monospace">0:00:00.022194614 32470 0x9683400 DEBUG playbin2 gstplaybin2.c:3477:activate_group:<playbin20> activating group 0x9711318</font></div>
<div><font face="courier new, monospace">0:00:00.022208169 32470 0x9683400 DEBUG playbin2 gstplaybin2.c:3498:activate_group:<playbin20> making new uridecodebin</font></div><div><font face="courier new, monospace">0:00:00.022597792 32470 0x9683400 DEBUG playbin2 gstplaybin2.c:3456:group_set_locked_state_unlocked:<playbin20> locked_state 0 on group 0x9711318</font></div>
<div><font face="courier new, monospace">0:00:00.023812556 32470 0x9683400 DEBUG playbin2 gstplaybin2.c:2317:gst_play_bin_handle_message:<playbin20> Ignoring async state change of uridecodebin: uridecodebin0</font></div>
<div><font face="courier new, monospace">Pipeline is live and does not need PREROLL ...</font></div><div><font face="courier new, monospace">Setting pipeline to PLAYING ...</font></div><div><font face="courier new, monospace">New clock: GstSystemClock</font></div>
<div><font face="courier new, monospace"><br></font></div><div><font face="courier new, monospace"><br></font></div><div><font face="courier new, monospace"><br></font></div><div><font face="courier new, monospace"><br></font></div>
<div><font face="courier new, monospace"><br></font></div><div><font face="courier new, monospace">0:00:14.542698212 32470 0x95e5720 DEBUG playbin2 gstplaybin2.c:3214:autoplug_continue_cb:<playbin20> continue autoplugging group 0x9711318 for '':decodepad0, video/mpegts, systemstream=(boolean)true, packetsize=(int)188: 1</font></div>
<div><font face="courier new, monospace">0:00:14.542910589 32470 0x95e5720 DEBUG playbin2 gstplaybin2.c:3049:autoplug_factories_cb:<playbin20> factories group 0x9711318 for '':decodepad0, video/mpegts, systemstream=(boolean)true, packetsize=(int)188</font></div>
<div><font face="courier new, monospace">0:00:14.550811109 32470 0x95e5720 DEBUG playbin2 gstplaybin2.c:3059:autoplug_factories_cb:<playbin20> found factories 0xb64189b0</font></div><div><font face="courier new, monospace">0:00:14.551117538 32470 0x95e5720 DEBUG playbin2 gstplaybin2.c:3268:autoplug_select_cb:<playbin20> select group 0x9711318 for '':decodepad0, video/mpegts, systemstream=(boolean)true, packetsize=(int)188</font></div>
<div><font face="courier new, monospace">0:00:14.551202471 32470 0x95e5720 DEBUG playbin2 gstplaybin2.c:3271:autoplug_select_cb:<playbin20> checking factory mpegtsdemux</font></div><div><font face="courier new, monospace">0:00:14.713355113 32470 0x95e5720 DEBUG playbin2 gstplaybin2.c:3214:autoplug_continue_cb:<playbin20> continue autoplugging group 0x9711318 for '':decodepad1, audio/x-ac3: 1</font></div>
<div><font face="courier new, monospace">0:00:14.713401299 32470 0x95e5720 DEBUG playbin2 gstplaybin2.c:3049:autoplug_factories_cb:<playbin20> factories group 0x9711318 for '':decodepad1, audio/x-ac3</font></div>
<div><font face="courier new, monospace">0:00:14.713622715 32470 0x95e5720 DEBUG playbin2 gstplaybin2.c:3059:autoplug_factories_cb:<playbin20> found factories 0xb6418b80</font></div><div><font face="courier new, monospace">0:00:14.714048757 32470 0x95e5720 DEBUG playbin2 gstplaybin2.c:3268:autoplug_select_cb:<playbin20> select group 0x9711318 for '':decodepad1, audio/x-ac3</font></div>
<div><font face="courier new, monospace">0:00:14.714097628 32470 0x95e5720 DEBUG playbin2 gstplaybin2.c:3271:autoplug_select_cb:<playbin20> checking factory pulsesink</font></div><div><font face="courier new, monospace">0:00:14.714125521 32470 0x95e5720 DEBUG playbin2 gstplaybin2.c:3344:autoplug_select_cb:<playbin20> we found a sink</font></div>
<div><font face="courier new, monospace">0:00:14.714151129 32470 0x95e5720 DEBUG playbin2 gstplaybin2.c:3350:autoplug_select_cb:<playbin20> we found an audio sink</font></div><div><font face="courier new, monospace">0:00:14.714177845 32470 0x95e5720 DEBUG playbin2 gstplaybin2.c:3393:autoplug_select_cb:<playbin20> we have no pending sink, try to create one</font></div>
<div><font face="courier new, monospace">0:00:14.724957778 32470 0x95e5720 DEBUG playbin2 gstplaybin2.c:3268:autoplug_select_cb:<playbin20> select group 0x9711318 for '':decodepad1, audio/x-ac3</font></div>
<div><font face="courier new, monospace">0:00:14.725003694 32470 0x95e5720 DEBUG playbin2 gstplaybin2.c:3271:autoplug_select_cb:<playbin20> checking factory ac3parse</font></div><div><font face="courier new, monospace">0:00:14.725687536 32470 0x95e5720 DEBUG playbin2 gstplaybin2.c:3049:autoplug_factories_cb:<playbin20> factories group 0x9711318 for '':decodepad2, audio/x-ac3, framed=(boolean)true, channels=(int)[ 1, 6 ], rate=(int)[ 8000, 48000 ], alignment=(string){ iec61937, frame }; audio/x-eac3, framed=(boolean)true, channels=(int)[ 1, 6 ], rate=(int)[ 8000, 48000 ], alignment=(string){ iec61937, frame }</font></div>
<div><font face="courier new, monospace">0:00:14.725996661 32470 0x95e5720 DEBUG playbin2 gstplaybin2.c:3059:autoplug_factories_cb:<playbin20> found factories 0xb6458eb0</font></div><div><font face="courier new, monospace">0:00:14.728966979 32470 0x95e5720 DEBUG playbin2 gstplaybin2.c:3214:autoplug_continue_cb:<playbin20> continue autoplugging group 0x9711318 for '':decodepad3, video/mpeg, mpegversion=(int)2, systemstream=(boolean)false: 1</font></div>
<div><font face="courier new, monospace">0:00:14.729094763 32470 0x95e5720 DEBUG playbin2 gstplaybin2.c:3049:autoplug_factories_cb:<playbin20> factories group 0x9711318 for '':decodepad3, video/mpeg, mpegversion=(int)2, systemstream=(boolean)false</font></div>
<div><font face="courier new, monospace">0:00:14.730460890 32470 0x95e5720 DEBUG playbin2 gstplaybin2.c:3059:autoplug_factories_cb:<playbin20> found factories 0xb6418620</font></div><div><font face="courier new, monospace">0:00:14.731074426 32470 0x95e5720 DEBUG playbin2 gstplaybin2.c:3268:autoplug_select_cb:<playbin20> select group 0x9711318 for '':decodepad3, video/mpeg, mpegversion=(int)2, systemstream=(boolean)false</font></div>
<div><font face="courier new, monospace">0:00:14.731165683 32470 0x95e5720 DEBUG playbin2 gstplaybin2.c:3271:autoplug_select_cb:<playbin20> checking factory mpegvideoparse</font></div><div><font face="courier new, monospace">0:00:14.744258860 32470 0xb643be90 DEBUG playbin2 gstplaybin2.c:3214:autoplug_continue_cb:<playbin20> continue autoplugging group 0x9711318 for '':decodepad5, video/mpeg, mpegversion=(int)2, systemstream=(boolean)false, parsed=(boolean)true: 1</font></div>
<div><font face="courier new, monospace">0:00:14.744409010 32470 0xb643be90 DEBUG playbin2 gstplaybin2.c:3049:autoplug_factories_cb:<playbin20> factories group 0x9711318 for '':decodepad5, video/mpeg, mpegversion=(int)2, systemstream=(boolean)false, parsed=(boolean)true</font></div>
<div><font face="courier new, monospace">0:00:14.744667670 32470 0xb643be90 DEBUG playbin2 gstplaybin2.c:3059:autoplug_factories_cb:<playbin20> found factories 0xb4c00950</font></div><div><font face="courier new, monospace">0:00:14.744743720 32470 0xb643be90 DEBUG playbin2 gstplaybin2.c:3268:autoplug_select_cb:<playbin20> select group 0x9711318 for '':decodepad5, video/mpeg, mpegversion=(int)2, systemstream=(boolean)false, parsed=(boolean)true</font></div>
<div><font face="courier new, monospace">0:00:14.744758143 32470 0xb643be90 DEBUG playbin2 gstplaybin2.c:3271:autoplug_select_cb:<playbin20> checking factory mpeg2dec</font></div><div><font face="courier new, monospace">0:00:14.854031750 32470 0x95e5720 DEBUG playbin2 gstplaybin2.c:3214:autoplug_continue_cb:<playbin20> continue autoplugging group 0x9711318 for '':decodepad7, audio/x-ac3: 1</font></div>
<div><font face="courier new, monospace">0:00:14.854191602 32470 0x95e5720 DEBUG playbin2 gstplaybin2.c:3049:autoplug_factories_cb:<playbin20> factories group 0x9711318 for '':decodepad7, audio/x-ac3</font></div>
<div><font face="courier new, monospace">0:00:14.854649600 32470 0x95e5720 DEBUG playbin2 gstplaybin2.c:3059:autoplug_factories_cb:<playbin20> found factories 0xb6471880</font></div><div><font face="courier new, monospace">0:00:14.855619479 32470 0x95e5720 DEBUG playbin2 gstplaybin2.c:3268:autoplug_select_cb:<playbin20> select group 0x9711318 for '':decodepad7, audio/x-ac3</font></div>
<div><font face="courier new, monospace">0:00:14.855700091 32470 0x95e5720 DEBUG playbin2 gstplaybin2.c:3271:autoplug_select_cb:<playbin20> checking factory pulsesink</font></div><div><font face="courier new, monospace">0:00:14.855776440 32470 0x95e5720 DEBUG playbin2 gstplaybin2.c:3344:autoplug_select_cb:<playbin20> we found a sink</font></div>
<div><font face="courier new, monospace">0:00:14.855877980 32470 0x95e5720 DEBUG playbin2 gstplaybin2.c:3350:autoplug_select_cb:<playbin20> we found an audio sink</font></div><div><font face="courier new, monospace">0:00:14.855955069 32470 0x95e5720 DEBUG playbin2 gstplaybin2.c:3393:autoplug_select_cb:<playbin20> we have no pending sink, try to create one</font></div>
<div><font face="courier new, monospace">0:00:14.861079720 32470 0x95e5720 DEBUG playbin2 gstplaybin2.c:3268:autoplug_select_cb:<playbin20> select group 0x9711318 for '':decodepad7, audio/x-ac3</font></div>
<div><font face="courier new, monospace">0:00:14.861206558 32470 0x95e5720 DEBUG playbin2 gstplaybin2.c:3271:autoplug_select_cb:<playbin20> checking factory ac3parse</font></div><div><font face="courier new, monospace">0:00:14.861928499 32470 0x95e5720 DEBUG playbin2 gstplaybin2.c:3049:autoplug_factories_cb:<playbin20> factories group 0x9711318 for '':decodepad8, audio/x-ac3, framed=(boolean)true, channels=(int)[ 1, 6 ], rate=(int)[ 8000, 48000 ], alignment=(string){ iec61937, frame }; audio/x-eac3, framed=(boolean)true, channels=(int)[ 1, 6 ], rate=(int)[ 8000, 48000 ], alignment=(string){ iec61937, frame }</font></div>
<div><font face="courier new, monospace">0:00:14.862580662 32470 0x95e5720 DEBUG playbin2 gstplaybin2.c:3059:autoplug_factories_cb:<playbin20> found factories 0xb646de20</font></div><div><font face="courier new, monospace">0:00:14.864351517 32470 0xb643bf50 DEBUG playbin2 gstplaybin2.c:3214:autoplug_continue_cb:<playbin20> continue autoplugging group 0x9711318 for '':decodepad9, audio/x-ac3, framed=(boolean)true, rate=(int)48000, channels=(int)2, alignment=(string)frame: 1</font></div>
<div><font face="courier new, monospace">0:00:14.864560656 32470 0xb643bf50 DEBUG playbin2 gstplaybin2.c:3049:autoplug_factories_cb:<playbin20> factories group 0x9711318 for '':decodepad9, audio/x-ac3, framed=(boolean)true, rate=(int)48000, channels=(int)2, alignment=(string)frame</font></div>
<div><font face="courier new, monospace">0:00:14.865104298 32470 0xb643bf50 DEBUG playbin2 gstplaybin2.c:3059:autoplug_factories_cb:<playbin20> found factories 0xb4101e40</font></div><div><font face="courier new, monospace">0:00:14.865443547 32470 0xb643bf50 DEBUG playbin2 gstplaybin2.c:3268:autoplug_select_cb:<playbin20> select group 0x9711318 for '':decodepad9, audio/x-ac3, framed=(boolean)true, rate=(int)48000, channels=(int)2, alignment=(string)frame</font></div>
<div><font face="courier new, monospace">0:00:14.865580106 32470 0xb643bf50 DEBUG playbin2 gstplaybin2.c:3271:autoplug_select_cb:<playbin20> checking factory pulsesink</font></div><div><font face="courier new, monospace">0:00:14.865655838 32470 0xb643bf50 DEBUG playbin2 gstplaybin2.c:3344:autoplug_select_cb:<playbin20> we found a sink</font></div>
<div><font face="courier new, monospace">0:00:14.865725210 32470 0xb643bf50 DEBUG playbin2 gstplaybin2.c:3350:autoplug_select_cb:<playbin20> we found an audio sink</font></div><div><font face="courier new, monospace">0:00:14.865796342 32470 0xb643bf50 DEBUG playbin2 gstplaybin2.c:3393:autoplug_select_cb:<playbin20> we have no pending sink, try to create one</font></div>
<div><font face="courier new, monospace">0:00:14.871464068 32470 0xb643bf50 DEBUG playbin2 gstplaybin2.c:3268:autoplug_select_cb:<playbin20> select group 0x9711318 for '':decodepad9, audio/x-ac3, framed=(boolean)true, rate=(int)48000, channels=(int)2, alignment=(string)frame</font></div>
<div><font face="courier new, monospace">0:00:14.871598227 32470 0xb643bf50 DEBUG playbin2 gstplaybin2.c:3271:autoplug_select_cb:<playbin20> checking factory a52dec</font></div><div><br></div><div><br>
</div><div>Dustin</div><br><div class="gmail_quote">On Wed, Nov 14, 2012 at 2:26 AM, Dustin Oprea <span dir="ltr"><<a href="mailto:myselfasunder@gmail.com" target="_blank">myselfasunder@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I've been trying to read the RTP feed from my HDHR tuner with zero success. Does anyone have experience with this?<div>
<br></div><div><div>GStreamer:</div><div><br></div></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px">
<div><div><font face="courier new, monospace">gst-launch --gst-debug=udpsrc:5 udpsrc port=5000 caps="application/x-rtp,media=(string)video,format=(fourcc)I420, width=(int)720, height=(int)480,encoding-name=(string)RAW,sampling=(string)YUV,pixel-aspect-ratio=(fraction)8/9, framerate=(fraction)30000/1001, interlaced=(boolean)true" ! gstrtpbin ! rtpvrawdepay ! filesink location=/tmp/output</font></div>
</div></blockquote><div><div><br></div><div>* I got the capabilities via autodetection somehow, at some point.</div><div><br></div><div>HDHR:</div><div><br></div></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px">
<div><div><font face="courier new, monospace">hdhomerun_config 1310DA25 set /tuner2/target udp://<a href="http://192.168.5.102:5000" target="_blank">192.168.5.102:5000</a></font></div></div></blockquote><div><div><br></div>
<div>When I try to send via RTP (rtp://192.1685.102:5000, instead of using UDP, as above), I get a UDP error every time, no matter what the capabilities, whenever it sinks to gstrtpbin:</div>
<div><br></div></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><div><font face="courier new, monospace">ERROR: from element /GstPipeline:pipeline0/GstUDPSrc:udpsrc0: Internal data flow error.</font></div>
</div></blockquote><div><div><br></div><div>I'm assuming this means that capabilities don't match between linked pads. </div><div><br></div><div>When I use the UDP scheme (originally, above), I don't get any errors, but no data moves through the pipeline.</div>
<div><br></div><div><br></div><div>--gst-debug on various elements at various levels didn't give me anything useful.</div><div><br></div><div><br></div><div>VLC works perfectly, whether I'm sending to <font face="courier new, monospace">rtp://xxx.xxx.xxx.xxx:nnnn</font> and receiving on <font face="courier new, monospace">rtp://:nnnn</font>, or sending to <font face="courier new, monospace">udp://xxx.xxx.xxx.xxx:nnnn</font> and receiving on <font face="courier new, monospace">udp://:nnnn</font>.</div>
<div><br></div><div>Any thoughts?</div><div><br></div><div>Also, is GST not able to automatically identify capabilities of the RTP stream? I don't know how I tripped over it (in order to get the capabilities, above), but it doesn't seem very intuitive. It seems like that if VLC (super-versatile) could do it, GStreamer (also super-versatile) could do it.</div>
<div><br></div><div><br></div><div>Thanks.</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>Dustin</div></font></span></div>
</blockquote></div><br></div>