[FFmpeg-trac] #7987(undetermined:reopened): 5K Video File - Videotoolbox Fails [ffmpeg/video] h264: Failed setup for format videotoolbox_vld: hwaccel initialisation returned error.
FFmpeg
trac at avcodec.org
Wed Jul 3 23:30:33 EEST 2019
#7987: 5K Video File - Videotoolbox Fails [ffmpeg/video] h264: Failed setup for
format videotoolbox_vld: hwaccel initialisation returned error.
-------------------------------------+-------------------------------------
Reporter: Sovon | Owner:
Type: defect | Status: reopened
Priority: normal | Component:
| undetermined
Version: git-master | Resolution:
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Comment (by Sovon):
Replying to [comment:5 cehoyos]:
> Does the command line work for other samples?
== Another file ==
It's a h264 encoded movie, Dumbo 1080p. '''Mediainfo:'''
{{{
General
Complete name :
/Users/sovonhalder/Downloads/Dumbo (2019) [BluRay] [1080p]
[YTS.LT]/Dumbo.2019.1080p.BluRay.x264-[YTS.LT].mp4
Format : MPEG-4
Format profile : Base Media
Codec ID : isom (isom/iso2/avc1/mp41)
File size : 1.79 GiB
Duration : 1h 51mn
Overall bit rate : 2 291 Kbps
Writing application : Lavf58.19.100
Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High at L4.1
Format settings : CABAC / 4 Ref Frames
Format settings, CABAC : Yes
Format settings, ReFrames : 4 frames
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 1h 51mn
Bit rate : 2 150 Kbps
Width : 1 920 pixels
Height : 1 040 pixels
Display aspect ratio : 1.85:1
Frame rate mode : Constant
Frame rate : 23.976 (24000/1001) fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.045
Stream size : 1.68 GiB (94%)
Writing library : x264 core 157
Encoding settings : cabac=1 / ref=4 /
deblock=1:-1:-1 / analyse=0x3:0x133 / me=umh / subme=9 / psy=1 /
psy_rd=1.00:0.15 / mixed_ref=1 / me_range=24 / chroma_me=1 / trellis=2 /
8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=0 / chroma_qp_offset=-3 /
threads=18 / lookahead_threads=1 / sliced_threads=0 / nr=0 / decimate=1 /
interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 /
b_pyramid=2 / b_adapt=2 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 /
weightp=2 / keyint=250 / keyint_min=23 / scenecut=40 / intra_refresh=0 /
rc_lookahead=60 / rc=2pass / mbtree=1 / bitrate=2150 / ratetol=1.0 /
qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / cplxblur=20.0 / qblur=0.5 /
vbv_maxrate=31250 / vbv_bufsize=31250 / nal_hrd=none / filler=0 /
ip_ratio=1.40 / aq=1:1.00
Audio
ID : 2
Format : AAC
Format/Info : Advanced Audio Codec
Format profile : LC
Codec ID : mp4a-40-2
Duration : 1h 51mn
Bit rate mode : Constant
Bit rate : 132 Kbps
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 48.0 KHz
Frame rate : 46.875 fps (1024 SPF)
Compression mode : Lossy
Stream size : 107 MiB (6%)
Default : Yes
Alternate group : 1
}}}
=== Command line ===
ffmpeg -hwaccel videotoolbox -loglevel verbose -i
/Users/sovonhalder/Downloads/Dumbo\ \(2019\)\ \[BluRay\]\ \[1080p\]\
\[YTS.LT\]/Dumbo.2019.1080p.BluRay.x264-\[YTS.LT\].mp4 -f null -
=== Console Output ===
{{{
Sovons-MacBook-Pro:~ sovonhalder$ ffmpeg -hwaccel videotoolbox -loglevel
verbose -i /Users/sovonhalder/Downloads/Dumbo\ \(2019\)\ \[BluRay\]\
\[1080p\]\ \[YTS.LT\]/Dumbo.2019.1080p.BluRay.x264-\[YTS.LT\].mp4 -f null
-
ffmpeg version git-2019-07-03-664a27e Copyright (c) 2000-2019 the FFmpeg
developers
built with Apple LLVM version 10.0.0 (clang-1000.10.44.4)
configuration: --prefix=/usr/local/Cellar/ffmpeg/HEAD-664a27e_1
--enable-shared --enable-pthreads --enable-version3 --enable-hardcoded-
tables --enable-avresample --cc=clang --host-
cflags=-I/System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/
--host-ldflags= --enable-ffplay --enable-gnutls --enable-gpl --enable-
libaom --enable-libbluray --enable-libmp3lame --enable-libopus --enable-
librubberband --enable-libsnappy --enable-libtesseract --enable-libtheora
--enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265
--enable-libxvid --enable-lzma --enable-libfontconfig --enable-libfreetype
--enable-frei0r --enable-libass --enable-libopencore-amrnb --enable-
libopencore-amrwb --enable-libopenjpeg --enable-librtmp --enable-libspeex
--enable-videotoolbox --disable-libjack --disable-indev=jack --enable-
libaom --enable-libsoxr
libavutil 56. 30.100 / 56. 30.100
libavcodec 58. 53.101 / 58. 53.101
libavformat 58. 28.101 / 58. 28.101
libavdevice 58. 7.100 / 58. 7.100
libavfilter 7. 56.100 / 7. 56.100
libavresample 4. 0. 0 / 4. 0. 0
libswscale 5. 4.101 / 5. 4.101
libswresample 3. 4.100 / 3. 4.100
libpostproc 55. 4.100 / 55. 4.100
[h264 @ 0x7ffe4e803a00] Reinit context to 1920x1040, pix_fmt: yuv420p
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from
'/Users/sovonhalder/Downloads/Dumbo (2019) [BluRay] [1080p]
[YTS.LT]/Dumbo.2019.1080p.BluRay.x264-[YTS.LT].mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf58.19.100
Duration: 01:51:56.59, start: 0.000000, bitrate: 2290 kb/s
Stream #0:0(und): Video: h264 (High), 1 reference frame (avc1 /
0x31637661), yuv420p(left), 1920x1040 [SAR 1:1 DAR 24:13], 2149 kb/s,
23.98 fps, 23.98 tbr, 24k tbn, 47.95 tbc (default)
Metadata:
handler_name : VideoHandler
Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz,
stereo, fltp, 134 kb/s (default)
Metadata:
handler_name : SoundHandler
Stream mapping:
Stream #0:0 -> #0:0 (h264 (native) -> wrapped_avframe (native))
Stream #0:1 -> #0:1 (aac (native) -> pcm_s16le (native))
Press [q] to stop, [?] for help
[h264 @ 0x7ffe4e00b400] Reinit context to 1920x1040, pix_fmt:
videotoolbox_vld
[graph_1_in_0_1 @ 0x7ffe4f846580] tb:1/48000 samplefmt:fltp
samplerate:48000 chlayout:0x3
[format_out_0_1 @ 0x7ffe4f846c40] auto-inserting filter 'auto_resampler_0'
between the filter 'Parsed_anull_0' and the filter 'format_out_0_1'
[auto_resampler_0 @ 0x7ffe4f8475c0] ch:2 chl:stereo fmt:fltp r:48000Hz ->
ch:2 chl:stereo fmt:s16 r:48000Hz
[graph 0 input from stream 0:0 @ 0x7ffe4f84b040] w:1920 h:1040 pixfmt:nv12
tb:1/24000 fr:24000/1001 sar:1/1 sws_param:flags=2
Output #0, null, to 'pipe:':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf58.28.101
Stream #0:0(und): Video: wrapped_avframe, 1 reference frame,
nv12(left), 1920x1040 [SAR 1:1 DAR 24:13], q=2-31, 200 kb/s, 23.98 fps,
23.98 tbn, 23.98 tbc (default)
Metadata:
handler_name : VideoHandler
encoder : Lavc58.53.101 wrapped_avframe
Stream #0:1(und): Audio: pcm_s16le, 48000 Hz, stereo, s16, 1536 kb/s
(default)
Metadata:
handler_name : SoundHandler
encoder : Lavc58.53.101 pcm_s16le
frame= 3262 fps=235 q=-0.0 Lsize=N/A time=00:02:16.19 bitrate=N/A speed=
9.8x
video:1707kB audio:25536kB subtitle:0kB other streams:0kB global
headers:0kB muxing overhead: unknown
Input file #0 (/Users/sovonhalder/Downloads/Dumbo (2019) [BluRay] [1080p]
[YTS.LT]/Dumbo.2019.1080p.BluRay.x264-[YTS.LT].mp4):
Input stream #0:0 (video): 3268 packets read (44984238 bytes); 3263
frames decoded;
Input stream #0:1 (audio): 6386 packets read (2338806 bytes); 6384
frames decoded (6537216 samples);
Total: 9654 packets (47323044 bytes) demuxed
Output file #0 (pipe:):
Output stream #0:0 (video): 3262 frames encoded; 3262 packets muxed
(1748432 bytes);
Output stream #0:1 (audio): 6384 frames encoded (6537216 samples); 6384
packets muxed (26148864 bytes);
Total: 9646 packets (27897296 bytes) muxed
[AVIOContext @ 0x7ffe4f805b40] Statistics: 53035117 bytes read, 0 seeks
Exiting normally, received signal 2.
Sovons-MacBook-Pro:~ sovonhalder$
}}}
--
Ticket URL: <https://trac.ffmpeg.org/ticket/7987#comment:6>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list