[FFmpeg-user] need help in reducing the stream start latency in a network enviroment
Ratheendran R
ratheendran.s at gmail.com
Thu Jun 1 16:20:07 EEST 2017
Thanks Mortiz for your attending my query.
On Thu, Jun 1, 2017 at 1:43 PM, Moritz Barsnick <barsnick at gmx.net> wrote:
> On Wed, May 31, 2017 at 19:41:00 +0530, Ratheendran R wrote:
> > 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.
>
>
> Then please be so kind and show us what you have been doing so far,
> otherwise it's hard to say where to improve. The full command line, and
> complete, uncut console output.
>
> Apologies for my ignorance.I wanted to keep it short.
configuration options used. in busybox source.
BR2_PACKAGE_FFMPEG_EXTRACONF="--disable-encoders --disable-decoders
--enable-decoder=h264 --enable-decoder=aac --disable-bsfs
--enable-bsf=h264_mp4toannexb --disable-hwaccels --disable-indevs
--disable-outdevs --disable-muxers --enable-muxer=mpegts --disable-parsers
--enable-parser=h264 --enable-parser=aac --enable-small --disable-network
--disable-demuxers --enable-demuxer=aac --enable-demuxer=h264
--enable-demuxer=mpegts --disable-filters --disable-filter=aformat
--disable-filter=format --disable-filter=setpts --disable-filter=anull
--disable-filter=null --disable-filter=trim --disable-filter=atrim
--disable-avdevice --enable-network --disable-swscale --disable-swresample
--disable-avfilter --disable-bzlib --disable-openssl --disable-zlib
--enable-protocol=unix --enable-protocol=file --disable-protocol=rtp
--disable-protocol=http --disable-protocol=tcp"
o/p I got on the console.
install prefix /usr
source path .
C compiler
/home/hitem/Microskybell/software/source/Buildroot/output/host/usr/bin/arm-linux-gcc
C library uclibc
host C compiler /usr/bin/gcc
host C library glibc
ARCH arm (arm926ej-s)
big-endian no
runtime cpu detection yes
ARMv5TE enabled yes
ARMv6 enabled no
ARMv6T2 enabled no
VFP enabled no
NEON enabled yes
THUMB enabled no
debug symbols yes
strip symbols no
optimize for size yes
optimizations yes
static no
shared yes
postprocessing support no
new filter support no
network support yes
threading support pthreads
safe bitstream reader yes
SDL support no
opencl enabled no
texi2html enabled no
perl enabled yes
pod2man enabled yes
makeinfo enabled no
makeinfo supports HTML no
Enabled programs:
ffprobe
External libraries:
Enabled decoders:
aac h264
Enabled encoders:
Enabled hwaccels:
Enabled parsers:
aac h264
Enabled demuxers:
aac h264 mpegts
Enabled muxers:
adts latm mpegts
Enabled protocols:
file unix
Enabled filters:
Enabled bsfs:
h264_mp4toannexb
Enabled indevs:
Enabled outdevs:
-> with this library size obtained is
libavcodec.so.56.60.100 --> 992244 bytes
libavformat.so.56.40.101 --> 212216 bytes
libavutil.so.54.31.100 --> 213936 bytes
so ffmpeg lib ~ 1.5 mb
People have already shared a bit:
> https://trac.ffmpeg.org/wiki/StreamingGuide#Latency
>
> I already working on gop =10 in the encoder.
So please let me know where I can improve upon.
Ratheendran
More information about the ffmpeg-user
mailing list