teratail header banner
teratail header banner
質問するログイン新規登録

質問編集履歴

1

yohhoy様 ご指摘有難うございます。「-loglevel debug」を追記した結果で修正致します。

2017/04/14 04:29

投稿

ghin
ghin

スコア9

title CHANGED
File without changes
body CHANGED
@@ -9,7 +9,7 @@
9
9
  ###コマンド内容と過程とメッセージ
10
10
 
11
11
  ```
12
- C:\>ffmpeg -i a.mov -vcodec hevc_nvenc -b:v 7.45M -f mp4 .mp4
12
+ C:\>ffmpeg -i a1.mov -vcodec hevc_nvenc -b:v 7.45M -f mp4 -loglevel debug a.mp4
13
13
  ffmpeg version N-84348-gdb7a05d Copyright (c) 2000-2017 the FFmpeg developers
14
14
  built with gcc 6.3.0 (GCC)
15
15
  configuration: --enable-gpl --enable-version3 --enable-cuda --enable-cuvid --enable-d3d11va --enable-dxva2 --enable-libmfx --enable-nvenc --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-lzma --enable-zlib
@@ -21,6 +21,32 @@
21
21
  libswscale 4. 3.101 / 4. 3.101
22
22
  libswresample 2. 4.100 / 2. 4.100
23
23
  libpostproc 54. 2.100 / 54. 2.100
24
+ Splitting the commandline.
25
+ Reading option '-i' ... matched as input url with argument 'R1.mov'.
26
+ Reading option '-vcodec' ... matched as option 'vcodec' (force video codec ('copy' to copy stream)) with argument 'hevc_nvenc'.
27
+ Reading option '-b:v' ... matched as option 'b' (video bitrate (please use -b:v)) with argument '7.45M'.
28
+ Reading option '-f' ... matched as option 'f' (force format) with argument 'mp4'.
29
+ Reading option '-loglevel' ... matched as option 'loglevel' (set logging level) with argument 'debug'.
30
+ Reading option 'R1.mp4' ... matched as output url.
31
+ Finished splitting the commandline.
32
+ Parsing a group of options: global .
33
+ Applying option loglevel (set logging level) with argument debug.
34
+ Successfully parsed a group of options.
35
+ Parsing a group of options: input url R1.mov.
36
+ Successfully parsed a group of options.
37
+ Opening an input file: R1.mov.
38
+ [file @ 0000000002993200] Setting default whitelist 'file,crypto'
39
+ [mov,mp4,m4a,3gp,3g2,mj2 @ 0000000000f16900] Format mov,mp4,m4a,3gp,3g2,mj2 probed with size=2048 and score=100
40
+ [mov,mp4,m4a,3gp,3g2,mj2 @ 0000000000f16900] ISO: File Type Major Brand: qt
41
+ [mov,mp4,m4a,3gp,3g2,mj2 @ 0000000000f16900] Unknown dref type 0x73696c61 size 12
42
+ [mov,mp4,m4a,3gp,3g2,mj2 @ 0000000000f16900] Processing st: 0, edit list 0 - media time: 0, duration: 9710500
43
+ [mov,mp4,m4a,3gp,3g2,mj2 @ 0000000000f16900] Unknown dref type 0x73696c61 size 12
44
+ [mov,mp4,m4a,3gp,3g2,mj2 @ 0000000000f16900] Processing st: 1, edit list 0 - media time: 0, duration: 155523363
45
+ [mov,mp4,m4a,3gp,3g2,mj2 @ 0000000000f16900] Unknown dref type 0x73696c61 size 12
46
+ [mov,mp4,m4a,3gp,3g2,mj2 @ 0000000000f16900] Processing st: 2, edit list 0 - media time: 0, duration: 9710500
47
+ [mov,mp4,m4a,3gp,3g2,mj2 @ 0000000000f16900] Before avformat_find_stream_info() pos: 57139876733 bytes read:809238 seeks:5 nb_streams:3
48
+ [mov,mp4,m4a,3gp,3g2,mj2 @ 0000000000f16900] All info found
49
+ [mov,mp4,m4a,3gp,3g2,mj2 @ 0000000000f16900] After avformat_find_stream_info() pos: 861856 bytes read:1670582 seeks:6 frames:48
24
50
  Guessed Channel Layout for Input Stream #0.1 : stereo
25
51
  Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'R1.mov':
26
52
  Metadata:
@@ -30,29 +56,76 @@
30
56
  creation_time : 2013-08-03T07:42:09.000000Z
31
57
  com.apple.finalcutstudio.media.uuid: 2803ED3B-7FB9-489F-84C5-DB1D59C589BC
32
58
  Duration: 00:54:00.07, start: 0.000000, bitrate: 141082 kb/s
33
- Stream #0:0(eng): Video: prores (apcn / 0x6E637061), yuv422p10le(bt709, top coded first (swapped)), 1920x1080, 138750 kb/s, SAR 1:1 DAR 16:9, 29.97 fps, 29.97 tbr, 2997 tbn, 2997 tbc (default)
59
+ Stream #0:0(eng), 1, 1/2997: Video: prores, 1 reference frame (apcn / 0x6E637061), yuv422p10le(bt709, top coded first (swapped)), 1920x1080, 0/1, 138750 kb/s, SAR 1:1 DAR 16:9, 29.97 fps, 29.97 tbr, 2997 tbn, 2997 tbc (default)
34
60
  Metadata:
35
61
  creation_time : 2013-08-03T07:42:09.000000Z
36
62
  handler_name : Apple エイリアス・データハンドラ
37
63
  encoder : Apple ProRes 422
38
64
  timecode : 01:00:00;00
39
- Stream #0:1(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, stereo, s32 (24 bit), 2304 kb/s (default)
65
+ Stream #0:1(eng), 47, 1/48000: Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, stereo, s32 (24 bit), 2304 kb/s (default)
40
66
  Metadata:
41
67
  creation_time : 2013-08-03T07:42:09.000000Z
42
68
  handler_name : Apple エイリアス・データハンドラ
43
- Stream #0:2(eng): Data: none (tmcd / 0x64636D74) (default)
69
+ Stream #0:2(eng), 0, 1/2997: Data: none (tmcd / 0x64636D74), 0/1 (default)
44
70
  Metadata:
45
71
  creation_time : 2013-08-03T09:02:04.000000Z
46
72
  handler_name : Apple エイリアス・データハンドラ
47
73
  timecode : 01:00:00;00
74
+ Successfully opened the file.
75
+ Parsing a group of options: output url R1.mp4.
76
+ Applying option vcodec (force video codec ('copy' to copy stream)) with argument hevc_nvenc.
77
+ Applying option b:v (video bitrate (please use -b:v)) with argument 7.45M.
78
+ Applying option f (force format) with argument mp4.
79
+ Successfully parsed a group of options.
80
+ Opening an output file: R1.mp4.
81
+ [file @ 00000000029f0b40] Setting default whitelist 'file,crypto'
82
+ Successfully opened the file.
83
+ detected 12 logical cores
48
84
  Stream mapping:
49
85
  Stream #0:0 -> #0:0 (prores (native) -> hevc (hevc_nvenc))
50
86
  Stream #0:1 -> #0:1 (pcm_s24le (native) -> aac (native))
51
87
  Press [q] to stop, [?] for help
88
+ cur_dts is invalid (this is harmless if it occurs once at the start per stream)
89
+ [graph_1_in_0_1 @ 0000000002a084e0] Setting 'time_base' to value '1/48000'
90
+ [graph_1_in_0_1 @ 0000000002a084e0] Setting 'sample_rate' to value '48000'
91
+ [graph_1_in_0_1 @ 0000000002a084e0] Setting 'sample_fmt' to value 's32'
92
+ [graph_1_in_0_1 @ 0000000002a084e0] Setting 'channel_layout' to value '0x3'
93
+ [graph_1_in_0_1 @ 0000000002a084e0] tb:1/48000 samplefmt:s32 samplerate:48000 chlayout:0x3
94
+ [format_out_0_1 @ 0000000002a08960] Setting 'sample_fmts' to value 'fltp'
95
+ [format_out_0_1 @ 0000000002a08960] Setting 'sample_rates' to value '96000|88200|64000|48000|44100|32000|24000|22050|16000|12000|11025|8000|7350'
96
+ [format_out_0_1 @ 0000000002a08960] auto-inserting filter 'auto_resampler_0' between the filter 'Parsed_anull_0' and the filter 'format_out_0_1'
97
+ [AVFilterGraph @ 00000000029f1040] query_formats: 4 queried, 6 merged, 3 already done, 0 delayed
98
+ [auto_resampler_0 @ 0000000002a11200] [SWR @ 0000000002a112e0] Using fltp internally between filters
99
+ [auto_resampler_0 @ 0000000002a11200] ch:2 chl:stereo fmt:s32 r:48000Hz -> ch:2 chl:stereo fmt:fltp r:48000Hz
100
+ cur_dts is invalid (this is harmless if it occurs once at the start per stream)
101
+ Last message repeated 46 times
102
+ [graph 0 input from stream 0:0 @ 0000000002994e20] Setting 'video_size' to value '1920x1080'
103
+ [graph 0 input from stream 0:0 @ 0000000002994e20] Setting 'pix_fmt' to value '74'
104
+ [graph 0 input from stream 0:0 @ 0000000002994e20] Setting 'time_base' to value '1/2997'
105
+ [graph 0 input from stream 0:0 @ 0000000002994e20] Setting 'pixel_aspect' to value '1/1'
106
+ [graph 0 input from stream 0:0 @ 0000000002994e20] Setting 'sws_param' to value 'flags=2'
107
+ [graph 0 input from stream 0:0 @ 0000000002994e20] Setting 'frame_rate' to value '2997/100'
108
+ [graph 0 input from stream 0:0 @ 0000000002994e20] w:1920 h:1080 pixfmt:yuv422p10le tb:1/2997 fr:2997/100 sar:1/1 sws_param:flags=2
109
+ [format @ 0000000002995e80] compat: called with args=[yuv420p|nv12|p010le|yuv444p|yuv444p16le|bgr0|rgb0|cuda]
110
+ [format @ 0000000002995e80] Setting 'pix_fmts' to value 'yuv420p|nv12|p010le|yuv444p|yuv444p16le|bgr0|rgb0|cuda'
111
+ [auto_scaler_0 @ 0000000002996280] Setting 'flags' to value 'bicubic'
112
+ [auto_scaler_0 @ 0000000002996280] w:iw h:ih flags:'bicubic' interl:0
113
+ [format @ 0000000002995e80] auto-inserting filter 'auto_scaler_0' between the filter 'Parsed_null_0' and the filter 'format'
114
+ [AVFilterGraph @ 00000000029f1c20] query_formats: 4 queried, 2 merged, 1 already done, 0 delayed
115
+ [auto_scaler_0 @ 0000000002996280] picking yuv444p16le out of 7 ref:yuv422p10le alpha:0
116
+ [auto_scaler_0 @ 0000000002996280] w:1920 h:1080 fmt:yuv422p10le sar:1/1 -> w:1920 h:1080 fmt:yuv444p16le sar:1/1 flags:0x4
117
+ [hevc_nvenc @ 00000000029f58c0] Loaded Nvenc version 8.0
118
+ [hevc_nvenc @ 00000000029f58c0] Nvenc initialized successfully
119
+ [hevc_nvenc @ 00000000029f58c0] 1 CUDA capable devices found
120
+ [hevc_nvenc @ 00000000029f58c0] [ GPU #0 - < GeForce GTX 980 Ti > has Compute SM 5.2 ]
121
+ [hevc_nvenc @ 00000000029f58c0] YUV444P not supported
52
- [hevc_nvenc @ 00000000028f57e0] No NVENC capable devices found
122
+ [hevc_nvenc @ 00000000029f58c0] No NVENC capable devices found
123
+ [hevc_nvenc @ 00000000029f58c0] Nvenc unloaded
53
124
  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
125
+ [AVIOContext @ 0000000002a01c80] Statistics: 0 seeks, 0 writeouts
54
- [aac @ 00000000028f96c0] Qavg: 23915.186
126
+ [aac @ 00000000029f97a0] Qavg: 23915.186
55
- [aac @ 00000000028f96c0] 2 frames left in the queue on closing
127
+ [aac @ 00000000029f97a0] 2 frames left in the queue on closing
128
+ [AVIOContext @ 000000000299b3e0] Statistics: 1670582 bytes read, 6 seeks
56
129
  Conversion failed!
57
130
 
58
131
  c:\>