18 Commits
Author SHA1 Message Date
Alfredo Monclus a92be75c48 refactor: optimize imports 2024-11-26 11:57:43 -03:00
Alfredo Monclus 56089e68d0 fix(camera): log other levels fixes indentation 2024-10-18 11:31:45 -03:00
Alfredo Monclus d4035e9495 refactor(camera): filters and logging 2024-10-18 11:28:45 -03:00
Vasily Khoruzhick c670a2bdc8 fix(camera): don't use scale filter if angle is zero (#1485)
scale filter seems to be expensive even with angle=0. On my CB1 having
vf=rotate:0.0 in mpv arguments results in KlipperScreen using 100% of a
single core vs 30% when it's omitted.
2024-10-18 11:03:27 -03:00
Alfredo Monclus 87e18ed6d4 refactor(camera): logging 2024-10-13 13:53:29 -03:00
Alfredo Monclus 9fb17ee17f fix(camera): do not log ffmpeg app field decode errors, close #1480 2024-10-13 13:41:48 -03:00
Alfredo Monclus 2d2e80c3fd panels: allow to call them without name 2024-06-04 11:16:50 -03:00
alfrix 4a928140d9 camera: workaround for webrtc if there is a stream close #1133 2023-12-23 17:30:57 -03:00
alfrix 7aee23c1cb lint fixes 2023-11-03 23:34:02 -03:00
alfrix 1add7f5ef0 camera: hide log msg that distracts from the real issue 2023-09-30 22:55:28 -03:00
Alfredo Monclus c3ef1dd789 camera: relative url support close #1086 (#1088)
close #1092
2023-08-21 13:57:39 -03:00
alfrix 8053e97d10 camera: add support for moonraker cameras, deprecates camera_url
this also adds support for flipping and rotation (configured in moonraker)
close #976
2023-08-18 11:48:37 -03:00
alfrix 8d9236a2df screen: simplify panel loading
this removes create_panel function from panels and mandates a class name Panel

remove panel_type param and only use a panel_name that is it's filename

remove load_panel dict

always reinit panel, (simpler and safer but slower)
2023-07-30 12:22:58 -03:00
alfrix a149796b19 reduce the use of contextlib 2023-07-30 12:22:58 -03:00
alfrix fa73daaf71 camera: improve performance and latency and also fixes #1003 2023-06-09 08:59:32 -03:00
alfrix c828d8349c camera: fix for busters old libmpv fixes #840 2022-12-12 08:12:52 -03:00
alfrix 1f5a090bfd camera: always fullscreen, fix inverted vo logic, fixes #839 2022-12-12 01:25:36 -03:00
alfrix d2d2c82041 feat: camera support, using mpv as backend
it should be able to play any video or stream that mpv itself can handle

close #67 close #129
2022-12-11 09:20:06 -03:00