H265 encoded video stream to RTMP

Nicolas Dufresne nicolas at ndufresne.ca
Sat Oct 27 08:09:54 UTC 2018


Le jeudi 25 octobre 2018 à 00:52 -0500, justin a écrit :
> Streaming H265 encoded video feed to RTMP server  Reply Follow
>  
> junione1997
>   
> Hello everyone,
> 
> I am currently trying to build a pipeline that streams H265 encoded video
> feed to WOWZA streaming engine (which uses RTMP). 
> 
> I have got streaming working for H264 format fine, using below pipeline.
> 
> gst-launch-1.0 nvcamerasrc ! 'video/x-raw(memory:NVMM), width=1280,
> height=720, format=I420, framerate=30/1' ! queue ! omxh264enc ! h264parse !
> flvmux streamable=true ! queue ! rtmpsink location='rtmp://{IP
> address}/live/'
> 
> It appears that however flvmux does not work with h265 format, so I am
> little lost on how I can stream h265 format to rtmp server. 
> 
> Has anyone successfully implemented this? Cheers

That you can't, since the media passed through RTMP is FLV, and FLV
does not specify how to mux HEVC frames. So unless Adobe provides a
spec for it, or that an adhoc standard get adopted among RTMP server we
are left without that possibility.

> 
> p.s. I cannot use MKV as RTMP only takes flvp
> 
> 
> 
> --
> 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/20181027/882d7961/attachment.sig>


More information about the gstreamer-devel mailing list