Repository navigation
Reolink RLC-520A (older firmware): 8 s HomeKit live-view lag fixed by adding H.264 VUI timing #2240
erikpendragon
started this conversation in
Show and tell
Replies: 1 comment
|
Thanks for including the before-and-after timings. Did the picture stay close to real time after leaving the feed open for a while, or did the delay start to build again? |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Four of my RLC-520A cameras (hardware IPC_523128M5MP, firmware v3.1.0.951, the latest for that board) were about 8 s behind in HomeKit live view, while other Reolinks on the same setup were under 1 s. The slow ones send an H.264 SPS without VUI timing (
vui_parameters_present_flag=0), which you can check withffmpeg -i <stream> -c copy -bsf:v trace_headers -f null -.Fix in Scrypted: a synthetic stream that copies the main stream and adds timing, used as the HomeKit local stream:
-fflags +genpts-c copy -bsf:v h264_metadata=tick_rate=30/1Full resolution, audio kept, no transcoding, and live view went from about 8 s behind to real time.
All reactions