Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [root@ip-10-247-30-189 FFmpeg]# ./ffmpeg -v debug -hwaccel cuvid -c:v h264_cuvid -i test.mov -c:a aac -c:v libx264 test.mp4 -ar 48000 -ac 2 -reset_timestamps 1
- ffmpeg version N-90415-g4e1307c0f7 Copyright (c) 2000-2018 the FFmpeg developers
- built with gcc 7 (GCC)
- configuration: --prefix=/tmp/FFmpeg/ffbuild --extra-ldflags=-L/root/ffmpeg_build/lib --pkg-config-flags=--static --enable-gpl --enable-nonfree --enable-libx264 --enable-cuda --enable-cuvid
- libavutil 56. 11.100 / 56. 11.100
- libavcodec 58. 15.100 / 58. 15.100
- libavformat 58. 10.100 / 58. 10.100
- libavdevice 58. 2.100 / 58. 2.100
- libavfilter 7. 13.100 / 7. 13.100
- libswscale 5. 0.102 / 5. 0.102
- libswresample 3. 0.101 / 3. 0.101
- libpostproc 55. 0.100 / 55. 0.100
- Splitting the commandline.
- Reading option '-v' ... matched as option 'v' (set logging level) with argument 'debug'.
- Reading option '-hwaccel' ... matched as option 'hwaccel' (use HW accelerated decoding) with argument 'cuvid'.
- Reading option '-c:v' ... matched as option 'c' (codec name) with argument 'h264_cuvid'.
- Reading option '-i' ... matched as input url with argument 'test.mov'.
- Reading option '-c:a' ... matched as option 'c' (codec name) with argument 'aac'.
- Reading option '-c:v' ... matched as option 'c' (codec name) with argument 'libx264'.
- Reading option 'test.mp4' ... matched as output url.
- Reading option '-ar' ... matched as option 'ar' (set audio sampling rate (in Hz)) with argument '48000'.
- Reading option '-ac' ... matched as option 'ac' (set number of audio channels) with argument '2'.
- Reading option '-reset_timestamps' ... matched as AVOption 'reset_timestamps' with argument '1'.
- Trailing options were found on the commandline.
- Finished splitting the commandline.
- Parsing a group of options: global .
- Applying option v (set logging level) with argument debug.
- Successfully parsed a group of options.
- Parsing a group of options: input url test.mov.
- Applying option hwaccel (use HW accelerated decoding) with argument cuvid.
- Applying option c:v (codec name) with argument h264_cuvid.
- Successfully parsed a group of options.
- Opening an input file: test.mov.
- [NULL @ 0x2529680] Opening 'test.mov' for reading
- [file @ 0x2529f80] Setting default whitelist 'file,crypto'
- [mov,mp4,m4a,3gp,3g2,mj2 @ 0x2529680] Format mov,mp4,m4a,3gp,3g2,mj2 probed with size=2048 and score=100
- [mov,mp4,m4a,3gp,3g2,mj2 @ 0x2529680] ISO: File Type Major Brand: qt
- [mov,mp4,m4a,3gp,3g2,mj2 @ 0x2529680] Unknown dref type 0x73696c61 size 12
- [mov,mp4,m4a,3gp,3g2,mj2 @ 0x2529680] Processing st: 0, edit list 0 - media time: 0, duration: 18341100
- [mov,mp4,m4a,3gp,3g2,mj2 @ 0x2529680] Unknown dref type 0x73696c61 size 12
- [mov,mp4,m4a,3gp,3g2,mj2 @ 0x2529680] Processing st: 1, edit list 0 - media time: 0, duration: 293751047
- [mov,mp4,m4a,3gp,3g2,mj2 @ 0x2529680] Unknown dref type 0x73696c61 size 12
- [mov,mp4,m4a,3gp,3g2,mj2 @ 0x2529680] Processing st: 2, edit list 0 - media time: 0, duration: 293751047
- [mov,mp4,m4a,3gp,3g2,mj2 @ 0x2529680] Unknown dref type 0x73696c61 size 12
- [mov,mp4,m4a,3gp,3g2,mj2 @ 0x2529680] Processing st: 3, edit list 0 - media time: 0, duration: 293751047
- [mov,mp4,m4a,3gp,3g2,mj2 @ 0x2529680] Unknown dref type 0x73696c61 size 12
- [mov,mp4,m4a,3gp,3g2,mj2 @ 0x2529680] Processing st: 4, edit list 0 - media time: 0, duration: 293751047
- [mov,mp4,m4a,3gp,3g2,mj2 @ 0x2529680] Unknown dref type 0x73696c61 size 12
- [mov,mp4,m4a,3gp,3g2,mj2 @ 0x2529680] Processing st: 5, edit list 0 - media time: 0, duration: 293751047
- [mov,mp4,m4a,3gp,3g2,mj2 @ 0x2529680] Unknown dref type 0x73696c61 size 12
- [mov,mp4,m4a,3gp,3g2,mj2 @ 0x2529680] Processing st: 6, edit list 0 - media time: 0, duration: 293751047
- [mov,mp4,m4a,3gp,3g2,mj2 @ 0x2529680] Unknown dref type 0x73696c61 size 12
- [mov,mp4,m4a,3gp,3g2,mj2 @ 0x2529680] Processing st: 7, edit list 0 - media time: 0, duration: 18341100
- [mov,mp4,m4a,3gp,3g2,mj2 @ 0x2529680] Before avformat_find_stream_info() pos: 2396478 bytes read:2433413 seeks:2 nb_streams:8
- [AVBSFContext @ 0x26c8400] No start code is found.
- [mov,mp4,m4a,3gp,3g2,mj2 @ 0x2529680] After avformat_find_stream_info() pos: 3675022 bytes read:3711957 seeks:2 frames:288
- test.mov: could not find codec parameters
- Guessed Channel Layout for Input Stream #0.1 : mono
- Guessed Channel Layout for Input Stream #0.2 : mono
- Guessed Channel Layout for Input Stream #0.3 : mono
- Guessed Channel Layout for Input Stream #0.4 : mono
- Guessed Channel Layout for Input Stream #0.5 : mono
- Guessed Channel Layout for Input Stream #0.6 : mono
- Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'test.mov':
- Metadata:
- major_brand : qt
- minor_version : 537199360
- compatible_brands: qt
- creation_time : 2017-09-25T09:37:38.000000Z
- Duration: 01:41:59.82, bitrate: N/A
- Stream #0:0(eng), 0, 1/2997: Video: h264, 1 reference frame (apcs / 0x73637061), none(bt709, top coded first (swapped)), 1920x1080 (0x0), 0/1, 95035 kb/s, SAR 1:1 DAR 16:9, 29.97 fps, 29.97 tbr, 2997 tbn (default)
- Metadata:
- creation_time : 2017-09-25T09:37:38.000000Z
- handler_name : Apple Alias Data Handler
- encoder : Apple ProRes 422 (LT)
- timecode : 12:54:27;13
- Stream #0:1(eng), 48, 1/48000: Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, mono, 1152 kb/s (default)
- Metadata:
- creation_time : 2017-09-25T09:37:38.000000Z
- handler_name : Apple Alias Data Handler
- Stream #0:2(eng), 48, 1/48000: Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, mono, 1152 kb/s (default)
- Metadata:
- creation_time : 2017-09-25T09:37:38.000000Z
- handler_name : Apple Alias Data Handler
- Stream #0:3(eng), 48, 1/48000: Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, mono, 1152 kb/s (default)
- Metadata:
- creation_time : 2017-09-25T09:37:38.000000Z
- handler_name : Apple Alias Data Handler
- Stream #0:4(eng), 48, 1/48000: Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, mono, 1152 kb/s (default)
- Metadata:
- creation_time : 2017-09-25T09:37:38.000000Z
- handler_name : Apple Alias Data Handler
- Stream #0:5(eng), 48, 1/48000: Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, mono, 1152 kb/s (default)
- Metadata:
- creation_time : 2017-09-25T09:37:38.000000Z
- handler_name : Apple Alias Data Handler
- Stream #0:6(eng), 48, 1/48000: Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, mono, 1152 kb/s (default)
- Metadata:
- creation_time : 2017-09-25T09:37:38.000000Z
- handler_name : Apple Alias Data Handler
- Stream #0:7(eng), 0, 1/2997: Data: none (tmcd / 0x64636D74), 0/1
- Metadata:
- creation_time : 2017-09-25T09:37:38.000000Z
- handler_name : Apple Alias Data Handler
- reel_name : 388055
- timecode : 12:54:27;13
- Successfully opened the file.
- Parsing a group of options: output url test.mp4.
- Applying option c:a (codec name) with argument aac.
- Applying option c:v (codec name) with argument libx264.
- Successfully parsed a group of options.
- Opening an output file: test.mp4.
- File 'test.mp4' already exists. Overwrite ? [y/N] y
- [file @ 0x2560900] Setting default whitelist 'file,crypto'
- Successfully opened the file.
- [h264_cuvid @ 0x25653c0] Initializing cuvid hwaccel
- [AVHWDeviceContext @ 0x2562280] Loaded lib: libcuda.so.1
- [AVHWDeviceContext @ 0x2562280] Loaded sym: cuInit
- [AVHWDeviceContext @ 0x2562280] Loaded sym: cuDeviceGetCount
- [AVHWDeviceContext @ 0x2562280] Loaded sym: cuDeviceGet
- [AVHWDeviceContext @ 0x2562280] Loaded sym: cuDeviceGetName
- [AVHWDeviceContext @ 0x2562280] Loaded sym: cuDeviceComputeCapability
- [AVHWDeviceContext @ 0x2562280] Loaded sym: cuCtxCreate_v2
- [AVHWDeviceContext @ 0x2562280] Loaded sym: cuCtxSetLimit
- [AVHWDeviceContext @ 0x2562280] Loaded sym: cuCtxPushCurrent_v2
- [AVHWDeviceContext @ 0x2562280] Loaded sym: cuCtxPopCurrent_v2
- [AVHWDeviceContext @ 0x2562280] Loaded sym: cuCtxDestroy_v2
- [AVHWDeviceContext @ 0x2562280] Loaded sym: cuMemAlloc_v2
- [AVHWDeviceContext @ 0x2562280] Loaded sym: cuMemFree_v2
- [AVHWDeviceContext @ 0x2562280] Loaded sym: cuMemcpy2D_v2
- [AVHWDeviceContext @ 0x2562280] Loaded sym: cuGetErrorName
- [AVHWDeviceContext @ 0x2562280] Loaded sym: cuGetErrorString
- [h264_cuvid @ 0x25653c0] Initializing CUDA frames context: sw_format = nv12, width = 1920, height = 1080
- [h264_cuvid @ 0x25653c0] Format cuda chosen by get_format().
- [h264_cuvid @ 0x25653c0] Loaded lib: libnvcuvid.so.1
- [h264_cuvid @ 0x25653c0] Loaded sym: cuvidGetDecoderCaps
- [h264_cuvid @ 0x25653c0] Loaded sym: cuvidCreateDecoder
- [h264_cuvid @ 0x25653c0] Loaded sym: cuvidDestroyDecoder
- [h264_cuvid @ 0x25653c0] Loaded sym: cuvidDecodePicture
- [h264_cuvid @ 0x25653c0] Loaded sym: cuvidMapVideoFrame64
- [h264_cuvid @ 0x25653c0] Loaded sym: cuvidUnmapVideoFrame64
- [h264_cuvid @ 0x25653c0] Loaded sym: cuvidCtxLockCreate
- [h264_cuvid @ 0x25653c0] Loaded sym: cuvidCtxLockDestroy
- [h264_cuvid @ 0x25653c0] Loaded sym: cuvidCtxLock
- [h264_cuvid @ 0x25653c0] Loaded sym: cuvidCtxUnlock
- [h264_cuvid @ 0x25653c0] Loaded sym: cuvidCreateVideoSource
- [h264_cuvid @ 0x25653c0] Loaded sym: cuvidCreateVideoSourceW
- [h264_cuvid @ 0x25653c0] Loaded sym: cuvidDestroyVideoSource
- [h264_cuvid @ 0x25653c0] Loaded sym: cuvidSetVideoSourceState
- [h264_cuvid @ 0x25653c0] Loaded sym: cuvidGetVideoSourceState
- [h264_cuvid @ 0x25653c0] Loaded sym: cuvidGetSourceVideoFormat
- [h264_cuvid @ 0x25653c0] Loaded sym: cuvidGetSourceAudioFormat
- [h264_cuvid @ 0x25653c0] Loaded sym: cuvidCreateVideoParser
- [h264_cuvid @ 0x25653c0] Loaded sym: cuvidParseVideoData
- [h264_cuvid @ 0x25653c0] Loaded sym: cuvidDestroyVideoParser
- [AVBSFContext @ 0x322cd40] The input looks like it is Annex B already
- [h264_cuvid @ 0x25653c0] CUVID capabilities for h264_cuvid:
- [h264_cuvid @ 0x25653c0] 8 bit: supported: 1, min_width: 48, max_width: 4096, min_height: 16, max_height: 4096
- [h264_cuvid @ 0x25653c0] 10 bit: supported: 0, min_width: 0, max_width: 0, min_height: 0, max_height: 0
- [h264_cuvid @ 0x25653c0] 12 bit: supported: 0, min_width: 0, max_width: 0, min_height: 0, max_height: 0
- Stream mapping:
- Stream #0:0 -> #0:0 (h264 (h264_cuvid) -> h264 (libx264))
- Stream #0:1 -> #0:1 (pcm_s24le (native) -> aac (native))
- Press [q] to stop, [?] for help
- cur_dts is invalid (this is harmless if it occurs once at the start per stream)
- detected 8 logical cores
- [graph_1_in_0_1 @ 0x32e9540] Setting 'time_base' to value '1/48000'
- [graph_1_in_0_1 @ 0x32e9540] Setting 'sample_rate' to value '48000'
- [graph_1_in_0_1 @ 0x32e9540] Setting 'sample_fmt' to value 's32'
- [graph_1_in_0_1 @ 0x32e9540] Setting 'channel_layout' to value '0x4'
- [graph_1_in_0_1 @ 0x32e9540] tb:1/48000 samplefmt:s32 samplerate:48000 chlayout:0x4
- [format_out_0_1 @ 0x32e9f00] Setting 'sample_fmts' to value 'fltp'
- [format_out_0_1 @ 0x32e9f00] Setting 'sample_rates' to value '96000|88200|64000|48000|44100|32000|24000|22050|16000|12000|11025|8000|7350'
- [format_out_0_1 @ 0x32e9f00] auto-inserting filter 'auto_resampler_0' between the filter 'Parsed_anull_0' and the filter 'format_out_0_1'
- [AVFilterGraph @ 0x322d480] query_formats: 4 queried, 6 merged, 3 already done, 0 delayed
- [auto_resampler_0 @ 0x32ec840] [SWR @ 0x32eccc0] Using fltp internally between filters
- [auto_resampler_0 @ 0x32ec840] ch:1 chl:mono fmt:s32 r:48000Hz -> ch:1 chl:mono fmt:fltp r:48000Hz
- cur_dts is invalid (this is harmless if it occurs once at the start per stream)
- Last message repeated 431 times
- Too many packets buffered for output stream 0:1.
- [AVIOContext @ 0x255f480] Statistics: 0 seeks, 0 writeouts
- [aac @ 0x255e6c0] Qavg: 121.082
- [aac @ 0x255e6c0] 2 frames left in the queue on closing
- [AVIOContext @ 0x2532280] Statistics: 28251045 bytes read, 5 seeks
- Conversion failed!
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement