Hi I recently began making videos with VQGAN+clip Zooming - but I keep getting the same error, when I try to create the video in the video creation cell.
first I get the "filepath not defined" error message:
NameError Traceback (most recent call last)
in ()
38 '-preset',
39 'veryslow',
---> 40 filepath
41 ]
42
NameError: name 'filepath' is not defined
Then I try to write a line to define the filepath, like this:
filepath = f'{working_dir}'
but then I get this error, and I am stuck:
b"ffmpeg version 3.4.8-0ubuntu0.2 Copyright (c) 2000-2020 the FFmpeg developers\n built with gcc 7 (Ubuntu 7.5.0-3ubuntu1~18.04)\n configuration: --prefix=/usr --extra-version=0ubuntu0.2 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --enable-gpl --disable-stripping --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librubberband --enable-librsvg --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libopencv --enable-libx264 --enable-shared\n libavutil 55. 78.100 / 55. 78.100\n libavcodec 57.107.100 / 57.107.100\n libavformat 57. 83.100 / 57. 83.100\n libavdevice 57. 10.100 / 57. 10.100\n libavfilter 6.107.100 / 6.107.100\n libavresample 3. 7. 0 / 3. 7. 0\n libswscale 4. 8.100 / 4. 8.100\n libswresample 2. 9.100 / 2. 9.100\n libpostproc 54. 7.100 / 54. 7.100\nInput #0, image2, from '/content/gdrive/MyDrive/AI-ARBEJDE/ZOOMING/ZUCKERBERG-WILLIAMS/steps/%04d.png':\n Duration: 00:00:12.00, start: 0.000000, bitrate: N/A\n Stream #0:0: Video: png, rgb24(pc), 480x256, 25 fps, 25 tbr, 25 tbn, 25 tbc\n[NULL @ 0x55f3afeaec00] Unable to find a suitable output format for '/content/gdrive/MyDrive/AI-ARBEJDE/ZOOMING/ZUCKERBERG-WILLIAMS'\n/content/gdrive/MyDrive/AI-ARBEJDE/ZOOMING/ZUCKERBERG-WILLIAMS: Invalid argument\n"
You may be able to avoid this error by backing up the frames,restarting the notebook, and running only the video synthesis cells,or by decreasing the resolution of the image generation steps. If you restart the notebook, you will have to define the filepath
manuallyby adding filepath = 'PATH_TO_THE_VIDEO'
to the beginning of this cell. If these steps do not work, please post the traceback in the github.
RuntimeError Traceback (most recent call last)
in ()
54 "If these steps do not work, please post the traceback in the github."
55 )
---> 56 raise RuntimeError(stderr)
57 else:
58 print("The video is ready")
RuntimeError: b"ffmpeg version 3.4.8-0ubuntu0.2 Copyright (c) 2000-2020 the FFmpeg developers\n built with gcc 7 (Ubuntu 7.5.0-3ubuntu1~18.04)\n configuration: --prefix=/usr --extra-version=0ubuntu0.2 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --enable-gpl --disable-stripping --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librubberband --enable-librsvg --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libopencv --enable-libx264 --enable-shared\n libavutil 55. 78.100 / 55. 78.100\n libavcodec 57.107.100 / 57.107.100\n libavformat 57. 83.100 / 57. 83.100\n libavdevice 57. 10.100 / 57. 10.100\n libavfilter 6.107.100 / 6.107.100\n libavresample 3. 7. 0 / 3...
...
I don't know what to do.. can anyone help?