Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ 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
- ffmpeg version 4.1.3 Copyright (c) 2000-2019 the FFmpeg developers
- built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.12) 20160609
- 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
- libavutil 56. 22.100 / 56. 22.100
- libavcodec 58. 35.100 / 58. 35.100
- libavformat 58. 20.100 / 58. 20.100
- libavdevice 58. 5.100 / 58. 5.100
- libavfilter 7. 40.101 / 7. 40.101
- libswscale 5. 3.100 / 5. 3.100
- libswresample 3. 3.100 / 3. 3.100
- libpostproc 55. 3.100 / 55. 3.100
- Splitting the commandline.
- Reading option '-y' ... matched as option 'y' (overwrite output files) with argument '1'.
- Reading option '-ss' ... matched as option 'ss' (set the start time offset) with argument '1800'.
- Reading option '-vsync' ... matched as option 'vsync' (video sync method) with argument '0'.
- Reading option '-hwaccel' ... matched as option 'hwaccel' (use HW accelerated decoding) with argument 'cuvid'.
- Reading option '-hwaccel_device' ... matched as option 'hwaccel_device' (select a device for HW acceleration) with argument '0'.
- Reading option '-c:v' ... matched as option 'c' (codec name) with argument 'h264_cuvid'.
- Reading option '-i' ... matched as input url with argument '/data/path/intput.mp4'.
- Reading option '-color_primaries' ... matched as AVOption 'color_primaries' with argument 'bt2020'.
- Reading option '-color_trc' ... matched as AVOption 'color_trc' with argument 'smpte2084'.
- Reading option '-colorspace' ... matched as AVOption 'colorspace' with argument 'bt2020nc'.
- Reading option '-color_range' ... matched as AVOption 'color_range' with argument 'tv'.
- Reading option '-t' ... matched as option 't' (record or transcode "duration" seconds of audio/video) with argument '10'.
- 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'.
- Reading option '-gpu' ... matched as AVOption 'gpu' with argument '0'.
- Reading option '-c:v' ... matched as option 'c' (codec name) with argument 'hevc_nvenc'.
- Reading option '-pix_fmt' ... matched as option 'pix_fmt' (set pixel format) with argument 'yuv444p16le'.
- Reading option '-profile:v' ... matched as option 'profile' (set profile) with argument 'main10'.
- Reading option '-preset' ... matched as AVOption 'preset' with argument 'hq'.
- Reading option '-rc' ... matched as AVOption 'rc' with argument 'cbr_hq'.
- Reading option '-b:v' ... matched as option 'b' (video bitrate (please use -b:v)) with argument '5000k'.
- Reading option '-maxrate' ... matched as AVOption 'maxrate' with argument '7000k'.
- Reading option '-bufsize' ... matched as AVOption 'bufsize' with argument '1000k'.
- Reading option '-acodec' ... matched as option 'acodec' (force audio codec ('copy' to copy stream)) with argument 'copy'.
- Reading option './3/makevideo_withsr.mp4' ... matched as output url.
- Reading option '-v' ... matched as option 'v' (set logging level) with argument 'repeat+debug'.
- Finished splitting the commandline.
- Parsing a group of options: global .
- Applying option y (overwrite output files) with argument 1.
- Applying option vsync (video sync method) with argument 0.
- Applying option filter_complex (create a complex filtergraph) with argument [0:v]hwdownload,format=nv12,format=yuv420p,scale=iw*2:ih*2.
- Applying option v (set logging level) with argument repeat+debug.
- Successfully parsed a group of options.
- Parsing a group of options: input url /data/path/intput.mp4.
- Applying option ss (set the start time offset) with argument 1800.
- Applying option hwaccel (use HW accelerated decoding) with argument cuvid.
- Applying option hwaccel_device (select a device for HW acceleration) with argument 0.
- Applying option c:v (codec name) with argument h264_cuvid.
- Successfully parsed a group of options.
- Opening an input file: /data/path/intput.mp4.
- [NULL @ 0x4429940] Opening '/data/path/intput.mp4' for reading
- [file @ 0x442a140] Setting default whitelist 'file,crypto'
- [mov,mp4,m4a,3gp,3g2,mj2 @ 0x4429940] Format mov,mp4,m4a,3gp,3g2,mj2 probed with size=2048 and score=100
- [mov,mp4,m4a,3gp,3g2,mj2 @ 0x4429940] ISO: File Type Major Brand: avc1
- [mov,mp4,m4a,3gp,3g2,mj2 @ 0x4429940] Unknown dref type 0x206c7275 size 12
- [mov,mp4,m4a,3gp,3g2,mj2 @ 0x4429940] Unknown dref type 0x206c7275 size 12
- [mov,mp4,m4a,3gp,3g2,mj2 @ 0x4429940] Unknown dref type 0x206c7275 size 12
- [mov,mp4,m4a,3gp,3g2,mj2 @ 0x4429940] Unknown dref type 0x206c7275 size 12
- [mov,mp4,m4a,3gp,3g2,mj2 @ 0x4429940] Before avformat_find_stream_info() pos: 6774080 bytes read:6775832 seeks:0 nb_streams:4
- [h264 @ 0x442e380] nal_unit_type: 7(SPS), nal_ref_idc: 3
- [h264 @ 0x442e380] nal_unit_type: 8(PPS), nal_ref_idc: 3
- [h264 @ 0x442e380] nal_unit_type: 6(SEI), nal_ref_idc: 0
- [h264 @ 0x442e380] nal_unit_type: 6(SEI), nal_ref_idc: 0
- [h264 @ 0x442e380] nal_unit_type: 5(IDR), nal_ref_idc: 2
- [h264 @ 0x442e380] ct_type:0 pic_struct:0
- [h264 @ 0x442e380] ct_type:0 pic_struct:0
- [h264 @ 0x442e380] Format yuv420p chosen by get_format().
- [h264 @ 0x442e380] Reinit context to 1920x1088, pix_fmt: yuv420p
- [mov,mp4,m4a,3gp,3g2,mj2 @ 0x4429940] All info found
- [mov,mp4,m4a,3gp,3g2,mj2 @ 0x4429940] After avformat_find_stream_info() pos: 6800965 bytes read:6808600 seeks:0 frames:7
- Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/data/path/intput.mp4':
- Metadata:
- major_brand : avc1
- minor_version : 0
- compatible_brands: isomavc1
- creation_time : 2019-10-21T16:58:39.000000Z
- Duration: 01:42:22.72, start: 0.000000, bitrate: 5637 kb/s
- Stream #0:0(eng), 1, 1/1000: Data: none (mp4s / 0x7334706D), 0/1, 224 kb/s (default)
- Metadata:
- creation_time : 2019-10-21T16:58:39.000000Z
- Stream #0:1(eng), 1, 1/1000: Data: none (mp4s / 0x7334706D), 0/1, 240 kb/s (default)
- Metadata:
- creation_time : 2019-10-21T16:58:39.000000Z
- 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)
- Metadata:
- creation_time : 2019-10-21T16:58:39.000000Z
- encoder : AVC Coding
- Stream #0:3(eng), 4, 1/90000: Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 128 kb/s (default)
- Metadata:
- creation_time : 2019-10-21T16:58:39.000000Z
- Successfully opened the file.
- [Parsed_format_1 @ 0x4525780] Setting 'pix_fmts' to value 'nv12'
- [Parsed_format_2 @ 0x4526280] Setting 'pix_fmts' to value 'yuv420p'
- [Parsed_scale_3 @ 0x4526d40] Setting 'w' to value 'iw*2'
- [Parsed_scale_3 @ 0x4526d40] Setting 'h' to value 'ih*2'
- [Parsed_scale_3 @ 0x4526d40] w:iw*2 h:ih*2 flags:'bilinear' interl:0
- Parsing a group of options: output url ./3/makevideo_withsr.mp4.
- Applying option t (record or transcode "duration" seconds of audio/video) with argument 10.
- Applying option c:v (codec name) with argument hevc_nvenc.
- Applying option pix_fmt (set pixel format) with argument yuv444p16le.
- Applying option profile:v (set profile) with argument main10.
- Applying option b:v (video bitrate (please use -b:v)) with argument 5000k.
- Applying option acodec (force audio codec ('copy' to copy stream)) with argument copy.
- Successfully parsed a group of options.
- Opening an output file: ./3/makevideo_withsr.mp4.
- [file @ 0x4526040] Setting default whitelist 'file,crypto'
- Successfully opened the file.
- [h264_cuvid @ 0x44319c0] Initializing cuvid hwaccel
- [AVHWDeviceContext @ 0x4526300] Loaded lib: libcuda.so.1
- [AVHWDeviceContext @ 0x4526300] Loaded sym: cuInit
- [AVHWDeviceContext @ 0x4526300] Loaded sym: cuDeviceGetCount
- [AVHWDeviceContext @ 0x4526300] Loaded sym: cuDeviceGet
- [AVHWDeviceContext @ 0x4526300] Loaded sym: cuDeviceGetAttribute
- [AVHWDeviceContext @ 0x4526300] Loaded sym: cuDeviceGetName
- [AVHWDeviceContext @ 0x4526300] Loaded sym: cuDeviceComputeCapability
- [AVHWDeviceContext @ 0x4526300] Loaded sym: cuCtxCreate_v2
- [AVHWDeviceContext @ 0x4526300] Loaded sym: cuCtxSetLimit
- [AVHWDeviceContext @ 0x4526300] Loaded sym: cuCtxPushCurrent_v2
- [AVHWDeviceContext @ 0x4526300] Loaded sym: cuCtxPopCurrent_v2
- [AVHWDeviceContext @ 0x4526300] Loaded sym: cuCtxDestroy_v2
- [AVHWDeviceContext @ 0x4526300] Loaded sym: cuMemAlloc_v2
- [AVHWDeviceContext @ 0x4526300] Loaded sym: cuMemAllocPitch_v2
- [AVHWDeviceContext @ 0x4526300] Loaded sym: cuMemsetD8Async
- [AVHWDeviceContext @ 0x4526300] Loaded sym: cuMemFree_v2
- [AVHWDeviceContext @ 0x4526300] Loaded sym: cuMemcpy2D_v2
- [AVHWDeviceContext @ 0x4526300] Loaded sym: cuMemcpy2DAsync_v2
- [AVHWDeviceContext @ 0x4526300] Loaded sym: cuGetErrorName
- [AVHWDeviceContext @ 0x4526300] Loaded sym: cuGetErrorString
- [AVHWDeviceContext @ 0x4526300] Loaded sym: cuCtxGetDevice
- [AVHWDeviceContext @ 0x4526300] Loaded sym: cuDevicePrimaryCtxRetain
- [AVHWDeviceContext @ 0x4526300] Loaded sym: cuDevicePrimaryCtxRelease
- [AVHWDeviceContext @ 0x4526300] Loaded sym: cuDevicePrimaryCtxSetFlags
- [AVHWDeviceContext @ 0x4526300] Loaded sym: cuDevicePrimaryCtxGetState
- [AVHWDeviceContext @ 0x4526300] Loaded sym: cuDevicePrimaryCtxReset
- [AVHWDeviceContext @ 0x4526300] Loaded sym: cuStreamCreate
- [AVHWDeviceContext @ 0x4526300] Loaded sym: cuStreamQuery
- [AVHWDeviceContext @ 0x4526300] Loaded sym: cuStreamSynchronize
- [AVHWDeviceContext @ 0x4526300] Loaded sym: cuStreamDestroy_v2
- [AVHWDeviceContext @ 0x4526300] Loaded sym: cuStreamAddCallback
- [AVHWDeviceContext @ 0x4526300] Loaded sym: cuEventCreate
- [AVHWDeviceContext @ 0x4526300] Loaded sym: cuEventDestroy_v2
- [AVHWDeviceContext @ 0x4526300] Loaded sym: cuEventSynchronize
- [AVHWDeviceContext @ 0x4526300] Loaded sym: cuEventQuery
- [AVHWDeviceContext @ 0x4526300] Loaded sym: cuEventRecord
- [AVHWDeviceContext @ 0x4526300] Loaded sym: cuLaunchKernel
- [AVHWDeviceContext @ 0x4526300] Loaded sym: cuModuleLoadData
- [AVHWDeviceContext @ 0x4526300] Loaded sym: cuModuleUnload
- [AVHWDeviceContext @ 0x4526300] Loaded sym: cuModuleGetFunction
- [AVHWDeviceContext @ 0x4526300] Loaded sym: cuTexObjectCreate
- [AVHWDeviceContext @ 0x4526300] Loaded sym: cuTexObjectDestroy
- [AVHWDeviceContext @ 0x4526300] Loaded sym: cuGLGetDevices_v2
- [AVHWDeviceContext @ 0x4526300] Loaded sym: cuGraphicsGLRegisterImage
- [AVHWDeviceContext @ 0x4526300] Loaded sym: cuGraphicsUnregisterResource
- [AVHWDeviceContext @ 0x4526300] Loaded sym: cuGraphicsMapResources
- [AVHWDeviceContext @ 0x4526300] Loaded sym: cuGraphicsUnmapResources
- [AVHWDeviceContext @ 0x4526300] Loaded sym: cuGraphicsSubResourceGetMappedArray
- [AVHWDeviceContext @ 0x4526300] Loaded sym: cuDeviceGetUuid
- [AVHWDeviceContext @ 0x4526300] Loaded sym: cuImportExternalMemory
- [AVHWDeviceContext @ 0x4526300] Loaded sym: cuDestroyExternalMemory
- [AVHWDeviceContext @ 0x4526300] Loaded sym: cuExternalMemoryGetMappedBuffer
- [AVHWDeviceContext @ 0x4526300] Loaded sym: cuExternalMemoryGetMappedMipmappedArray
- [AVHWDeviceContext @ 0x4526300] Loaded sym: cuMipmappedArrayGetLevel
- [AVHWDeviceContext @ 0x4526300] Loaded sym: cuMipmappedArrayDestroy
- [AVHWDeviceContext @ 0x4526300] Loaded sym: cuImportExternalSemaphore
- [AVHWDeviceContext @ 0x4526300] Loaded sym: cuDestroyExternalSemaphore
- [AVHWDeviceContext @ 0x4526300] Loaded sym: cuSignalExternalSemaphoresAsync
- [AVHWDeviceContext @ 0x4526300] Loaded sym: cuWaitExternalSemaphoresAsync
- [h264_cuvid @ 0x44319c0] Initializing CUDA frames context: sw_format = nv12, width = 1920, height = 1080
- [h264_cuvid @ 0x44319c0] Format cuda chosen by get_format().
- [h264_cuvid @ 0x44319c0] Loaded lib: libnvcuvid.so.1
- [h264_cuvid @ 0x44319c0] Loaded sym: cuvidGetDecoderCaps
- [h264_cuvid @ 0x44319c0] Loaded sym: cuvidCreateDecoder
- [h264_cuvid @ 0x44319c0] Loaded sym: cuvidDestroyDecoder
- [h264_cuvid @ 0x44319c0] Loaded sym: cuvidDecodePicture
- [h264_cuvid @ 0x44319c0] Loaded sym: cuvidGetDecodeStatus
- [h264_cuvid @ 0x44319c0] Loaded sym: cuvidReconfigureDecoder
- [h264_cuvid @ 0x44319c0] Loaded sym: cuvidMapVideoFrame64
- [h264_cuvid @ 0x44319c0] Loaded sym: cuvidUnmapVideoFrame64
- [h264_cuvid @ 0x44319c0] Loaded sym: cuvidCtxLockCreate
- [h264_cuvid @ 0x44319c0] Loaded sym: cuvidCtxLockDestroy
- [h264_cuvid @ 0x44319c0] Loaded sym: cuvidCtxLock
- [h264_cuvid @ 0x44319c0] Loaded sym: cuvidCtxUnlock
- [h264_cuvid @ 0x44319c0] Loaded sym: cuvidCreateVideoSource
- [h264_cuvid @ 0x44319c0] Loaded sym: cuvidCreateVideoSourceW
- [h264_cuvid @ 0x44319c0] Loaded sym: cuvidDestroyVideoSource
- [h264_cuvid @ 0x44319c0] Loaded sym: cuvidSetVideoSourceState
- [h264_cuvid @ 0x44319c0] Loaded sym: cuvidGetVideoSourceState
- [h264_cuvid @ 0x44319c0] Loaded sym: cuvidGetSourceVideoFormat
- [h264_cuvid @ 0x44319c0] Loaded sym: cuvidGetSourceAudioFormat
- [h264_cuvid @ 0x44319c0] Loaded sym: cuvidCreateVideoParser
- [h264_cuvid @ 0x44319c0] Loaded sym: cuvidParseVideoData
- [h264_cuvid @ 0x44319c0] Loaded sym: cuvidDestroyVideoParser
- [h264_cuvid @ 0x44319c0] CUVID capabilities for h264_cuvid:
- [h264_cuvid @ 0x44319c0] 8 bit: supported: 1, min_width: 48, max_width: 4096, min_height: 16, max_height: 4096
- [h264_cuvid @ 0x44319c0] 10 bit: supported: 0, min_width: 0, max_width: 0, min_height: 0, max_height: 0
- [h264_cuvid @ 0x44319c0] 12 bit: supported: 0, min_width: 0, max_width: 0, min_height: 0, max_height: 0
- Stream mapping:
- Stream #0:2 (h264_cuvid) -> hwdownload
- scale -> Stream #0:0 (hevc_nvenc)
- Stream #0:3 -> #0:1 (copy)
- Press [q] to stop, [?] for help
- cur_dts is invalid (this is harmless if it occurs once at the start per stream)
- cur_dts is invalid (this is harmless if it occurs once at the start per stream)
- cur_dts is invalid (this is harmless if it occurs once at the start per stream)
- cur_dts is invalid (this is harmless if it occurs once at the start per stream)
- cur_dts is invalid (this is harmless if it occurs once at the start per stream)
- [h264_cuvid @ 0x44319c0] Initializing cuvid hwaccel
- [h264_cuvid @ 0x44319c0] Initializing CUDA frames context: sw_format = nv12, width = 1920, height = 1080
- [h264_cuvid @ 0x44319c0] Format cuda chosen by get_format().
- [h264_cuvid @ 0x44319c0] Formats: Original: cuda | HW: cuda | SW: nv12
- cur_dts is invalid (this is harmless if it occurs once at the start per stream)
- cur_dts is invalid (this is harmless if it occurs once at the start per stream)
- cur_dts is invalid (this is harmless if it occurs once at the start per stream)
- cur_dts is invalid (this is harmless if it occurs once at the start per stream)
- cur_dts is invalid (this is harmless if it occurs once at the start per stream)
- cur_dts is invalid (this is harmless if it occurs once at the start per stream)
- cur_dts is invalid (this is harmless if it occurs once at the start per stream)
- cur_dts is invalid (this is harmless if it occurs once at the start per stream)
- detected 32 logical cores
- [Parsed_format_1 @ 0x4f3a9c0] Setting 'pix_fmts' to value 'nv12'
- [Parsed_format_2 @ 0x4c11b80] Setting 'pix_fmts' to value 'yuv420p'
- [Parsed_scale_3 @ 0x4c12640] Setting 'w' to value 'iw*2'
- [Parsed_scale_3 @ 0x4c12640] Setting 'h' to value 'ih*2'
- [Parsed_scale_3 @ 0x4c12640] w:iw*2 h:ih*2 flags:'bilinear' interl:0
- [graph 0 input from stream 0:2 @ 0x4c13380] Setting 'video_size' to value '1920x1080'
- [graph 0 input from stream 0:2 @ 0x4c13380] Setting 'pix_fmt' to value '119'
- [graph 0 input from stream 0:2 @ 0x4c13380] Setting 'time_base' to value '1/90000'
- [graph 0 input from stream 0:2 @ 0x4c13380] Setting 'pixel_aspect' to value '1/1'
- [graph 0 input from stream 0:2 @ 0x4c13380] Setting 'sws_param' to value 'flags=2'
- [graph 0 input from stream 0:2 @ 0x4c13380] Setting 'frame_rate' to value '30000/1001'
- [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
- [format @ 0x4c14e00] Setting 'pix_fmts' to value 'yuv444p16le'
- [auto_scaler_0 @ 0x4c16080] w:iw h:ih flags:'bilinear' interl:0
- [Parsed_format_2 @ 0x4c11b80] auto-inserting filter 'auto_scaler_0' between the filter 'Parsed_format_1' and the filter 'Parsed_format_2'
- [AVFilterGraph @ 0x4f6f180] query_formats: 9 queried, 7 merged, 1 already done, 0 delayed
- [auto_scaler_0 @ 0x4c16080] w:1920 h:1080 fmt:nv12 sar:1/1 -> w:1920 h:1080 fmt:yuv420p sar:1/1 flags:0x2
- [Parsed_scale_3 @ 0x4c12640] w:1920 h:1080 fmt:yuv420p sar:1/1 -> w:3840 h:2160 fmt:yuv444p16le sar:1/1 flags:0x2
- [hevc_nvenc @ 0x4527cc0] Loaded lib: libcuda.so.1
- [hevc_nvenc @ 0x4527cc0] Loaded sym: cuInit
- [hevc_nvenc @ 0x4527cc0] Loaded sym: cuDeviceGetCount
- [hevc_nvenc @ 0x4527cc0] Loaded sym: cuDeviceGet
- [hevc_nvenc @ 0x4527cc0] Loaded sym: cuDeviceGetAttribute
- [hevc_nvenc @ 0x4527cc0] Loaded sym: cuDeviceGetName
- [hevc_nvenc @ 0x4527cc0] Loaded sym: cuDeviceComputeCapability
- [hevc_nvenc @ 0x4527cc0] Loaded sym: cuCtxCreate_v2
- [hevc_nvenc @ 0x4527cc0] Loaded sym: cuCtxSetLimit
- [hevc_nvenc @ 0x4527cc0] Loaded sym: cuCtxPushCurrent_v2
- [hevc_nvenc @ 0x4527cc0] Loaded sym: cuCtxPopCurrent_v2
- [hevc_nvenc @ 0x4527cc0] Loaded sym: cuCtxDestroy_v2
- [hevc_nvenc @ 0x4527cc0] Loaded sym: cuMemAlloc_v2
- [hevc_nvenc @ 0x4527cc0] Loaded sym: cuMemAllocPitch_v2
- [hevc_nvenc @ 0x4527cc0] Loaded sym: cuMemsetD8Async
- [hevc_nvenc @ 0x4527cc0] Loaded sym: cuMemFree_v2
- [hevc_nvenc @ 0x4527cc0] Loaded sym: cuMemcpy2D_v2
- [hevc_nvenc @ 0x4527cc0] Loaded sym: cuMemcpy2DAsync_v2
- [hevc_nvenc @ 0x4527cc0] Loaded sym: cuGetErrorName
- [hevc_nvenc @ 0x4527cc0] Loaded sym: cuGetErrorString
- [hevc_nvenc @ 0x4527cc0] Loaded sym: cuCtxGetDevice
- [hevc_nvenc @ 0x4527cc0] Loaded sym: cuDevicePrimaryCtxRetain
- [hevc_nvenc @ 0x4527cc0] Loaded sym: cuDevicePrimaryCtxRelease
- [hevc_nvenc @ 0x4527cc0] Loaded sym: cuDevicePrimaryCtxSetFlags
- [hevc_nvenc @ 0x4527cc0] Loaded sym: cuDevicePrimaryCtxGetState
- [hevc_nvenc @ 0x4527cc0] Loaded sym: cuDevicePrimaryCtxReset
- [hevc_nvenc @ 0x4527cc0] Loaded sym: cuStreamCreate
- [hevc_nvenc @ 0x4527cc0] Loaded sym: cuStreamQuery
- [hevc_nvenc @ 0x4527cc0] Loaded sym: cuStreamSynchronize
- [hevc_nvenc @ 0x4527cc0] Loaded sym: cuStreamDestroy_v2
- [hevc_nvenc @ 0x4527cc0] Loaded sym: cuStreamAddCallback
- [hevc_nvenc @ 0x4527cc0] Loaded sym: cuEventCreate
- [hevc_nvenc @ 0x4527cc0] Loaded sym: cuEventDestroy_v2
- [hevc_nvenc @ 0x4527cc0] Loaded sym: cuEventSynchronize
- [hevc_nvenc @ 0x4527cc0] Loaded sym: cuEventQuery
- [hevc_nvenc @ 0x4527cc0] Loaded sym: cuEventRecord
- [hevc_nvenc @ 0x4527cc0] Loaded sym: cuLaunchKernel
- [hevc_nvenc @ 0x4527cc0] Loaded sym: cuModuleLoadData
- [hevc_nvenc @ 0x4527cc0] Loaded sym: cuModuleUnload
- [hevc_nvenc @ 0x4527cc0] Loaded sym: cuModuleGetFunction
- [hevc_nvenc @ 0x4527cc0] Loaded sym: cuTexObjectCreate
- [hevc_nvenc @ 0x4527cc0] Loaded sym: cuTexObjectDestroy
- [hevc_nvenc @ 0x4527cc0] Loaded sym: cuGLGetDevices_v2
- [hevc_nvenc @ 0x4527cc0] Loaded sym: cuGraphicsGLRegisterImage
- [hevc_nvenc @ 0x4527cc0] Loaded sym: cuGraphicsUnregisterResource
- [hevc_nvenc @ 0x4527cc0] Loaded sym: cuGraphicsMapResources
- [hevc_nvenc @ 0x4527cc0] Loaded sym: cuGraphicsUnmapResources
- [hevc_nvenc @ 0x4527cc0] Loaded sym: cuGraphicsSubResourceGetMappedArray
- [hevc_nvenc @ 0x4527cc0] Loaded sym: cuDeviceGetUuid
- [hevc_nvenc @ 0x4527cc0] Loaded sym: cuImportExternalMemory
- [hevc_nvenc @ 0x4527cc0] Loaded sym: cuDestroyExternalMemory
- [hevc_nvenc @ 0x4527cc0] Loaded sym: cuExternalMemoryGetMappedBuffer
- [hevc_nvenc @ 0x4527cc0] Loaded sym: cuExternalMemoryGetMappedMipmappedArray
- [hevc_nvenc @ 0x4527cc0] Loaded sym: cuMipmappedArrayGetLevel
- [hevc_nvenc @ 0x4527cc0] Loaded sym: cuMipmappedArrayDestroy
- [hevc_nvenc @ 0x4527cc0] Loaded sym: cuImportExternalSemaphore
- [hevc_nvenc @ 0x4527cc0] Loaded sym: cuDestroyExternalSemaphore
- [hevc_nvenc @ 0x4527cc0] Loaded sym: cuSignalExternalSemaphoresAsync
- [hevc_nvenc @ 0x4527cc0] Loaded sym: cuWaitExternalSemaphoresAsync
- [hevc_nvenc @ 0x4527cc0] Loaded lib: libnvidia-encode.so.1
- [hevc_nvenc @ 0x4527cc0] Loaded sym: NvEncodeAPICreateInstance
- [hevc_nvenc @ 0x4527cc0] Loaded sym: NvEncodeAPIGetMaxSupportedVersion
- [hevc_nvenc @ 0x4527cc0] Loaded Nvenc version 9.1
- [hevc_nvenc @ 0x4527cc0] Nvenc initialized successfully
- [hevc_nvenc @ 0x4527cc0] 4 CUDA capable devices found
- [hevc_nvenc @ 0x4527cc0] [ GPU #0 - < GeForce GTX 1080 Ti > has Compute SM 6.1 ]
- [hevc_nvenc @ 0x4527cc0] supports NVENC
- Output #0, mp4, to './3/makevideo_withsr.mp4':
- Metadata:
- major_brand : avc1
- minor_version : 0
- compatible_brands: isomavc1
- encoder : Lavf58.20.100
- 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)
- Metadata:
- encoder : Lavc58.35.100 hevc_nvenc
- Side data:
- cpb: bitrate max/min/avg: 7000000/0/5000000 buffer size: 1000000 vbv_delay: -1
- Stream #0:1(eng), 0, 1/48000: Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 128 kb/s (default)
- Metadata:
- creation_time : 2019-10-21T16:58:39.000000Z
- cur_dts is invalid (this is harmless if it occurs once at the start per stream)
- cur_dts is invalid (this is harmless if it occurs once at the start per stream)
- cur_dts is invalid (this is harmless if it occurs once at the start per stream)
- cur_dts is invalid (this is harmless if it occurs once at the start per stream)
- cur_dts is invalid (this is harmless if it occurs once at the start per stream)
- cur_dts is invalid (this is harmless if it occurs once at the start per stream)
- cur_dts is invalid (this is harmless if it occurs once at the start per stream)
- cur_dts is invalid (this is harmless if it occurs once at the start per stream)
- cur_dts is invalid (this is harmless if it occurs once at the start per stream)
- cur_dts is invalid (this is harmless if it occurs once at the start per stream)
- cur_dts is invalid (this is harmless if it occurs once at the start per stream)
- cur_dts is invalid (this is harmless if it occurs once at the start per stream)
- cur_dts is invalid (this is harmless if it occurs once at the start per stream)
- cur_dts is invalid (this is harmless if it occurs once at the start per stream)
- cur_dts is invalid (this is harmless if it occurs once at the start per stream)
- cur_dts is invalid (this is harmless if it occurs once at the start per stream)
- cur_dts is invalid (this is harmless if it occurs once at the start per stream)
- cur_dts is invalid (this is harmless if it occurs once at the start per stream)
- No more output streams to write to, finishing.0 ,size= , 5888,kB ,time= ,00:00:09.79 ,bitrate= ,4925.9 speed= ,1.06
- frame= , 299 ,fps= , 31 ,q= ,40.0 ,size= , 6309,kB ,time= ,00:00:09.98 ,bitrate= ,5176.2 speed= ,1.04
- video:6140kB audio:159kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.156454%
- Input file #0 (/data/path/intput.mp4):
- Input stream #0:0 (data): 0 packets read (0 bytes);
- Input stream #0:1 (data): 0 packets read (0 bytes);
- Input stream #0:2 (video): 309 packets read (7088284 bytes); 306 frames decoded;
- Input stream #0:3 (audio): 483 packets read (164928 bytes);
- Total: 792 packets (7253212 bytes) demuxed
- Output file #0 (./3/makevideo_withsr.mp4):
- Output stream #0:0 (video): 299 frames encoded; 299 packets muxed (6287376 bytes);
- Output stream #0:1 (audio): 476 packets muxed (162441 bytes);
- Total: 775 packets (6449817 bytes) muxed
- 306 frames successfully decoded, 0 decoding errors
- [AVIOContext @ 0x4526dc0] Statistics: 2 seeks, 28 writeouts
- [hevc_nvenc @ 0x4527cc0] Nvenc unloaded
- [AVIOContext @ 0x44324c0] Statistics: 14091626 bytes read, 1 seeks
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement