[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: normalize-audio and video files



On Thu, Jul 16, 2015 at 01:45:23AM +0200, Emanuel Berg wrote:
> Is there a program like normalize-audio only it works
> on mp4 (video) files as well? And .webm etc. But still
> what is to be normalized is the audio.

You could try stripping the audio from the MPEG file, normalising it and
then recombining it.

So, to extract the audio from the video, try something like:

 avconv -i video.mp4 -vn -acodec 'copy' audio.out

(check "avconv -i video.mp4" to see what format the audio will be)

And to recombine the audio, use something like:

 avconv -i video.mp4 -i audio.out -map 0:0 -map 1 \
  -vcodec copy -acodec copy new_video.mp4

That will combine stream 0 from the first file (which will PROBABLY be
the video, but check with "avconv -i video.mp4" again) with all of the
second file (the audio).

> 
> -- 
> underground experts united
> http://user.it.uu.se/~embe8573
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> Archive: [🔎] 87lheh7zos.fsf@nl106-137-147.student.uu.se">https://lists.debian.org/[🔎] 87lheh7zos.fsf@nl106-137-147.student.uu.se
> 

-- 
For more information, please reread.

Attachment: signature.asc
Description: Digital signature


Reply to: