[FFmpeg-user] need help in reducing the stream start latency in a network enviroment

Ratheendran R ratheendran.s at gmail.com
Wed May 31 17:11:00 EEST 2017


Hi All,

I am wrote an app which reads elementary streams of encoded audio/video and
mux them into mpegts stream subsequently write to unix domain socket as
client, an Unix socket  server app using  libwebsocket takes this streams
and send it to websocket server.

Now this works as expected, currently mpegts stream start latency is ~ 10
sec.


Also this is an embedded system use case and encoding happens through
hardware accelarators on soc fixed properties.I would like to know if we
can further  reduce the size of library and bypass redundant task like
probe and parsing metadata of mpegts streams.

options used for configuring ffmpeg
--enable-decoder=h264  --enable-decoder=aac --enable-bsf=h264_mp4toannexb
---enable-muxer=mpegts --enable-protocol=unix

can any one in the forum share their experience on fixing the high latency
on mpegts streaming.

Thanks,
Ratheendran


More information about the ffmpeg-user mailing list