Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 27th January 2012, 06:07 AM
dEnDrOn Offline
Registered User
 
Join Date: Jul 2011
Location: oMNipre$ent
Posts: 70
linuxfedorafirefox
please teach me exact command to remove a part of audio

I use ffmpeg to convert my mp4 videos to mp3 using this command....


Code:
ffmpeg -i 'input file.mp4' -acodec libmp3lame -ab 64k -ar 44100 -ac 2 'output file.mp3'
there are some videos that have some starting dialogues and i need to remove audio for those particular seconds using ffmpeg.
How to do that ?
i want to keep same audio settings after cropping it.

Please show me what command do i use to do it...i can't figure it out using man page of ffmpeg

Last edited by dEnDrOn; 27th January 2012 at 06:07 AM. Reason: added i"
Reply With Quote
  #2  
Old 27th January 2012, 09:36 AM
marriedto51 Offline
Registered User
 
Join Date: Jul 2009
Location: England, UK
Posts: 821
linuxfirefox
Re: please teach me exact command to remove a part of audio

I wouldn't know how to do it using ffmeg, but have you considered using a graphical editor like avidemux instead?

You can install avidemux from the rpmfusion repositories: setting those up is easy if you follow the links from the yellow "Set-up Guides" at the top of the forum page.
Reply With Quote
  #3  
Old 27th January 2012, 11:30 AM
dEnDrOn Offline
Registered User
 
Join Date: Jul 2011
Location: oMNipre$ent
Posts: 70
linuxfedorafirefox
Re: please teach me exact command to remove a part of audio

Quote:
Originally Posted by marriedto51 View Post
I wouldn't know how to do it using ffmeg, but have you considered using a graphical editor like avidemux instead?

You can install avidemux from the rpmfusion repositories: setting those up is easy if you follow the links from the yellow "Set-up Guides" at the top of the forum page.
avidemux is already installed on my system but i never used it.
Would you please tell me if it can crop first 20 seconds of an audio file and return the audio with exactly same quality?

---------- Post added at 05:00 PM ---------- Previous post was at 04:40 PM ----------

so, i figured it out finally....

correct command is ...

Code:
ffmpeg -ss 30 -acodec copy -i inputfile.mp3 outputfile.mp3

it copies the same setting as of original file and crops first 30 seconds of it.
Reply With Quote
  #4  
Old 27th January 2012, 11:51 AM
Dangermouse's Avatar
Dangermouse Offline
Administrator
 
Join Date: Aug 2007
Location: London Postbox (the red one)
Age: 47
Posts: 3,847
linuxfirefox
Re: please teach me exact command to remove a part of audio

Just tried pitvi (in repos) and works quite well, just load the video and double click on the video line and you can raise or lower the volume to 0 etc.. in specific places, could be useful for more complicated editing, but if its for just the first 30s then your solution is much better and quicker.
Reply With Quote
Reply

Tags
audio, command, exact, remove, teach

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
What's the command to know the mirror with exact link? cola Using Fedora 3 24th March 2011 11:16 AM
Trying to remove pulse audio? Phuein Using Fedora 7 19th August 2008 12:52 AM
How do I change the part of Konsole/Terminal that says the username b4 the command? uetahi Using Fedora 7 27th May 2008 08:34 AM
How to remove "This is a multi-part message in MIME format." spying Servers & Networking 0 15th December 2006 03:59 PM
Remove Nforce drivers (audio) FC3 ) Zeeker Hardware & Laptops 1 21st November 2004 06:40 PM


Current GMT-time: 15:15 (Monday, 20-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat