Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fps from rtsp doesn't seem to match camera setting on Trackmix LTE #333

Open
AlexH-BoxFish opened this issue Dec 10, 2024 · 0 comments
Open
Labels
bug Something isn't working

Comments

@AlexH-BoxFish
Copy link

Describe the bug
When the camera fluent/clear stream is set to 15FPS I can read from the rtsp with ffmpeg at 1x speed, and the stream information looks correct:

Stream #0:0: Video: h264 (High), yuv420p(progressive), 896x512, q=2-31, 15 fps, 15 tbr, 90k tbn

If I re-configure the stream in the reolink app to be 12fps or 10fps then restart everything I see the same stream information:

Stream #0:0: Video: h264 (High), yuv420p(progressive), 896x512, q=2-31, 15 fps, 15 tbr, 90k tbn

and on 10fps the same ffmpeg command will not go above 0.6x~ processing speed. This leads to ffmpeg missing footage and the timestamps being incorrect.

To Reproduce

  1. Lower camera fps
  2. Run ffmpeg:
ffmpeg -rtsp_transport tcp -re -timeout 10000000 -i rtsp://127.0.0.1:8554/trackmix-test-1/Sub -vcodec copy -an -f segment -hide_banner -segment_time 0:01:00
-strftime 1 -use_wallclock_as_timestamps 1 -reset_timestamps 1 -movflags frag_keyframe+empty_moov -segment_format mp4 test/%Y-%m-%d/%H.%M.%S.mp4

Expected behavior
Stream FPS changes to match camera setting.

Versions
NVR software: ffmpeg
Neolink software: quantumentangledandy/neolink:latest docker image
Reolink camera model and firmware: TrackMix LTE, v3.0.0.3179_24011700

@AlexH-BoxFish AlexH-BoxFish added the bug Something isn't working label Dec 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant