[Bug 725867] New: rtph264pay udpsink timestamps
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Thu Mar 6 16:53:21 PST 2014
https://bugzilla.gnome.org/show_bug.cgi?id=725867
GStreamer | common | 1.x
Summary: rtph264pay udpsink timestamps
Classification: Platform
Product: GStreamer
Version: 1.x
OS/Version: All
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: common
AssignedTo: gstreamer-bugs at lists.freedesktop.org
ReportedBy: 765621965 at qq.com
QAContact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
Hi all:
I am using gstreamer to transmit h.264 video stream,My pipeline is:
filesrc(test.264) --> rh264parse --> rtph264pay --> udpsink
the Python code is as follow.I use an player to accept the video,But about 1-3S
after PLAYING,it stopped.I catch the packet by wireshark, It show that after
1-3S,it stop send packets,What is the problem????? Please help me!!!
PYTHON CODE:
class exchange_stream(threading.Thread):
def __init__(self,port_v):
threading.Thread.__init__(self)
self.pipeline = Gst.Pipeline()
self.filesrc = Gst.ElementFactory.make('filesrc', 'filesrc')
self.pipeline.add(self.filesrc)
self.filesrc.set_property('location','es.264')
self.queue = Gst.ElementFactory.make('queue','queue')
self.pipeline.add(self.queue)
self.h264parse = Gst.ElementFactory.make('h264parse','h264parse')
self.pipeline.add(self.h264parse)
self.rtph264pay = Gst.ElementFactory.make('rtph264pay','rtph264pay')
self.rtph264pay.set_property('pt',111)
self.pipeline.add(self.rtph264pay)
self.udpsink = Gst.ElementFactory.make('udpsink','appsink')
self.pipeline.add(self.udpsink)
self.udpsink.set_property('host','10.10.1.151')
self.udpsink.set_property('port',port_v)
self.udpsink.set_property('sync',False)
self.filesrc.link(self.queue)
self.queue.link(self.h264parse)
self.h264parse.link(self.rtph264pay)
self.rtph264pay.link(self.udpsink)
self.pipeline.set_state(Gst.State.PLAYING)
self.mainloop = GObject.MainLoop()
self.mainloop.run()
And i capture the packages by wireshak,I find that 'timestamps' is all the
same.
--
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the gstreamer-bugs
mailing list