Opened 16 months ago

Last modified 7 months ago

#6464 new defect

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)

akiyo_qci_480.mp4 (211.8 KB) - added by ponpon 16 months ago.

Download all attachments as: .zip

Change History (3)

Changed 16 months ago by ponpon

comment:1 Changed 16 months ago by cehoyos

  • Keywords vda regression added
  • Priority changed from normal to important
  • Version changed from unspecified to git-master

comment:2 Changed 7 months ago by ponpon

This is fixed in the git master.
I dont know which ticket fixes this.
Please close this ticket.

Note: See TracTickets for help on using tickets.