Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ffmpeg segmentation fault
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
rev138
l33t
l33t


Joined: 19 Jun 2003
Posts: 848
Location: Vermont, USA

PostPosted: Tue Jan 20, 2009 8:25 pm    Post subject: ffmpeg segmentation fault Reply with quote

I'm trying to use ffmpeg to re-encode some of my videos so I can play them on my Zen. I can run the following command successfully on one of my systems, but not on another. Both are amd64:
Code:
$ ffmpeg -i input.avi -s 320x240 -aspect 16:9 -r 24 -acodec libmp3lame -vcodec libxvid -vtag XVID -f avi -qscale 5 -g 300 -deinterlace -ab 56k -ar 24000 -async 1 output.avi
FFmpeg version SVN-r16238, Copyright (c) 2000-2008 Fabrice Bellard, et al.
  configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --mandir=/usr/share/man --enable-static --enable-shared --cc=x86_64-pc-linux-gnu-gcc --disable-debug --disable-network --disable-optimizations --enable-libfaac --enable-libmp3lame --enable-libvorbis --enable-libxvid --enable-libfaad --disable-ssse3 --disable-altivec --disable-mmx2 --cpu=k8 --disable-vhook --enable-gpl --enable-postproc --enable-avfilter --enable-avfilter-lavf --enable-swscale --disable-stripping
  libavutil     49.12. 0 / 49.12. 0
  libavcodec    52. 7. 0 / 52. 7. 0
  libavformat   52.23. 1 / 52.23. 1
  libavdevice   52. 1. 0 / 52. 1. 0
  libavfilter    0. 1. 0 /  0. 1. 0
  libswscale     0. 6. 1 /  0. 6. 1
  libpostproc   51. 2. 0 / 51. 2. 0
  built on Jan 20 2009 15:02:00, gcc: 4.1.2 (Gentoo 4.1.2 p1.1)

Seems stream 0 codec frame rate differs from container frame rate: 23.98 (65535/2733) -> 23.98 (2997003/125000)
Input #0, avi, from 'input.avi':
  Duration: 00:57:06.31, start: 0.000000, bitrate: 1348 kb/s
    Stream #0.0: Video: mpeg4, yuv420p, 624x352 [PAR 1:1 DAR 39:22], 23.98 tb(r)
    Stream #0.1: Audio: mp3, 48000 Hz, stereo, s16, 128 kb/s
Output #0, avi, to 'output.avi':
    Stream #0.0: Video: libxvid, yuv420p, 320x240 [PAR 4:3 DAR 16:9], q=2-31, 200 kb/s, 24.00 tb(c)
    Stream #0.1: Audio: libmp3lame, 24000 Hz, stereo, s16, 56 kb/s
Stream mapping:
  Stream #0.0 -> #0.0
  Stream #0.1 -> #0.1
Press [q] to stop encoding
Segmentation fault

Any ideas on what might be the problem?

Thanks.
_________________
Vermont Free PC
http://www.vtfreepc.org
Back to top
View user's profile Send private message
ChrisJumper
Advocate
Advocate


Joined: 12 Mar 2005
Posts: 2390
Location: Germany

PostPosted: Wed Jan 21, 2009 9:11 pm    Post subject: Reply with quote

Segmentation fault?

I would check your Hardware. CPU-Cooling, Memory.. and so on.
Back to top
View user's profile Send private message
rev138
l33t
l33t


Joined: 19 Jun 2003
Posts: 848
Location: Vermont, USA

PostPosted: Wed Jan 21, 2009 10:14 pm    Post subject: Reply with quote

ChrisJumper wrote:
Segmentation fault?

I would check your Hardware. CPU-Cooling, Memory.. and so on.


Well, I've had this system up for over a year with zero segfaults in other apps. This seems to be specific to ffmpeg.

According to cacti my current CPU temp is 36C, which is pretty much average for this box.

I've searched for "ffmpeg segmentation fault" on google and found a bunch of reports of this exact behavior in ubuntu, but I haven't found any solution -- or mentions of it happening on other distros.

I tried unmasking the latest version, but that segfaults as well.
_________________
Vermont Free PC
http://www.vtfreepc.org
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum