jakaskerl Hi jaka, I gave it a shot and got the following error:
any clue what's going on?
C:\...depthai_sdk\examples\recording\mcap_record.py
[2024-01-24 17:47:22] INFO [root.__init__:118] Setting IR laser dot projector brightness to 800mA
mjpeg CAM_A_bitstream 1
[2024-01-24 17:47:22] WARNING [root.update:60] Exception while creating AvWriter: No module named 'av'.
Falling back to FileWriter, saving uncontainerized encoded streams.
[2024-01-24 17:47:22] INFO [root.close:456] Closing OAK camera
Traceback (most recent call last):
File "C:\Users\kimjs\PycharmProjects\OakD\venv\Lib\site-packages\depthai_sdk\recorders\video_recorder.py", line 56, in update
from .video_writers.av_writer import AvWriter
File "C:\Users\kimjs\PycharmProjects\OakD\venv\Lib\site-packages\depthai_sdk\recorders\video_writers\__init__.py", line 4, in <module>
from .video_writer import VideoWriter
File "C:\Users\kimjs\PycharmProjects\OakD\venv\Lib\site-packages\depthai_sdk\recorders\video_writers\video_writer.py", line 5, in <module>
import av
ModuleNotFoundError: No module named 'av'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\kimjs\PycharmProjects\OakD\depthai\depthai_sdk\examples\recording\mcap_record.py", line 14, in <module>
oak.start(blocking=True)
File "C:\Users\kimjs\PycharmProjects\OakD\venv\Lib\site-packages\depthai_sdk\oak_camera.py", line 487, in start
handler.setup(self.pipeline, self.device, self._new_msg_callbacks)
File "C:\Users\kimjs\PycharmProjects\OakD\venv\Lib\site-packages\depthai_sdk\classes\packet_handlers.py", line 191, in setup
self.recorder.start(device, xouts)
File "C:\Users\kimjs\PycharmProjects\OakD\venv\Lib\site-packages\depthai_sdk\record.py", line 106, in start
self.recorder.update(self.path, device, xouts)
File "C:\Users\kimjs\PycharmProjects\OakD\venv\Lib\site-packages\depthai_sdk\recorders\video_recorder.py", line 63, in update
self._writers[xout_name] = FileWriter(self.path, file_name, fourcc)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\kimjs\PycharmProjects\OakD\venv\Lib\site-packages\depthai_sdk\recorders\video_writers\file_writer.py", line 15, in __init__
super().__init__()
TypeError: BaseWriter.__init__() missing 2 required positional arguments: 'path' and 'name'
Sentry is attempting to send 2 pending error messages
Waiting up to 2 seconds
Press Ctrl-Break to quit
Process finished with exit code 1