[FFmpeg-user] ffmpeg errors
Noel Hunt
noel.hunt at gmail.com
Fri Jun 13 00:14:45 CEST 2014
I realized the errors were in the decoding but I thought maybe
there were interesting types of packets in the stream that
ffmpeg couldn't handle. I never imagined it might be compiler
related.
I am rebuilding ffmpeg now with --cc=gcc46 --as=gcc46. My
freebsd installation is rather old now,
% uname -a
FreeBSD beatrice 8.2-RELEASE FreeBSD 8.2-RELEASE #0: Fri Feb 18 02:24:46
UTC 2011 root at almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386
I must have build gcc46 in the past from ports; I couldn't now
since when I ran portsnap recently the ports system got trashed
because they are now using bmake instead of make; all the config
files don't work with make...I am planning to install 10 in fact soon.
Anyway, I'll see how this build goes.
Many thanks.
Noel Hunt
On Thu, Jun 12, 2014 at 11:52 PM, Tom Evans <tevans.uk at googlemail.com>
wrote:
> On Wed, Jun 11, 2014 at 12:36 AM, Noel Hunt <noel.hunt at gmail.com> wrote:
> > I have been using ffmpeg for a while to re-encode video files
> > I have received into xvid/mp3 for an old Sony DVD player I
> > have.
> >
> > I have recently tried to convert some files for which ffmpeg
> > generates tens of thousands of errors, e.g.:
>
> The errors are coming from decoding the content in ffmpeg's h264
> decoder, which uses a lot of asm. I've seen this before with H264
> files on FreeBSD if you build without modern binutils/compiler.
>
> >
> > + ffmpeg -i /tmp/Endeavour.s02e01.Trove.mp4 -y -vcodec libxvid -acodec
> > libmp3lame -ab 128 -ac 2 avi/.mp4.avi
> > ffmpeg version 2.2.3 Copyright (c) 2000-2014 the FFmpeg developers
> > built on Jun 11 2014 09:17:30 with gcc 4.2.1 (GCC) 20070719 [FeeBSD]
> > configuration: --prefix=/home/noel --enable-libmp3lame --enable-libx264
> --enable-gpl -- nable-libxvid
>
> So you're already building by hand, good.
>
> What version/architecture of FreeBSD are you using? Before 10, I had
> good results building with lang/gcc46 and devel/binutils, for better
> asm support. After 10, I get good results either with gcc46 (or gcc47)
> or clang.
>
> Pass -cc and --as to configure to use alternate compiler/binutils.
>
> Cheers
>
> Tom
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
More information about the ffmpeg-user
mailing list