Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 11-14-2012, 01:09 PM   #1
Registered: Nov 2012
Posts: 32

Rep: Reputation: Disabled
ffmpeg and converting videos

Okay I am trying to convert a mp4 file into 3gp.

ffmpeg -i input.mp4 -s 176x144 output.3gp
and the error received was :
[libopencore_amrnb @ 0x85531c0] Only 8000Hz sample rate supported
Then, I tried to change the sample rate and my command became

ffmpeg -i input.mp4 -s 176x144 -sample_rate 8000Hz output.3gp
But still I am getting the same error, what am I doing wrong?
Old 11-14-2012, 03:10 PM   #2
Slackware Contributor
Registered: Jun 2002
Location: New Zealand
Distribution: Slackware
Posts: 999

Rep: Reputation: 228Reputation: 228Reputation: 228
Not precisely a Slackware question is it?

ffmpeg -i input.mp4 -s 176x144 -ab 12.2k -ar 8000 -ac 1 output.3gp
1 members found this post helpful.
Old 11-14-2012, 03:26 PM   #3
Registered: Oct 2007
Distribution: Slackware
Posts: 799

Rep: Reputation: 158Reputation: 158
BTW the 3gp container will take aac sound which is far superior to amr.
Old 11-14-2012, 03:27 PM   #4
Senior Member
Registered: Oct 2004
Distribution: FreeBSD Arch
Posts: 1,837

Rep: Reputation: 224Reputation: 224Reputation: 224

If the video is mpeg4 and the audio is aac, try
ffmpeg -i file.mp4 -acodec copy -vcodec copy output.3gp
Or to encode to x264
ffmpeg -i file.mp4 -acodec copy -vcodec libx264 -b:v 2000k output.3gp
-acodec for audio, -vf crop=, possibilities are almost endless.
Old 11-14-2012, 03:49 PM   #5
Registered: Nov 2012
Posts: 32

Original Poster
Rep: Reputation: Disabled
Originally Posted by mRgOBLIN View Post
Not precisely a Slackware question is it?

ffmpeg -i input.mp4 -s 176x144 -ab 12.2k -ar 8000 -ac 1 output.3gp
I was looking to join slackware forum but as officially their forum has shifted here, I often forget that I am not on a "specific" Slackware forum but the Linux Forum.

And thanks that worked.

Last edited by fuser312; 11-14-2012 at 03:51 PM.
Old 11-14-2012, 04:54 PM   #6
Senior Member
Registered: Dec 2005
Distribution: Slackware -current, 14.1
Posts: 1,075

Rep: Reputation: 189Reputation: 189
Originally Posted by mRgOBLIN View Post
Not precisely a Slackware question is it?
Ask a slacker, get the answer on a platter....

1 members found this post helpful.


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
ffmpeg error: converting to Webm hydraMax Linux - Software 3 10-05-2011 06:47 PM
ffmpeg converting video jake20x Linux - General 8 04-10-2011 03:58 AM
[SOLVED] FFMPEG video converting, VERY pixelated Helstedxd Linux - Newbie 4 01-20-2011 02:49 PM
[SOLVED] Converting VOB to XVID (using ffmpeg)? Steve W Linux - Software 5 12-10-2010 10:54 AM
[SOLVED] converting to 3gp using ffmpeg sumeet inani Linux - Software 4 10-01-2010 10:09 AM

All times are GMT -5. The time now is 02:43 PM.

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