Advertisement
Guest User

Untitled

a guest
Mar 26th, 2018
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.58 KB | None | 0 0
  1. [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
  2. ffmpeg version N-90415-g4e1307c0f7 Copyright (c) 2000-2018 the FFmpeg developers
  3. built with gcc 7 (GCC)
  4. 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
  5. libavutil 56. 11.100 / 56. 11.100
  6. libavcodec 58. 15.100 / 58. 15.100
  7. libavformat 58. 10.100 / 58. 10.100
  8. libavdevice 58. 2.100 / 58. 2.100
  9. libavfilter 7. 13.100 / 7. 13.100
  10. libswscale 5. 0.102 / 5. 0.102
  11. libswresample 3. 0.101 / 3. 0.101
  12. libpostproc 55. 0.100 / 55. 0.100
  13. Splitting the commandline.
  14. Reading option '-v' ... matched as option 'v' (set logging level) with argument 'debug'.
  15. Reading option '-hwaccel' ... matched as option 'hwaccel' (use HW accelerated decoding) with argument 'cuvid'.
  16. Reading option '-c:v' ... matched as option 'c' (codec name) with argument 'h264_cuvid'.
  17. Reading option '-i' ... matched as input url with argument 'test.mov'.
  18. Reading option '-c:a' ... matched as option 'c' (codec name) with argument 'aac'.
  19. Reading option '-c:v' ... matched as option 'c' (codec name) with argument 'libx264'.
  20. Reading option 'test.mp4' ... matched as output url.
  21. Reading option '-ar' ... matched as option 'ar' (set audio sampling rate (in Hz)) with argument '48000'.
  22. Reading option '-ac' ... matched as option 'ac' (set number of audio channels) with argument '2'.
  23. Reading option '-reset_timestamps' ... matched as AVOption 'reset_timestamps' with argument '1'.
  24. Trailing options were found on the commandline.
  25. Finished splitting the commandline.
  26. Parsing a group of options: global .
  27. Applying option v (set logging level) with argument debug.
  28. Successfully parsed a group of options.
  29. Parsing a group of options: input url test.mov.
  30. Applying option hwaccel (use HW accelerated decoding) with argument cuvid.
  31. Applying option c:v (codec name) with argument h264_cuvid.
  32. Successfully parsed a group of options.
  33. Opening an input file: test.mov.
  34. [NULL @ 0x2529680] Opening 'test.mov' for reading
  35. [file @ 0x2529f80] Setting default whitelist 'file,crypto'
  36. [mov,mp4,m4a,3gp,3g2,mj2 @ 0x2529680] Format mov,mp4,m4a,3gp,3g2,mj2 probed with size=2048 and score=100
  37. [mov,mp4,m4a,3gp,3g2,mj2 @ 0x2529680] ISO: File Type Major Brand: qt
  38. [mov,mp4,m4a,3gp,3g2,mj2 @ 0x2529680] Unknown dref type 0x73696c61 size 12
  39. [mov,mp4,m4a,3gp,3g2,mj2 @ 0x2529680] Processing st: 0, edit list 0 - media time: 0, duration: 18341100
  40. [mov,mp4,m4a,3gp,3g2,mj2 @ 0x2529680] Unknown dref type 0x73696c61 size 12
  41. [mov,mp4,m4a,3gp,3g2,mj2 @ 0x2529680] Processing st: 1, edit list 0 - media time: 0, duration: 293751047
  42. [mov,mp4,m4a,3gp,3g2,mj2 @ 0x2529680] Unknown dref type 0x73696c61 size 12
  43. [mov,mp4,m4a,3gp,3g2,mj2 @ 0x2529680] Processing st: 2, edit list 0 - media time: 0, duration: 293751047
  44. [mov,mp4,m4a,3gp,3g2,mj2 @ 0x2529680] Unknown dref type 0x73696c61 size 12
  45. [mov,mp4,m4a,3gp,3g2,mj2 @ 0x2529680] Processing st: 3, edit list 0 - media time: 0, duration: 293751047
  46. [mov,mp4,m4a,3gp,3g2,mj2 @ 0x2529680] Unknown dref type 0x73696c61 size 12
  47. [mov,mp4,m4a,3gp,3g2,mj2 @ 0x2529680] Processing st: 4, edit list 0 - media time: 0, duration: 293751047
  48. [mov,mp4,m4a,3gp,3g2,mj2 @ 0x2529680] Unknown dref type 0x73696c61 size 12
  49. [mov,mp4,m4a,3gp,3g2,mj2 @ 0x2529680] Processing st: 5, edit list 0 - media time: 0, duration: 293751047
  50. [mov,mp4,m4a,3gp,3g2,mj2 @ 0x2529680] Unknown dref type 0x73696c61 size 12
  51. [mov,mp4,m4a,3gp,3g2,mj2 @ 0x2529680] Processing st: 6, edit list 0 - media time: 0, duration: 293751047
  52. [mov,mp4,m4a,3gp,3g2,mj2 @ 0x2529680] Unknown dref type 0x73696c61 size 12
  53. [mov,mp4,m4a,3gp,3g2,mj2 @ 0x2529680] Processing st: 7, edit list 0 - media time: 0, duration: 18341100
  54. [mov,mp4,m4a,3gp,3g2,mj2 @ 0x2529680] Before avformat_find_stream_info() pos: 2396478 bytes read:2433413 seeks:2 nb_streams:8
  55. [AVBSFContext @ 0x26c8400] No start code is found.
  56. [mov,mp4,m4a,3gp,3g2,mj2 @ 0x2529680] After avformat_find_stream_info() pos: 3675022 bytes read:3711957 seeks:2 frames:288
  57. test.mov: could not find codec parameters
  58. Guessed Channel Layout for Input Stream #0.1 : mono
  59. Guessed Channel Layout for Input Stream #0.2 : mono
  60. Guessed Channel Layout for Input Stream #0.3 : mono
  61. Guessed Channel Layout for Input Stream #0.4 : mono
  62. Guessed Channel Layout for Input Stream #0.5 : mono
  63. Guessed Channel Layout for Input Stream #0.6 : mono
  64. Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'test.mov':
  65. Metadata:
  66. major_brand : qt
  67. minor_version : 537199360
  68. compatible_brands: qt
  69. creation_time : 2017-09-25T09:37:38.000000Z
  70. Duration: 01:41:59.82, bitrate: N/A
  71. 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)
  72. Metadata:
  73. creation_time : 2017-09-25T09:37:38.000000Z
  74. handler_name : Apple Alias Data Handler
  75. encoder : Apple ProRes 422 (LT)
  76. timecode : 12:54:27;13
  77. Stream #0:1(eng), 48, 1/48000: Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, mono, 1152 kb/s (default)
  78. Metadata:
  79. creation_time : 2017-09-25T09:37:38.000000Z
  80. handler_name : Apple Alias Data Handler
  81. Stream #0:2(eng), 48, 1/48000: Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, mono, 1152 kb/s (default)
  82. Metadata:
  83. creation_time : 2017-09-25T09:37:38.000000Z
  84. handler_name : Apple Alias Data Handler
  85. Stream #0:3(eng), 48, 1/48000: Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, mono, 1152 kb/s (default)
  86. Metadata:
  87. creation_time : 2017-09-25T09:37:38.000000Z
  88. handler_name : Apple Alias Data Handler
  89. Stream #0:4(eng), 48, 1/48000: Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, mono, 1152 kb/s (default)
  90. Metadata:
  91. creation_time : 2017-09-25T09:37:38.000000Z
  92. handler_name : Apple Alias Data Handler
  93. Stream #0:5(eng), 48, 1/48000: Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, mono, 1152 kb/s (default)
  94. Metadata:
  95. creation_time : 2017-09-25T09:37:38.000000Z
  96. handler_name : Apple Alias Data Handler
  97. Stream #0:6(eng), 48, 1/48000: Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, mono, 1152 kb/s (default)
  98. Metadata:
  99. creation_time : 2017-09-25T09:37:38.000000Z
  100. handler_name : Apple Alias Data Handler
  101. Stream #0:7(eng), 0, 1/2997: Data: none (tmcd / 0x64636D74), 0/1
  102. Metadata:
  103. creation_time : 2017-09-25T09:37:38.000000Z
  104. handler_name : Apple Alias Data Handler
  105. reel_name : 388055
  106. timecode : 12:54:27;13
  107. Successfully opened the file.
  108. Parsing a group of options: output url test.mp4.
  109. Applying option c:a (codec name) with argument aac.
  110. Applying option c:v (codec name) with argument libx264.
  111. Successfully parsed a group of options.
  112. Opening an output file: test.mp4.
  113. File 'test.mp4' already exists. Overwrite ? [y/N] y
  114. [file @ 0x2560900] Setting default whitelist 'file,crypto'
  115. Successfully opened the file.
  116. [h264_cuvid @ 0x25653c0] Initializing cuvid hwaccel
  117. [AVHWDeviceContext @ 0x2562280] Loaded lib: libcuda.so.1
  118. [AVHWDeviceContext @ 0x2562280] Loaded sym: cuInit
  119. [AVHWDeviceContext @ 0x2562280] Loaded sym: cuDeviceGetCount
  120. [AVHWDeviceContext @ 0x2562280] Loaded sym: cuDeviceGet
  121. [AVHWDeviceContext @ 0x2562280] Loaded sym: cuDeviceGetName
  122. [AVHWDeviceContext @ 0x2562280] Loaded sym: cuDeviceComputeCapability
  123. [AVHWDeviceContext @ 0x2562280] Loaded sym: cuCtxCreate_v2
  124. [AVHWDeviceContext @ 0x2562280] Loaded sym: cuCtxSetLimit
  125. [AVHWDeviceContext @ 0x2562280] Loaded sym: cuCtxPushCurrent_v2
  126. [AVHWDeviceContext @ 0x2562280] Loaded sym: cuCtxPopCurrent_v2
  127. [AVHWDeviceContext @ 0x2562280] Loaded sym: cuCtxDestroy_v2
  128. [AVHWDeviceContext @ 0x2562280] Loaded sym: cuMemAlloc_v2
  129. [AVHWDeviceContext @ 0x2562280] Loaded sym: cuMemFree_v2
  130. [AVHWDeviceContext @ 0x2562280] Loaded sym: cuMemcpy2D_v2
  131. [AVHWDeviceContext @ 0x2562280] Loaded sym: cuGetErrorName
  132. [AVHWDeviceContext @ 0x2562280] Loaded sym: cuGetErrorString
  133. [h264_cuvid @ 0x25653c0] Initializing CUDA frames context: sw_format = nv12, width = 1920, height = 1080
  134. [h264_cuvid @ 0x25653c0] Format cuda chosen by get_format().
  135. [h264_cuvid @ 0x25653c0] Loaded lib: libnvcuvid.so.1
  136. [h264_cuvid @ 0x25653c0] Loaded sym: cuvidGetDecoderCaps
  137. [h264_cuvid @ 0x25653c0] Loaded sym: cuvidCreateDecoder
  138. [h264_cuvid @ 0x25653c0] Loaded sym: cuvidDestroyDecoder
  139. [h264_cuvid @ 0x25653c0] Loaded sym: cuvidDecodePicture
  140. [h264_cuvid @ 0x25653c0] Loaded sym: cuvidMapVideoFrame64
  141. [h264_cuvid @ 0x25653c0] Loaded sym: cuvidUnmapVideoFrame64
  142. [h264_cuvid @ 0x25653c0] Loaded sym: cuvidCtxLockCreate
  143. [h264_cuvid @ 0x25653c0] Loaded sym: cuvidCtxLockDestroy
  144. [h264_cuvid @ 0x25653c0] Loaded sym: cuvidCtxLock
  145. [h264_cuvid @ 0x25653c0] Loaded sym: cuvidCtxUnlock
  146. [h264_cuvid @ 0x25653c0] Loaded sym: cuvidCreateVideoSource
  147. [h264_cuvid @ 0x25653c0] Loaded sym: cuvidCreateVideoSourceW
  148. [h264_cuvid @ 0x25653c0] Loaded sym: cuvidDestroyVideoSource
  149. [h264_cuvid @ 0x25653c0] Loaded sym: cuvidSetVideoSourceState
  150. [h264_cuvid @ 0x25653c0] Loaded sym: cuvidGetVideoSourceState
  151. [h264_cuvid @ 0x25653c0] Loaded sym: cuvidGetSourceVideoFormat
  152. [h264_cuvid @ 0x25653c0] Loaded sym: cuvidGetSourceAudioFormat
  153. [h264_cuvid @ 0x25653c0] Loaded sym: cuvidCreateVideoParser
  154. [h264_cuvid @ 0x25653c0] Loaded sym: cuvidParseVideoData
  155. [h264_cuvid @ 0x25653c0] Loaded sym: cuvidDestroyVideoParser
  156. [AVBSFContext @ 0x322cd40] The input looks like it is Annex B already
  157. [h264_cuvid @ 0x25653c0] CUVID capabilities for h264_cuvid:
  158. [h264_cuvid @ 0x25653c0] 8 bit: supported: 1, min_width: 48, max_width: 4096, min_height: 16, max_height: 4096
  159. [h264_cuvid @ 0x25653c0] 10 bit: supported: 0, min_width: 0, max_width: 0, min_height: 0, max_height: 0
  160. [h264_cuvid @ 0x25653c0] 12 bit: supported: 0, min_width: 0, max_width: 0, min_height: 0, max_height: 0
  161. Stream mapping:
  162. Stream #0:0 -> #0:0 (h264 (h264_cuvid) -> h264 (libx264))
  163. Stream #0:1 -> #0:1 (pcm_s24le (native) -> aac (native))
  164. Press [q] to stop, [?] for help
  165. cur_dts is invalid (this is harmless if it occurs once at the start per stream)
  166. detected 8 logical cores
  167. [graph_1_in_0_1 @ 0x32e9540] Setting 'time_base' to value '1/48000'
  168. [graph_1_in_0_1 @ 0x32e9540] Setting 'sample_rate' to value '48000'
  169. [graph_1_in_0_1 @ 0x32e9540] Setting 'sample_fmt' to value 's32'
  170. [graph_1_in_0_1 @ 0x32e9540] Setting 'channel_layout' to value '0x4'
  171. [graph_1_in_0_1 @ 0x32e9540] tb:1/48000 samplefmt:s32 samplerate:48000 chlayout:0x4
  172. [format_out_0_1 @ 0x32e9f00] Setting 'sample_fmts' to value 'fltp'
  173. [format_out_0_1 @ 0x32e9f00] Setting 'sample_rates' to value '96000|88200|64000|48000|44100|32000|24000|22050|16000|12000|11025|8000|7350'
  174. [format_out_0_1 @ 0x32e9f00] auto-inserting filter 'auto_resampler_0' between the filter 'Parsed_anull_0' and the filter 'format_out_0_1'
  175. [AVFilterGraph @ 0x322d480] query_formats: 4 queried, 6 merged, 3 already done, 0 delayed
  176. [auto_resampler_0 @ 0x32ec840] [SWR @ 0x32eccc0] Using fltp internally between filters
  177. [auto_resampler_0 @ 0x32ec840] ch:1 chl:mono fmt:s32 r:48000Hz -> ch:1 chl:mono fmt:fltp r:48000Hz
  178. cur_dts is invalid (this is harmless if it occurs once at the start per stream)
  179. Last message repeated 431 times
  180. Too many packets buffered for output stream 0:1.
  181. [AVIOContext @ 0x255f480] Statistics: 0 seeks, 0 writeouts
  182. [aac @ 0x255e6c0] Qavg: 121.082
  183. [aac @ 0x255e6c0] 2 frames left in the queue on closing
  184. [AVIOContext @ 0x2532280] Statistics: 28251045 bytes read, 5 seeks
  185. Conversion failed!
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement