You are not logged in.
Pages: 1
Topic closed
With which program can I remove the sound of a video and join/sync the video file with another audio file?
Thank you
Offline
mencoder
Offline
Thank you, any program with graphical interface? Avidemux or Handbreak can not do that, am I right?
Offline
Thank you
Offline
Mark as SOLVED!!!
Emacs - tmux - Cmus - Mutt - Lynx/w3m - ....
Offline
Any other solution except memcoder?
Last edited by hariskar (2014-04-26 09:19:36)
Offline
Any other solution except memcoder?
ffmpeg.
Offline
openshot, kdenlive, avidemux
He hoped and prayed that there wasn't an afterlife. Then he realized there was a contradiction involved here and merely hoped that there wasn't an afterlife.
Douglas Adams
Offline
Any other solution except memcoder?
Which ones have you tried?
https://wiki.archlinux.org/index.php/Li … eo_editors
Offline
Only handbrake, but it seems it has no option to remove the sound of a video and add/synchronize the video with another sound file.
Offline
I can give you a a basic example for a .mp4 with .ac3 audio. Read the ffmpeg man for more options.
Only handbrake, but it seems it has no option to remove the sound of a video
ffmpeg -i video.mp4 -c:a copy -vn output.ac3and add/synchronize the video with another sound file.
ffmpeg -i 2ndvideo.mp4 -i output.ac3 -c copy final.mp4As to the audio-video being in sync, that depends on what you are doing. Random audio and video streams won't be in sync. Tell a little more about what you are doing.
Offline
I want to record a classical guitar piece with my handycam, but use the audiofile that I recorded with an external usb microphone or a portable recorder (which I have not baught yet) because it has a better quality than the audio from the camera mic. So I need to remove camera audio and add/sync the audio from the external mic.
Thank you for help!
Last edited by hariskar (2014-04-26 16:21:33)
Offline
Can I suggest using something that will allow audio capture from the external mic. to start with. Then you will have a video with audio in sync, in a format that you can re encode into whatever format you wish.
But, if you must do that. Dump the video from the handycam file, then put the mics audio file with it. ffmpeg -i video ffmpeg -i audio into whatever container and codecs that you want. You may have to adjust audio-video sync
ffmpeg -i audio -itsoffset 0.1 -i videoSearch this forum and the web. There are hundreds of ffmpeg examples. And the ffmpeg man
https://ffmpeg.org/ffmpeg.html
ffmpeg will do just about anything, but is a little daunting. Ask specific questions and you'll get specific answers. Or find a front end for it. I never use them.
Offline
Can I suggest using something that will allow audio capture from the external mic. to start with. Then you will have a video with audio in sync, in a format that you can re encode into whatever format you wish.
Thank you for reply!
Sorry I don't understand what you mean. To connect the mic to my camera? This would be great but is not possible, because the camera has no line in.
So the mic will be connected to pc with usb or I will record audio with something like this http://www.zoom.co.jp/products/h4n/gallery .
Offline
If you want to remove audio from video, here is a detailed tutorial which introduces three solutions as listed at: <link redacted>
Solution One: How to Remove Audio from Video for both Mac and Windows users?
Solution Two: How to Remove Audio from Video only for Windows users?
Solution Three: How to Remove Audio from Video only for Mac users?
-- mod edit: removed spammed link. Trilby --
Last edited by Trilby (2014-10-29 21:11:55)
Offline
Thank you very much. I have found a linux solution with Cinelerra which works OK.
Offline
If you don't need to transcode and just want to remux, install mkvtoolnix and run mmg.
It has a GUI and lets you enter multiple source files and select which tracks from each that you want to mux into the output.
You can set offsets if the audio is out of sync, and it is lossless.
Only thing is it only works with mkv files, but there are lossless ways to convert mp4 to mkv.
Arch + awesome
Offline
I think this thread is done. Hariskar indicated he had a solution back and had not posted in the thread since April.
Closing.
@hariskar: If you want to re-open this thread in the future, please use the report function and drop a note to the moderators who should take care of that for you.
Thanks
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
Pages: 1
Topic closed