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

Stream jpg? #94

Open
RoinujNosde opened this issue Oct 16, 2024 · 4 comments
Open

Stream jpg? #94

RoinujNosde opened this issue Oct 16, 2024 · 4 comments

Comments

@RoinujNosde
Copy link

Hi,
I have a URL for a jpg (http://example.com/camera/id.jpg) that gets updated every few seconds.
Is it possible to add it to the program? If so, what's the syntax?

@iEvgeny
Copy link
Owner

iEvgeny commented Oct 17, 2024

Hi!
If you find similar scenarios for ffplay, then we can try to adapt them for CCTV Viewer.

@RoinujNosde
Copy link
Author

With ffplay itself I had no luck, even with loop 0 the image doesn't update.

This one works by creating a stream at 127.0.0.1:23000, then I can add this url to CCTV-viewer:
ffmpeg -re -framerate 1 -loop 1 -f image2 -i "http://example.com/my.jpg" -c:v libx264 -r 25 -f flv udp://127.0.0.1:23000

@iEvgeny
Copy link
Owner

iEvgeny commented Oct 20, 2024

Unfortunately, CCTV Viewer requires significant development to support this functionality.
But this is an interesting case and I will add it to the TODO list.

@RoinujNosde
Copy link
Author

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants