vhs icon indicating copy to clipboard operation
vhs copied to clipboard

Recording doesn't work on windows 11.

Open jhonatan-segura opened this issue 8 months ago • 9 comments

Description I downloaded the binaries using winget and added VHS to path, VHS gets frozen on the terminal when trying to run it to generate video, no errors displayed, both ffmg and ttyd are installed and available from PATH.

Setup

  • OS [Windows 11]
  • Shell [cmd/powershell]

To Reproduce Steps to reproduce the behavior:

  1. Create .tape file
  2. Execute "vhs demo.tape"

Source Code Image

Expected behavior Video should be generated at examples folder.

Screenshots Image

jhonatan-segura avatar Jun 07 '25 07:06 jhonatan-segura

I'm also experiencing the same issue on W11. VHS is installed via scoop so both ttyd and ffmpeg are already on the path.

w4tchdoge avatar Jun 22 '25 15:06 w4tchdoge

Same here for any combination of windows terminal/alacritty and powershell/nu

PSVersion                      7.3.4
PSEdition                      Core
GitCommitId                    7.3.4
OS                             Microsoft Windows 10.0.22631

(that's Windows 11 23H2 22631.5549)

❯ nu --version
0.105.1

alacritty: 0.15.1

Windows Terminal
Version: 1.22.11141.0

jdrst avatar Jul 08 '25 21:07 jdrst

I'm getting the same results on Windows 11 with vhs v0.10.0. ttyd version 1.7.7-40e79c7

ffmpeg -version
ffmpeg version 7.1.1-full_build-www.gyan.dev Copyright (c) 2000-2025 the FFmpeg developers
built with gcc 14.2.0 (Rev1, Built by MSYS2 project)
configuration: --enable-gpl --enable-version3 --enable-static --disable-w32threads --disable-autodetect --enable-fontconfig --enable-iconv --enable-gnutls --enable-lcms2 --enable-libxml2 --enable-gmp --enable-bzlib --enable-lzma --enable-libsnappy --enable-zlib --enable-librist --enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth --enable-libbluray --enable-libcaca --enable-libdvdnav --enable-libdvdread --enable-sdl2 --enable-libaribb24 --enable-libaribcaption --enable-libdav1d --enable-libdavs2 --enable-libopenjpeg --enable-libquirc --enable-libuavs3d --enable-libxevd --enable-libzvbi --enable-libqrencode --enable-librav1e --enable-libsvtav1 --enable-libvvenc --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs2 --enable-libxeve --enable-libxvid --enable-libaom --enable-libjxl --enable-libvpx --enable-mediafoundation --enable-libass --enable-frei0r --enable-libfreetype --enable-libfribidi --enable-libharfbuzz --enable-liblensfun --enable-libvidstab --enable-libvmaf --enable-libzimg --enable-amf --enable-cuda-llvm --enable-cuvid --enable-dxva2 --enable-d3d11va --enable-d3d12va --enable-ffnvcodec --enable-libvpl --enable-nvdec --enable-nvenc --enable-vaapi --enable-libshaderc --enable-vulkan --enable-libplacebo --enable-opencl --enable-libcdio --enable-libgme --enable-libmodplug --enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame --enable-libshine --enable-libtheora --enable-libtwolame --enable-libvo-amrwbenc --enable-libcodec2 --enable-libilbc --enable-libgsm --enable-liblc3 --enable-libopencore-amrnb
--enable-libopus --enable-libspeex --enable-libvorbis --enable-ladspa --enable-libbs2b --enable-libflite --enable-libmysofa --enable-librubberband --enable-libsoxr --enable-chromaprint
libavutil      59. 39.100 / 59. 39.100
libavcodec     61. 19.101 / 61. 19.101
libavformat    61.  7.100 / 61.  7.100
libavdevice    61.  3.100 / 61.  3.100
libavfilter    10.  4.100 / 10.  4.100
libswscale      8.  3.100 /  8.  3.100
libswresample   5.  3.100 /  5.  3.100
libpostproc    58.  3.100 / 58.  3.100

ptsouchlos avatar Jul 14 '25 18:07 ptsouchlos

Same result with the Windows Terminal and Warp.dev on the example tape file in the vhs repo

seradotflac avatar Jul 18 '25 10:07 seradotflac

Seeing a similar issue with vhs 0.10.0. When running vhs record > test.tape in powershell, the file just contains the text unsupported.

mattvmsft avatar Jul 25 '25 17:07 mattvmsft

i'm having this issue too, my vhs is installed through winget.

junapur avatar Sep 10 '25 15:09 junapur

Same as well, vhs just straight up does nothing after the initial setup. No issues on WSL, but I just hate using WSL.

NSPC911 avatar Dec 23 '25 17:12 NSPC911

In the meantime, I've been using PowerSession which seems to work well and is compatible with other asciicinema tooling like agg

mattvmsft avatar Dec 23 '25 19:12 mattvmsft

The main issue with asciinema is that you cant have a preset sort of presentation (like vhs' tapes) that let you just run it, and it will automatically record

NSPC911 avatar Dec 24 '25 01:12 NSPC911

same issue. Edge is running with ttyd tab Image but then stuck Image

Freddy-FT avatar Feb 15 '26 18:02 Freddy-FT

Any updates on this?

Pinguladora avatar Feb 23 '26 23:02 Pinguladora