Advertisement
dashhh

ffmpeg with hevc_nvenc error log

Jan 28th, 2020
301
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 24.67 KB | None | 0 0
  1. $ ffmpeg -y -ss 1800 -vsync 0 -hwaccel cuvid -hwaccel_device 0 -c:v h264_cuvid -i /data/path/intput.mp4 -color_primaries bt2020 -color_trc smpte2084  -colorspace bt2020nc -color_range tv  -t 10 -filter_complex "[0:v]hwdownload,format=nv12,format=yuv420p,scale=iw*2:ih*2"  -gpu 0 -c:v hevc_nvenc -pix_fmt yuv444p16le -profile:v main10 -preset hq -rc cbr_hq -b:v 5000k -maxrate 7000k -bufsize 1000k -acodec copy ./3/makevideo_withsr.mp4 -v repeat+debug
  2. ffmpeg version 4.1.3 Copyright (c) 2000-2019 the FFmpeg developers
  3.   built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.12) 20160609
  4.   configuration: --enable-cuda --enable-cuvid --enable-nvenc --enable-nonfree --enable-libnpp --extra-cflags=-I/path/to/cuda/include --extra-ldflags=-L/path/to/cuda/lib64 --prefix=/home/super/ffmpeg_build --pkg-config-flags=--static --extra-libs='-lpthread -lm' --extra-cflags=-I/home/super/ffmpeg_build/include --extra-ldflags=-L/home/super/ffmpeg_build/lib --enable-gpl --enable-nonfree --enable-version3 --disable-stripping --enable-avisynth --enable-libass --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-librubberband --enable-libshine --enable-libsnappy --enable-libssh --enable-libtwolame --enable-libwavpack --enable-libzvbi --enable-openal --enable-sdl2 --enable-libdrm --enable-frei0r --enable-ladspa --enable-libpulse --enable-libsoxr --enable-libspeex --enable-avfilter --enable-postproc --enable-pthreads --enable-libfdk-aac --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --disable-ffplay --enable-libopenjpeg --enable-libwebp --enable-libxvid --enable-libvidstab --enable-libopenh264 --enable-zlib --enable-openssl
  5.   libavutil      56. 22.100 / 56. 22.100
  6.   libavcodec     58. 35.100 / 58. 35.100
  7.   libavformat    58. 20.100 / 58. 20.100
  8.   libavdevice    58.  5.100 / 58.  5.100
  9.   libavfilter     7. 40.101 /  7. 40.101
  10.   libswscale      5.  3.100 /  5.  3.100
  11.   libswresample   3.  3.100 /  3.  3.100
  12.   libpostproc    55.  3.100 / 55.  3.100
  13. Splitting the commandline.
  14. Reading option '-y' ... matched as option 'y' (overwrite output files) with argument '1'.
  15. Reading option '-ss' ... matched as option 'ss' (set the start time offset) with argument '1800'.
  16. Reading option '-vsync' ... matched as option 'vsync' (video sync method) with argument '0'.
  17. Reading option '-hwaccel' ... matched as option 'hwaccel' (use HW accelerated decoding) with argument 'cuvid'.
  18. Reading option '-hwaccel_device' ... matched as option 'hwaccel_device' (select a device for HW acceleration) with argument '0'.
  19. Reading option '-c:v' ... matched as option 'c' (codec name) with argument 'h264_cuvid'.
  20. Reading option '-i' ... matched as input url with argument '/data/path/intput.mp4'.
  21. Reading option '-color_primaries' ... matched as AVOption 'color_primaries' with argument 'bt2020'.
  22. Reading option '-color_trc' ... matched as AVOption 'color_trc' with argument 'smpte2084'.
  23. Reading option '-colorspace' ... matched as AVOption 'colorspace' with argument 'bt2020nc'.
  24. Reading option '-color_range' ... matched as AVOption 'color_range' with argument 'tv'.
  25. Reading option '-t' ... matched as option 't' (record or transcode "duration" seconds of audio/video) with argument '10'.
  26. Reading option '-filter_complex' ... matched as option 'filter_complex' (create a complex filtergraph) with argument '[0:v]hwdownload,format=nv12,format=yuv420p,scale=iw*2:ih*2'.
  27. Reading option '-gpu' ... matched as AVOption 'gpu' with argument '0'.
  28. Reading option '-c:v' ... matched as option 'c' (codec name) with argument 'hevc_nvenc'.
  29. Reading option '-pix_fmt' ... matched as option 'pix_fmt' (set pixel format) with argument 'yuv444p16le'.
  30. Reading option '-profile:v' ... matched as option 'profile' (set profile) with argument 'main10'.
  31. Reading option '-preset' ... matched as AVOption 'preset' with argument 'hq'.
  32. Reading option '-rc' ... matched as AVOption 'rc' with argument 'cbr_hq'.
  33. Reading option '-b:v' ... matched as option 'b' (video bitrate (please use -b:v)) with argument '5000k'.
  34. Reading option '-maxrate' ... matched as AVOption 'maxrate' with argument '7000k'.
  35. Reading option '-bufsize' ... matched as AVOption 'bufsize' with argument '1000k'.
  36. Reading option '-acodec' ... matched as option 'acodec' (force audio codec ('copy' to copy stream)) with argument 'copy'.
  37. Reading option './3/makevideo_withsr.mp4' ... matched as output url.
  38. Reading option '-v' ... matched as option 'v' (set logging level) with argument 'repeat+debug'.
  39. Finished splitting the commandline.
  40. Parsing a group of options: global .
  41. Applying option y (overwrite output files) with argument 1.
  42. Applying option vsync (video sync method) with argument 0.
  43. Applying option filter_complex (create a complex filtergraph) with argument [0:v]hwdownload,format=nv12,format=yuv420p,scale=iw*2:ih*2.
  44. Applying option v (set logging level) with argument repeat+debug.
  45. Successfully parsed a group of options.
  46. Parsing a group of options: input url /data/path/intput.mp4.
  47. Applying option ss (set the start time offset) with argument 1800.
  48. Applying option hwaccel (use HW accelerated decoding) with argument cuvid.
  49. Applying option hwaccel_device (select a device for HW acceleration) with argument 0.
  50. Applying option c:v (codec name) with argument h264_cuvid.
  51. Successfully parsed a group of options.
  52. Opening an input file: /data/path/intput.mp4.
  53. [NULL @ 0x4429940] Opening '/data/path/intput.mp4' for reading
  54. [file @ 0x442a140] Setting default whitelist 'file,crypto'
  55. [mov,mp4,m4a,3gp,3g2,mj2 @ 0x4429940] Format mov,mp4,m4a,3gp,3g2,mj2 probed with size=2048 and score=100
  56. [mov,mp4,m4a,3gp,3g2,mj2 @ 0x4429940] ISO: File Type Major Brand: avc1
  57. [mov,mp4,m4a,3gp,3g2,mj2 @ 0x4429940] Unknown dref type 0x206c7275 size 12
  58. [mov,mp4,m4a,3gp,3g2,mj2 @ 0x4429940] Unknown dref type 0x206c7275 size 12
  59. [mov,mp4,m4a,3gp,3g2,mj2 @ 0x4429940] Unknown dref type 0x206c7275 size 12
  60. [mov,mp4,m4a,3gp,3g2,mj2 @ 0x4429940] Unknown dref type 0x206c7275 size 12
  61. [mov,mp4,m4a,3gp,3g2,mj2 @ 0x4429940] Before avformat_find_stream_info() pos: 6774080 bytes read:6775832 seeks:0 nb_streams:4
  62. [h264 @ 0x442e380] nal_unit_type: 7(SPS), nal_ref_idc: 3
  63. [h264 @ 0x442e380] nal_unit_type: 8(PPS), nal_ref_idc: 3
  64. [h264 @ 0x442e380] nal_unit_type: 6(SEI), nal_ref_idc: 0
  65. [h264 @ 0x442e380] nal_unit_type: 6(SEI), nal_ref_idc: 0
  66. [h264 @ 0x442e380] nal_unit_type: 5(IDR), nal_ref_idc: 2
  67. [h264 @ 0x442e380] ct_type:0 pic_struct:0
  68. [h264 @ 0x442e380] ct_type:0 pic_struct:0
  69. [h264 @ 0x442e380] Format yuv420p chosen by get_format().
  70. [h264 @ 0x442e380] Reinit context to 1920x1088, pix_fmt: yuv420p
  71. [mov,mp4,m4a,3gp,3g2,mj2 @ 0x4429940] All info found
  72. [mov,mp4,m4a,3gp,3g2,mj2 @ 0x4429940] After avformat_find_stream_info() pos: 6800965 bytes read:6808600 seeks:0 frames:7
  73. Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/data/path/intput.mp4':
  74.   Metadata:
  75.     major_brand     : avc1
  76.     minor_version   : 0
  77.     compatible_brands: isomavc1
  78.     creation_time   : 2019-10-21T16:58:39.000000Z
  79.   Duration: 01:42:22.72, start: 0.000000, bitrate: 5637 kb/s
  80.     Stream #0:0(eng), 1, 1/1000: Data: none (mp4s / 0x7334706D), 0/1, 224 kb/s (default)
  81.     Metadata:
  82.       creation_time   : 2019-10-21T16:58:39.000000Z
  83.     Stream #0:1(eng), 1, 1/1000: Data: none (mp4s / 0x7334706D), 0/1, 240 kb/s (default)
  84.     Metadata:
  85.       creation_time   : 2019-10-21T16:58:39.000000Z
  86.     Stream #0:2(eng), 1, 1/90000: Video: h264 (High), 1 reference frame (avc1 / 0x31637661), yuv420p(left), 1920x1080 (1920x1088) [SAR 1:1 DAR 16:9], 0/1, 5500 kb/s, 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc (default)
  87.     Metadata:
  88.       creation_time   : 2019-10-21T16:58:39.000000Z
  89.       encoder         : AVC Coding
  90.     Stream #0:3(eng), 4, 1/90000: Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 128 kb/s (default)
  91.     Metadata:
  92.       creation_time   : 2019-10-21T16:58:39.000000Z
  93. Successfully opened the file.
  94. [Parsed_format_1 @ 0x4525780] Setting 'pix_fmts' to value 'nv12'
  95. [Parsed_format_2 @ 0x4526280] Setting 'pix_fmts' to value 'yuv420p'
  96. [Parsed_scale_3 @ 0x4526d40] Setting 'w' to value 'iw*2'
  97. [Parsed_scale_3 @ 0x4526d40] Setting 'h' to value 'ih*2'
  98. [Parsed_scale_3 @ 0x4526d40] w:iw*2 h:ih*2 flags:'bilinear' interl:0
  99. Parsing a group of options: output url ./3/makevideo_withsr.mp4.
  100. Applying option t (record or transcode "duration" seconds of audio/video) with argument 10.
  101. Applying option c:v (codec name) with argument hevc_nvenc.
  102. Applying option pix_fmt (set pixel format) with argument yuv444p16le.
  103. Applying option profile:v (set profile) with argument main10.
  104. Applying option b:v (video bitrate (please use -b:v)) with argument 5000k.
  105. Applying option acodec (force audio codec ('copy' to copy stream)) with argument copy.
  106. Successfully parsed a group of options.
  107. Opening an output file: ./3/makevideo_withsr.mp4.
  108. [file @ 0x4526040] Setting default whitelist 'file,crypto'
  109. Successfully opened the file.
  110. [h264_cuvid @ 0x44319c0] Initializing cuvid hwaccel
  111. [AVHWDeviceContext @ 0x4526300] Loaded lib: libcuda.so.1
  112. [AVHWDeviceContext @ 0x4526300] Loaded sym: cuInit
  113. [AVHWDeviceContext @ 0x4526300] Loaded sym: cuDeviceGetCount
  114. [AVHWDeviceContext @ 0x4526300] Loaded sym: cuDeviceGet
  115. [AVHWDeviceContext @ 0x4526300] Loaded sym: cuDeviceGetAttribute
  116. [AVHWDeviceContext @ 0x4526300] Loaded sym: cuDeviceGetName
  117. [AVHWDeviceContext @ 0x4526300] Loaded sym: cuDeviceComputeCapability
  118. [AVHWDeviceContext @ 0x4526300] Loaded sym: cuCtxCreate_v2
  119. [AVHWDeviceContext @ 0x4526300] Loaded sym: cuCtxSetLimit
  120. [AVHWDeviceContext @ 0x4526300] Loaded sym: cuCtxPushCurrent_v2
  121. [AVHWDeviceContext @ 0x4526300] Loaded sym: cuCtxPopCurrent_v2
  122. [AVHWDeviceContext @ 0x4526300] Loaded sym: cuCtxDestroy_v2
  123. [AVHWDeviceContext @ 0x4526300] Loaded sym: cuMemAlloc_v2
  124. [AVHWDeviceContext @ 0x4526300] Loaded sym: cuMemAllocPitch_v2
  125. [AVHWDeviceContext @ 0x4526300] Loaded sym: cuMemsetD8Async
  126. [AVHWDeviceContext @ 0x4526300] Loaded sym: cuMemFree_v2
  127. [AVHWDeviceContext @ 0x4526300] Loaded sym: cuMemcpy2D_v2
  128. [AVHWDeviceContext @ 0x4526300] Loaded sym: cuMemcpy2DAsync_v2
  129. [AVHWDeviceContext @ 0x4526300] Loaded sym: cuGetErrorName
  130. [AVHWDeviceContext @ 0x4526300] Loaded sym: cuGetErrorString
  131. [AVHWDeviceContext @ 0x4526300] Loaded sym: cuCtxGetDevice
  132. [AVHWDeviceContext @ 0x4526300] Loaded sym: cuDevicePrimaryCtxRetain
  133. [AVHWDeviceContext @ 0x4526300] Loaded sym: cuDevicePrimaryCtxRelease
  134. [AVHWDeviceContext @ 0x4526300] Loaded sym: cuDevicePrimaryCtxSetFlags
  135. [AVHWDeviceContext @ 0x4526300] Loaded sym: cuDevicePrimaryCtxGetState
  136. [AVHWDeviceContext @ 0x4526300] Loaded sym: cuDevicePrimaryCtxReset
  137. [AVHWDeviceContext @ 0x4526300] Loaded sym: cuStreamCreate
  138. [AVHWDeviceContext @ 0x4526300] Loaded sym: cuStreamQuery
  139. [AVHWDeviceContext @ 0x4526300] Loaded sym: cuStreamSynchronize
  140. [AVHWDeviceContext @ 0x4526300] Loaded sym: cuStreamDestroy_v2
  141. [AVHWDeviceContext @ 0x4526300] Loaded sym: cuStreamAddCallback
  142. [AVHWDeviceContext @ 0x4526300] Loaded sym: cuEventCreate
  143. [AVHWDeviceContext @ 0x4526300] Loaded sym: cuEventDestroy_v2
  144. [AVHWDeviceContext @ 0x4526300] Loaded sym: cuEventSynchronize
  145. [AVHWDeviceContext @ 0x4526300] Loaded sym: cuEventQuery
  146. [AVHWDeviceContext @ 0x4526300] Loaded sym: cuEventRecord
  147. [AVHWDeviceContext @ 0x4526300] Loaded sym: cuLaunchKernel
  148. [AVHWDeviceContext @ 0x4526300] Loaded sym: cuModuleLoadData
  149. [AVHWDeviceContext @ 0x4526300] Loaded sym: cuModuleUnload
  150. [AVHWDeviceContext @ 0x4526300] Loaded sym: cuModuleGetFunction
  151. [AVHWDeviceContext @ 0x4526300] Loaded sym: cuTexObjectCreate
  152. [AVHWDeviceContext @ 0x4526300] Loaded sym: cuTexObjectDestroy
  153. [AVHWDeviceContext @ 0x4526300] Loaded sym: cuGLGetDevices_v2
  154. [AVHWDeviceContext @ 0x4526300] Loaded sym: cuGraphicsGLRegisterImage
  155. [AVHWDeviceContext @ 0x4526300] Loaded sym: cuGraphicsUnregisterResource
  156. [AVHWDeviceContext @ 0x4526300] Loaded sym: cuGraphicsMapResources
  157. [AVHWDeviceContext @ 0x4526300] Loaded sym: cuGraphicsUnmapResources
  158. [AVHWDeviceContext @ 0x4526300] Loaded sym: cuGraphicsSubResourceGetMappedArray
  159. [AVHWDeviceContext @ 0x4526300] Loaded sym: cuDeviceGetUuid
  160. [AVHWDeviceContext @ 0x4526300] Loaded sym: cuImportExternalMemory
  161. [AVHWDeviceContext @ 0x4526300] Loaded sym: cuDestroyExternalMemory
  162. [AVHWDeviceContext @ 0x4526300] Loaded sym: cuExternalMemoryGetMappedBuffer
  163. [AVHWDeviceContext @ 0x4526300] Loaded sym: cuExternalMemoryGetMappedMipmappedArray
  164. [AVHWDeviceContext @ 0x4526300] Loaded sym: cuMipmappedArrayGetLevel
  165. [AVHWDeviceContext @ 0x4526300] Loaded sym: cuMipmappedArrayDestroy
  166. [AVHWDeviceContext @ 0x4526300] Loaded sym: cuImportExternalSemaphore
  167. [AVHWDeviceContext @ 0x4526300] Loaded sym: cuDestroyExternalSemaphore
  168. [AVHWDeviceContext @ 0x4526300] Loaded sym: cuSignalExternalSemaphoresAsync
  169. [AVHWDeviceContext @ 0x4526300] Loaded sym: cuWaitExternalSemaphoresAsync
  170. [h264_cuvid @ 0x44319c0] Initializing CUDA frames context: sw_format = nv12, width = 1920, height = 1080
  171. [h264_cuvid @ 0x44319c0] Format cuda chosen by get_format().
  172. [h264_cuvid @ 0x44319c0] Loaded lib: libnvcuvid.so.1
  173. [h264_cuvid @ 0x44319c0] Loaded sym: cuvidGetDecoderCaps
  174. [h264_cuvid @ 0x44319c0] Loaded sym: cuvidCreateDecoder
  175. [h264_cuvid @ 0x44319c0] Loaded sym: cuvidDestroyDecoder
  176. [h264_cuvid @ 0x44319c0] Loaded sym: cuvidDecodePicture
  177. [h264_cuvid @ 0x44319c0] Loaded sym: cuvidGetDecodeStatus
  178. [h264_cuvid @ 0x44319c0] Loaded sym: cuvidReconfigureDecoder
  179. [h264_cuvid @ 0x44319c0] Loaded sym: cuvidMapVideoFrame64
  180. [h264_cuvid @ 0x44319c0] Loaded sym: cuvidUnmapVideoFrame64
  181. [h264_cuvid @ 0x44319c0] Loaded sym: cuvidCtxLockCreate
  182. [h264_cuvid @ 0x44319c0] Loaded sym: cuvidCtxLockDestroy
  183. [h264_cuvid @ 0x44319c0] Loaded sym: cuvidCtxLock
  184. [h264_cuvid @ 0x44319c0] Loaded sym: cuvidCtxUnlock
  185. [h264_cuvid @ 0x44319c0] Loaded sym: cuvidCreateVideoSource
  186. [h264_cuvid @ 0x44319c0] Loaded sym: cuvidCreateVideoSourceW
  187. [h264_cuvid @ 0x44319c0] Loaded sym: cuvidDestroyVideoSource
  188. [h264_cuvid @ 0x44319c0] Loaded sym: cuvidSetVideoSourceState
  189. [h264_cuvid @ 0x44319c0] Loaded sym: cuvidGetVideoSourceState
  190. [h264_cuvid @ 0x44319c0] Loaded sym: cuvidGetSourceVideoFormat
  191. [h264_cuvid @ 0x44319c0] Loaded sym: cuvidGetSourceAudioFormat
  192. [h264_cuvid @ 0x44319c0] Loaded sym: cuvidCreateVideoParser
  193. [h264_cuvid @ 0x44319c0] Loaded sym: cuvidParseVideoData
  194. [h264_cuvid @ 0x44319c0] Loaded sym: cuvidDestroyVideoParser
  195. [h264_cuvid @ 0x44319c0] CUVID capabilities for h264_cuvid:
  196. [h264_cuvid @ 0x44319c0] 8 bit: supported: 1, min_width: 48, max_width: 4096, min_height: 16, max_height: 4096
  197. [h264_cuvid @ 0x44319c0] 10 bit: supported: 0, min_width: 0, max_width: 0, min_height: 0, max_height: 0
  198. [h264_cuvid @ 0x44319c0] 12 bit: supported: 0, min_width: 0, max_width: 0, min_height: 0, max_height: 0
  199. Stream mapping:
  200.   Stream #0:2 (h264_cuvid) -> hwdownload
  201.   scale -> Stream #0:0 (hevc_nvenc)
  202.   Stream #0:3 -> #0:1 (copy)
  203. Press [q] to stop, [?] for help
  204. cur_dts is invalid (this is harmless if it occurs once at the start per stream)
  205. cur_dts is invalid (this is harmless if it occurs once at the start per stream)
  206. cur_dts is invalid (this is harmless if it occurs once at the start per stream)
  207. cur_dts is invalid (this is harmless if it occurs once at the start per stream)
  208. cur_dts is invalid (this is harmless if it occurs once at the start per stream)
  209. [h264_cuvid @ 0x44319c0] Initializing cuvid hwaccel
  210. [h264_cuvid @ 0x44319c0] Initializing CUDA frames context: sw_format = nv12, width = 1920, height = 1080
  211. [h264_cuvid @ 0x44319c0] Format cuda chosen by get_format().
  212. [h264_cuvid @ 0x44319c0] Formats: Original: cuda | HW: cuda | SW: nv12
  213. cur_dts is invalid (this is harmless if it occurs once at the start per stream)
  214. cur_dts is invalid (this is harmless if it occurs once at the start per stream)
  215. cur_dts is invalid (this is harmless if it occurs once at the start per stream)
  216. cur_dts is invalid (this is harmless if it occurs once at the start per stream)
  217. cur_dts is invalid (this is harmless if it occurs once at the start per stream)
  218. cur_dts is invalid (this is harmless if it occurs once at the start per stream)
  219. cur_dts is invalid (this is harmless if it occurs once at the start per stream)
  220. cur_dts is invalid (this is harmless if it occurs once at the start per stream)
  221. detected 32 logical cores
  222. [Parsed_format_1 @ 0x4f3a9c0] Setting 'pix_fmts' to value 'nv12'
  223. [Parsed_format_2 @ 0x4c11b80] Setting 'pix_fmts' to value 'yuv420p'
  224. [Parsed_scale_3 @ 0x4c12640] Setting 'w' to value 'iw*2'
  225. [Parsed_scale_3 @ 0x4c12640] Setting 'h' to value 'ih*2'
  226. [Parsed_scale_3 @ 0x4c12640] w:iw*2 h:ih*2 flags:'bilinear' interl:0
  227. [graph 0 input from stream 0:2 @ 0x4c13380] Setting 'video_size' to value '1920x1080'
  228. [graph 0 input from stream 0:2 @ 0x4c13380] Setting 'pix_fmt' to value '119'
  229. [graph 0 input from stream 0:2 @ 0x4c13380] Setting 'time_base' to value '1/90000'
  230. [graph 0 input from stream 0:2 @ 0x4c13380] Setting 'pixel_aspect' to value '1/1'
  231. [graph 0 input from stream 0:2 @ 0x4c13380] Setting 'sws_param' to value 'flags=2'
  232. [graph 0 input from stream 0:2 @ 0x4c13380] Setting 'frame_rate' to value '30000/1001'
  233. [graph 0 input from stream 0:2 @ 0x4c13380] w:1920 h:1080 pixfmt:cuda tb:1/90000 fr:30000/1001 sar:1/1 sws_param:flags=2
  234. [format @ 0x4c14e00] Setting 'pix_fmts' to value 'yuv444p16le'
  235. [auto_scaler_0 @ 0x4c16080] w:iw h:ih flags:'bilinear' interl:0
  236. [Parsed_format_2 @ 0x4c11b80] auto-inserting filter 'auto_scaler_0' between the filter 'Parsed_format_1' and the filter 'Parsed_format_2'
  237. [AVFilterGraph @ 0x4f6f180] query_formats: 9 queried, 7 merged, 1 already done, 0 delayed
  238. [auto_scaler_0 @ 0x4c16080] w:1920 h:1080 fmt:nv12 sar:1/1 -> w:1920 h:1080 fmt:yuv420p sar:1/1 flags:0x2
  239. [Parsed_scale_3 @ 0x4c12640] w:1920 h:1080 fmt:yuv420p sar:1/1 -> w:3840 h:2160 fmt:yuv444p16le sar:1/1 flags:0x2
  240. [hevc_nvenc @ 0x4527cc0] Loaded lib: libcuda.so.1
  241. [hevc_nvenc @ 0x4527cc0] Loaded sym: cuInit
  242. [hevc_nvenc @ 0x4527cc0] Loaded sym: cuDeviceGetCount
  243. [hevc_nvenc @ 0x4527cc0] Loaded sym: cuDeviceGet
  244. [hevc_nvenc @ 0x4527cc0] Loaded sym: cuDeviceGetAttribute
  245. [hevc_nvenc @ 0x4527cc0] Loaded sym: cuDeviceGetName
  246. [hevc_nvenc @ 0x4527cc0] Loaded sym: cuDeviceComputeCapability
  247. [hevc_nvenc @ 0x4527cc0] Loaded sym: cuCtxCreate_v2
  248. [hevc_nvenc @ 0x4527cc0] Loaded sym: cuCtxSetLimit
  249. [hevc_nvenc @ 0x4527cc0] Loaded sym: cuCtxPushCurrent_v2
  250. [hevc_nvenc @ 0x4527cc0] Loaded sym: cuCtxPopCurrent_v2
  251. [hevc_nvenc @ 0x4527cc0] Loaded sym: cuCtxDestroy_v2
  252. [hevc_nvenc @ 0x4527cc0] Loaded sym: cuMemAlloc_v2
  253. [hevc_nvenc @ 0x4527cc0] Loaded sym: cuMemAllocPitch_v2
  254. [hevc_nvenc @ 0x4527cc0] Loaded sym: cuMemsetD8Async
  255. [hevc_nvenc @ 0x4527cc0] Loaded sym: cuMemFree_v2
  256. [hevc_nvenc @ 0x4527cc0] Loaded sym: cuMemcpy2D_v2
  257. [hevc_nvenc @ 0x4527cc0] Loaded sym: cuMemcpy2DAsync_v2
  258. [hevc_nvenc @ 0x4527cc0] Loaded sym: cuGetErrorName
  259. [hevc_nvenc @ 0x4527cc0] Loaded sym: cuGetErrorString
  260. [hevc_nvenc @ 0x4527cc0] Loaded sym: cuCtxGetDevice
  261. [hevc_nvenc @ 0x4527cc0] Loaded sym: cuDevicePrimaryCtxRetain
  262. [hevc_nvenc @ 0x4527cc0] Loaded sym: cuDevicePrimaryCtxRelease
  263. [hevc_nvenc @ 0x4527cc0] Loaded sym: cuDevicePrimaryCtxSetFlags
  264. [hevc_nvenc @ 0x4527cc0] Loaded sym: cuDevicePrimaryCtxGetState
  265. [hevc_nvenc @ 0x4527cc0] Loaded sym: cuDevicePrimaryCtxReset
  266. [hevc_nvenc @ 0x4527cc0] Loaded sym: cuStreamCreate
  267. [hevc_nvenc @ 0x4527cc0] Loaded sym: cuStreamQuery
  268. [hevc_nvenc @ 0x4527cc0] Loaded sym: cuStreamSynchronize
  269. [hevc_nvenc @ 0x4527cc0] Loaded sym: cuStreamDestroy_v2
  270. [hevc_nvenc @ 0x4527cc0] Loaded sym: cuStreamAddCallback
  271. [hevc_nvenc @ 0x4527cc0] Loaded sym: cuEventCreate
  272. [hevc_nvenc @ 0x4527cc0] Loaded sym: cuEventDestroy_v2
  273. [hevc_nvenc @ 0x4527cc0] Loaded sym: cuEventSynchronize
  274. [hevc_nvenc @ 0x4527cc0] Loaded sym: cuEventQuery
  275. [hevc_nvenc @ 0x4527cc0] Loaded sym: cuEventRecord
  276. [hevc_nvenc @ 0x4527cc0] Loaded sym: cuLaunchKernel
  277. [hevc_nvenc @ 0x4527cc0] Loaded sym: cuModuleLoadData
  278. [hevc_nvenc @ 0x4527cc0] Loaded sym: cuModuleUnload
  279. [hevc_nvenc @ 0x4527cc0] Loaded sym: cuModuleGetFunction
  280. [hevc_nvenc @ 0x4527cc0] Loaded sym: cuTexObjectCreate
  281. [hevc_nvenc @ 0x4527cc0] Loaded sym: cuTexObjectDestroy
  282. [hevc_nvenc @ 0x4527cc0] Loaded sym: cuGLGetDevices_v2
  283. [hevc_nvenc @ 0x4527cc0] Loaded sym: cuGraphicsGLRegisterImage
  284. [hevc_nvenc @ 0x4527cc0] Loaded sym: cuGraphicsUnregisterResource
  285. [hevc_nvenc @ 0x4527cc0] Loaded sym: cuGraphicsMapResources
  286. [hevc_nvenc @ 0x4527cc0] Loaded sym: cuGraphicsUnmapResources
  287. [hevc_nvenc @ 0x4527cc0] Loaded sym: cuGraphicsSubResourceGetMappedArray
  288. [hevc_nvenc @ 0x4527cc0] Loaded sym: cuDeviceGetUuid
  289. [hevc_nvenc @ 0x4527cc0] Loaded sym: cuImportExternalMemory
  290. [hevc_nvenc @ 0x4527cc0] Loaded sym: cuDestroyExternalMemory
  291. [hevc_nvenc @ 0x4527cc0] Loaded sym: cuExternalMemoryGetMappedBuffer
  292. [hevc_nvenc @ 0x4527cc0] Loaded sym: cuExternalMemoryGetMappedMipmappedArray
  293. [hevc_nvenc @ 0x4527cc0] Loaded sym: cuMipmappedArrayGetLevel
  294. [hevc_nvenc @ 0x4527cc0] Loaded sym: cuMipmappedArrayDestroy
  295. [hevc_nvenc @ 0x4527cc0] Loaded sym: cuImportExternalSemaphore
  296. [hevc_nvenc @ 0x4527cc0] Loaded sym: cuDestroyExternalSemaphore
  297. [hevc_nvenc @ 0x4527cc0] Loaded sym: cuSignalExternalSemaphoresAsync
  298. [hevc_nvenc @ 0x4527cc0] Loaded sym: cuWaitExternalSemaphoresAsync
  299. [hevc_nvenc @ 0x4527cc0] Loaded lib: libnvidia-encode.so.1
  300. [hevc_nvenc @ 0x4527cc0] Loaded sym: NvEncodeAPICreateInstance
  301. [hevc_nvenc @ 0x4527cc0] Loaded sym: NvEncodeAPIGetMaxSupportedVersion
  302. [hevc_nvenc @ 0x4527cc0] Loaded Nvenc version 9.1
  303. [hevc_nvenc @ 0x4527cc0] Nvenc initialized successfully
  304. [hevc_nvenc @ 0x4527cc0] 4 CUDA capable devices found
  305. [hevc_nvenc @ 0x4527cc0] [ GPU #0 - < GeForce GTX 1080 Ti > has Compute SM 6.1 ]
  306. [hevc_nvenc @ 0x4527cc0] supports NVENC
  307. Output #0, mp4, to './3/makevideo_withsr.mp4':
  308.   Metadata:
  309.     major_brand     : avc1
  310.     minor_version   : 0
  311.     compatible_brands: isomavc1
  312.     encoder         : Lavf58.20.100
  313.     Stream #0:0, 0, 1/30000: Video: hevc (hevc_nvenc) (Rext), 1 reference frame (hev1 / 0x31766568), yuv444p16le(tv, bt2020nc/bt2020/smpte2084, left), 3840x2160 [SAR 1:1 DAR 16:9], 0/1, q=-1--1, 5000 kb/s, 29.97 fps, 30k tbn, 29.97 tbc (default)
  314.     Metadata:
  315.       encoder         : Lavc58.35.100 hevc_nvenc
  316.     Side data:
  317.       cpb: bitrate max/min/avg: 7000000/0/5000000 buffer size: 1000000 vbv_delay: -1
  318.     Stream #0:1(eng), 0, 1/48000: Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 128 kb/s (default)
  319.     Metadata:
  320.       creation_time   : 2019-10-21T16:58:39.000000Z
  321. cur_dts is invalid (this is harmless if it occurs once at the start per stream)
  322. cur_dts is invalid (this is harmless if it occurs once at the start per stream)
  323. cur_dts is invalid (this is harmless if it occurs once at the start per stream)
  324. cur_dts is invalid (this is harmless if it occurs once at the start per stream)
  325. cur_dts is invalid (this is harmless if it occurs once at the start per stream)
  326. cur_dts is invalid (this is harmless if it occurs once at the start per stream)
  327. cur_dts is invalid (this is harmless if it occurs once at the start per stream)
  328. cur_dts is invalid (this is harmless if it occurs once at the start per stream)
  329. cur_dts is invalid (this is harmless if it occurs once at the start per stream)
  330. cur_dts is invalid (this is harmless if it occurs once at the start per stream)
  331. cur_dts is invalid (this is harmless if it occurs once at the start per stream)
  332. cur_dts is invalid (this is harmless if it occurs once at the start per stream)
  333. cur_dts is invalid (this is harmless if it occurs once at the start per stream)
  334. cur_dts is invalid (this is harmless if it occurs once at the start per stream)
  335. cur_dts is invalid (this is harmless if it occurs once at the start per stream)
  336. cur_dts is invalid (this is harmless if it occurs once at the start per stream)
  337. cur_dts is invalid (this is harmless if it occurs once at the start per stream)
  338. cur_dts is invalid (this is harmless if it occurs once at the start per stream)
  339. No more output streams to write to, finishing.0 ,size=        ,    5888,kB ,time=        ,00:00:09.79 ,bitrate=     ,4925.9 speed=      ,1.06    
  340. frame=    ,  299 ,fps=      , 31 ,q=      ,40.0 ,size=        ,    6309,kB ,time=        ,00:00:09.98 ,bitrate=     ,5176.2 speed=      ,1.04    
  341. video:6140kB audio:159kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.156454%
  342. Input file #0 (/data/path/intput.mp4):
  343.   Input stream #0:0 (data): 0 packets read (0 bytes);
  344.   Input stream #0:1 (data): 0 packets read (0 bytes);
  345.   Input stream #0:2 (video): 309 packets read (7088284 bytes); 306 frames decoded;
  346.   Input stream #0:3 (audio): 483 packets read (164928 bytes);
  347.   Total: 792 packets (7253212 bytes) demuxed
  348. Output file #0 (./3/makevideo_withsr.mp4):
  349.   Output stream #0:0 (video): 299 frames encoded; 299 packets muxed (6287376 bytes);
  350.   Output stream #0:1 (audio): 476 packets muxed (162441 bytes);
  351.   Total: 775 packets (6449817 bytes) muxed
  352. 306 frames successfully decoded, 0 decoding errors
  353. [AVIOContext @ 0x4526dc0] Statistics: 2 seeks, 28 writeouts
  354. [hevc_nvenc @ 0x4527cc0] Nvenc unloaded
  355. [AVIOContext @ 0x44324c0] Statistics: 14091626 bytes read, 1 seeks
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement