#6464 closed defect (fixed)
videotoolbox decoding error
Reported by: | ponpon | Owned by: | |
---|---|---|---|
Priority: | important | Component: | undetermined |
Version: | git-master | Keywords: | vda regression |
Cc: | Blocked By: | ||
Blocking: | Reproduced by developer: | no | |
Analyzed by developer: | no |
Description
thank you for good apps
i face at a videotoolbox decoding error. it is "Error while decoding stream #0:0: Generic error in an external library". i don't know a relationship with ticket #6449.
this error generates since commit 14bb15bfd56d6e907fabe4620206c1ee152b7a20 of 2017-03-21. This error don't arise in the parental commit c358c62550e60a150c49f192d72631142a6eedd6 of 2017-03-21.
the log of master
ffmpeg -hwaccel videotoolbox -i akiyo_qci_480.mp4 -f null - ffmpeg version N-86447-gfeb13aed79 Copyright (c) 2000-2017 the FFmpeg developers built with clang version 3.9.1 (tags/RELEASE_391/final) configuration: --prefix=/sw --disable-shared --enable-static --enable-gpl --enable-version3 --enable-nonfree --enable-pthreads --optflags=-Ofast --cc=clang-mp-3.9 --cxx=clang++-mp-3.9 --extra-cflags=' -march=native -I/sw/include -I/opt/local/include ' --extra-ldflags=' -L/sw/lib -L/opt/local/lib -fopenmp' --extra-ldlibflags='-L/sw/lib -L/opt/local/lib -static' --target-os=darwin --arch=x86_64 --cpu=corei7-avx --enable-avresample --enable-libfdk-aac --enable-libmp3lame --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libopenjpeg --enable-libopus --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libxvid --enable-libfreetype --enable-libtesseract --enable-openssl --enable-gnutls --enable-gcrypt --enable-gmp --enable-librtmp --enable-libass --enable-fontconfig --enable-libfribidi --enable-libbluray --enable-libdc1394 --enable-libmodplug --enable-lzma --enable-libx264 --enable-libx265 --enable-libzimg --enable-libvidstab --enable-libsoxr --enable-libsmbclient --enable-libcdio --enable-opengl --enable-opencl --pkg-config-flags=' --libs --static' libavutil 55. 63.100 / 55. 63.100 libavcodec 57. 98.100 / 57. 98.100 libavformat 57. 73.100 / 57. 73.100 libavdevice 57. 7.100 / 57. 7.100 libavfilter 6. 92.100 / 6. 92.100 libavresample 3. 6. 0 / 3. 6. 0 libswscale 4. 7.101 / 4. 7.101 libswresample 2. 8.100 / 2. 8.100 libpostproc 54. 6.100 / 54. 6.100 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'akiyo_qci_480.mp4': Metadata: major_brand : isom minor_version : 512 compatible_brands: isomiso2avc1mp41 encoder : Lavf57.73.100 Duration: 00:00:10.01, start: 0.000000, bitrate: 173 kb/s Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 588x480 [SAR 2373:2174 DAR 116277:86960], 169 kb/s, SAR 32590:29857 DAR 159691:119428, 29.97 fps, 29.97 tbr, 30k tbn, 59.94 tbc (default) Metadata: handler_name : VideoHandler Stream mapping: Stream #0:0 -> #0:0 (h264 (native) -> wrapped_avframe (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: major_brand : isom minor_version : 512 compatible_brands: isomiso2avc1mp41 encoder : Lavf57.73.100 Stream #0:0(und): Video: wrapped_avframe, nv12, 584x480 [SAR 32590:29857 DAR 3259:2454], q=2-31, 200 kb/s, 29.97 fps, 29.97 tbn, 29.97 tbc (default) Metadata: handler_name : VideoHandler encoder : Lavc57.98.100 wrapped_avframe Error while decoding stream #0:0: Generic error in an external library Last message repeated 148 times Error while decoding stream #0:0: Generic error in an external library= 17x Last message repeated 22 times frame= 127 fps=0.0 q=-0.0 Lsize=N/A time=00:00:09.90 bitrate=N/A speed=17.6x video:65kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
the log of 14bb15bfd56d6e907fabe4620206c1ee152b7a20
ffmpeg -hwaccel videotoolbox -i "/Volumes/Ramdisk/akiyo_qci_480.mp4" -f null - ffmpeg version N-84301-g14bb15bfd5 Copyright (c) 2000-2017 the FFmpeg developers built with Apple LLVM version 8.1.0 (clang-802.0.42) configuration: 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 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/Volumes/Ramdisk/akiyo_qci_480.mp4': Metadata: major_brand : isom minor_version : 512 compatible_brands: isomiso2avc1mp41 encoder : Lavf57.73.100 Duration: 00:00:10.01, start: 0.000000, bitrate: 173 kb/s Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 588x480 [SAR 2373:2174 DAR 116277:86960], 169 kb/s, SAR 32590:29857 DAR 159691:119428, 29.97 fps, 29.97 tbr, 30k tbn, 59.94 tbc (default) Metadata: handler_name : VideoHandler Stream mapping: Stream #0:0 -> #0:0 (h264 (native) -> wrapped_avframe (native)) Press [q] to stop, [?] for help [h264 @ 0x7fbdbe80fc00] Hardware accelerated decoding with frame threading is known to be unstable and its use is discouraged. Error while decoding stream #0:0: Generic error in an external library Output #0, null, to 'pipe:': Metadata: major_brand : isom minor_version : 512 compatible_brands: isomiso2avc1mp41 encoder : Lavf57.66.105 Stream #0:0(und): Video: wrapped_avframe, nv12, 588x480 [SAR 32590:29857 DAR 159691:119428], q=2-31, 200 kb/s, 29.97 fps, 29.97 tbn, 29.97 tbc (default) Metadata: handler_name : VideoHandler encoder : Lavc57.83.101 wrapped_avframe Error while decoding stream #0:0: Generic error in an external library Last message repeated 230 times frame= 61 fps=0.0 q=-0.0 Lsize=N/A time=00:00:09.87 bitrate=N/A speed= 22x video:30kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown Conversion failed!
Attachments (1)
Change History (5)
by , 8 years ago
Attachment: | akiyo_qci_480.mp4 added |
---|
comment:1 by , 8 years ago
Keywords: | vda regression added |
---|---|
Priority: | normal → important |
Version: | unspecified → git-master |
comment:2 by , 7 years ago
comment:3 by , 5 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Well there is no "Generic error in an external library" message indeed. Just checked.
PS> ffmpeg.exe -hwaccel videotoolbox -i akiyo_qci_480.mp4 -f null -
ffmpeg version git-2019-11-01-53c21c2 Copyright (c) 2000-2019 the FFmpeg developers
built with gcc 9.2.1 (GCC) 20191010
configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libdav1d --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt --enable-amf
libavutil 56. 35.101 / 56. 35.101
libavcodec 58. 60.100 / 58. 60.100
libavformat 58. 33.100 / 58. 33.100
libavdevice 58. 9.100 / 58. 9.100
libavfilter 7. 66.100 / 7. 66.100
libswscale 5. 6.100 / 5. 6.100
libswresample 3. 6.100 / 3. 6.100
libpostproc 55. 6.100 / 55. 6.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'akiyo_qci_480.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf57.73.100
Duration: 00:00:10.01, start: 0.000000, bitrate: 173 kb/s
Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 588x480 [SAR 2373:2174 DAR 116277:86960], 169 kb/s, SAR 32590:29857 DAR 159691:119428, 29.97 fps, 29.97 tbr, 30k tbn, 59.94 tbc (default)
Metadata:
handler_name : VideoHandler
Device creation failed: -12.
[h264 @ 000001a3d8b9b1c0] No device available for decoder: device type videotoolbox needed for codec h264.
Stream mapping:
Stream #0:0 -> #0:0 (h264 (native) -> wrapped_avframe (native))
Device setup failed for decoder on input stream #0:0 : Cannot allocate memory
comment:4 by , 5 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
This is fixed in the git master.
I dont know which ticket fixes this.
Please close this ticket.