Gstreamer h264 encoding packetized frame format -- unable to decode

Nicolas Dufresne nicolas.dufresne at collabora.com
Fri Sep 19 11:15:25 PDT 2014


Le 2014-09-19 12:36, mansi.karan a écrit :
> Hi all, I need to send H264 encoded data to a peer via TCP, and in such cases
> I guess packetized format is preferred as byte-stream will create big
> packets.
>
> But, as soon as i remove byte-stream=true from any encoder the h264parse is
> unable to parse the stream.
Unlike UDP, TCP has no notion of messages. The stream will be received 
and cut into random peaces on the remote hand. Hence, the only valid way 
to send H264 over TCP is to use byte-stream. The overhead should not be 
a big issue in my opinion. The size of packets is not important in TCP.

Nicolas


More information about the gstreamer-devel mailing list