#588: FFmpeg crashes when transcoding a wmv video on windows 7 (64 bit) machine ---------------------------------------+--------------------------------- Reporter: eiljoe | Owner: michael Type: defect | Status: new Priority: critical | Component: FFmpeg Version: unspecified | Keywords: Blocked By: | Blocking: Reproduced by developer: 0 | Analyzed by developer: 0 ---------------------------------------+--------------------------------- Any attemot to transcode the movie file ffmpeg-crash-around-frame-60.wmv, which was uploaded to http://upload.ffmpeg.org/upload/, causes ffmpeg to crash around frame 60. This happens on a 64bit windows7 machine running ffmpeg downloaded from http://ffmpeg.zeranoe.com/builds/win32/static/ffmpeg- git-d049257-win32-static.7z as well as earlier versions of ffmpeg (like ffmpeg version N-31932-g41bf67d, built on Aug 16 2011 18:54:12 with gcc 4.6.1). Any of the following commands replicates the crash:
ffmpeg.exe -i ffmpeg-crash-around-frame-60.wmv -y video.wmv ffmpeg.exe -i ffmpeg-crash-around-frame-60.wmv -y video.mp4 ffmpeg.exe -i ffmpeg-crash-around-frame-60.wmv -vcodec libx264 -s 960x540 -r 25 -ar 22050 -b 1993846 -y video.flv You can also download the original, full sized, video (around 50MB) from our servers at: http://media.webcollage.net/rwvfp/wc/cp/3493374/module/instantupdatetest/_cp/products/1318977439061 /tab-da6bd996-030a-4d8d-b4a7-105c57117116/resource-3c1aaa56-90fd- 4fb5-9383-e0606761a4ca.wmv Note: ffplay does play the movie to its end. Running ffmpeg -v 9 -loglevel 99 -i on the movie produces the following output: ffmpeg version N-33818-gd049257, Copyright (c) 2000-2011 the FFmpeg developers built on Oct 19 2011 22:57:39 with gcc 4.6.1 configuration: --enable-gpl --enable-version3 --enable-runtime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r --enable-libopencore- amrnb --enable-libopencore-amrwb --enable-libfreetype --enable-libgsm --enable-libmp3lame --enable-libopenjpeg --enable-librtmp --enable- libschroedinger --enable-libspeex --enable-libtheora --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable- libx264 --enable-libxavs --enable-libxvid --enable-zlib libavutil 51. 22. 0 / 51. 22. 0 libavcodec 53. 22. 0 / 53. 22. 0 libavformat 53. 17. 0 / 53. 17. 0 libavdevice 53. 4. 0 / 53. 4. 0 libavfilter 2. 44. 1 / 2. 44. 1 libswscale 2. 1. 0 / 2. 1. 0 libpostproc 51. 2. 0 / 51. 2. 0 [asf @ 00378960] Format asf probed with size=2048 and score=100 [asf @ 00378960] gpos mismatch our pos=24, end=26 [asf @ 00378960] gpos mismatch our pos=24, end=3541 [asf @ 00378960] gpos mismatch our pos=24, end=38 [asf @ 00378960] Unsupported value type 1 in tag ASFLeakyBucketPairs. [asf @ 00378960] gpos mismatch our pos=24, end=246 [asf @ 00378960] gpos mismatch our pos=24, end=38 [wmav2 @ 00379580] Unsupported bit depth: 0 [wmv2 @ 0037F980] Unsupported bit depth: 0 [asf @ 00378960] parser not found for codec wmav2, packets or times may be invalid. [asf @ 00378960] All info found rfps: 0.083333 0.001480 Last message repeated 1 times rfps: 0.166667 0.005922 Last message repeated 1 times rfps: 0.250000 0.013324 rfps: 24.750000 0.013445 rfps: 24.833333 0.006008 Last message repeated 1 times rfps: 24.916667 0.001531 Last message repeated 1 times rfps: 25.000000 0.000015 rfps: 25.083333 0.001460 Last message repeated 1 times rfps: 25.166667 0.005866 Last message repeated 1 times rfps: 25.250000 0.013233 rfps: 49.750000 0.013597 rfps: 49.833333 0.006124 Last message repeated 1 times rfps: 49.916667 0.001612 Last message repeated 1 times rfps: 50.000000 0.000061 Last message repeated 1 times rfps: 50.083333 0.001471 Last message repeated 1 times rfps: 50.166667 0.005841 Last message repeated 1 times rfps: 50.250000 0.013173 Seems stream 1 codec frame rate differs from container frame rate: 1000.00 (1000/1) -> 25.00 (25/1) Input #0, asf, from 'ffmpeg-crash-around-frame-60.wmv': Metadata: WMFSDKVersion : 11.0.5721.5245 WMFSDKNeeded : 0.0.0.0000 IsVBR : 1 VBR Peak : 84640.0000 Buffer Average : 85140.0000 Encoded_By : Sorenson Squeeze Encoded_With : Sorenson Squeeze Duration: 00:01:20.02, start: 0.000000, bitrate: 307 kb/s Stream #0:0, 9, 1/1000: Audio: wmav2 (a[1][0][0] / 0x0161), 48000 Hz, 2 channels, s16, 128 kb/s Stream #0:1, 41, 1/1000: Video: wmv2 (WMV2 / 0x32564D57), yuv420p, 1280x720, 1/1000, 18000 kb/s, 25 tbr, 1k tbn, 1k tbc At least one output file must be specified -- Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/588> FFmpeg <http://ffmpeg.org> FFmpeg issue tracker _______________________________________________ FFmpeg-trac mailing list FFmpeg-trac@avcodec.org http://avcodec.org/mailman/listinfo/ffmpeg-trac