arciisine / vscode-chronicler Goto Github PK
View Code? Open in Web Editor NEWVS Code Screen Recording
License: MIT License
VS Code Screen Recording
License: MIT License
Sorry for not replying. Been busy back then. Apparently, I'm now getting an unavoidable Invalid exit status: 1 which means that even if i reset the setting to default, it also gives me an error!
Originally posted by @ENTPRESTIGIOUS in #23 (comment)
Type: Bug
Chronicler does not work in vscode. Button on bar was not respon when I clicked
my device: macos m1 air
Extension version: 0.1.16
VS Code version: Code 1.78.2 (Universal) (b3e4e68a0bc097f0ae7907b217c1119af9e03435, 2023-05-10T14:44:45.204Z)
OS version: Darwin arm64 22.4.0
Modes:
Sandboxed: Yes
Item | Value |
---|---|
CPUs | Apple M1 (8 x 24) |
GPU Status | 2d_canvas: enabled canvas_oop_rasterization: disabled_off direct_rendering_display_compositor: disabled_off_ok gpu_compositing: enabled metal: disabled_off multiple_raster_threads: enabled_on opengl: enabled_on rasterization: enabled raw_draw: disabled_off_ok video_decode: enabled video_encode: enabled vulkan: disabled_off webgl: enabled webgl2: enabled webgpu: enabled |
Load (avg) | 2, 2, 2 |
Memory (System) | 8.00GB (0.28GB free) |
Process Argv | --crash-reporter-id d85ff39b-5ae9-4a53-a742-12d341ac3648 |
Screen Reader | no |
VM | 0% |
vsliv368cf:30146710
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
vslsvsres303:30308271
vserr242:30382549
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vsdfh931cf:30280410
vshan820:30294714
vstes263:30335439
vscorecescf:30445987
vscod805:30301674
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
cmake_vspar411:30581797
vsaa593cf:30376535
pythonvs932:30410667
cppdebug:30492333
vsclangdc:30486549
c4g48928:30535728
dsvsc012cf:30540253
pynewext54:30695312
azure-dev_surveyone:30548225
3biah626:30602489
pyind779:30671433
89544117:30613380
pythonsymbol12:30671437
showlangstatbar:30737416
vsctsb:30748421
pythonms35:30701012
pythonfmttext:30731395
pythoncmv:30739700
fixhidewlkth:30730051
hidesbindicator:30730055
pythongtdpath:30739704
By the way, fantastic extension, puzzled why there aren't more users.
Repro: attempt to record screen in full quality (no encoding, would like text to remain crisp)
"chronicler.recording-defaults": {
"fps": 30,
"countdown": 1,
"flags": "-video_size 1920x1080 -framerate 30 -f x11grab -i :0.0 -c:v libx264 -crf 0 -preset ultrafast"
}
Result: flags not applied, image still blurry
I have a development container I run with using .devcontainer deployment in VSCode. It's running Ubuntu 20.04 (if that helps). When I attempt to record, I get the countdown... then right at "0", I get the following error. I will take a look at your repo, see if I can figure out anything. Let me know if you want me to try anything. thanks.
Command failed: /vscode/vscode-server/bin/linux-x64/dfd34e8260c270da74b5c2d86d61aee4b6d56977/node /root/.vscode-server/extensions/arcsine.chronicler-0.1.16/node_modules/@arcsine/win-info/bin/win-info-x11.js active node:internal/errors:464 ErrorCaptureStackTrace(err); ^ Error: spawn xprop ENOENT at Process.ChildProcess._handle.onexit (node:internal/child_process:282:19) at onErrorNT (node:internal/child_process:477:16) at processTicksAndRejections (node:internal/process/task_queues:83:21) { errno: -2, code: 'ENOENT', syscall: 'spawn xprop', path: 'xprop', spawnargs: [ '-root', '\t$0', '_NET_ACTIVE_WINDOW' ], cmd: 'xprop -root \t$0 _NET_ACTIVE_WINDOW', stdout: '', stderr: '' }
I'v used it on ubuntu 18 lts and it worked. After updating to 22 lts chronicle records black screen with only the mouse visible.
The logs don't show any errors and ffmpeg is installed.
One notable thing I know changed between 18 and 22 is the fact that the later is using wayland by default. Is this maybe causing issues?
Says starting recording in 5..4..3..2..1 but then doesn't start recording, does nothing.
Are there any logs anywhere i could look at to see what is going wrong.
I have installed 4.1.1 of FFMPEG from here https://ffmpeg.zeranoe.com/builds/
Many thanks, Ed
Hey!
To install something from the Marketplace into Eclipse Theia, you could use the prefix “vscode:extension/” followed by the ID of the VS Code extension.
root ERROR No plugin resolver found for the entry vscode:extension/arcsine.chronicler
I guess I was assuming this extension would be confined to vscode and not other apps, including the desktop. Not sure if this is within the design goals or not, but if I move my vscode window to another monitor or resize it or whatever, the original vscode window location is what continues to be recorded.
{
"title": "? Untitled-1 - main - Visual Studio Code",
"id": 1575502,
"owner": {
"name": "Code.exe",
"processId": 29468,
"path": "C:\\Users\\user\\AppData\\Local\\Programs\\Microsoft VS Code\\Code.exe"
},
"screens": [
{
"x": 0,
"y": 0,
"width": 3840,
"height": 2120,
"index": 0,
"scale": {
"x": 1,00,
"y": 1,00
}
}
],
"bounds": {
"x": 2,
"y": 2,
"width": 1916,
"height": 2116
}
}
As seem on the JSON above, the scale is getting wrong decimal separator.
It seems the fix in 530c7d1 didn't apply to me.
Running VS Code v1.58.2
and Chronicler v0.1.12
My locale is pt-BR
Hey, I've been running VS Code in Windows Subsystem for Linux (WSL2). When I start recording I get:
SyntaxError: Unexpected end of JSON input
at JSON.parse (<anonymous>)
at parseJSON (/home/user/.vscode-server/extensions/arcsine.chronicler-0.1.7/node_modules/@arcsine/win-info/index.js:9:21)
at Object.getActive (/home/user/.vscode-server/extensions/arcsine.chronicler-0.1.7/node_modules/@arcsine/win-info/index.js:46:16)
at processTicksAndRejections (internal/process/task_queues.js:89:5)
at async Function.getWindow (/home/user/.vscode-server/extensions/arcsine.chronicler-0.1.7/node_modules/@arcsine/screen-recorder/lib/os.js:38:22)
at async Function.recordActiveWindow (/home/user/.vscode-server/extensions/arcsine.chronicler-0.1.7/node_modules/@arcsine/screen-recorder/lib/recorder.js:7:42)
at async Recorder.run (/home/user/.vscode-server/extensions/arcsine.chronicler-0.1.7/out/recorder.js:52:21)
at async record (/home/user/.vscode-server/extensions/arcsine.chronicler-0.1.7/out/extension.js:52:25)
Is this scenario supported or even possible?
OS: macOS Mojave, Version 10.14.4
Chronicler: 0.1.3
VSCode: 1.38.1
Quicktime: 10.5 (935.3)
ffmpeg: 4.1.2
ffmpeg location: /usr/local/bin/ffmpeg (used $which ffmpeg
to locate)
settings.json: "chronicler.ffmpeg-binary": "/usr/local/bin/ffmpeg",
Error message when opening in Quicktime:
The document 'c.mp4' could not be opened.
The file isn't compatible with QuickTime Player.
This is more of an inconvenience to have to select a different default player or open the file in the browser.
It appears the problem may be with pix format (-pix_fmt).
Here is the info about the file:
ffmpeg -i c.mp4
ffmpeg version 4.1.2 Copyright (c) 2000-2019 the FFmpeg developers
built with Apple LLVM version 10.0.0 (clang-1000.11.45.5)
configuration: --prefix=/usr/local/Cellar/ffmpeg/4.1.2 --enable-shared --enable-pthreads --enable-version3 --enable-hardcoded-tables --enable-avresample --cc=clang --host-cflags='-I/Library/Java/JavaVirtualMachines/openjdk-11.0.2.jdk/Contents/Home/include -I/Library/Java/JavaVirtualMachines/openjdk-11.0.2.jdk/Contents/Home/include/darwin' --host-ldflags= --enable-ffplay --enable-gnutls --enable-gpl --enable-libaom --enable-libbluray --enable-libmp3lame --enable-libopus --enable-librubberband --enable-libsnappy --enable-libtesseract --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-libxvid --enable-lzma --enable-libfontconfig --enable-libfreetype --enable-frei0r --enable-libass --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librtmp --enable-libspeex --enable-videotoolbox --disable-libjack --disable-indev=jack --enable-libaom --enable-libsoxr
libavutil 56. 22.100 / 56. 22.100
libavcodec 58. 35.100 / 58. 35.100
libavformat 58. 20.100 / 58. 20.100
libavdevice 58. 5.100 / 58. 5.100
libavfilter 7. 40.101 / 7. 40.101
libavresample 4. 0. 0 / 4. 0. 0
libswscale 5. 3.100 / 5. 3.100
libswresample 3. 3.100 / 3. 3.100
libpostproc 55. 3.100 / 55. 3.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'c.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf58.20.100
Duration: 00:00:06.50, start: 0.000000, bitrate: 4698 kb/s
Stream #0:0(und): Video: h264 (High 4:4:4 Predictive) (avc1 / 0x31637661), yuvj444p(pc), 2256x1237, 4696 kb/s, 10 fps, 10 tbr, 10240 tbn, 20 tbc (default)
Metadata:
handler_name : VideoHandler
The pixel format is reported as yuvj444p(pc)
.
Some googling suggest that QuickTime only supports yuv420p
.
I'm not particularly skilled, but I attempted to just change the -pix_fmt yuv420p
But the file couldn't be converted because h264 requires even-numbered dimensions but the videos has an odd-numbered height of 1237
.
Given that Chronicle was able to create the image
ffmpeg -i c.mp4 -f h264 -pix_fmt yuv420p c_fixed.mp4 -hide_banner
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'c.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf58.20.100
Duration: 00:00:06.50, start: 0.000000, bitrate: 4698 kb/s
Stream #0:0(und): Video: h264 (High 4:4:4 Predictive) (avc1 / 0x31637661), yuvj444p(pc), 2256x1237, 4696 kb/s, 10 fps, 10 tbr, 10240 tbn, 20 tbc (default)
Metadata:
handler_name : VideoHandler
Stream mapping:
Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
Press [q] to stop, [?] for help
[swscaler @ 0x11a760000] deprecated pixel format used, make sure you did set range correctly
[libx264 @ 0x7f9964009000] height not divisible by 2 (2256x1237)
Error initializing output stream 0:0 -- Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
I tried using -vf "pad=2256:1238"
per some recommendations I found on SO, but I got the same error.
chronicler.flags
to settings.json"chronicler.flags": "-pix_fmt yuv420p",
I wasn't confident that this was going to work because the line is greyed out in VSCode.
A looked over the source code and I couldn't find a reference to the flags
configuration setting.
Maybe it is just missing in types.ts
?
Hello,
FIrst of all thank you for your work.
I receive this message when I press the button to record 'Cannot find screen recording device'
I have installed ffmpeg but i dont know what to do.
Best
FFMPEG is in path (environment variables), slashes in DEST and FFMPEG paths in settings JSON are escaped.
Still, upon running, Chronicler gives an invalid exit status and when stopping, it never actually stops.
atm u have to manually navigate to the file folder
On some instances, even after Chronicler indicates that the recording has started, there seems to be a lag until the actual recording begins. In that, the first second or two are missing.
Thank you for Chronicler, Timothy.
Unfortunately, it fails on:
5.19 kernel 5.19.16-2-MANJARO #1 SMP PREEMPT_DYNAMIC
- I'll try with 6.0, too),npx
commands seem to be using Node 18.10.0)Side note: ctrl+alt+shift+r doesn't seem to trigger Chronicler for me. It opens some kind of screenshot app/plugin (and not VS Code-specific: it opens it regardless of VS Code). So far I haven't figured out what that is. So for now I trigger Chronicler with Chronicler: Start Recording with Audio
.
When I do start Chronicler, after the initial pause VS Code fails:
Command failed: /opt/visual-studio-code/code /home/pkehl/.vscode/extensions/arcsine.chronicler-0.1.16/node_modules/@arcsine/win-info/bin/win-info-x11.js active node:internal/errors:464 ErrorCaptureStackTrace(err); ^ Error: spawn xwininfo ENOENT at ChildProcess._handle.onexit (node:internal/child_process:283:19) at onErrorNT (node:internal/child_process:478:16) at process.processTicksAndRejections (node:internal/process/task_queues:83:21) { errno: -2, code: 'ENOENT', syscall: 'spawn xwininfo', path: 'xwininfo', spawnargs: [ '-id', '46137347' ], cmd: 'xwininfo -id 46137347', stdout: '', stderr: '' }
Troubleshooting (after I hit 'y' to install your npx
scripts) - the same errors (except for different window ID) even after a reboot:
npx @arcsine/win-info
node:internal/errors:484
ErrorCaptureStackTrace(err);
^
Error: spawn xwininfo ENOENT
at ChildProcess._handle.onexit (node:internal/child_process:283:19)
at onErrorNT (node:internal/child_process:476:16)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
errno: -2,
code: 'ENOENT',
syscall: 'spawn xwininfo',
path: 'xwininfo',
spawnargs: [ '-id', '75497544' ],
cmd: 'xwininfo -id 75497544',
stdout: '',
stderr: ''
}
Node.js v18.10.0
node:child_process:910
throw err;
^
Error: Command failed: /usr/bin/node /home/pkehl/.npm/_npx/7bdea5cc73c9c05d/node_modules/@arcsine/win-info/bin/win-info-x11.js active
node:internal/errors:484
ErrorCaptureStackTrace(err);
^
Error: spawn xwininfo ENOENT
at ChildProcess._handle.onexit (node:internal/child_process:283:19)
at onErrorNT (node:internal/child_process:476:16)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
errno: -2,
code: 'ENOENT',
syscall: 'spawn xwininfo',
path: 'xwininfo',
spawnargs: [ '-id', '75497544' ],
cmd: 'xwininfo -id 75497544',
stdout: '',
stderr: ''
}
Node.js v18.10.0
at checkExecSyncError (node:child_process:871:11)
at Object.execFileSync (node:child_process:907:15)
at getActiveSync (/home/pkehl/.npm/_npx/7bdea5cc73c9c05d/node_modules/@arcsine/win-info/index.js:55:41)
at Object.<anonymous> (/home/pkehl/.npm/_npx/7bdea5cc73c9c05d/node_modules/@arcsine/win-info/bin/win-info.js:8:43)
at Module._compile (node:internal/modules/cjs/loader:1149:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1203:10)
at Module.load (node:internal/modules/cjs/loader:1027:32)
at Module._load (node:internal/modules/cjs/loader:868:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12) {
status: 1,
signal: null,
output: [
null,
'',
'node:internal/errors:484\n' +
' ErrorCaptureStackTrace(err);\n' +
' ^\n' +
'\n' +
'Error: spawn xwininfo ENOENT\n' +
' at ChildProcess._handle.onexit (node:internal/child_process:283:19)\n' +
' at onErrorNT (node:internal/child_process:476:16)\n' +
' at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {\n' +
' errno: -2,\n' +
" code: 'ENOENT',\n" +
" syscall: 'spawn xwininfo',\n" +
" path: 'xwininfo',\n" +
" spawnargs: [ '-id', '75497544' ],\n" +
" cmd: 'xwininfo -id 75497544',\n" +
" stdout: '',\n" +
" stderr: ''\n" +
'}\n' +
'\n' +
'Node.js v18.10.0\n'
],
pid: 112935,
stdout: '',
stderr: 'node:internal/errors:484\n' +
' ErrorCaptureStackTrace(err);\n' +
' ^\n' +
'\n' +
'Error: spawn xwininfo ENOENT\n' +
' at ChildProcess._handle.onexit (node:internal/child_process:283:19)\n' +
' at onErrorNT (node:internal/child_process:476:16)\n' +
' at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {\n' +
' errno: -2,\n' +
" code: 'ENOENT',\n" +
" syscall: 'spawn xwininfo',\n" +
" path: 'xwininfo',\n" +
" spawnargs: [ '-id', '75497544' ],\n" +
" cmd: 'xwininfo -id 75497544',\n" +
" stdout: '',\n" +
" stderr: ''\n" +
'}\n' +
'\n' +
'Node.js v18.10.0\n'
}
Node.js v18.10.0
and
npx @arcsine/screen-recorder test.mp4
node:internal/errors:863
const err = new Error(message);
^
Error: Command failed: /usr/bin/node /home/pkehl/.npm/_npx/c71e018737289961/node_modules/@arcsine/win-info/bin/win-info-x11.js active
node:internal/errors:484
ErrorCaptureStackTrace(err);
^
Error: spawn xwininfo ENOENT
at ChildProcess._handle.onexit (node:internal/child_process:283:19)
at onErrorNT (node:internal/child_process:476:16)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
errno: -2,
code: 'ENOENT',
syscall: 'spawn xwininfo',
path: 'xwininfo',
spawnargs: [ '-id', '75497544' ],
cmd: 'xwininfo -id 75497544',
stdout: '',
stderr: ''
}
Node.js v18.10.0
at ChildProcess.exithandler (node:child_process:412:12)
at ChildProcess.emit (node:events:513:28)
at maybeClose (node:internal/child_process:1091:16)
at ChildProcess._handle.onexit (node:internal/child_process:302:5) {
code: 1,
killed: false,
signal: null,
cmd: '/usr/bin/node /home/pkehl/.npm/_npx/c71e018737289961/node_modules/@arcsine/win-info/bin/win-info-x11.js active',
stdout: '',
stderr: 'node:internal/errors:484\n' +
' ErrorCaptureStackTrace(err);\n' +
' ^\n' +
'\n' +
'Error: spawn xwininfo ENOENT\n' +
' at ChildProcess._handle.onexit (node:internal/child_process:283:19)\n' +
' at onErrorNT (node:internal/child_process:476:16)\n' +
' at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {\n' +
' errno: -2,\n' +
" code: 'ENOENT',\n" +
" syscall: 'spawn xwininfo',\n" +
" path: 'xwininfo',\n" +
" spawnargs: [ '-id', '75497544' ],\n" +
" cmd: 'xwininfo -id 75497544',\n" +
" stdout: '',\n" +
" stderr: ''\n" +
'}\n' +
'\n' +
'Node.js v18.10.0\n'
}
Node.js v18.10.0
Please advise.
Chronicler has been a great vscode extension for me but by specifying the speed as medium
in the flags parameter makes a screen recording duration go from 1:00 minute to 0:45 minutes (i.e it's sped up instead of normal time recording). This is an issue when used with the record audio command. The audio is recorded for 1:00 minute but the video is of 0:45 minutes, thereby cutting the audio and ending the video.
This feature would allow the recording to be triggered automatically when an activity is detected on VSCode (recording, saving files, debugging, etc), and if after a certain time in seconds (customizable) no activity is detected on VSCode, we stop the recording. (Like Wakatime do https://github.com/wakatime/vscode-wakatime/blob/master/src/wakatime.ts)
This new feature could be activated per project (folder) with a command, or globally, maybe.
I would like to save the recordings locally to my project.
"chronicler.dest-folder": "${workspaceFolder}/training/recordings"
Resulting error
ENOENT: no such file or directory, mkdir '${workspaceFolder}/training/recordings'
When trying to start recording in a workspace w/ no folder Chronicler throws the "Cannot read property 'uri' of undefined" error.
Can I use a multi-root workspace without folders?
It is possible to leave thefolders
section of a.code-workspace
file empty so that you end up with an instance of VS Code that does not show any root folders. You can still store workspace settings and even tasks or launch configurations in this case.
Currently, once I'm trying to record video on my PC, I'm getting only 1/4 of screen.
Extension works fine at 1920x1080, but record only part of screen for 3840x2160
Hi Timothy,
Thank you for Chronicler.
It already passes in some of flags
(pix_fmt, c:v, preset
). Could it also pass any other flags that the user enters? Like
crf
to override the default of 10
, orcolor_range
(as suggested by FFMPEG team themselves when capturing/recording from a screen, please.Hey there!
Awesome work! I'm just trying to get this do take a timelapse...a simple one. Just a frame every 1 second. I set my framerate to 1, which worked fine. I then tried to put in a flag to increase the speed by 60 and cannot seem to get any kind of flag working. From my understanding a flag for something like this would look like:
{"-filter:v":"setpts=PTS/60"}
I'm sure there is something i'm missing her with this object based flag input.
Hi, could you please help with ffmpeg for mac? The one is provided is not working.
Library not loaded: /usr/local/opt/x264/lib/libx264.155.dylib
Also I thought maybe for mac it would be better to use builtin screencapture utility?
Thumbs up for this awesome plugin but found that i can't change the recorded file name.
I would suggest to allow users to have custom file naming pattern for example
$prefix-vscodeRecording-${year}${month}${day}-${hour}${minute}${second}-$suffix
Keep it up @arciisine !!
Hello! I'm here to report that it gives an invalid exit status when i typed my custom output directory. All I typed was c:\Users\myself\Videos\VSCode Recordings. Unfortunately, that doesn't work! What can i do?
After recording VS Code and then the video is saved, I can't view the video at all; I just get that error.
Windows 10 64gb ram, i7 cpu, Asus ROG.
Version: 1.80.2 (system setup)
Commit: 2ccd690cbff1569e4a83d7c43d45101f817401dc
Date: 2023-07-27T20:40:28.909Z
Electron: 22.3.14
ElectronBuildId: 22695494
Chromium: 108.0.5359.215
Node.js: 16.17.1
V8: 10.8.168.25-electron.0
OS: Windows_NT x64 10.0.19045
Tried recording both an editor window and the terminal window. videos are both blank.
I get an error when I start recording that says Invalid exit status 1. When I try to run npx @arcsine/win-info I get this:
Unexpected token W in JSON at position 19:
{
"title": "C:\WINDOWS\system32\cmd.exe ",
"id": 4655364,
"owner": {
"name": "WindowsTerminal.exe",
"processId": 8776,
"path": "C:\Program Files\WindowsApps\Microsoft.WindowsTerminal_1.11.3471.0_x64__8wekyb3d8bbwe\WindowsTerminal.exe"
},
"screens": [
{
"x": 0,
"y": 0,
"width": 2194,
"height": 1186,
"index": 0,
"scale": {
"x": 1.75,
"y": 1.75
}
} ],
"bounds": {
"x": 45,
"y": 52,
"width": 1140,
"height": 638
}
}
C:\Users\1322919\AppData\Local\npm-cache_npx\7bdea5cc73c9c05d\node_modules@arcsine\win-info\index.js:14
throw new Error('Error parsing data');
^
Error: Error parsing data
at parseJSON (C:\Users\1322919\AppData\Local\npm-cache_npx\7bdea5cc73c9c05d\node_modules@arcsine\win-info\index.js:14:15)
at getActiveSync (C:\Users\1322919\AppData\Local\npm-cache_npx\7bdea5cc73c9c05d\node_modules@arcsine\win-info\index.js:55:16)
at Object. (C:\Users\1322919\AppData\Local\npm-cache_npx\7bdea5cc73c9c05d\node_modules@arcsine\win-info\bin\win-info.js:8:43)
at Module._compile (node:internal/modules/cjs/loader:1101:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
at Module.load (node:internal/modules/cjs/loader:981:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
at node:internal/main/run_main_module:17:47
Running Chronicler is failing with the following error:
Command failed: /opt/visual-studio-code/code /home/heitor/.vscode/extensions/arcsine.chronicler-0.1.14/node_modules/@arcsine/win-info/bin/win-info-x11.js active
Additionally, in Log (Extension Host)
, I see the following output, which I'm not sure whether it's related:
[2021-11-16 09:25:31.618] [exthost] [error] Error: info:No recording running
at Recorder.stop (/home/heitor/.vscode/extensions/arcsine.chronicler-0.1.14/out/recorder.js:66:19)
at Recorder.dispose (/home/heitor/.vscode/extensions/arcsine.chronicler-0.1.14/out/recorder.js:14:14)
at h (/opt/visual-studio-code/resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:14:4961)
at w._deactivate (/opt/visual-studio-code/resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:99:11584)
at /opt/visual-studio-code/resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:99:9997
at Array.map (<anonymous>)
at w.deactivateAll (/opt/visual-studio-code/resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:99:9985)
at b.terminate (/opt/visual-studio-code/resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:103:735)
at o (/opt/visual-studio-code/resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:113:32681)
at Socket.<anonymous> (/opt/visual-studio-code/resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:113:30296)
at Socket.emit (events.js:327:22)
at Pipe.<anonymous> (net.js:673:12)
OS: Arch Linux
ffmpeg version: n4.4.1
X.org version: 1.21.1.1
VS Code version: 1.62.2
Hi Timothy,
This is on top of #37.
My specific need is small: (On my, admittedly messed up, Manjaro Linux + Pulse + Pipewire), I need
-f pulse -i default
(which, for whatever reason, doesn't pick up my microphone), but-f pulse -i "alsa_input.usb-Logitech_USB_Headset_Logitech_USB_Headset-00.mono-fallback"
.-channels 1
in it, so together as -f pulse -channels 1 -i "alsa_input.usb-Logitech_USB_Headset_Logitech_USB_Headset-00.mono-fallback"
.(The above microphone ID comes from pactl list sources
. I have the above microphone selected as my GNOME default sound input, but -f pulse -i default
didn't pick this mic up. ``pactl list sources | grep -i default
doesn't list anything. `pactl list | grep -i default` lists many default settings, but not a (choice of a) microphone. Life is too short...)
Handling the above could be easy: Just two new setting fields (like pulse_source
and pulse_num_channels
). However, a user may want to mix-in other sources that have their own -i
(or other parameters) - like mixing in their microphone and the computer's audio output (for background music/existing instructions/...).
Please consider either supporting
-i
, could be duplicated), and/orOf course, you and the users most likely value backwards compatibility & simplicity, so I trust your in your judgment.
Currently I have Chronicler invoke a little shell script that saves all its arguments to a temp file. Even providing this in Chronicler's GitHub repo could help people.
#!/usr/bin/env bash
echo $@ >/tmp/all_args.txt
Hello, this is my first time running this extension.
I am getting two errors.
Error Parsing Data
, the following is logged when running a devmode vscode windowUnexpected token I in JSON at position 708:
{
"title": "[Extension Development Host] - test.js - Demo - Visual Studio Code",
"id": 2953916,
"owner": {
"name": "Code.exe",
"processId": 19988,
"path": "C:\\Users\\Marcello Bachechi\\AppData\\Local\\Programs\\Microsoft VS Code\\Code.exe"
},
"screens": [
{
"x": -547,
"y": -1085,
"width": 1920,
"height": 1040,
"index": 0,
"scale": {
"x": 1.40,
"y": -216.00
}
},
{
"x": 1373,
"y": -1080,
"width": 1920,
"height": 1040,
"index": 1,
"scale": {
"x": 0.58,
"y": Infinity
}
} ],
"bounds": {
"x": 1373,
"y": -1080,
"width": 1920,
"height": 1040
}
}
The next error I get is if I am on my primary monitor. I receive a non-zero exit code of 1, as soon as the count down is complete.
With the following output
C:\Program' is not recognized as an internal or external command, operable program or batch file.
(this was solved by adding quotes around the binary path for ffmpeg in settings)
Hi, I really like the plugin, but I can't get it to work with audio on OSX using the brew deployed version of FFMpeg. There's a note in your readme about needing a custom build of FFMpeg on OSX, but the link is dead, and the bug is marked as closed. Not sure how to proceed. I tried turning on Debug, but I can't actually find where the logs go.
Any tips?
Thanks!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.