Remove extra noise from ffmpeg video












1














I am using the following command to record the audio and video:



ffmpeg -loglevel warning -y -f v4l2 -s 544x288 -i /dev/video0 -vstats -vstats_file '/home/2014-05-13T07-18-37/left_cam-stats' -f pulse -name 'Unknown source 0' -i alsa_input.pci-0000_00_1b.0.analog-stereo -filter lowpass -f pulse -name 'left_mic 0' -i alsa_input.usb-046d_0823_D81A0330-00-U0x46d0x823_1.analog-stereo  -f pulse -name 'right_mic 1' -i alsa_input.usb-046d_0823_4B709030-00-U0x46d0x823.analog-stereo  -f pulse -name 'default 0' -i default  -f mpegts -crf 20 -r 24 -pix_fmt yuv420p -vcodec libx264 -vprofile baseline -t 02:00:00 -map 0:0 -map 1:0 -map 2:0 -map 3:0 -map 4:0 /home/left_cam.mp4


It record both audio and video from different devices.



But the audio comes with the horrible noise (feed back). I want to remove that noise form the recording.



Is there any way to solve this problem?










share|improve this question
























  • For background noise removal see: askubuntu.com/questions/391798/… and askubuntu.com/questions/429480/…
    – Takkat
    May 13 '14 at 13:24
















1














I am using the following command to record the audio and video:



ffmpeg -loglevel warning -y -f v4l2 -s 544x288 -i /dev/video0 -vstats -vstats_file '/home/2014-05-13T07-18-37/left_cam-stats' -f pulse -name 'Unknown source 0' -i alsa_input.pci-0000_00_1b.0.analog-stereo -filter lowpass -f pulse -name 'left_mic 0' -i alsa_input.usb-046d_0823_D81A0330-00-U0x46d0x823_1.analog-stereo  -f pulse -name 'right_mic 1' -i alsa_input.usb-046d_0823_4B709030-00-U0x46d0x823.analog-stereo  -f pulse -name 'default 0' -i default  -f mpegts -crf 20 -r 24 -pix_fmt yuv420p -vcodec libx264 -vprofile baseline -t 02:00:00 -map 0:0 -map 1:0 -map 2:0 -map 3:0 -map 4:0 /home/left_cam.mp4


It record both audio and video from different devices.



But the audio comes with the horrible noise (feed back). I want to remove that noise form the recording.



Is there any way to solve this problem?










share|improve this question
























  • For background noise removal see: askubuntu.com/questions/391798/… and askubuntu.com/questions/429480/…
    – Takkat
    May 13 '14 at 13:24














1












1








1


2





I am using the following command to record the audio and video:



ffmpeg -loglevel warning -y -f v4l2 -s 544x288 -i /dev/video0 -vstats -vstats_file '/home/2014-05-13T07-18-37/left_cam-stats' -f pulse -name 'Unknown source 0' -i alsa_input.pci-0000_00_1b.0.analog-stereo -filter lowpass -f pulse -name 'left_mic 0' -i alsa_input.usb-046d_0823_D81A0330-00-U0x46d0x823_1.analog-stereo  -f pulse -name 'right_mic 1' -i alsa_input.usb-046d_0823_4B709030-00-U0x46d0x823.analog-stereo  -f pulse -name 'default 0' -i default  -f mpegts -crf 20 -r 24 -pix_fmt yuv420p -vcodec libx264 -vprofile baseline -t 02:00:00 -map 0:0 -map 1:0 -map 2:0 -map 3:0 -map 4:0 /home/left_cam.mp4


It record both audio and video from different devices.



But the audio comes with the horrible noise (feed back). I want to remove that noise form the recording.



Is there any way to solve this problem?










share|improve this question















I am using the following command to record the audio and video:



ffmpeg -loglevel warning -y -f v4l2 -s 544x288 -i /dev/video0 -vstats -vstats_file '/home/2014-05-13T07-18-37/left_cam-stats' -f pulse -name 'Unknown source 0' -i alsa_input.pci-0000_00_1b.0.analog-stereo -filter lowpass -f pulse -name 'left_mic 0' -i alsa_input.usb-046d_0823_D81A0330-00-U0x46d0x823_1.analog-stereo  -f pulse -name 'right_mic 1' -i alsa_input.usb-046d_0823_4B709030-00-U0x46d0x823.analog-stereo  -f pulse -name 'default 0' -i default  -f mpegts -crf 20 -r 24 -pix_fmt yuv420p -vcodec libx264 -vprofile baseline -t 02:00:00 -map 0:0 -map 1:0 -map 2:0 -map 3:0 -map 4:0 /home/left_cam.mp4


It record both audio and video from different devices.



But the audio comes with the horrible noise (feed back). I want to remove that noise form the recording.



Is there any way to solve this problem?







sound ffmpeg noise






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited May 13 '14 at 12:42

























asked May 13 '14 at 12:30









Prakash V Holkar

1,10451226




1,10451226












  • For background noise removal see: askubuntu.com/questions/391798/… and askubuntu.com/questions/429480/…
    – Takkat
    May 13 '14 at 13:24


















  • For background noise removal see: askubuntu.com/questions/391798/… and askubuntu.com/questions/429480/…
    – Takkat
    May 13 '14 at 13:24
















For background noise removal see: askubuntu.com/questions/391798/… and askubuntu.com/questions/429480/…
– Takkat
May 13 '14 at 13:24




For background noise removal see: askubuntu.com/questions/391798/… and askubuntu.com/questions/429480/…
– Takkat
May 13 '14 at 13:24










1 Answer
1






active

oldest

votes


















0














Using Sox you can you can reduce noice.



Sox can be installed with :



sudo apt-get install sox


To use sox, you can follow this article at www.zoharbabin.com.



Or:



For direct use with ffmpeg you can try following code.



Source :ubuntuforums.org



ffmpeg -i input.avi -vcodec libx264 -crf 24 -preset slow -filter:v hqdn3d=4.0:3.0:6.0:4.5 -acodec aac -strict experimental -ab 192k output.mp4





share|improve this answer

















  • 1




    please explain which flags in the command are enabling noise reduction.
    – xiota
    May 27 at 16:22











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f465281%2fremove-extra-noise-from-ffmpeg-video%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









0














Using Sox you can you can reduce noice.



Sox can be installed with :



sudo apt-get install sox


To use sox, you can follow this article at www.zoharbabin.com.



Or:



For direct use with ffmpeg you can try following code.



Source :ubuntuforums.org



ffmpeg -i input.avi -vcodec libx264 -crf 24 -preset slow -filter:v hqdn3d=4.0:3.0:6.0:4.5 -acodec aac -strict experimental -ab 192k output.mp4





share|improve this answer

















  • 1




    please explain which flags in the command are enabling noise reduction.
    – xiota
    May 27 at 16:22
















0














Using Sox you can you can reduce noice.



Sox can be installed with :



sudo apt-get install sox


To use sox, you can follow this article at www.zoharbabin.com.



Or:



For direct use with ffmpeg you can try following code.



Source :ubuntuforums.org



ffmpeg -i input.avi -vcodec libx264 -crf 24 -preset slow -filter:v hqdn3d=4.0:3.0:6.0:4.5 -acodec aac -strict experimental -ab 192k output.mp4





share|improve this answer

















  • 1




    please explain which flags in the command are enabling noise reduction.
    – xiota
    May 27 at 16:22














0












0








0






Using Sox you can you can reduce noice.



Sox can be installed with :



sudo apt-get install sox


To use sox, you can follow this article at www.zoharbabin.com.



Or:



For direct use with ffmpeg you can try following code.



Source :ubuntuforums.org



ffmpeg -i input.avi -vcodec libx264 -crf 24 -preset slow -filter:v hqdn3d=4.0:3.0:6.0:4.5 -acodec aac -strict experimental -ab 192k output.mp4





share|improve this answer












Using Sox you can you can reduce noice.



Sox can be installed with :



sudo apt-get install sox


To use sox, you can follow this article at www.zoharbabin.com.



Or:



For direct use with ffmpeg you can try following code.



Source :ubuntuforums.org



ffmpeg -i input.avi -vcodec libx264 -crf 24 -preset slow -filter:v hqdn3d=4.0:3.0:6.0:4.5 -acodec aac -strict experimental -ab 192k output.mp4






share|improve this answer












share|improve this answer



share|improve this answer










answered May 13 '14 at 12:53







user224082















  • 1




    please explain which flags in the command are enabling noise reduction.
    – xiota
    May 27 at 16:22














  • 1




    please explain which flags in the command are enabling noise reduction.
    – xiota
    May 27 at 16:22








1




1




please explain which flags in the command are enabling noise reduction.
– xiota
May 27 at 16:22




please explain which flags in the command are enabling noise reduction.
– xiota
May 27 at 16:22


















draft saved

draft discarded




















































Thanks for contributing an answer to Ask Ubuntu!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.





Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


Please pay close attention to the following guidance:


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f465281%2fremove-extra-noise-from-ffmpeg-video%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Quarter-circle Tiles

build a pushdown automaton that recognizes the reverse language of a given pushdown automaton?

Mont Emei