<div dir="ltr">You need to specify the src/dest ip/port for pcapparse.<br><br>Element Properties:<br> name : The name of the object<br> flags: readable, writable<br> String. Default: null Current: "pcapparse0"<br>
src-ip : Source IP to restrict to<br> flags: readable, writable<br> String. Default: "" Current: ""<br> dst-ip : Destination IP to restrict to<br>
flags: readable, writable<br> String. Default: "" Current: ""<br> src-port : Source port to restrict to<br> flags: readable, writable<br>
Integer. Range: -1 - 65535 Default: -1 Current: -1<br> dst-port : Destination port to restrict to<br> flags: readable, writable<br> Integer. Range: -1 - 65535 Default: -1 Current: -1<br>
<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, Mar 2, 2014 at 5:21 AM, d <span dir="ltr"><<a href="mailto:dudi017@gmail.com" target="_blank">dudi017@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
im working with windows and trying to read pcap file with RTP packets and<br>
show the video on the screen.<br>
<br>
I changed the pipeline from the basic tutorial of gstreamer (tutorial-1), to<br>
my pipeline (with- gst_parse_launch function):<br>
<br>
pipeline = gst_parse_launch ("filesrc name=my_filesrc ! pcapparse<br>
src-port=58694!<br>
application/x-rtp, payload=(int)96, media=(string)video,<br>
clock-rate=(int)90000,<br>
encoding-name=(string)H264 ! rtph264depay ! video/x-h264,width=320,<br>
height=240,<br>
framerate=(fraction)30/1 ! queue ! decodebin2 ! autovideosink", NULL);<br>
<br>
<br>
filesrc = gst_bin_get_by_name (GST_BIN (pipeline), "my_filesrc");<br>
g_object_set(G_OBJECT(filesrc),"location","C:\\Users\\user\\Desktop\\load.pcap<br>
",NULL);<br>
<br>
<br>
after I run the program, I can see only the first frame, the video is<br>
somehow stuck..<br>
<br>
I tried to change several sinks but with no success..<br>
<br>
I will be happy for some help..<br>
<br>
this is the link for the basic tutorial1<br>
<br>
<a href="http://docs.gstreamer.com/pages/viewpage.action?pageId=327735" target="_blank">http://docs.gstreamer.com/pages/viewpage.action?pageId=327735</a><br>
<<a href="http://docs.gstreamer.com/pages/viewpage.action?pageId=327735" target="_blank">http://docs.gstreamer.com/pages/viewpage.action?pageId=327735</a>><br>
<br>
thanks!<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://gstreamer-devel.966125.n4.nabble.com/the-output-video-is-stuck-on-the-first-frame-tp4665643.html" target="_blank">http://gstreamer-devel.966125.n4.nabble.com/the-output-video-is-stuck-on-the-first-frame-tp4665643.html</a><br>
Sent from the GStreamer-devel mailing list archive at Nabble.com.<br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
</blockquote></div><br></div>