[FFmpeg-trac] #423(undetermined:open): ffmpeg.exe MOV to WebM x64 crash
FFmpeg
trac at avcodec.org
Fri Oct 14 02:10:15 CEST 2011
#423: ffmpeg.exe MOV to WebM x64 crash
-------------------------------------+-------------------------------------
Reporter: mrgenie | Owner: michael
Type: defect | Status: open
Priority: important | Component:
Version: unspecified | undetermined
Keywords: webM x64 | Resolution:
crash | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Comment (by mbradshaw):
I too am having this problem. It's not just with MOV files, as the same
thing happened with an MP4 file as well. I was trying to encode a video
to VP8/OGG/WebM and ffmpeg crashed. I have attached two files that were
generated by Windows from the crash. One describes my computer setup, and
the other describes some information about the state of FFmpeg. I have
another crash dump file, but it's ~7MB, so it's a little too big to upload
here with the file size limit.
'''Here is the exact output from the console, including my exact
command:'''
C:\Users\mbradshaw\Projects\smicomp\Windows>ffmpeg -i
"../samples/sample_sorens
on.mov" -t 10 -ab 45000 -ar 48000 -acodec libvorbis -b:v 362000 -quality
best -t
hreads 2 -error-resilient default -nr 0 -vcodec libvpx -f webm -ac 1
-channel_la
yout 4 -vf "scale=177:224" -minrate 362000 -maxrate 362000 -bufsize 362000
-rc_i
nit_occupancy 2172000 -y "ffmpeg_output.webm"
ffmpeg version N-33591-gf884ef0, Copyright (c) 2000-2011 the FFmpeg
developers
built on Oct 13 2011 02:26:50 with gcc 4.6.1
configuration: --enable-gpl --enable-version3 --enable-runtime-cpudetect
--ena
ble-avisynth --enable-bzlib --enable-frei0r --enable-libopencore-amrnb
--enable-
libopencore-amrwb --enable-libfreetype --enable-libgsm --enable-libmp3lame
--ena
ble-libopenjpeg --enable-librtmp --enable-libschroedinger --enable-
libspeex --en
able-libtheora --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-
libvorbis
--enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid
--enable-zlib
libavutil 51. 21. 0 / 51. 21. 0
libavcodec 53. 20. 1 / 53. 20. 1
libavformat 53. 15. 0 / 53. 15. 0
libavdevice 53. 4. 0 / 53. 4. 0
libavfilter 2. 43. 6 / 2. 43. 6
libswscale 2. 1. 0 / 2. 1. 0
libpostproc 51. 2. 0 / 51. 2. 0
Seems stream 0 codec frame rate differs from container frame rate: 600.00
(600/1
) -> 12.00 (12/1)
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '../samples/sample_sorenson.mov':
Metadata:
creation_time : 2001-02-19 16:45:54
title : QuickTime Sample Movie
title-eng : QuickTime Sample Movie
copyright : -¬ Apple Computer, Inc. 2001
copyright-eng : -¬ Apple Computer, Inc. 2001
Duration: 00:00:05.00, start: 0.000000, bitrate: 131 kb/s
Stream #0:0(eng): Video: svq1 (SVQ1 / 0x31515653), yuv410p, 190x240,
97 kb/s
, 12 fps, 12 tbr, 600 tbn, 600 tbc
Metadata:
creation_time : 2001-02-19 16:45:54
Stream #0:1(eng): Audio: qdm2 (QDM2 / 0x324D4451), 22050 Hz, 2
channels, s16
, 32 kb/s
Metadata:
creation_time : 2001-02-19 16:45:54
Incompatible pixel format 'yuv410p' for codec 'libvpx', auto-selecting
format 'y
uv420p'
[buffer @ 000000000034A5A0] w:190 h:240 pixfmt:yuv410p tb:1/1000000
sar:0/1 sws_
param:
[scale @ 00000000002E2890] w:190 h:240 fmt:yuv410p -> w:177 h:224
fmt:yuv420p fl
ags:0x4
[libvpx @ 00000000002DFFD0] v0.9.7-p1
Output #0, webm, to 'ffmpeg_output.webm':
Metadata:
creation_time : 2001-02-19 16:45:54
title : QuickTime Sample Movie
title-eng : QuickTime Sample Movie
copyright : -¬ Apple Computer, Inc. 2001
copyright-eng : -¬ Apple Computer, Inc. 2001
encoder : Lavf53.15.0
Stream #0:0(eng): Video: vp8, yuv420p, 177x224, q=-1--1, 362 kb/s, 1k
tbn, 1
2 tbc
Metadata:
creation_time : 2001-02-19 16:45:54
Stream #0:1(eng): Audio: vorbis, 48000 Hz, mono, s16, 45 kb/s
Metadata:
creation_time : 2001-02-19 16:45:54
Stream mapping:
Stream #0.0 -> #0.0 (svq1 -> libvpx)
Stream #0.1 -> #0.1 (qdm2 -> libvorbis)
Press [q] to stop, [?] for help
[SWR @ 0000000004959BF0] Input channel layout has a different number of
channels
than there actually is, ignoring layout
C:\Users\mbradshaw\Projects\smicomp\Windows>
----
'''Here is the exact output from FFmpeg about the details for the input
video:'''
C:\Users\mbradshaw\Projects\smicomp\Windows>ffmpeg -v 9 -loglevel 99 -i
..\sampl
es\sample_sorenson.mov
ffmpeg version N-33591-gf884ef0, Copyright (c) 2000-2011 the FFmpeg
developers
built on Oct 13 2011 02:26:50 with gcc 4.6.1
configuration: --enable-gpl --enable-version3 --enable-runtime-cpudetect
--ena
ble-avisynth --enable-bzlib --enable-frei0r --enable-libopencore-amrnb
--enable-
libopencore-amrwb --enable-libfreetype --enable-libgsm --enable-libmp3lame
--ena
ble-libopenjpeg --enable-librtmp --enable-libschroedinger --enable-
libspeex --en
able-libtheora --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-
libvorbis
--enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid
--enable-zlib
libavutil 51. 21. 0 / 51. 21. 0
libavcodec 53. 20. 1 / 53. 20. 1
libavformat 53. 15. 0 / 53. 15. 0
libavdevice 53. 4. 0 / 53. 4. 0
libavfilter 2. 43. 6 / 2. 43. 6
libswscale 2. 1. 0 / 2. 1. 0
libpostproc 51. 2. 0 / 51. 2. 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 000000000032CFF0] Format
mov,mp4,m4a,3gp,3g2,mj2 prob
ed with size=2048 and score=100
[svq1 @ 0000000001B28390] Unsupported bit depth: 0
[qdm2 @ 0000000001B37130] size: 36
init done
Seems stream 0 codec frame rate differs from container frame rate: 600.00
(600/1
) -> 12.00 (12/1)
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '..\samples\sample_sorenson.mov':
Metadata:
creation_time : 2001-02-19 16:45:54
title : QuickTime Sample Movie
title-eng : QuickTime Sample Movie
copyright : -¬ Apple Computer, Inc. 2001
copyright-eng : -¬ Apple Computer, Inc. 2001
Duration: 00:00:05.00, start: 0.000000, bitrate: 131 kb/s
Stream #0:0(eng), 60, 1/600: Video: svq1 (SVQ1 / 0x31515653), yuv410p,
190x2
40, 1/600, 97 kb/s, 12 fps, 12 tbr, 600 tbn, 600 tbc
Metadata:
creation_time : 2001-02-19 16:45:54
Stream #0:1(eng), 53, 1/22050: Audio: qdm2 (QDM2 / 0x324D4451), 22050
Hz, 2
channels, s16, 32 kb/s
Metadata:
creation_time : 2001-02-19 16:45:54
At least one output file must be specified
C:\Users\mbradshaw\Projects\smicomp\Windows>
----
I will try to look into this more, particularly using the vpxenc.exe (x64
version). I do not have this problem when using FFmpeg x86 version. Only
with the FFmpeg x64 version. I also do not have this problem on OS X 10.6
or Ubuntu 11. I am using FFmpeg-git-f884ef0-64-bit-Static (from
2011-10-13) from the Zeranoe builds.
The input video in this part comes from a QuickTime sample from the iTunes
website. I will attach it.
vpxenc.exe also produces snow for my input video. The length is
approximately equal to that of the input video. I haven't used vpxenc.exe
very much though, so I need to test it more and make sure that the snow
isn't being caused by me passing in crappy parameters. I'm more familiar
with FFmpeg.
I don't have any gdb output from ffmpeg_g, as I don't have ffmpeg_g.exe.
If I had it, I would be happy to produce some gdb output.
Thanks for making a great program; I hope that this can get resolved
(whether it's WebM team's problem or FFmpeg's), as it could cause some
problems with encoding on some of our servers that we use.
If there is any additional information I can provide, please let me know.
--
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/423#comment:9>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list