Opened 4 weeks ago

Closed 3 weeks ago

#6786 closed defect (invalid)

palettegen crashes instantly on windows 10 x64

Reported by: snippet Owned by:
Priority: normal Component: undetermined
Version: git-master Keywords:
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Attached sample video and report log

I recorded a mp4 in OBS and want to convert it into a gif by first using

ffmpeg.exe -i 'sample.mp4' -filter_complex "scale=w=480:h=-1:flags
=lanczos, palettegen=stats_mode=diff" -report palette.png

But it crashes shortly after running that command

Attachments (2)

ffmpeg-20171029-111037.log (239.5 KB) - added by snippet 4 weeks ago.
Report Log
sample.mp4 (318.2 KB) - added by snippet 4 weeks ago.
sample video which reproduces it

Download all attachments as: .zip

Change History (5)

Changed 4 weeks ago by snippet

Report Log

Changed 4 weeks ago by snippet

sample video which reproduces it

comment:1 Changed 4 weeks ago by cehoyos

Please provide backtrace, disassembly and register dump.

comment:2 Changed 4 weeks ago by jamrial

Seems to work here on Win10 x64 (Falls Creator build).
Try again with an up to date git head build.

$ ./ffmpeg.exe -i ../sample.mp4 -filter_complex "scale=w=480:h=-1:flags=lanczos, palettegen=stats_mode=diff" -report palette.png
ffmpeg started on 2017-10-28 at 22:00:59
Report written to "ffmpeg-20171028-220059.log"
ffmpeg version N-88254-g1da8c4ec85 Copyright (c) 2000-2017 the FFmpeg developers
  built with gcc 7.2.0 (Rev1, Built by MSYS2 project)
  configuration: --enable-gpl --extra-cflags='-D_WIN32_WINNT=0x0602' --cc='ccache gcc' --prefix=/mingw64
  libavutil      56.  0.100 / 56.  0.100
  libavcodec     58.  1.100 / 58.  1.100
  libavformat    58.  0.101 / 58.  0.101
  libavdevice    58.  0.100 / 58.  0.100
  libavfilter     7.  0.101 /  7.  0.101
  libswscale      5.  0.100 /  5.  0.100
  libswresample   3.  0.100 /  3.  0.100
  libpostproc    55.  0.100 / 55.  0.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '../sample.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf57.84.100
  Duration: 00:00:11.15, start: 0.000000, bitrate: 233 kb/s
    Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt470bg/unknown/unknown), 1280x720 [SAR 1:1 DAR 16:9], 143 kb/s, 60 fps, 60 tbr, 15360 tbn, 120 tbc (default)
    Metadata:
      handler_name    : VideoHandler
    Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 76 kb/s (default)
    Metadata:
      handler_name    : SoundHandler
Stream mapping:
  Stream #0:0 (h264) -> scale
  palettegen -> Stream #0:0 (png)
Press [q] to stop, [?] for help
Output #0, image2, to 'palette.png':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf58.0.101
    Stream #0:0: Video: png, rgba, 16x16 [SAR 1:1 DAR 1:1], q=2-31, 200 kb/s, 60 fps, 60 tbn, 60 tbc (default)
    Metadata:
      encoder         : Lavc58.1.100 png
[Parsed_palettegen_1 @ 0000000004caec00] 255(+1) colors generated out of 14581 colors; ratio=0.017489
[Parsed_palettegen_1 @ 0000000004caec00] Dupped color: FFFEFCFE
frame=    1 fps=0.8 q=-0.0 Lsize=N/A time=00:00:00.01 bitrate=N/A speed=0.0135x
video:1kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown

comment:3 Changed 3 weeks ago by cehoyos

  • Resolution set to invalid
  • Status changed from new to closed

Please reopen if this was not a Zeranoe-specific issue.

Note: See TracTickets for help on using tickets.