Decoding output of omxh264enc in bytestream format

Nicolas Dufresne nicolas at ndufresne.ca
Tue Apr 2 15:15:31 UTC 2019


Hi Denis:

Le mardi 02 avril 2019 à 04:20 -0500, Denis G a écrit :
> Hi Andrea,
> 
> I found your unanswered question regarding the issue you were having when
> trying to decode a stream encoded with omxh264enc. I am having the same
> issue and I wonder how you managed to decode this stream.
> 
> Outgoing stream from a Raspberry Pi:
> 
> gst-launch-1.0 v4l2src device=/dev/video0 !
> video/x-raw,width=1280,height=480,framerate=30/1 ! omxh264enc
> target-bitrate=5000000 control-rate=variable ! rtph264pay name=pay0 pt=96 !
> gdppay ! tcpserversink host=192.168.1.78 port=5001
> 
> Stream decoding from a remote computer (this command fails):
> 
> gst-launch-1.0 -v tcpclientsrc host=192.168.1.78 port=5001 ! rtph264depay !

You use gdppay on sender, but not gdpdepay on the receiver, I'm not
sure this is a great choice for streaming over non-packetize medium. In
RTP, there exist a standard payload format for passing RTP stream over
a TCP or other non-packetize medium. Search rtpstreampay/rtpstreamdepay
for more details.

> avdec_h264 ! videoconvert ! autovideosink sync=false
> 
> Thank you,
> 
> Denis.
> 
> 
> 
> --
> Sent from: http://gstreamer-devel.966125.n4.nabble.com/
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20190402/eabf23d4/attachment.sig>


More information about the gstreamer-devel mailing list