fdsink to pipe to exteranl ffmpeg

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

fdsink to pipe to exteranl ffmpeg

art vanderhoff
Hi All,

Can you tell me the syntax to send a raw output of gstreamer to an exteranl ffmpeg.

I have tried the below with no luck

thx
Art

gst-launch -v gstrtpbin latency=100 name=rtpbin  buffer-mode=none uridecodebin uri="rtsp://192.168.0.1/stream" buffer-size=200 buffer-duration=200 download=false name=decode decode.  ! queue  !  ffmpegcolorspace ! videoscale ! queue  ! capsfilter  caps="video/x-raw-yuv,width=640,height=352,framerate=(fraction)25/1" ! fdsink fd=1  | ffmpeg -i pipe:1 -re -acodec libfaac -ar 22050 -vcodec libx264  -f flv rtmp://0.0.0.0/streamout