ffmpeg every codec gives me an Illegal instruction error
Hi,
I am using Slackware on a 32 bit machine. Code:
*-core http://slackware.uk/people/alien/res...mpeg/pkg/14.2/ Whenever I try a simple Code:
ffmpeg -i sample_movie.mpg sample_movie.mp4 Code:
Illegal instruction |
What Slackware version are you using?
Can you try building ffmpeg and its dependencies yourself from SlackBuilds.org? |
I am using slackware-current. Should I be using the stable version? I would build from source after I search out how.
|
If you are using current, then you should already have ffmpeg installed. I would remove any ffmpeg packages you have installed and then reinstall it with slackpkg. You can also update current using slackpkg to ensure you aren't using an old current?
|
Here's the problem: 'AMD Athlon(tm) XP 3000+'
It's a Barton processor. It hasn't got SSE2 instructions. 'cat /proc/cpuinfo | grep flags' will show sse, but not sse2. I doubt there's an ffmpeg build flag for disabling sse2 support. You'll get the same problem with lots of other audio, multimedia and graphics software. The world moved on and left your cpu behind. Sorry. Update!! A very helpful friend (ponce ;) ) tells me that there are flags '--disable-sse2' and '--disable-sse3' that you can add to the ffmpeg SlackBuild so that it should work!! |
Thanks for responding. I added those options to the Slackbuild and got this:
Code:
[mark@mediacenter1 Movies]$ ffmpeg -i War.Games.The.Dead.Code.mpg sample.mp4 Code:
wget --recursive --page-requisites --html-extension --convert-links --restrict-file-names=windows --no-parent http://slackware.uk/people/alien/restricted_slackbuilds/ffmpeg/build/ |
have you tried with another output video codec, like mpeg or xvid? it might be that also libx264 requires a minimum set of sse2 extensions...
|
1 Attachment(s)
It's working so far with mpeg. Thanks.
|
All times are GMT -5. The time now is 01:55 PM. |