Skip to content

Instantly share code, notes, and snippets.

@kepstin
Created June 14, 2017 23:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kepstin/8f0fad41842bb923da8709267fed0f9d to your computer and use it in GitHub Desktop.
Save kepstin/8f0fad41842bb923da8709267fed0f9d to your computer and use it in GitHub Desktop.
cwalton@fuko ~/Development/ffmpeg $ ./ffmpeg -f lavfi -i testsrc -t 60 -c:v h264_nvenc test.mkvffmpeg version N-86480-ge53c9065ca Copyright (c) 2000-2017 the FFmpeg developers
built with gcc 6.3.0 (GCC)
configuration: --enable-gpl --enable-libx264 --enable-libopus --enable-nonfree --enable-libfdk_aac --extra-cflags=-I/usr/local/include --extra-ldflags=-L/usr/local/lib
libavutil 55. 66.100 / 55. 66.100
libavcodec 57. 99.100 / 57. 99.100
libavformat 57. 73.100 / 57. 73.100
libavdevice 57. 7.100 / 57. 7.100
libavfilter 6. 92.100 / 6. 92.100
libswscale 4. 7.101 / 4. 7.101
libswresample 2. 8.100 / 2. 8.100
libpostproc 54. 6.100 / 54. 6.100
Input #0, lavfi, from 'testsrc':
Duration: N/A, start: 0.000000, bitrate: N/A
Stream #0:0: Video: rawvideo (RGB[24] / 0x18424752), rgb24, 320x240 [SAR 1:1 DAR 4:3], 25 tbr, 25 tbn, 25 tbc
File 'test.mkv' already exists. Overwrite ? [y/N] y
Stream mapping:
Stream #0:0 -> #0:0 (rawvideo (native) -> h264 (h264_nvenc))
Press [q] to stop, [?] for help
[h264_nvenc @ 0x3f38600] Cannot init CUDA
[h264_nvenc @ 0x3f38600] cuCtxPushCurrent failed
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
Conversion failed!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment