ffmpeg configure for ios - using asm options causes MPx (mp1, mp2, mp3) codecs sound problems
I've made many tests to get good performance for video decoding with ffmpeg on low cpu idevices such as iPad 1 and iPhone 3Gs, and see that using asm option when configuring ffmpeg for cross compiling for ios is very very important for performance.. But when I configure with --enable-asm, the audio stream which using mpx(mp1,mp2,mp) codec sounds squeaky. If I configure with --disable-asm option, than mpx(mp1,mp2,mp) codec sounds well but then the performance is %50 percent of the previous one built with the --enable-asm option... I've also tested these with the ffmpeg versions that are 0.8, 0.9, 0.10, 0.11, 1.0,1.1,1.2 All of them produces same results... Can anyone have the same problem with me ? Also, any idea how can I fix this issue ? please advice me .. (I can not find any patch to fix this issue on the net or in ffmpeg forums.) -mg
On Sat, Apr 20, 2013 at 01:36:52PM +0300, Murat Sudan wrote:
I've made many tests to get good performance for video decoding with ffmpeg on low cpu idevices such as iPad 1 and iPhone 3Gs, and see that using asm option when configuring ffmpeg for cross compiling for ios is very very important for performance..
But when I configure with --enable-asm, the audio stream which using mpx(mp1,mp2,mp) codec sounds squeaky. If I configure with --disable-asm option, than mpx(mp1,mp2,mp) codec sounds well but then the performance is %50 percent of the previous one built with the --enable-asm option...
I've also tested these with the ffmpeg versions that are 0.8, 0.9, 0.10, 0.11, 1.0,1.1,1.2 All of them produces same results...
Can anyone have the same problem with me ? Also, any idea how can I fix this issue ? please advice me .. (I can not find any patch to fix this issue on the net or in ffmpeg forums.)
if this issue is still unfixed then to debug that you either have to disable asm functions one by one (that is bisect which are enabled) to find the faulty one and then find out why it fails or put lots of printfs in the code and compare the output of a good and bad ffmpeg until you find out where the first differences occur [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Freedom in capitalist society always remains about the same as it was in ancient Greek republics: Freedom for slave owners. -- Vladimir Lenin
On 1/29/2014 3:53 AM, Michael Niedermayer wrote:
if this issue is still unfixed then to debug that you either have to disable asm functions one by one (that is bisect which are enabled) to find the faulty one and then find out why it fails
or
put lots of printfs in the code and compare the output of a good and bad ffmpeg until you find out where the first differences occur
or use the version of gas-preprocessor.pl that has been actually under development and has had this fixed for more than half a year. - Derek
On Wed, Jan 29, 2014 at 12:00:53PM +0000, Derek Buitenhuis wrote:
On 1/29/2014 3:53 AM, Michael Niedermayer wrote:
if this issue is still unfixed then to debug that you either have to disable asm functions one by one (that is bisect which are enabled) to find the faulty one and then find out why it fails
or
put lots of printfs in the code and compare the output of a good and bad ffmpeg until you find out where the first differences occur
or
use the version of gas-preprocessor.pl that has been actually under development and has had this fixed for more than half a year.
if a outdated gas-preprocessor was used then yes indeed ... [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB The real ebay dictionary, page 1 "Used only once" - "Some unspecified defect prevented a second use" "In good condition" - "Can be repaird by experienced expert" "As is" - "You wouldnt want it even if you were payed for it, if you knew ..."
participants (3)
-
Derek Buitenhuis -
Michael Niedermayer -
Murat Sudan