mpegtsmux works with ver 1.16.3 but not with 1.20.3
Hi all,
Hope someone can help me... I cannot mux KLV data (meta/x-klv) using the latest (1.20.3) GStreamer version. The same code works in older 1.16.3... Below is the pipeline. It encodes the video and klv metadata and tries to mux them into .ts file. I've created a klvencode plugin that takes json packet and converts it into meta/x-klv buffer, but even if I simply push the meta/x-klv buffer, it does not work on 1.20.3. The resulting file does not have the klv.
gst-launch-1.0 videotestsrc ! \
'video/x-raw,format=(string)I420,width=720,height=480,framerate=(fraction)30/1' !
x264enc bitrate=1000 ! 'video/x-h264, stream-format=(string)byte-stream, alignment=au' !
mpegtsmux alignment=7 name=mux ! filesink sync=false async=true location=~/test.ts
multifilesrc do-timestamp=TRUE location=~/packet.json loop=true ! identity sleep-time=33000 !
klvencode ! 'meta/x-klv' ! mux.
Before using the plugin, I used appsrc to inject the data. That code doesn't work with the latest mux. It sends buffers to the mux until the queue is full and then stops. Setting is-live doesn't seem to have any effect...
Thanks,
Alex