LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-13-2017, 11:30 AM   #1
mackowiakp
Member
 
Registered: Jun 2014
Location: Poland/Gdynia
Distribution: Mageia 7, SH4, Debian
Posts: 220

Rep: Reputation: 5
ffmpeg convert MKV to MP4 with silent audio track


I collect video clips from surveillance system. Such clip is in MKV format but IP cameras are not equipped with microphone so strange noise is recorded too. I want to remove original audio track, replacing it by totally silent track (aac, mp4a).
My current ffmpeg command looks like this:

Code:
ffmpeg -loglevel error -i $i -y -vcodec copy -acodec copy $i.mp4
$i - name of file

How can I modify the command above to temove unwanted noise ?
 
Old 05-13-2017, 01:07 PM   #2
seasons
Member
 
Registered: Dec 2014
Distribution: siduction
Posts: 260

Rep: Reputation: 57
https://trac.ffmpeg.org/wiki/Null#anullsrc
 
Old 05-13-2017, 05:28 PM   #3
KennyIRC
LQ Newbie
 
Registered: May 2017
Posts: 4

Rep: Reputation: Disabled
Code:
ffmpeg -loglevel error -i $i -y -vcodec copy -an $i.mp4
use -an it means audio none

Last edited by KennyIRC; 05-13-2017 at 05:44 PM.
 
1 members found this post helpful.
  


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
[SOLVED] No sound when converting MP4 to WebM while using libvorbis for the audio track in FFmpeg version 2.8.6 MurderousMincePie Linux - Software 6 03-05-2016 12:29 PM
Convert .mkv or .mp4 to .VOB and write via K3b. hack3rcon Linux - Software 11 02-07-2016 11:53 PM
[SOLVED] Convert mkv to mp4 in terminal - how? gael33 Linux - Newbie 13 11-30-2015 04:42 PM
Convert mkv to mp4 to play on PS3 ? robertpolson Linux - General 1 09-11-2007 04:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:42 PM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration