Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: decodeVideoFrame() failed: frame not finished #174

Open
VVatashi opened this issue Apr 18, 2019 · 1 comment
Open

Error: decodeVideoFrame() failed: frame not finished #174

VVatashi opened this issue Apr 18, 2019 · 1 comment

Comments

@VVatashi
Copy link

Hi,

I unable to create a thumbnail using ffmpegthumbnailer for the following file: https://lewd.ga/test/src/1555561354527.mp4

I'm trying to do:
ffmpegthumbnailer -s 250 -t 00:00:01 -i src/1555561354527.mp4 -o thumb/1555561354527s.jpg
And it creates empty file and outputs this error:
Error: decodeVideoFrame() failed: frame not finished

I'm using ffmpegthumbnailer 2.1.1 on debian 9.6

However I can create a thumbnail without problems using ffmpeg directly:

ffmpeg -y -ss 00:00:01 -i src/1555561354527.mp4 -vframes 1 -vf scale=w=250:h=250:force_original_aspect_ratio=decrease thumb/1555561354527s.jpg

ffmpeg version 3.2.12-1~deb9u1 Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 6.3.0 (Debian 6.3.0-18+deb9u1) 20170516
  configuration: --prefix=/usr --extra-version='1~deb9u1' --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --enable-gpl --disable-stripping --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libebur128 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmp3lame --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libopencv --enable-libx264 --enable-shared
  libavutil      55. 34.101 / 55. 34.101
  libavcodec     57. 64.101 / 57. 64.101
  libavformat    57. 56.101 / 57. 56.101
  libavdevice    57.  1.100 / 57.  1.100
  libavfilter     6. 65.100 /  6. 65.100
  libavresample   3.  1.  0 /  3.  1.  0
  libswscale      4.  2.100 /  4.  2.100
  libswresample   2.  3.100 /  2.  3.100
  libpostproc    54.  1.100 / 54.  1.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'src/1555561354527.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf57.83.100
  Duration: 00:00:10.02, start: 0.000000, bitrate: 452 kb/s
    Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 276x500 [SAR 625:621 DAR 5:9], 317 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc (default)
    Metadata:
      handler_name    : VideoHandler
    Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 128 kb/s (default)
    Metadata:
      handler_name    : SoundHandler
[swscaler @ 0x557dce8825c0] deprecated pixel format used, make sure you did set range correctly
Output #0, image2, to 'thumb/1555561354527s.jpg':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf57.56.101
    Stream #0:0(und): Video: mjpeg, yuvj420p(pc), 138x250 [SAR 625:621 DAR 5:9], q=2-31, 200 kb/s, 25 fps, 25 tbn, 25 tbc (default)
    Metadata:
      handler_name    : VideoHandler
      encoder         : Lavc57.64.101 mjpeg
    Side data:
      cpb: bitrate max/min/avg: 0/0/200000 buffer size: 0 vbv_delay: -1
Stream mapping:
  Stream #0:0 -> #0:0 (h264 (native) -> mjpeg (native))
Press [q] to stop, [?] for help
frame=    1 fps=0.0 q=2.9 Lsize=N/A time=00:00:00.04 bitrate=N/A speed=1.75x    
video:4kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
@Tamaranch
Copy link

Same error with this file: https://gitlab.xfce.org/xfce/tumbler/uploads/ac9ce7245447ff8e170ee70577f85c82/opus_WITH_COVER.mkv

I can't create a thumbnail with the above command though.
Downstream report: https://gitlab.xfce.org/xfce/tumbler/-/issues/35

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants