research

OSX low latency ffmpeg publisher with ffplay subscriber via wowza streaming engine

ffmpeg -f avfoundation -list_devices true -i ""
[AVFoundation input device @ 0x7f88b0422800] AVFoundation video devices:
[AVFoundation input device @ 0x7f88b0422800] [0] FaceTime HD Camera
[AVFoundation input device @ 0x7f88b0422800] [1] Capture screen 0
[AVFoundation input device @ 0x7f88b0422800] AVFoundation audio devices:
[AVFoundation input device @ 0x7f88b0422800] [0] Built-in Microphone
export RTMP_SERVER "example.com:1935"
export RTMP_APP live
export RTMP_STREAM chris
ffmpeg -f avfoundation -i "default":"default" -f nut pipe:1 | ffplay pipe:0
ffplay -fflags nobuffer rtmp://$RTMP_SERVER/$RTMP_APP/$RTMP_STREAM
ffmpeg -f avfoundation -i "default":"default" -pix_fmt yuv420p -s 284x164 -vcodec libx264 -preset ultrafast -tune zerolatency -f flv rtmp://$RTMP_SERVER/$RTMP_APP/$RTMP_STREAM

Comments

Related posts

2017 ¤ 2020 journey with exciting Vresh & Tag-ya

In 2017, I have decided to accept the offer of CTO & Partner in a startup called Vrenetic. It all started in Los Angeles as a vision of two movie producers from Hollywood - Roland Emmerich and Marco Weber. At that time the…

Wowza powered by M3 and G2 instances on AWS ?

This blogpost is continuation of ffmpeg/ffserver network latency benchmark. Today, I will focus on delay introduced by Wowza. As the previous blogpost showed the source of the delivery delay which is not the network latency but rather the computation itself…