dturing / node-gstreamer-superficial

Superficial gstreamer binding
MIT License
127 stars 45 forks source link

Is it possible to console.log whatever data comes to each element? #25

Closed thehappycoder closed 5 years ago

thehappycoder commented 5 years ago

I have this pipeline: dataurisrc uri="data:text/plain;base64,${sdpBase64String}" + ! sdpdemux latency=10000 timeout=0 ! parsebin ! mp4mux ! filesink location=${outputPath}

I wonder if I can peek at what's going on in parsebin?

dturing commented 5 years ago

sorry for the late reply. you can use either the "identity" element with dump=true, or if you really want the data in your node process, use tee and appsink.