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

Output video does not contain Whiteboard actions #24

Closed
Qbreak opened this issue Dec 29, 2022 · 8 comments
Closed

Output video does not contain Whiteboard actions #24

Qbreak opened this issue Dec 29, 2022 · 8 comments

Comments

@Qbreak
Copy link

Qbreak commented Dec 29, 2022

Cursor movements and drawings on the screen are not included in the video content. How do I get it to record? -Google translate

@C0D3D3V
Copy link
Owner

C0D3D3V commented Dec 29, 2022

Try to use the option --add-annotations like: bbb-dl --add-annotations URL
For the cursor/pointer, the code is still in the project, but I removed the option to activate it, because it uses way to much computational power. If you would use it, you would not get happy with it. Maybe someone will someday optimize it a lot, but for now it is not good, because we have to render every frame new, only to add a little cursor, that takes much longer then only to add annotations.

@Qbreak
Copy link
Author

Qbreak commented Dec 29, 2022

I'm glad you're so involved. It fulfilled a serious need for me. When I tried to use the feature you mentioned as -aa, it didn't work. It's working now. I'll look into it when it's done. It doesn't matter if it takes hours, if it won't take days, how can I turn this feature on? -translate

@Qbreak
Copy link
Author

Qbreak commented Dec 29, 2022

yes i got an error :(

[BBB] Paint image slide-017.png with annotation 116/119 (Frame: 31/31)
[BBB] Paint image slide-017.png with annotation 118/119 (Frame: 31/31)
[BBB] Paint image slide-017.png with annotation 119/119 (Frame: 31/31)
[BBB] Rescale slide-000.png
frame=    1 fps=0.0 q=-0.0 Lsize=N/A time=00:00:00.00 bitrate=N/A speed=   0x
[BBB] Rescale slide-001.png
frame=    1 fps=0.0 q=-0.0 Lsize=N/A time=00:00:00.00 bitrate=N/A speed=   0x
[BBB] Rescale slide-002.png
frame=    1 fps=0.0 q=-0.0 Lsize=N/A time=00:00:00.00 bitrate=N/A speed=   0x
[BBB] Rescale slide-003.png
frame=    1 fps=0.0 q=-0.0 Lsize=N/A time=00:00:00.00 bitrate=N/A speed=   0x
[BBB] Rescale slide-004.png
frame=    1 fps=0.0 q=-0.0 Lsize=N/A time=00:00:00.00 bitrate=N/A speed=   0x
[BBB] Rescale slide-005.png
frame=    1 fps=0.0 q=-0.0 Lsize=N/A time=00:00:00.00 bitrate=N/A speed=   0x
[BBB] Rescale slide-006.png
frame=    1 fps=0.0 q=-0.0 Lsize=N/A time=00:00:00.00 bitrate=N/A speed=   0x
[BBB] Rescale slide-007.png
frame=    1 fps=0.0 q=-0.0 Lsize=N/A time=00:00:00.00 bitrate=N/A speed=   0x
[BBB] Rescale slide-008.png
frame=    1 fps=0.0 q=-0.0 Lsize=N/A time=00:00:00.00 bitrate=N/A speed=   0x
[BBB] Rescale slide-008_f09_p00.png

Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "C:\Users\bluezone\AppData\Local\Programs\Python\Python311\Scripts\bbb-dl.exe\__main__.py", line 7, in <module>
  File "C:\Users\bluezone\AppData\Local\Programs\Python\Python311\Lib\site-packages\bbb_dl\main.py", line 839, in main
    BBBDL(args.verbose, args.no_check_certificate, args.encoder, args.audiocodec).run(
  File "C:\Users\bluezone\AppData\Local\Programs\Python\Python311\Lib\site-packages\bbb_dl\main.py", line 311, in run
    slideshow_w, slideshow_h = self._rescale_slides(slides_infos)
                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\bluezone\AppData\Local\Programs\Python\Python311\Lib\site-packages\bbb_dl\main.py", line 682, in _rescale_slides
    self.ffmpeg.rescale_image(slide.path, rescaled_path, new_width, new_height)
  File "C:\Users\bluezone\AppData\Local\Programs\Python\Python311\Lib\site-packages\bbb_dl\ffmpeg.py", line 90, in rescale_image
    self.pp.own_run_ffmpeg(image, out_file, ["-vf", f"pad={width}:{height}:ow/2-iw/2:oh/2-ih/2"])
  File "C:\Users\bluezone\AppData\Local\Programs\Python\Python311\Lib\site-packages\bbb_dl\ffmpeg.py", line 79, in own_run_ffmpeg
    self.own_run_ffmpeg_multiple_files([path], out_path, opts, opts_before)
  File "C:\Users\bluezone\AppData\Local\Programs\Python\Python311\Lib\site-packages\bbb_dl\ffmpeg.py", line 25, in own_run_ffmpeg_multiple_files
    return self.own_real_run_ffmpeg(
           ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\bluezone\AppData\Local\Programs\Python\Python311\Lib\site-packages\bbb_dl\ffmpeg.py", line 73, in own_real_run_ffmpeg
    raise FFmpegPostProcessorError(msg)
yt_dlp.postprocessor.ffmpeg.FFmpegPostProcessorError: file:_scaled: Invalid argument

@C0D3D3V
Copy link
Owner

C0D3D3V commented Dec 29, 2022

Can you send me the URL of your bbb session? So that I can debug the code...

If it is not for public you can send it e.g. via mail (on my profile page).

@Qbreak
Copy link
Author

Qbreak commented Dec 29, 2022

I sent an e-mail

@C0D3D3V
Copy link
Owner

C0D3D3V commented Dec 30, 2022

If you still get this error, then run the same command but add the --verbose option, then open a new issue and send the error log including some previous lines. Or just send it by mail...

@C0D3D3V C0D3D3V closed this as completed Dec 30, 2022
@C0D3D3V
Copy link
Owner

C0D3D3V commented Dec 30, 2022

Also maybe update ffmpeg xD Not sure what version you have installed, since you did not post the verbose log.

@C0D3D3V
Copy link
Owner

C0D3D3V commented Dec 30, 2022

Just in case if you try to download the session again, please make sure the downloaded files are not broken (or just remove them first and then try to run bbb-dl again).

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