Logo Logo
/// 
Ton normalisieren, Aspect ratio patchen ohne Re-Encoding

Sound normalization, aspect ratio patch without re-encoding



Frage von vs:
Oktober 2010

Hi,

I have several thousand files with the same problem: The audio peak level is much different, just like the dynamic range. Additionally, all videos a 4:3 frame (letterboxed or full frame) have, however, flagged some of the 4:3 letterbox files incorrectly with 16:9.

DVDPatcher is out. You can click several thousand individual files and patch does not work.

Now I was so proud to be able to everything abfrühstücken the following workflow:

File normall.bat
[Code: 1:86940299 d9]
@ Echo off
for%% a in (*. mpg) do%% normalize a
[/ Code: 1:86940299 d9]

File normalize.bat (called the normall)
[Code: 1:86940299 d9]
@ Echo off

------------- Echo File: "% 1"

Echo ------------- Step 1: Aspect Ratio
c: \ standard test \ mpgtx.exe-s-A2 "% 1"-b chunk0

Echo ------------- Step 2: Demultiplexing
c: \ standard test \ ffmpeg-vcodec copy-i chunk0.mpg-f mpeg2video "temp \ chunk0.m2v"-acodec copy-f mp2 "temp \ chunk0.mp2"

Echo ------------- Step 3: Dynamic compression and normalization
c: \ standard test \ BeSweet.exe-core (-input "temp \ chunk0.mp2"-output "temp \ chunk0norm.mp2"), azide (-n1-c normal-L-3db - maximize)-ota (- g max)-boost (/ b2 = 5) 2lame (-s 48-b 224-ms)

Echo ------------- Step 4: Re-multiplex set, aspect ratio:
c: \ standard test \ ffmpeg-i "temp \ chunk0.m2v"-i "temp \ chunk0norm.mp2"-acodec copy-vcodec copy-aspect 4:3-f mpeg "output \ chunk0.mpg"

Echo ------------- Step 5: Cleanup and Rename
del chunk0.mpg
del temp \ chunk0.m2v
del temp \ chunk0.mp2
del temp \ chunk0norm.mp2
cd output
Ren chunk0.mpg "% 1"
cd ..

Echo ------------- Finished
[/ Code: 1:86940299 d9]

I know Dirty Trick and the dynamic compressor in BeSweet could be better. But in this particular application, for once sufficient.

Problem 1: For large files will lock up mpgtx the hoof, after it apparently tried to download multi-gigabyte files completely into RAM.

Problem 2: File names with special characters and spaces are not handled correctly, with no call "% 1"% 1 call even with no quotation marks.

Problem 2, I will solve well have, as I use a small C code instead of the batch as a calling instance.

Problem 1 remains. I am looking forward to all tips relating to aspect ratio patch from the command line (the switch "-aspect 4:3" in ffmpeg is ineffective in copy mode)

Best regards and thanks in advance.



Antwort von tommyb:

Problem 2:
This is normal and could only be changed when you convert the file to another character set. Perhaps you are editing the batch file in the editor? Well, there is a program which is called "String Converter".

http://www.gbordier.com/gbtools/stringconverter.htm

If the batch file to convert to OEM, work synonymous umlauts and special symbols. However, it is not really practical (not recommended anyway).

You might as synonymous with mass renamer AntRenamer all the ö and ü to rename OEUMLAUT UEUMLAUT etc.. Later you can replace it back UEUMLAUT ö - by AntRenamer.



Problem 1:
Yes, ffmpeg somehow ignore all the possible switches are noted in the doc. Even changing the field order funktiniert not easy.

Have you ever tried with the Mencoder? Which is available together with MeGUI in the package.



Another tip:
For a continuously identical volume is suitable ReplayGain. Especially for MP3, Vorbis and AAC, there are small tools with which to "patch" the replay gain value set in the file. The-playing device must support it.

Much safer but the file is to change directly. Since you anyway rekomprimierst the sound (SoX is way better in my opinion, if more complex way than synonymous BeSweet) you could just leave behind as well with "wave gain" lower or raise the volume to the average of 89dB.

WaveGain there are here (and it works really well as long as the files have a similar volume compression):

http://www.rarewares.org/others.php




Antworten zu ähnlichen Fragen:
sound problems after encoding
TMPEG und Aspect Ratio einstellen
MPEG2 Aspect Ratio
Aspect Ratio (Seitenverhältnis) nach Virtualdubmod Bearbeitung stimmt nicht
Encoding per GPU vs. CPU: nVidia Turing-Encoding auf x264-Medium-Preset Niveau?
Idee/Wunsch: Multi-aspect timelines in NLEs
The unscripted sound - Die Rolle des Location Sound Mixers im Reality TV
Blackmagic DaVinci Resolve Update 15.2.4 bringt u.a. besseres H.264/H.265 Encoding
Blackmagic Design: Atem Mini Pro Switcher mit integriertem H.264-Encoding für Live-Streaming
YouTube 4K Video Encoding zu langsam? Mit diesem Hack geht’s schneller …
andere Schwarzwerte nach encoding
Teradek Prism Flex: H.264/H.265-Encoding/Decoding und Streaming in 4K HDR
Kein Hardware Encoding Video Pro X12
Lohnt sich AMD64 für Videobearbeitung (MPEG-Encoding)
Lohnt sich AMD64 fü r Videobearbeitung (MPEG-Encoding)
SAT-Karte mit Hardware oder Software-Encoding
F: Langsamste Geschwindigkeit für Hardware-MPEG-Encoding
Kein Smart Encoding mit NeroVison Express
Live Encoding für Mac OS X
Virtualdubmod und XVID1.1.3 -> Probleme beim 2-Pass-Encoding
Neuester Patch 16.0.2.288 für VPX
VPX Akt.Vers. Neuer Patch 16.0.2.291
Neuer Patch für VPX 16.0.2.298
Neuer Patch VPX 16.0.2.301
Neuer Patch für VDL. Akt. Version
Neuer Patch für VPX (Akt.Vers.) 16.0.2.304

















weitere Themen:
Spezialthemen


16:9
AI
ARD
AVCHD
AVI
Adobe After Effects
Adobe Premiere Pro
After effects
Apple Final Cut Pro
Audio
Avid
Avid Media Composer
Cam
Camcorder
Camera
Canon
Capture
Capturing
Clip
EOS
Editing
Effect
Error
Export
File
Files
Film
Final Cut
Format
Formate
HDR
Import
JVC
Layer
Light
MAGIX video deLuxe
Magix
Microphone
Monitor
Movie
PC
Panasonic
Pinnacle
Pinnacle Studio
Player
Premiere
RAM
RED
Recording
Red
Software
Sony
Sound
Studio
TV
Tape
Video
Videos