cmafmux and h265
I successfully leveraged this example to generate playable fmp4/hls streams using h264. I'm trying to iterate over it and generate h265 outputs, but for some reason, although it looks to be supported, cmafmux is not linking with the caps I'm using:
$ gst-launch-1.0 videotestsrc num-buffers=2500 ! timecodestamper ! video/x-raw,format=I420,width=1280,height=720,framerate=30/1 ! timeoverlay ! x265enc tune=zerolatency bitrate=2048 ! video/x-h265,profile=main,stream-format=hvc1 ! cmafmux fragment-duration=2 header-update-mode=update write-mehd=true ! appsink name=sink
WARNING: erroneous pipeline: could not link x265enc0 to cmafmux0, x265enc0 can't handle caps video/x-h265, profile=(string)main, stream-format=(string)hvc1
It also doesn't work if I simplify the caps to just video/x-h265
. What am I doing wrong? :)