Login  Register

problem generating RTP packets

classic Classic list List threaded Threaded
3 messages Options Options
Embed post
Permalink
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

problem generating RTP packets

Chuck Crisler-2
I am trying to send video packets out onto the network using the following pipeline. It runs without error but doesn't work. I have captured a wireshark trace and the size of the RTP packets is usually 56 bytes, though sometimes 60 bytes. Whichever size it is consistent through out the session. I am using good plugins v. 0.10.23. Any ideas?

Thank you,
Chuck Crisler

#!/bin/sh

gst-launch-0.10 v4l2src device=/dev/video0 always-copy=false ! 'video/x-raw-yuv,width=640,height=480' ! x264enc pass=qual quantizer=30 bitrate=256 ! video/x-h264 ! rtph264pay pt=96 mtu=1400 ! udpsink host=192.168.10.212 port=9000



_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

Re: problem generating RTP packets

Krzysztof Konopko
Hi Chuck,

What do you mean by "doesn't work"?
Do you mean you can't receive packets?

Check the firewall rules on the destination host and make sure you use
proper capabilities on the receiver side.

Kris

On 07/12/12 14:22, Chuck Crisler wrote:

> I am trying to send video packets out onto the network using the following
> pipeline. It runs without error but doesn't work. I have captured a
> wireshark trace and the size of the RTP packets is usually 56 bytes, though
> sometimes 60 bytes. Whichever size it is consistent through out the
> session. I am using good plugins v. 0.10.23. Any ideas?
>
> Thank you,
> Chuck Crisler
>
> #!/bin/sh
>
> gst-launch-0.10 v4l2src device=/dev/video0 always-copy=false !
> 'video/x-raw-yuv,width=640,height=480' ! x264enc pass=qual quantizer=30
> bitrate=256 ! video/x-h264 ! rtph264pay pt=96 mtu=1400 ! udpsink
> host=192.168.10.212 port=9000
>
>
>
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

Re: problem generating RTP packets

Chuck Crisler-2
I captured the wireshark trace on the generating system, before the network. The packets are uniformly small and bad. Wireshark identifies them as [Malformed Packet]. It seems like it has to be an issue with the packet generation, either rtph264pay or udpsink.

On Fri, Dec 7, 2012 at 9:32 AM, Krzysztof Konopko <[hidden email]> wrote:
Hi Chuck,

What do you mean by "doesn't work"?
Do you mean you can't receive packets?

Check the firewall rules on the destination host and make sure you use
proper capabilities on the receiver side.

Kris

On 07/12/12 14:22, Chuck Crisler wrote:
> I am trying to send video packets out onto the network using the following
> pipeline. It runs without error but doesn't work. I have captured a
> wireshark trace and the size of the RTP packets is usually 56 bytes, though
> sometimes 60 bytes. Whichever size it is consistent through out the
> session. I am using good plugins v. 0.10.23. Any ideas?
>
> Thank you,
> Chuck Crisler
>
> #!/bin/sh
>
> gst-launch-0.10 v4l2src device=/dev/video0 always-copy=false !
> 'video/x-raw-yuv,width=640,height=480' ! x264enc pass=qual quantizer=30
> bitrate=256 ! video/x-h264 ! rtph264pay pt=96 mtu=1400 ! udpsink
> host=192.168.10.212 port=9000
>
>
>
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel