This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Minimizing latency of encoder

Guru 20755 points

Hello,

I would like to ask if anyone can give some points/methods/techniques  for minimzing encoder latency ?

I am working on streaming of the encoder output through ethernet to another decoder ( the encoder/streamer is the side I am working on).

We have very strict latency requirements glass-to-glass (camera->encode--- PC demux&decode) of ~100msec.

These are some method I was thinking about:

1. No use of B frames

2. High bit-rate (~50Mbit/sec).

3. use 60fpfs instead of 30fps ?

4. we currently use capture->deinterlace->encode->stream.  Can we remove anything from pipeline ?

5. other relevant encoder parameters to minimize latency ? Profile ? Level ?

6. Our ethernet is configured to 100Mbits/sec , we once had problems configuring it to 1Gbit/sec (I don't think this is a MUST ), what do you think ?

7. Streaming protocol: RTP or mpeg-ts with udp , is there any advantage to any method ? live555/ffmpeg - any advantage ?

I think I will use mpeg-ts over udp with ffmpeg.

Thank for any suggestions, hints on the matter.

Regards,

Ran