[GH-ISSUE #654] Error while encoding the video with FFmpeg #2163

Closed
opened 2026-03-01 18:53:48 +03:00 by kerem · 0 comments
Owner

Originally created by @ashishpatel1992 on GitHub (May 14, 2020).
Original GitHub issue: https://github.com/NickeManarin/ScreenToGif/issues/654

Originally assigned to: @NickeManarin on GitHub.

Not able to export any video using ffmpeg
Error while encoding the video with FFmpeg.

   at ScreenToGif.Windows.Other.Encoder.EncodeWithFfmpeg(String name, List`1 listFrames, Int32 id, Parameters param, CancellationTokenSource tokenSource, String processing)
   at ScreenToGif.Windows.Other.Encoder.<Encode>d__26.MoveNext()

Command:

-vsync 2 -safe 0 -f concat -i "C:\Users\Diksha\AppData\Local\Temp\ScreenToGif\Recording\2020-05-14 19-12-42\Encode 2020-05-14 09-13-42-41\concat.txt" -f matroska -c:v libx265 -b:v 1M -g 150 -pix_fmt yuv420p -vf "pad=width=1366:height=768:x=0:y=0:color=black" -y "C:\Users\Diksha\Desktop\insta post\tutorial32.mkv"


Result:


ffmpeg version git-2020-05-10-fc99a24 Copyright (c) 2000-2020 the FFmpeg developers
  built with gcc 9.3.1 (GCC) 20200328
  configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libdav1d --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libsrt --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvmaf --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --disable-w32threads --enable-libmfx --enable-ffnvcodec --enable-cuda-llvm --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt --enable-amf
  libavutil      56. 44.100 / 56. 44.100
  libavcodec     58. 83.100 / 58. 83.100
  libavformat    58. 43.100 / 58. 43.100
  libavdevice    58.  9.103 / 58.  9.103
  libavfilter     7. 80.100 /  7. 80.100
  libswscale      5.  6.101 /  5.  6.101
  libswresample   3.  6.100 /  3.  6.100
  libpostproc    55.  6.100 / 55.  6.100
[concat @ 000001df5dfec600] Impossible to open 'CC:\Users\Diksha\AppData\Local\Temp\ScreenToGif\Recording\2020-05-14 19-12-42\Encode 2020-05-14 09-13-42-41\0.png'
C:\Users\Diksha\AppData\Local\Temp\ScreenToGif\Recording\2020-05-14 19-12-42\Encode 2020-05-14 09-13-42-41\concat.txt: Protocol not found
Did you mean file:C:\Users\Diksha\AppData\Local\Temp\ScreenToGif\Recording\2020-05-14 19-12-42\Encode 2020-05-14 09-13-42-41\concat.txt?
Originally created by @ashishpatel1992 on GitHub (May 14, 2020). Original GitHub issue: https://github.com/NickeManarin/ScreenToGif/issues/654 Originally assigned to: @NickeManarin on GitHub. Not able to export any video using ffmpeg **Error while encoding the video with FFmpeg.** ``` at ScreenToGif.Windows.Other.Encoder.EncodeWithFfmpeg(String name, List`1 listFrames, Int32 id, Parameters param, CancellationTokenSource tokenSource, String processing) at ScreenToGif.Windows.Other.Encoder.<Encode>d__26.MoveNext() Command: -vsync 2 -safe 0 -f concat -i "C:\Users\Diksha\AppData\Local\Temp\ScreenToGif\Recording\2020-05-14 19-12-42\Encode 2020-05-14 09-13-42-41\concat.txt" -f matroska -c:v libx265 -b:v 1M -g 150 -pix_fmt yuv420p -vf "pad=width=1366:height=768:x=0:y=0:color=black" -y "C:\Users\Diksha\Desktop\insta post\tutorial32.mkv" Result: ffmpeg version git-2020-05-10-fc99a24 Copyright (c) 2000-2020 the FFmpeg developers built with gcc 9.3.1 (GCC) 20200328 configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libdav1d --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libsrt --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvmaf --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --disable-w32threads --enable-libmfx --enable-ffnvcodec --enable-cuda-llvm --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt --enable-amf libavutil 56. 44.100 / 56. 44.100 libavcodec 58. 83.100 / 58. 83.100 libavformat 58. 43.100 / 58. 43.100 libavdevice 58. 9.103 / 58. 9.103 libavfilter 7. 80.100 / 7. 80.100 libswscale 5. 6.101 / 5. 6.101 libswresample 3. 6.100 / 3. 6.100 libpostproc 55. 6.100 / 55. 6.100 [concat @ 000001df5dfec600] Impossible to open 'CC:\Users\Diksha\AppData\Local\Temp\ScreenToGif\Recording\2020-05-14 19-12-42\Encode 2020-05-14 09-13-42-41\0.png' C:\Users\Diksha\AppData\Local\Temp\ScreenToGif\Recording\2020-05-14 19-12-42\Encode 2020-05-14 09-13-42-41\concat.txt: Protocol not found Did you mean file:C:\Users\Diksha\AppData\Local\Temp\ScreenToGif\Recording\2020-05-14 19-12-42\Encode 2020-05-14 09-13-42-41\concat.txt? ```
kerem 2026-03-01 18:53:48 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ScreenToGif#2163
No description provided.