Crashing when encoding to PNG on Win64

Questions involving a Windows version of FFmpeg.
Post Reply
bagel63
Posts: 1
Joined: Fri Oct 20, 2017 5:20 am

Crashing when encoding to PNG on Win64

Post by bagel63 » Fri Oct 20, 2017 6:09 am

Hello,
On the most recent Win64 build, 20171016-7480f2, I am getting crashes when attempting to convert any image to PNG. The crashes do not seem to occur on the Win32 build, or on linux. The following is the command used as well as the output before crashing:

Code: Select all

PS D:\Desktop\sample> .\ffmpeg-20171016-7480f23-win64-static\bin\ffmpeg.exe -i "01.jpg" "02.png"    
ffmpeg version N-87871-g7480f232d2 Copyright (c) 2000-2017 the FFmpeg developers                    
  built with gcc 7.2.0 (GCC)                                                                        
  configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-bzlib --enable-fontconfig --e
nable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libfreetype --enable-libmp3l
ame --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --en
able-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-lib
x264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --e
nable-libvidstab --enable-libvorbis --enable-cuda --enable-cuvid --enable-d3d11va --enable-nvenc --e
nable-dxva2 --enable-avisynth --enable-libmfx                                                       
  libavutil      55. 79.100 / 55. 79.100                                                            
  libavcodec     57.108.100 / 57.108.100                                                            
  libavformat    57. 84.100 / 57. 84.100                                                            
  libavdevice    57. 11.100 / 57. 11.100                                                            
  libavfilter     6.108.100 /  6.108.100                                                            
  libswscale      4.  9.100 /  4.  9.100                                                            
  libswresample   2. 10.100 /  2. 10.100                                                            
  libpostproc    54.  8.100 / 54.  8.100                                                            
Input #0, image2, from '01.jpg':                                                                    
  Duration: 00:00:00.04, start: 0.000000, bitrate: 4975 kb/s                                        
    Stream #0:0: Video: mjpeg, yuvj420p(pc, bt470bg/unknown/unknown), 435x321 [SAR 1:1 DAR 145:107],
 25 tbr, 25 tbn, 25 tbc                                                                             
Stream mapping:                                                                                     
  Stream #0:0 -> #0:0 (mjpeg (native) -> png (native))                                              
Press [q] to stop, [?] for help                                                                     
[swscaler @ 0000000000628be0] deprecated pixel format used, make sure you did set range correctly   
Output #0, image2, to '02.png':                                                                     
  Metadata:                                                                                         
    encoder         : Lavf57.84.100                                                                 
    Stream #0:0: Video: png, rgb24, 435x321 [SAR 1:1 DAR 145:107], q=2-31, 200 kb/s, 25 fps, 25 tbn,
 25 tbc                                                                                             
    Metadata:                                                                                       
      encoder         : Lavc57.108.100 png                                                          

ftouvet
Posts: 1
Joined: Mon Oct 30, 2017 11:16 am

Re: Crashing when encoding to PNG on Win64

Post by ftouvet » Mon Oct 30, 2017 11:22 am

Hello, I have the very same problem even when trying to make a png out of another png. I can provide the backtrace if necessary.

User avatar
Zeranoe
Site Admin
Posts: 703
Joined: Sat May 07, 2011 7:12 pm
Contact:

Re: Crashing when encoding to PNG on Win64

Post by Zeranoe » Tue Oct 31, 2017 7:19 pm

This has been fixed in 20171031-88c7aa1, sorry about that.

Post Reply
'