I am trying to use latest gstreamer and x265enc together. I saw that someone have already posted some commits in http://cgit.freedesktop.org/gstreamer/gst-plugins-bad/log/ext/x265/gstx265enc.c Can anyone please give an example pipeline where it is known to working (gst-launch-1.0 pipeline example will be very helpful)
1) What is the current status of x265enc plugin for gstreamer ? does it work really ? Which branch of gstreamer I need to use to build x265enc? I want to build whole gsteamer source code which will be compatible with x265enc plugin. What are the system requirement for x265enc and how to build it ? Any wiki/basic instructions will be very helpful.
My goal is to broadcast my ip cameras (h264 streams) as h265 stream on vaughnlive.tv
Currently, I am using following pipeline to broadcast in h264 format:
GST_DEBUG=2 gst-launch-1.0 flvmux name=mux streamable=true ! rtmpsink sync=true location="rtmp://xxxxxxxxxxxx" rtspsrc location="rtsp://xxxxxxx" caps="application/x-rtp, media=(string)audio, clock-rate=(int)90000, encoding-name=(string)MPA, payload=(int)96" ! rtpmpadepay ! mpegaudioparse ! queue ! mad ! audioconvert ! queue ! voaacenc bitrate=128000 ! aacparse ! audio/mpeg,mpegversion=4,stream-format=raw ! mux. rtspsrc location="rtsp://xxxxxxx" caps="application/x-rtp,media=(string)video,clock-rate=(int)90000, encoding-name=(string)H264" ! rtph264depay ! video/x-h264,stream-format=avc,alignment=au,byte-stream=false ! queue ! decodebin ! queue ! videorate ! "video/x-raw,framerate=30/1" ! queue ! x264enc threads=4 speed-preset=ultrafast bitrate=3072 ! mux.
2) Can anyone please suggest on how should I change this pipeline to broadcast in h265 format using x265enc element?