You are not logged in.

#1 2014-03-28 15:11:07

hariskar
Member
From: Greece/Kavala
Registered: 2012-10-16
Posts: 185

Program to remove sound from video and join video with audio file?

With which program can I remove the sound of a video and join/sync the video file with another audio file?
Thank you

Offline

#2 2014-03-28 15:37:03

Algernop
Member
Registered: 2014-01-17
Posts: 33

Re: Program to remove sound from video and join video with audio file?

mencoder

Offline

#3 2014-03-28 15:44:25

hariskar
Member
From: Greece/Kavala
Registered: 2012-10-16
Posts: 185

Re: Program to remove sound from video and join video with audio file?

Thank you, any program with graphical interface? Avidemux or Handbreak can not do that, am I right?

Offline

#4 2014-03-28 16:26:18

Algernop
Member
Registered: 2014-01-17
Posts: 33

Re: Program to remove sound from video and join video with audio file?

Yes. About forty. Eight of which are in the arch repo.

Last edited by Algernop (2014-03-28 16:27:08)

Offline

#5 2014-03-29 05:32:50

hariskar
Member
From: Greece/Kavala
Registered: 2012-10-16
Posts: 185

Re: Program to remove sound from video and join video with audio file?

Thank you

Offline

#6 2014-04-02 23:11:08

henriqueleng
Member
Registered: 2014-02-18
Posts: 77

Re: Program to remove sound from video and join video with audio file?

Mark as SOLVED!!!


Emacs - tmux - Cmus - Mutt - Lynx/w3m - ....

Offline

#7 2014-04-26 09:19:14

hariskar
Member
From: Greece/Kavala
Registered: 2012-10-16
Posts: 185

Re: Program to remove sound from video and join video with audio file?

Any other solution except memcoder?

Last edited by hariskar (2014-04-26 09:19:36)

Offline

#8 2014-04-26 09:50:00

emeres
Member
Registered: 2013-10-08
Posts: 1,570

Re: Program to remove sound from video and join video with audio file?

hariskar wrote:

Any other solution except memcoder?

ffmpeg.

Offline

#9 2014-04-26 10:53:48

Rasi
Member
From: Germany
Registered: 2007-08-14
Posts: 1,914
Website

Re: Program to remove sound from video and join video with audio file?

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

#10 2014-04-26 11:31:20

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Program to remove sound from video and join video with audio file?

hariskar wrote:

Any other solution except memcoder?

Which ones have you tried?
https://wiki.archlinux.org/index.php/Li … eo_editors

Offline

#11 2014-04-26 12:28:13

hariskar
Member
From: Greece/Kavala
Registered: 2012-10-16
Posts: 185

Re: Program to remove sound from video and join video with audio file?

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

#12 2014-04-26 15:25:19

teckk
Member
Registered: 2013-02-21
Posts: 575

Re: Program to remove sound from video and join video with audio file?

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.ac3

and add/synchronize the video with another sound file.

ffmpeg -i 2ndvideo.mp4 -i output.ac3 -c copy final.mp4

As 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

#13 2014-04-26 15:54:42

hariskar
Member
From: Greece/Kavala
Registered: 2012-10-16
Posts: 185

Re: Program to remove sound from video and join video with audio file?

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

#14 2014-04-26 16:39:33

teckk
Member
Registered: 2013-02-21
Posts: 575

Re: Program to remove sound from video and join video with audio file?

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 video

Search 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

#15 2014-04-26 17:01:55

hariskar
Member
From: Greece/Kavala
Registered: 2012-10-16
Posts: 185

Re: Program to remove sound from video and join video with audio file?

teckk wrote:

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

#16 2014-07-24 03:33:16

rocamilla
Banned
Registered: 2014-07-24
Posts: 1

Re: Program to remove sound from video and join video with audio file?

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

#17 2014-07-24 10:02:22

hariskar
Member
From: Greece/Kavala
Registered: 2012-10-16
Posts: 185

Re: Program to remove sound from video and join video with audio file?

Thank you very much. I have found a linux solution with Cinelerra which works OK.

Offline

#18 2014-07-24 17:05:20

jtgd
Member
From: San Jose, CA
Registered: 2013-06-23
Posts: 47

Re: Program to remove sound from video and join video with audio file?

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

#19 2014-07-24 18:04:06

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,601

Re: Program to remove sound from video and join video with audio file?

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

Board footer

Powered by FluxBB