Situation:

A camera generates a stream of still images in JPEG format that it dumps
in a directory. These needs to be transferred to another machine,
preferably using as little bandwidth as possible.

Idea:

Encode to h264-video with keyframes every X images, send to other
machine, decode into images again.

Problem:

It takes at least 9 images before the sending side starts outputting
anything, and the same on the receiving side, it takes quite a few
received frames before it writes any images, and it writes them in
batches. Why is this?

Side problem:

Without the -framerate 1 option, no output is generated at all until the
input pipe is closed.


Minimal example script:

https://gist.github.com/redhog/1dc1da91bac613760794be666d22918d


I assume that all of this is frame rate related somehow. To be clear: I
want frames transmitted and received as soon as possible, and I don't
care at all for their timestamps, only their order.


Thanks in advance,

Egil Möller


Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
ffmpeg-user mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to