質問編集履歴

1

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

2017/04/14 04:29

投稿

ghin
ghin

スコア9

test CHANGED
File without changes
test CHANGED
@@ -20,7 +20,7 @@
20
20
 
21
21
  ```
22
22
 
23
- C:\>ffmpeg -i a.mov -vcodec hevc_nvenc -b:v 7.45M -f mp4 .mp4
23
+ C:\>ffmpeg -i a1.mov -vcodec hevc_nvenc -b:v 7.45M -f mp4 -loglevel debug a.mp4
24
24
 
25
25
  ffmpeg version N-84348-gdb7a05d Copyright (c) 2000-2017 the FFmpeg developers
26
26
 
@@ -44,6 +44,58 @@
44
44
 
45
45
  libpostproc 54. 2.100 / 54. 2.100
46
46
 
47
+ Splitting the commandline.
48
+
49
+ Reading option '-i' ... matched as input url with argument 'R1.mov'.
50
+
51
+ Reading option '-vcodec' ... matched as option 'vcodec' (force video codec ('copy' to copy stream)) with argument 'hevc_nvenc'.
52
+
53
+ Reading option '-b:v' ... matched as option 'b' (video bitrate (please use -b:v)) with argument '7.45M'.
54
+
55
+ Reading option '-f' ... matched as option 'f' (force format) with argument 'mp4'.
56
+
57
+ Reading option '-loglevel' ... matched as option 'loglevel' (set logging level) with argument 'debug'.
58
+
59
+ Reading option 'R1.mp4' ... matched as output url.
60
+
61
+ Finished splitting the commandline.
62
+
63
+ Parsing a group of options: global .
64
+
65
+ Applying option loglevel (set logging level) with argument debug.
66
+
67
+ Successfully parsed a group of options.
68
+
69
+ Parsing a group of options: input url R1.mov.
70
+
71
+ Successfully parsed a group of options.
72
+
73
+ Opening an input file: R1.mov.
74
+
75
+ [file @ 0000000002993200] Setting default whitelist 'file,crypto'
76
+
77
+ [mov,mp4,m4a,3gp,3g2,mj2 @ 0000000000f16900] Format mov,mp4,m4a,3gp,3g2,mj2 probed with size=2048 and score=100
78
+
79
+ [mov,mp4,m4a,3gp,3g2,mj2 @ 0000000000f16900] ISO: File Type Major Brand: qt
80
+
81
+ [mov,mp4,m4a,3gp,3g2,mj2 @ 0000000000f16900] Unknown dref type 0x73696c61 size 12
82
+
83
+ [mov,mp4,m4a,3gp,3g2,mj2 @ 0000000000f16900] Processing st: 0, edit list 0 - media time: 0, duration: 9710500
84
+
85
+ [mov,mp4,m4a,3gp,3g2,mj2 @ 0000000000f16900] Unknown dref type 0x73696c61 size 12
86
+
87
+ [mov,mp4,m4a,3gp,3g2,mj2 @ 0000000000f16900] Processing st: 1, edit list 0 - media time: 0, duration: 155523363
88
+
89
+ [mov,mp4,m4a,3gp,3g2,mj2 @ 0000000000f16900] Unknown dref type 0x73696c61 size 12
90
+
91
+ [mov,mp4,m4a,3gp,3g2,mj2 @ 0000000000f16900] Processing st: 2, edit list 0 - media time: 0, duration: 9710500
92
+
93
+ [mov,mp4,m4a,3gp,3g2,mj2 @ 0000000000f16900] Before avformat_find_stream_info() pos: 57139876733 bytes read:809238 seeks:5 nb_streams:3
94
+
95
+ [mov,mp4,m4a,3gp,3g2,mj2 @ 0000000000f16900] All info found
96
+
97
+ [mov,mp4,m4a,3gp,3g2,mj2 @ 0000000000f16900] After avformat_find_stream_info() pos: 861856 bytes read:1670582 seeks:6 frames:48
98
+
47
99
  Guessed Channel Layout for Input Stream #0.1 : stereo
48
100
 
49
101
  Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'R1.mov':
@@ -62,7 +114,7 @@
62
114
 
63
115
  Duration: 00:54:00.07, start: 0.000000, bitrate: 141082 kb/s
64
116
 
65
- 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)
117
+ 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)
66
118
 
67
119
  Metadata:
68
120
 
@@ -74,7 +126,7 @@
74
126
 
75
127
  timecode : 01:00:00;00
76
128
 
77
- Stream #0:1(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, stereo, s32 (24 bit), 2304 kb/s (default)
129
+ Stream #0:1(eng), 47, 1/48000: Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, stereo, s32 (24 bit), 2304 kb/s (default)
78
130
 
79
131
  Metadata:
80
132
 
@@ -82,7 +134,7 @@
82
134
 
83
135
  handler_name : Apple エイリアス・データハンドラ
84
136
 
85
- Stream #0:2(eng): Data: none (tmcd / 0x64636D74) (default)
137
+ Stream #0:2(eng), 0, 1/2997: Data: none (tmcd / 0x64636D74), 0/1 (default)
86
138
 
87
139
  Metadata:
88
140
 
@@ -92,6 +144,26 @@
92
144
 
93
145
  timecode : 01:00:00;00
94
146
 
147
+ Successfully opened the file.
148
+
149
+ Parsing a group of options: output url R1.mp4.
150
+
151
+ Applying option vcodec (force video codec ('copy' to copy stream)) with argument hevc_nvenc.
152
+
153
+ Applying option b:v (video bitrate (please use -b:v)) with argument 7.45M.
154
+
155
+ Applying option f (force format) with argument mp4.
156
+
157
+ Successfully parsed a group of options.
158
+
159
+ Opening an output file: R1.mp4.
160
+
161
+ [file @ 00000000029f0b40] Setting default whitelist 'file,crypto'
162
+
163
+ Successfully opened the file.
164
+
165
+ detected 12 logical cores
166
+
95
167
  Stream mapping:
96
168
 
97
169
  Stream #0:0 -> #0:0 (prores (native) -> hevc (hevc_nvenc))
@@ -100,13 +172,87 @@
100
172
 
101
173
  Press [q] to stop, [?] for help
102
174
 
175
+ cur_dts is invalid (this is harmless if it occurs once at the start per stream)
176
+
177
+ [graph_1_in_0_1 @ 0000000002a084e0] Setting 'time_base' to value '1/48000'
178
+
179
+ [graph_1_in_0_1 @ 0000000002a084e0] Setting 'sample_rate' to value '48000'
180
+
181
+ [graph_1_in_0_1 @ 0000000002a084e0] Setting 'sample_fmt' to value 's32'
182
+
183
+ [graph_1_in_0_1 @ 0000000002a084e0] Setting 'channel_layout' to value '0x3'
184
+
185
+ [graph_1_in_0_1 @ 0000000002a084e0] tb:1/48000 samplefmt:s32 samplerate:48000 chlayout:0x3
186
+
187
+ [format_out_0_1 @ 0000000002a08960] Setting 'sample_fmts' to value 'fltp'
188
+
189
+ [format_out_0_1 @ 0000000002a08960] Setting 'sample_rates' to value '96000|88200|64000|48000|44100|32000|24000|22050|16000|12000|11025|8000|7350'
190
+
191
+ [format_out_0_1 @ 0000000002a08960] auto-inserting filter 'auto_resampler_0' between the filter 'Parsed_anull_0' and the filter 'format_out_0_1'
192
+
193
+ [AVFilterGraph @ 00000000029f1040] query_formats: 4 queried, 6 merged, 3 already done, 0 delayed
194
+
195
+ [auto_resampler_0 @ 0000000002a11200] [SWR @ 0000000002a112e0] Using fltp internally between filters
196
+
197
+ [auto_resampler_0 @ 0000000002a11200] ch:2 chl:stereo fmt:s32 r:48000Hz -> ch:2 chl:stereo fmt:fltp r:48000Hz
198
+
199
+ cur_dts is invalid (this is harmless if it occurs once at the start per stream)
200
+
201
+ Last message repeated 46 times
202
+
203
+ [graph 0 input from stream 0:0 @ 0000000002994e20] Setting 'video_size' to value '1920x1080'
204
+
205
+ [graph 0 input from stream 0:0 @ 0000000002994e20] Setting 'pix_fmt' to value '74'
206
+
207
+ [graph 0 input from stream 0:0 @ 0000000002994e20] Setting 'time_base' to value '1/2997'
208
+
209
+ [graph 0 input from stream 0:0 @ 0000000002994e20] Setting 'pixel_aspect' to value '1/1'
210
+
211
+ [graph 0 input from stream 0:0 @ 0000000002994e20] Setting 'sws_param' to value 'flags=2'
212
+
213
+ [graph 0 input from stream 0:0 @ 0000000002994e20] Setting 'frame_rate' to value '2997/100'
214
+
215
+ [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
216
+
217
+ [format @ 0000000002995e80] compat: called with args=[yuv420p|nv12|p010le|yuv444p|yuv444p16le|bgr0|rgb0|cuda]
218
+
219
+ [format @ 0000000002995e80] Setting 'pix_fmts' to value 'yuv420p|nv12|p010le|yuv444p|yuv444p16le|bgr0|rgb0|cuda'
220
+
221
+ [auto_scaler_0 @ 0000000002996280] Setting 'flags' to value 'bicubic'
222
+
223
+ [auto_scaler_0 @ 0000000002996280] w:iw h:ih flags:'bicubic' interl:0
224
+
225
+ [format @ 0000000002995e80] auto-inserting filter 'auto_scaler_0' between the filter 'Parsed_null_0' and the filter 'format'
226
+
227
+ [AVFilterGraph @ 00000000029f1c20] query_formats: 4 queried, 2 merged, 1 already done, 0 delayed
228
+
229
+ [auto_scaler_0 @ 0000000002996280] picking yuv444p16le out of 7 ref:yuv422p10le alpha:0
230
+
231
+ [auto_scaler_0 @ 0000000002996280] w:1920 h:1080 fmt:yuv422p10le sar:1/1 -> w:1920 h:1080 fmt:yuv444p16le sar:1/1 flags:0x4
232
+
233
+ [hevc_nvenc @ 00000000029f58c0] Loaded Nvenc version 8.0
234
+
235
+ [hevc_nvenc @ 00000000029f58c0] Nvenc initialized successfully
236
+
237
+ [hevc_nvenc @ 00000000029f58c0] 1 CUDA capable devices found
238
+
239
+ [hevc_nvenc @ 00000000029f58c0] [ GPU #0 - < GeForce GTX 980 Ti > has Compute SM 5.2 ]
240
+
241
+ [hevc_nvenc @ 00000000029f58c0] YUV444P not supported
242
+
103
- [hevc_nvenc @ 00000000028f57e0] No NVENC capable devices found
243
+ [hevc_nvenc @ 00000000029f58c0] No NVENC capable devices found
244
+
245
+ [hevc_nvenc @ 00000000029f58c0] Nvenc unloaded
104
246
 
105
247
  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
106
248
 
249
+ [AVIOContext @ 0000000002a01c80] Statistics: 0 seeks, 0 writeouts
250
+
107
- [aac @ 00000000028f96c0] Qavg: 23915.186
251
+ [aac @ 00000000029f97a0] Qavg: 23915.186
108
-
252
+
109
- [aac @ 00000000028f96c0] 2 frames left in the queue on closing
253
+ [aac @ 00000000029f97a0] 2 frames left in the queue on closing
254
+
255
+ [AVIOContext @ 000000000299b3e0] Statistics: 1670582 bytes read, 6 seeks
110
256
 
111
257
  Conversion failed!
112
258