LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 11-10-2012, 08:15 AM   #1
allend
Senior Member
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware-current
Posts: 3,379

Rep: Reputation: 824Reputation: 824Reputation: 824Reputation: 824Reputation: 824Reputation: 824Reputation: 824
Enabling support for ffmpeg 0.11 in sox-14.4.0


I use Alien_Bob's SlackBuild for ffmpeg 0.11.2 and ran into the problem that it is not compatible with sox-14.4.0 in Slackware 14.0 due to changes in the ffmpeg API.
As it is annoying when a Swiss Army knife has a blade that will not open, I investigated further. Using patches for Gentoo and Arch posted at http://sources.gentoo.org/cgi-bin/vi....1&view=markup and http://www.sourcemage.org/projects/g....11-arch.patch together with some alterations to suit the new avformat_open_input API call I have successfully recompiled sox with support for ffmpeg on Slackware 32bit and 64 bit systems.

On the off chance that anybody has an interest, I am attaching a modified SlackBuild for sox-14.4.0 together with the patch file I have created (remove the .txt extensions). To use these, download the source for sox-14.4.0 and add a directory ./patch. Copy the patch file into this directory. Rebuild sox using the modified SlackBuild so that the patch file is used. I used 'upgradepkg --reinstall' to install the newly created package.

Now 'play <somefile>.m4a' should work. This might be useful to someone with an iTunes music library.
Attached Files
File Type: txt ffmpeg-0.11.patch.txt (5.4 KB, 3 views)
File Type: txt sox.SlackBuild.txt (3.6 KB, 2 views)
 
Old 11-11-2012, 05:37 PM   #2
allend
Senior Member
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware-current
Posts: 3,379

Original Poster
Rep: Reputation: 824Reputation: 824Reputation: 824Reputation: 824Reputation: 824Reputation: 824Reputation: 824
Just to get this off the zero reply list.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
sox package, Slackware 13.1, fails on sox 1.wav -e stat burbabro Slackware 1 05-04-2011 02:26 AM
ffmpeg install used ./configure no libmp3lame support flebber Linux - Software 2 03-02-2008 04:50 AM
Enabling ffmpeg and universal component abuntu-handicapped Linux - Newbie 2 09-09-2007 02:55 PM
ffmpeg amr support rpm !!! riccisit Mandriva 3 10-09-2006 11:39 AM
No mp3 support with ffmpeg-0.4.8-0.3(tar.gz) akihandyman Mandriva 2 02-20-2004 02:32 PM


All times are GMT -5. The time now is 06:40 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration