Re: normalize-audio and video files

2015-07-16 Thread Emanuel Berg
Nicolas George writes: > At both steps, you are transcoding. That means you > are paying the MP3 toll twice, including CPU time > and quality loss. > > I do not know how normalize-audio operates. It is > theoretically possible to adjust the volume without > transcoding, but I suppose this is tric

Re: normalize-audio and video files

2015-07-16 Thread Nicolas George
Le nonidi 29 messidor, an CCXXIII, Emanuel Berg a écrit : > ffmpeg -i $song -i $movie ${name}-norm.$ext > local song=$name.mp3 > ffmpeg -i $movie $song At both steps, you are transcoding. That means you are paying the MP3 toll twice, including CPU time and quality loss. I do not know

Re: normalize-audio and video files

2015-07-16 Thread Emanuel Berg
This zsh, using ffmpeg and normalize-audio, seems to do it. But it is slow. Remember normalize-audio is lightning fast so time is spent getting and putting together the audio with the movie. Perhaps it can be optimized somehow - do tell, if you know... The file: http://user.it.uu.se/~embe8573/conf

Re: normalize-audio and video files

2015-07-16 Thread Emanuel Berg
Nicolas George writes: > If using that kind tool, then better use a real > recent FFmpeg (either using the one from Sid or > building from source), because it has the following > filters that allow to do more work directly: I'm not getting into FFmpeg vs. avconv. For the solution Mr. Marjal sug

Re: normalize-audio and video files

2015-07-16 Thread Emanuel Berg
Darac Marjal writes: > You could try stripping the audio from the MPEG > file, normalising it and then recombining it. I know I can do it but it is such a basic thing so I suspected someone had already automatized it and put it into a nice little tool. But OK. -- underground experts united htt

Re: normalize-audio and video files

2015-07-16 Thread Nicolas George
L'octidi 28 messidor, an CCXXIII, Darac Marjal a écrit : > 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

Re: normalize-audio and video files

2015-07-16 Thread Darac Marjal
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 reco