[FFmpeg-trac] #6488(undetermined:new): Videotoolbox and VDA fail to initialize for H.264
FFmpeg
trac at avcodec.org
Sat Jun 24 11:53:43 EEST 2017
#6488: Videotoolbox and VDA fail to initialize for H.264
-------------------------------------+-------------------------------------
Reporter: macdavis | Type: defect
Status: new | Priority: normal
Component: | Version: git-
undetermined | master
Keywords: VDA | Blocked By:
Videotoolbox | Reproduced by developer: 0
Blocking: |
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Summary of the bug:
Both Videotoolbox and Vda fail to decode this video. The sample file is
attached.
How to reproduce:
{{{
% ffmpeg -hwaccel videotoolbox -i /Users/davisdai/sample.m2ts -f null -
ffmpeg version 3.3.2 Copyright (c) 2000-2017 the FFmpeg developers
built with Apple LLVM version 8.1.0 (clang-802.0.42)
configuration: --disable-debug --disable-opencl --disable-avdevice
--disable-ffplay --disable-ffprobe --disable-postproc --disable-ffserver
--disable-devices --disable-avresample --disable-indev=qtkit --disable-doc
--enable-pthreads --enable-version3 --enable-hardcoded-tables --enable-gpl
--enable-nonfree
libavutil 55. 58.100 / 55. 58.100
libavcodec 57. 89.100 / 57. 89.100
libavformat 57. 71.100 / 57. 71.100
libavfilter 6. 82.100 / 6. 82.100
libswscale 4. 6.100 / 4. 6.100
libswresample 2. 7.100 / 2. 7.100
Input #0, mpegts, from '/Users/davisdai/sample.m2ts':
Duration: 00:00:00.73, start: 1.433367, bitrate: 18888 kb/s
Program 1
Metadata:
service_name : Service01
service_provider: FFmpeg
Stream #0:0[0x100]: Video: h264 (High) ([27][0][0][0] / 0x001B),
yuv420p(tv, bt709, top first), 1920x1080 [SAR 1:1 DAR 16:9], 29.97 fps,
29.97 tbr, 90k tbn, 59.94 tbc
Stream #0:1[0x101]: Audio: ac3 ([129][0][0][0] / 0x0081), 48000 Hz,
stereo, fltp, 224 kb/s
Stream mapping:
Stream #0:0 -> #0:0 (h264 (native) -> wrapped_avframe (native))
Stream #0:1 -> #0:1 (ac3 (native) -> pcm_s16le (native))
Press [q] to stop, [?] for help
Error while decoding stream #0:0: Generic error in an external library
Output #0, null, to 'pipe:':
Metadata:
encoder : Lavf57.71.100
Stream #0:0: Video: wrapped_avframe, nv12, 1920x1080 [SAR 1:1 DAR
16:9], q=2-31, 200 kb/s, 29.97 fps, 29.97 tbn, 29.97 tbc
Metadata:
encoder : Lavc57.89.100 wrapped_avframe
Stream #0:1: Audio: pcm_s16le, 48000 Hz, stereo, s16, 1536 kb/s
Metadata:
encoder : Lavc57.89.100 pcm_s16le
Error while decoding stream #0:0: Generic error in an external library
Last message repeated 6 times
frame= 14 fps=0.0 q=-0.0 Lsize=N/A time=00:00:00.70 bitrate=N/A
speed=4.02x
video:7kB audio:132kB subtitle:0kB other streams:0kB global headers:0kB
muxing overhead: unknown
}}}
{{{
ffmpeg -hwaccel vda -i /Users/davisdai/sample.m2ts -f null -
ffmpeg version 3.3.2 Copyright (c) 2000-2017 the FFmpeg developers
built with Apple LLVM version 8.1.0 (clang-802.0.42)
configuration: --disable-debug --disable-opencl --disable-avdevice
--disable-ffplay --disable-ffprobe --disable-postproc --disable-ffserver
--disable-devices --disable-avresample --disable-indev=qtkit --disable-doc
--enable-pthreads --enable-version3 --enable-hardcoded-tables --enable-gpl
--enable-nonfree
libavutil 55. 58.100 / 55. 58.100
libavcodec 57. 89.100 / 57. 89.100
libavformat 57. 71.100 / 57. 71.100
libavfilter 6. 82.100 / 6. 82.100
libswscale 4. 6.100 / 4. 6.100
libswresample 2. 7.100 / 2. 7.100
Input #0, mpegts, from '/Users/davisdai/sample.m2ts':
Duration: 00:00:00.73, start: 1.433367, bitrate: 18888 kb/s
Program 1
Metadata:
service_name : Service01
service_provider: FFmpeg
Stream #0:0[0x100]: Video: h264 (High) ([27][0][0][0] / 0x001B),
yuv420p(tv, bt709, top first), 1920x1080 [SAR 1:1 DAR 16:9], 29.97 fps,
29.97 tbr, 90k tbn, 59.94 tbc
Stream #0:1[0x101]: Audio: ac3 ([129][0][0][0] / 0x0081), 48000 Hz,
stereo, fltp, 224 kb/s
Stream mapping:
Stream #0:0 -> #0:0 (h264 (native) -> wrapped_avframe (native))
Stream #0:1 -> #0:1 (ac3 (native) -> pcm_s16le (native))
Press [q] to stop, [?] for help
[27][0][0][0]: Unsupported pixel format: (null)
Error while processing the decoded data for stream #0:0
Conversion failed!
}}}
--
Ticket URL: <https://trac.ffmpeg.org/ticket/6488>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list