Giter Site home page Giter Site logo

Comments (11)

arciisine avatar arciisine commented on July 21, 2024

@andrepadez If you can, please run npx @arcsine/screen-recorder test.mp4 from the command line, and the output should help identify the problem. Its possible ffmpeg (the underlying recording tool) is what needs permissions, and not vscode.

from vscode-chronicler.

andrepadez avatar andrepadez commented on July 21, 2024

Wow, thanks for the quick reply...
Let me add that i installed ffmpeg when prompted the first time running your extension.
Here's the output:

Screenshot 2022-09-26 at 23 42 43

from vscode-chronicler.

arciisine avatar arciisine commented on July 21, 2024

Oh wow, that doesn't seem right at all. I'm running from linux, but you should see something closer to:

$ npx @arcsine/screen-recorder test.mp4
/usr/bin/ffmpeg -threads 4 -video_size 1920x1200 -f x11grab -i :0+0,0 -preset ultrafast -crf 10 -pix_fmt yuvj444p -c:v libx264 -y  test.mp4
Recording for 5 seconds...
ffmpeg version 4.2.7-0ubuntu0.1 Copyright (c) 2000-2022 the FFmpeg developers
  built with gcc 9 (Ubuntu 9.4.0-1ubuntu1~20.04.1)
  configuration: --prefix=/usr --extra-version=0ubuntu0.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-nvenc --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared
libavutil      56. 31.100 / 56. 31.100
  libavcodec     58. 54.100 / 58. 54.100
  libavformat    58. 29.100 / 58. 29.100
  libavdevice    58.  8.100 / 58.  8.100

The error about yauzl seems really wrong. Perhaps try again? And maybe install ffmpeg globally as a test as well (if you are using brew, it should be easily installable).

from vscode-chronicler.

andrepadez avatar andrepadez commented on July 21, 2024

installing ffmpeg now, will get back asap

from vscode-chronicler.

andrepadez avatar andrepadez commented on July 21, 2024

Sorry for the late reply, tried several things...
Ended up cleaning npm cache and was able to run it better, but still with problems at the end, when Ctrl+c

Screenshot 2022-09-27 at 00 49 40

from vscode-chronicler.

arciisine avatar arciisine commented on July 21, 2024

from vscode-chronicler.

andrepadez avatar andrepadez commented on July 21, 2024

Screenshot 2022-09-27 at 01 54 22

from vscode-chronicler.

arciisine avatar arciisine commented on July 21, 2024

from vscode-chronicler.

andrepadez avatar andrepadez commented on July 21, 2024

It worked! Thanks a lot.
Just an aside question, is there a way to record code and browser at the same time?
You don't have to answer it, you can just close the issue as resolved, i'm very appreciative of your support.

Cheers

from vscode-chronicler.

andrepadez avatar andrepadez commented on July 21, 2024

Found it, thanks a million!

from vscode-chronicler.

arciisine avatar arciisine commented on July 21, 2024

It worked! Thanks a lot. Just an aside question, is there a way to record code and browser at the same time? You don't have to answer it, you can just close the issue as resolved, i'm very appreciative of your support.

Cheers

ffmpeg is the one doing all the work here, so realistically, you can use it to record multiple screens, and do quite a bit more. Though as it gets more complicated, a tool like OBS may be better suited for your needs.

If there is a clear idea/feature that you are thinking of, do feel free to open an issue, as it would be worth discussing.

from vscode-chronicler.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.