PDA

View Full Version : ffmpeg.exe crashing


spankbot
09-05-2007, 11:48 PM
When I try o convert a file ffmpeg.exe crashes, "ffmpeg.exe has encountered a problem..."

I do have two copies of these exe. Avi2DVD comes with a version of this program. Could this be the problem?

rofish
09-06-2007, 01:48 AM
I get the same thing too.

I get a really, really weird FFMPEG crash whenever I use x264. MPEG4 is fine.

Log:

VideoInfo Tool 3.0
(C) 2007 Red Kawa Inc.
http://www.redkawa.com

MediaInfoLib - v0.7.5.2

Container=AVI
FileSize=701 MiB
VideoCodec=XVID
VideoPlayTime=01:47:52.931
VideoBitrate=761 Kbps
VideoWidth=576
VideoHeight=288
VideoAspectRatio=2.000
VideoFrameRate=23.976
VideoFrameCount=155195
AudioCodec=MPA1L3
AudioBitrate=126 Kbps
AudioMode=VBR
AudioChannels=2
AudioSamplingRate=48000

AVIdwRate=10000000
AVIdwScale=417083

DONE
MSG - VideoInfo - Length: 6472s
MSG - VideoInfo - Width: 576 pixels
MSG - VideoInfo - Height: 288 pixels
MSG - VideoInfo - Aspect Ratio: 2
MSG - VideoInfo - Framerate: 23.976 fps
MSG - VideoInfo - Container: AVI
MSG - VideoInfo - Video Codec: XVID
MSG - VideoInfo - Audio Codec: MPA1L3
EXEC: C:\Program Files\Red Kawa\Video Converter 3\Tools\VideoInfo\VideoInfo.exe "C:\suprbad.avi"

VideoInfo Tool 3.0
(C) 2007 Red Kawa Inc.
http://www.redkawa.com

MediaInfoLib - v0.7.5.2

Container=AVI
FileSize=701 MiB
VideoCodec=XVID
VideoPlayTime=01:47:52.931
VideoBitrate=761 Kbps
VideoWidth=576
VideoHeight=288
VideoAspectRatio=2.000
VideoFrameRate=23.976
VideoFrameCount=155195
AudioCodec=MPA1L3
AudioBitrate=126 Kbps
AudioMode=VBR
AudioChannels=2
AudioSamplingRate=48000

AVIdwRate=10000000
AVIdwScale=417083

DONE
MSG - OS - Version: Microsoft Windows NT 5.1.2600 Service Pack 2
MSG - Converter - Version: 3.00
MSG - Converter - Profile: VideoWizard
MSG - VideoInfo - Length: 6472s
MSG - VideoInfo - Width: 576 pixels
MSG - VideoInfo - Height: 288 pixels
MSG - VideoInfo - Aspect Ratio: 2
MSG - VideoInfo - Framerate: 23.976 fps
MSG - VideoInfo - Frame Count: 155195
MSG - Converter - Automatically Generating Framerate
EXEC: C:\Program Files\Red Kawa\Video Converter 3\Tools\FFmpeg\ffmpeg.exe -y -i "C:\suprbad.avi" -f mp4 -title "suprbad" -timestamp "2007-09-06 12:26:44" -vcodec libx264 -r 24000/1001 -b 2048k -bt 2048k -bufsize 2500k -maxrate 2500k -g 250 -coder 0 -acodec libfaac -ac 2 -ab 128k "C:\ATI\suprbad.mp4"

As an added bonus, here's the ffmpeg.exe log when run on it's own:

C:\Documents and Settings\Ryan>"C:\Program Files\Red Kawa\Video Converter 3\Tool
s\FFmpeg\ffmpeg.exe" -y -i "C:\suprbad.avi" -f mp4 -title "suprbad" -timestamp "
2007-09-06 12:26:44" -vcodec libx264 -r 24000/1001 -b 2048k -bt 2048k -bufsize 2
500k -maxrate 2500k -g 250 -coder 0 -acodec libfaac -ac 2 -ab 128k "C:\ATI\suprb
ad.mp4"
FFmpeg version SVN-r9494, Copyright (c) 2000-2007 Fabrice Bellard, et al.
configuration: --enable-gpl --enable-pp --enable-swscaler --enable-pthreads --
enable-liba52 --enable-avisynth --enable-libamr-nb --enable-libamr-wb --enable-l
ibfaac --enable-libfaad --enable-libgsm --enable-libmp3lame --enable-libnut --en
able-libogg --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libx
vid --cpu=i686 --enable-memalign-hack --extra-ldflags=-static
libavutil version: 49.4.1
libavcodec version: 51.40.4
libavformat version: 51.12.1
built on Jul 6 2007 14:54:47, gcc: 4.2.0

Seems stream 0 codec frame rate differs from container frame rate: 23.98 (65535/
2733) -> 23.98 (10000000/417083)
Input #0, avi, from 'C:\suprbad.avi':
Duration: 01:47:52.9, start: 0.000000, bitrate: 907 kb/s
Stream #0.0: Video: mpeg4, yuv420p, 576x288, 23.98 fps(r)
Stream #0.1: Audio: mp3, 48000 Hz, stereo, 96 kb/s
Output #0, mp4, to 'C:\ATI\suprbad.mp4':
Stream #0.0: Video: libx264, yuv420p, 576x288, q=2-31, 2048 kb/s, 23.98 fps(c)

Stream #0.1: Audio: libfaac, 48000 Hz, stereo, 128 kb/s
Stream mapping:
Stream #0.0 -> #0.0
Stream #0.1 -> #0.1
[libx264 @ 009C6B00]using SAR=1/1
[libx264 @ 009C6B00]using cpu capabilities: MMX MMXEXT SSE SSE2 3DNow!
Press [q] to stop encoding

C:\Documents and Settings\Ryan>

Red Kawa
09-06-2007, 09:11 AM
This is a very odd error as it occurs on some machines and not on others. We are able to convert H.264 on our main development machines (XP) fine using the version of ffmpeg included in v3. However, when we tried to convert to H.264 on a friend's PC we ran into this exact issue. What's even more odd is that MPEG-4 conversions run fine on these "problem PCs" as rofish stated.

We are currently looking into the problem.

spankbot,
What type and model of CPU do you have?

Red Kawa
09-06-2007, 02:57 PM
This issue should now be fixed in version 3.01.

http://www.redkawa.com/forums/showthread.php?t=2768