Problem 1)<br>
I am trying to stream MPEG-4 video (MP4V-ES) using RTP. On the sender side I give:<br>
gst-launch videotestsrc ! ffenc_mpeg4 ! rtpmp4vpay ! udpsink port = 1234<br>
This is producing packets as can be seen from Ethereal packet capture.
On decoding the packet as RTP, I can see the payload typ as 96.<br>
<br>
On the sender side I type:<br>
gst-launch udpsrc port=1234 ! application/x-rtp,clock-rate=90000,pt=96 ! rtpmp4vdepay ! ffdec_mpeg4 ! xvimagesink<br>
<br>
This does not work. The output I get is:<br>
Setting pipeline to PAUSED ...<br>
Pipeline is live and does not need PREROLL ...<br>
Setting pipeline to PLAYING ...<br>
New clock: GstSystemClock<br>
ERROR: from element /pipeline0/ffdec_mpeg40: Internal GStreamer error:
negotiation problem.&nbsp; Please file a bug at
<a href="http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer">http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer</a>.<br>
Additional debug info:<br>
gstffmpegdec.c(1276): gst_ffmpegdec_chain (): /pipeline0/ffdec_mpeg40:<br>
ffdec_mpeg4: input format was not set before data start<br>
Execution ended after 129952000 ns.<br>
Setting pipeline to PAUSED ...<br>
Setting pipeline to READY ...<br>
Setting pipeline to NULL ...<br>
FREEING pipeline ...<br>
<br>
-----------------------<br>
Problem 2)<br>
Instead of using the videotestsrc, I am trying to use an existing
MPEG-4 video elementary stream. Here I get a problem on the sender side
itself. My command is:<br>
gst-launch filesrc location= test.m4v ! rtpmp4vpay ! application/x-rtp,clock-rate=90000 ! udpsink port = 1234<br>
Setting pipeline to PAUSED ...<br>
Pipeline is PREROLLING ...<br>
ERROR: from element /pipeline0/rtpmp4vpay0: Element doesn't implement handling of this stream. Please file a bug.<br>
Additional debug info:<br>
gstbasertppayload.c(420): gst_basertppayload_push (): /pipeline0/rtpmp4vpay0:<br>
subclass did not specify clock_rate<br>
ERROR: pipeline doesn't want to preroll.<br>
Setting pipeline to NULL ...<br>
FREEING pipeline ...<br>
<br>
Can you please help me out?<br>
<br>
Thanks,<br>
Deeptendu.<br>