前提・実現したいこと
「デバイスがない」というようなエラーのようですが、ドライバーなどはインストールしておりまして、悩んでおります。
お知恵をお借りできればと思います。
現在使用しています環境は、「windows10_64bit」でして、gpuは「gefors980ti」でドライバは現在の最新のものを使用しています。
よろしくお願い致します。
コマンド内容と過程とメッセージ
C:\>ffmpeg -i a1.mov -vcodec hevc_nvenc -b:v 7.45M -f mp4 -loglevel debug a.mp4
ffmpeg version N-84348-gdb7a05d Copyright (c) 2000-2017 the FFmpeg developers
built with gcc 6.3.0 (GCC)
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
libavutil 55. 50.100 / 55. 50.100
libavcodec 57. 83.101 / 57. 83.101
libavformat 57. 66.105 / 57. 66.105
libavdevice 57. 3.100 / 57. 3.100
libavfilter 6. 78.100 / 6. 78.100
libswscale 4. 3.101 / 4. 3.101
libswresample 2. 4.100 / 2. 4.100
libpostproc 54. 2.100 / 54. 2.100
Splitting the commandline.
Reading option '-i' ... matched as input url with argument 'R1.mov'.
Reading option '-vcodec' ... matched as option 'vcodec' (force video codec ('copy' to copy stream)) with argument 'hevc_nvenc'.
Reading option '-b:v' ... matched as option 'b' (video bitrate (please use -b:v)) with argument '7.45M'.
Reading option '-f' ... matched as option 'f' (force format) with argument 'mp4'.
Reading option '-loglevel' ... matched as option 'loglevel' (set logging level) with argument 'debug'.
Reading option 'R1.mp4' ... matched as output url.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option loglevel (set logging level) with argument debug.
Successfully parsed a group of options.
Parsing a group of options: input url R1.mov.
Successfully parsed a group of options.
Opening an input file: R1.mov.
[file @ 0000000002993200] Setting default whitelist 'file,crypto'
[mov,mp4,m4a,3gp,3g2,mj2 @ 0000000000f16900] Format mov,mp4,m4a,3gp,3g2,mj2 probed with size=2048 and score=100
[mov,mp4,m4a,3gp,3g2,mj2 @ 0000000000f16900] ISO: File Type Major Brand: qt
[mov,mp4,m4a,3gp,3g2,mj2 @ 0000000000f16900] Unknown dref type 0x73696c61 size 12
[mov,mp4,m4a,3gp,3g2,mj2 @ 0000000000f16900] Processing st: 0, edit list 0 - media time: 0, duration: 9710500
[mov,mp4,m4a,3gp,3g2,mj2 @ 0000000000f16900] Unknown dref type 0x73696c61 size 12
[mov,mp4,m4a,3gp,3g2,mj2 @ 0000000000f16900] Processing st: 1, edit list 0 - media time: 0, duration: 155523363
[mov,mp4,m4a,3gp,3g2,mj2 @ 0000000000f16900] Unknown dref type 0x73696c61 size 12
[mov,mp4,m4a,3gp,3g2,mj2 @ 0000000000f16900] Processing st: 2, edit list 0 - media time: 0, duration: 9710500
[mov,mp4,m4a,3gp,3g2,mj2 @ 0000000000f16900] Before avformat_find_stream_info() pos: 57139876733 bytes read:809238 seeks:5 nb_streams:3
[mov,mp4,m4a,3gp,3g2,mj2 @ 0000000000f16900] All info found
[mov,mp4,m4a,3gp,3g2,mj2 @ 0000000000f16900] After avformat_find_stream_info() pos: 861856 bytes read:1670582 seeks:6 frames:48
Guessed Channel Layout for Input Stream #0.1 : stereo
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'R1.mov':
Metadata:
major_brand : qt
minor_version : 537199360
compatible_brands: qt
creation_time : 2013-08-03T07:42:09.000000Z
com.apple.finalcutstudio.media.uuid: 2803ED3B-7FB9-489F-84C5-DB1D59C589BC
Duration: 00:54:00.07, start: 0.000000, bitrate: 141082 kb/s
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)
Metadata:
creation_time : 2013-08-03T07:42:09.000000Z
handler_name : Apple エイリアス・データハンドラ
encoder : Apple ProRes 422
timecode : 01:00:00;00
Stream #0:1(eng), 47, 1/48000: Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, stereo, s32 (24 bit), 2304 kb/s (default)
Metadata:
creation_time : 2013-08-03T07:42:09.000000Z
handler_name : Apple エイリアス・データハンドラ
Stream #0:2(eng), 0, 1/2997: Data: none (tmcd / 0x64636D74), 0/1 (default)
Metadata:
creation_time : 2013-08-03T09:02:04.000000Z
handler_name : Apple エイリアス・データハンドラ
timecode : 01:00:00;00
Successfully opened the file.
Parsing a group of options: output url R1.mp4.
Applying option vcodec (force video codec ('copy' to copy stream)) with argument hevc_nvenc.
Applying option b:v (video bitrate (please use -b:v)) with argument 7.45M.
Applying option f (force format) with argument mp4.
Successfully parsed a group of options.
Opening an output file: R1.mp4.
[file @ 00000000029f0b40] Setting default whitelist 'file,crypto'
Successfully opened the file.
detected 12 logical cores
Stream mapping:
Stream #0:0 -> #0:0 (prores (native) -> hevc (hevc_nvenc))
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)
[graph_1_in_0_1 @ 0000000002a084e0] Setting 'time_base' to value '1/48000'
[graph_1_in_0_1 @ 0000000002a084e0] Setting 'sample_rate' to value '48000'
[graph_1_in_0_1 @ 0000000002a084e0] Setting 'sample_fmt' to value 's32'
[graph_1_in_0_1 @ 0000000002a084e0] Setting 'channel_layout' to value '0x3'
[graph_1_in_0_1 @ 0000000002a084e0] tb:1/48000 samplefmt:s32 samplerate:48000 chlayout:0x3
[format_out_0_1 @ 0000000002a08960] Setting 'sample_fmts' to value 'fltp'
[format_out_0_1 @ 0000000002a08960] Setting 'sample_rates' to value '96000|88200|64000|48000|44100|32000|24000|22050|16000|12000|11025|8000|7350'
[format_out_0_1 @ 0000000002a08960] auto-inserting filter 'auto_resampler_0' between the filter 'Parsed_anull_0' and the filter 'format_out_0_1'
[AVFilterGraph @ 00000000029f1040] query_formats: 4 queried, 6 merged, 3 already done, 0 delayed
[auto_resampler_0 @ 0000000002a11200] [SWR @ 0000000002a112e0] Using fltp internally between filters
[auto_resampler_0 @ 0000000002a11200] ch:2 chl:stereo fmt:s32 r:48000Hz -> ch:2 chl:stereo fmt:fltp r:48000Hz
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
Last message repeated 46 times
[graph 0 input from stream 0:0 @ 0000000002994e20] Setting 'video_size' to value '1920x1080'
[graph 0 input from stream 0:0 @ 0000000002994e20] Setting 'pix_fmt' to value '74'
[graph 0 input from stream 0:0 @ 0000000002994e20] Setting 'time_base' to value '1/2997'
[graph 0 input from stream 0:0 @ 0000000002994e20] Setting 'pixel_aspect' to value '1/1'
[graph 0 input from stream 0:0 @ 0000000002994e20] Setting 'sws_param' to value 'flags=2'
[graph 0 input from stream 0:0 @ 0000000002994e20] Setting 'frame_rate' to value '2997/100'
[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
[format @ 0000000002995e80] compat: called with args=[yuv420p|nv12|p010le|yuv444p|yuv444p16le|bgr0|rgb0|cuda]
[format @ 0000000002995e80] Setting 'pix_fmts' to value 'yuv420p|nv12|p010le|yuv444p|yuv444p16le|bgr0|rgb0|cuda'
[auto_scaler_0 @ 0000000002996280] Setting 'flags' to value 'bicubic'
[auto_scaler_0 @ 0000000002996280] w:iw h:ih flags:'bicubic' interl:0
[format @ 0000000002995e80] auto-inserting filter 'auto_scaler_0' between the filter 'Parsed_null_0' and the filter 'format'
[AVFilterGraph @ 00000000029f1c20] query_formats: 4 queried, 2 merged, 1 already done, 0 delayed
[auto_scaler_0 @ 0000000002996280] picking yuv444p16le out of 7 ref:yuv422p10le alpha:0
[auto_scaler_0 @ 0000000002996280] w:1920 h:1080 fmt:yuv422p10le sar:1/1 -> w:1920 h:1080 fmt:yuv444p16le sar:1/1 flags:0x4
[hevc_nvenc @ 00000000029f58c0] Loaded Nvenc version 8.0
[hevc_nvenc @ 00000000029f58c0] Nvenc initialized successfully
[hevc_nvenc @ 00000000029f58c0] 1 CUDA capable devices found
[hevc_nvenc @ 00000000029f58c0] [ GPU #0 - < GeForce GTX 980 Ti > has Compute SM 5.2 ]
[hevc_nvenc @ 00000000029f58c0] YUV444P not supported
[hevc_nvenc @ 00000000029f58c0] No NVENC capable devices found
[hevc_nvenc @ 00000000029f58c0] Nvenc unloaded
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
[AVIOContext @ 0000000002a01c80] Statistics: 0 seeks, 0 writeouts
[aac @ 00000000029f97a0] Qavg: 23915.186
[aac @ 00000000029f97a0] 2 frames left in the queue on closing
[AVIOContext @ 000000000299b3e0] Statistics: 1670582 bytes read, 6 seeks
Conversion failed!
c:\>
-
気になる質問をクリップする
クリップした質問は、後からいつでもマイページで確認できます。
またクリップした質問に回答があった際、通知やメールを受け取ることができます。
クリップを取り消します
-
良い質問の評価を上げる
以下のような質問は評価を上げましょう
- 質問内容が明確
- 自分も答えを知りたい
- 質問者以外のユーザにも役立つ
評価が高い質問は、TOPページの「注目」タブのフィードに表示されやすくなります。
質問の評価を上げたことを取り消します
-
評価を下げられる数の上限に達しました
評価を下げることができません
- 1日5回まで評価を下げられます
- 1日に1ユーザに対して2回まで評価を下げられます
質問の評価を下げる
teratailでは下記のような質問を「具体的に困っていることがない質問」、「サイトポリシーに違反する質問」と定義し、推奨していません。
- プログラミングに関係のない質問
- やってほしいことだけを記載した丸投げの質問
- 問題・課題が含まれていない質問
- 意図的に内容が抹消された質問
- 過去に投稿した質問と同じ内容の質問
- 広告と受け取られるような投稿
評価が下がると、TOPページの「アクティブ」「注目」タブのフィードに表示されにくくなります。
質問の評価を下げたことを取り消します
この機能は開放されていません
評価を下げる条件を満たしてません
質問の評価を下げる機能の利用条件
この機能を利用するためには、以下の事項を行う必要があります。
- 質問回答など一定の行動
-
メールアドレスの認証
メールアドレスの認証
-
質問評価に関するヘルプページの閲覧
質問評価に関するヘルプページの閲覧
checkベストアンサー
+1
[hevc_nvenc @ 00000000029f58c0] 1 CUDA capable devices found
[hevc_nvenc @ 00000000029f58c0] [ GPU #0 - < GeForce GTX 980 Ti > has Compute SM 5.2 ]
[hevc_nvenc @ 00000000029f58c0] YUV444P not supported
[hevc_nvenc @ 00000000029f58c0] No NVENC capable devices found
FFmpegのソース(libavcodec/nvenc.c)によれば、GeForce GTX 980 TiではYUV444PフォーマットのHEVCエンコードをサポートしないようです。
オプション-pix_fmt yuv420p
で画像フォーマットをYUV444P→YUV420Pに変換すれば動くかもしれません。
ffmpeg -i a1.mov -pix_fmt yuv420p -vcodec hevc_nvenc -b:v 7.45M -f mp4 a.mp4
投稿
-
回答の評価を上げる
以下のような回答は評価を上げましょう
- 正しい回答
- わかりやすい回答
- ためになる回答
評価が高い回答ほどページの上位に表示されます。
-
回答の評価を下げる
下記のような回答は推奨されていません。
- 間違っている回答
- 質問の回答になっていない投稿
- スパムや攻撃的な表現を用いた投稿
評価を下げる際はその理由を明確に伝え、適切な回答に修正してもらいましょう。
15分調べてもわからないことは、teratailで質問しよう!
- ただいまの回答率 88.09%
- 質問をまとめることで、思考を整理して素早く解決
- テンプレート機能で、簡単に質問をまとめられる
質問への追記・修正、ベストアンサー選択の依頼
yohhoy
2017/04/14 00:44 編集
-loglevel debug オプションを指定するとより詳細原因が分かるかもしれません。