Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
![]() |
#1 | Link |
Registered User
Join Date: Mar 2007
Posts: 28
|
Volume discrepancy between MP4 and Webm
I've a small number of short .avi videos I want to export as mp4 and webm for progressive download. Previously I've used Megui to export to mp4 without problem and I've just installed and got Ffmpeg exporting .webm successfully on Windows.
The webm files are fine but the volume is much lower than the mp4's from the same source material. Does anyone have any simple suggestions for remedying this? I could use the -vol parameter in Ffmpeg to boost the webm volume but it would be an estimate and shouldn't both audio encoders produce the same volume from the same source? |
![]() |
![]() |
![]() |
#3 | Link |
Registered User
Join Date: Mar 2007
Posts: 28
|
Thanks, I read that too, but the article I saw said that it was fundamentally broken in all builds of Ffmpeg up to 0.6, I'm using 0.6 or later, I forget which version but definitely post 0.6. Subsequent to Ffmpeg 0.6 it said it was working fine.
I fixed it by boosting the volume in the Ffmpeg encode to max, it appears to cap the volume before it distorts, its not ideal but it will do. N.B., I don't get it, Google say they will cease support for mp4 so as a content producer I have to encode my video in webm format for native HTML5 playback but the tools for encoding in webm are half finished. Would it not have been better to release user friendly tools with proper documentation and then announce you will cease support for mp4 after? - Just ranting. Last edited by edwinbradford; 16th March 2012 at 18:34. Reason: addendum |
![]() |
![]() |
![]() |
#4 | Link |
brontosaurusrex
Join Date: Oct 2001
Posts: 2,392
|
after quite some playing around i end up with:
1. pipe video input using ffmpeg to vpxenc 2. extract input audio + hard replaygain, then encode using oggenc 3. muxing video + audio using mkvmerge
__________________
certain other member Last edited by smok3; 17th March 2012 at 12:59. |
![]() |
![]() |
![]() |
#5 | Link |
Registered User
Join Date: Mar 2007
Posts: 28
|
Its the "quite some playing around" I want to avoid
![]() |
![]() |
![]() |
![]() |
#6 | Link |
Registered User
Join Date: Oct 2001
Location: Germany
Posts: 7,148
|
Hybrid does what smok3 describes,..
1. convert video with vpxenc or extract video with ffmpeg/mp4box/... depending on the selection 2. extract audio 3. decode audio with ffmpeg -> adjust gain, normalize, downmix, speedup,.. with sox -> convert to X with audio selected settings. all depending on what the user specified 4. mux audio&video with mkvmerge (only downside: replay gain is not automatically detected and applied,..) Cu Selur |
![]() |
![]() |
![]() |
Tags |
ffmpeg, megui, mp4, webm |
Thread Tools | Search this Thread |
Display Modes | |
|
|