charmbracelet / vhs

Your CLI home video recorder 📼
MIT License
15.36k stars 261 forks source link

:grey_question: Unable to publish #198

Open adriens opened 1 year ago

adriens commented 1 year ago
vhs --publish endoflife.date.tape

image

Details

Sleep 5s
Creating GIF...
Creating MP4...
Creating WebM...
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
  WARNING: library configuration mismatch
  avcodec     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 --enable-version3 --disable-doc --disable-programs --enable-libaribb24 --enable-liblensfun --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libtesseract --enable-libvo_amrwbenc
  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
  libavfilter     7. 57.100 /  7. 57.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  5.100 /  5.  5.100
  libswresample   3.  5.100 /  3.  5.100
  libpostproc    55.  5.100 / 55.  5.100
Input #0, image2, from '/tmp/vhs4294761450/frame-text-%05d.png':
  Duration: 00:01:38.60, start: 0.000000, bitrate: N/A
    Stream #0:0: Video: png, rgba(pc), 1020x432, 25 fps, 25 tbr, 25 tbn, 25 tbc
Input #1, image2, from '/tmp/vhs4294761450/frame-cursor-%05d.png':
  Duration: 00:01:38.60, start: 0.000000, bitrate: N/A
    Stream #1:0: Video: png, rgba(pc), 1020x432, 25 fps, 25 tbr, 25 tbn, 25 tbc
Stream mapping:
  Stream #0:0 (png) -> overlay:main
  Stream #1:0 (png) -> overlay:overlay
  paletteuse -> Stream #0:0 (gif)
Press [q] to stop, [?] for help
[image2 @ 0x5624cc176b80] Thread message queue blocking; consider raising the thread_queue_size option (current value: 8)
[image2 @ 0x5624cc315e00] Thread message queue blocking; consider raising the thread_queue_size option (current value: 8)
Output #0, gif, to 'out.gif':
  Metadata:
    encoder         : Lavf58.29.100
    Stream #0:0: Video: gif, pal8, 1200x600, q=2-31, 200 kb/s, 50 fps, 100 tbn, 50 tbc (default)
    Metadata:
      encoder         : Lavc58.54.100 gif
maaslalani commented 1 year ago

Hey @adriens, just to confirm, you are using the latest main code? Can you post your full .tape file? Either way this looks like a very ugly error message that we will fix!

adriens commented 1 year ago

maybe linked to the fact thaht the gif is broken/empy cf :

https://github.com/charmbracelet/vhs/issues/184#issuecomment-1332713541

endoflife.date.webm

https://user-images.githubusercontent.com/5235127/208797793-ee3209d0-e3b4-4cf3-98dd-fc13106de5b3.mp4

maaslalani commented 1 year ago

Ah I see, there is no GIF output which is why the publish breaks. Publishing only supports GIFs for now.

If you add a GIF output to your tape file that should fix it, but we'll make sure that the error is much nicer or shouldn't error at all.

Thanks for reporting this!

maaslalani commented 1 year ago

Ah I see that your GIF output is broken due to an unrelated issue. That would definitely be causing the publish to fail.

adriens commented 1 year ago

Ah I see that your GIF output is broken due to an unrelated issue. That would definitely be causing the publish to fail.

Yep, the GIF itself is broken (empty in fact)

adriens commented 1 year ago

If you add a GIF output to your tape file that should fix i

i'll do this and let you know, thanks a lot for the tip 👍

adriens commented 1 year ago

I've added the gif output... but the generated file is stil empty 🤔

bashbunni commented 1 year ago

Hey @adriens is this still an issue you're experiencing with the current version on main?