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

Ratheendran R ratheendran.s at gmail.com
Wed Jun 14 09:41:47 EEST 2017


Hi Moritz,

Here is the  on the o/p produced by ffmpeg on my embedded setup and let me
know were I can improve it further.

Start to use memory manager library version 4.1.0.0 !!
Open EDMC device driver version 6.1.0.6 successful !!
ffmpeg version 2.8.1 Copyright (c) 2000-2015 the FFmpeg developers
  built with gcc 4.9.2 (Buildroot 2014.08)
  configuration: --enable-cross-compile
--cross-prefix=/home/hitem/sources/Microskybell/software/source/Buildroot/output/host/usr/bin/arm-linu'
  WARNING: library configuration mismatch
  avutil      configuration: --enable-cross-compile
--cross-prefix=/home/hitem/sources/Microskybell/software/source/Buildroot/output/host/usr/'
  avcodec     configuration: --enable-cross-compile
--cross-prefix=/home/hitem/sources/Microskybell/software/source/Buildroot/output/host/usr/'
  avformat    configuration: --enable-cross-compile
--cross-prefix=/home/hitem/sources/Microskybell/software/source/Buildroot/output/host/usr/'
  avdevice    configuration: --enable-cross-compile
--cross-prefix=/home/hitem/sources/Microskybell/software/source/Buildroot/output/host/usr/'
  avfilter    configuration: --enable-cross-compile
--cross-prefix=/home/hitem/sources/Microskybell/software/source/Buildroot/output/host/usr/'
  libavutil      54. 31.100 / 54. 31.100
  libavcodec     56. 60.100 / 56. 60.100
  libavformat    56. 40.101 / 56. 40.101
  libavdevice    56.  4.100 / 56.  4.100
  libavfilter     5. 40.101 /  5. 40.101
  libswresample   1.  2.101 /  1.  2.101
Input #0, h264, from 'venc:':
  Duration: N/A, bitrate: N/A
    Stream #0:0: Video: h264, yuvj420p(pc, bt470bg/bt470bg/smpte170m),
1280x720, 10 fps, 10 tbr, 1200k tbn, 20 tbc
Input #1, aac, from 'aenc:':
  Duration: N/A, bitrate: 13 kb/s
    Stream #1:0: Audio: aac (LC), 8000 Hz, stereo, fltp, 13 kb/s
Output #0, mpegts, to '/home/ravi/misc/out.ts':
  Metadata:
    encoder         : Lavf56.40.101
    Stream #0:0: Video: h264, yuvj420p, 1280x720, q=2-31, 10 fps, 10 tbr,
90k tbn, 1200k tbc
    Stream #0:1: Audio: aac, 8000 Hz, stereo, 13 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
  Stream #1:0 -> #0:1 (copy)
Press [q] to stop, [?] for help
[h264 @ 0x1192460] Thread message queue blocking; consider raising the
thread_queue_size option (current value: 8)
[aac @ 0x12ed2a0] Thread message queue blocking; consider raising the
thread_queue_size option (current value: 8)


Thanks,
Ratheendran


On Fri, Jun 2, 2017 at 1:13 AM, Moritz Barsnick <barsnick at gmx.net> wrote:

> On Thu, Jun 01, 2017 at 18:50:07 +0530, Ratheendran R wrote:
> > configuration options used. in busybox source.
> > BR2_PACKAGE_FFMPEG_EXTRACONF="--disable-encoders --disable-decoders
> [...]
>
> This looks okay, nothing superfluous in there. Perhaps you can get rid
> of the debug symbols.
>
> > I already working on  gop =10  in the encoder.
> >
> > So please let me know where I can improve upon.
>
> We also need to see your ffmpeg command line, and its complete, uncut
> console output. That's the stuff that's relevant for the latency.
>
> (You may be able to accelerate probing by explicitly providing the
> input format and codec, or reducing the analyzelength & probesize.)
>
> Moritz
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".
>


More information about the ffmpeg-user mailing list