0

I will be having raw h264 stream in a pipe and I have to serve it with RTSP. How to do this in python and gstreamer.

Currently I'm able to play the stream with ffmpeg.

ffmpeg = subprocess.Popen(
        ["ffmpeg", "-i", "-", "-f", "rawvideo", '-vcodec', 'rawvideo', '-pix_fmt', 'rgb24', "pipe:1"], stdin=f,
        stdout=subprocess.PIPE)
skns
  • 132
  • 1
  • 8

0 Answers0