[FFmpeg-devel] MPEG decoding on the iPhone is buggy
Thu Oct 1 11:08:38 CEST 2009
This is the configure line I'm using:
./configure --enable-cross-compile --target-os=darwin
--extra-cflags="-arch armv6 -pipe -miphoneos-version-min=2.0 -isysroot
--prefix=build --disable-shared --enable-static --disable-mmx
--disable-iwmmxt --disable-neon --disable-armvfp --disable-armv5te
--enable-armv6 --disable-debug --disable-stripping --arch=arm
--disable-ffmpeg --disable-ffserver --disable-ffplay --disable-gpl
I didn't use ffmpeg itself, I'm just using the libs to decode video. I'm
pretty sure though any attempt to use the generated ffmepg in a way it has
to decode MPEG will generate these results (since other people had the same
results <http://code.google.com/p/ffmpeg4iphone/issues/detail?id=9>). I
would have tested this myself but I have a problem running ffmpeg/ffplay on
Thanks for helping.
2009/9/30 M?ns Rullg?rd <mans at mansr.com>
> Yoni Levy <yonilevy at gmail.com> writes:
> > Disclaimer: I've posted a mail regarding this issue to ffmpeg-user a few
> > hours ago (
> > The reasons I'm re-posting here are: 1) I got a lot more specific with
> > problem and 2) Given (1), I've been told this listing is more
> > I've written a mock-up iPhone application that uses the latest ffmpeg
> > version) in conjunction with ffmpeg4iphone patches to play video from a
> > on the iPhone device.
> > When I play an MPEG encoded file, the results I get look something like
> > this:
> > http://img2.imageshack.us/img2/3325/frame477.png
> > http://img8.imageshack.us/img8/290/frame726.png
> > http://img2.imageshack.us/img2/7680/frame863.png
> > This bug is only occuring when decoding MPEG videos (h264 and real media
> > example, work fine) and someone suggested it is a result of ARM
> > optimizations (I believe these were applied by the ffmpeg4iphone patches
> > I'm not sure). Anyhow, a bug has been reported to the ffmpeg4iphone
> > regarding this a few months ago, but hasn't been resolved yet. The
> > discussion can be found here:
> > http://code.google.com/p/ffmpeg4iphone/issues/detail?id=9 (it starts off
> > bit unrelated with talk about the move from img_convert to sws_scale).
> > To my understanding nobody is currently working on a fix for that, which
> > a shame because ffmpeg4iphone is now only half a solution.
> > Can anyone here suggest a solution, or get me closer to the bug itself?
> What exact configure line did you use? What exact ffmpeg command line
> will produce broken output?
> M?ns Rullg?rd
> mans at mansr.com
> ffmpeg-devel mailing list
> ffmpeg-devel at mplayerhq.hu
More information about the ffmpeg-devel