johnv2pt0 Posted November 22, 2012 Posted November 22, 2012 Is there a way to compress .ogg's or .wav's to cut down on .miz size? My missions are pretty big because of this because I like having all communications as sound files as opposed to text in front of your face. Thanks ~
EtherealN Posted November 22, 2012 Posted November 22, 2012 (edited) Ogg is, generally, already compressed. Compression method can be one of many, however, up to you when creating the file. http://en.wikipedia.org/wiki/Ogg#Ogg_codecs For handling sounds for mission files, I'd generally suggest using Audacity: http://audacity.sourceforge.net/ Edited November 22, 2012 by EtherealN [sIGPIC][/sIGPIC] Daniel "EtherealN" Agorander | Даниэль "эфирныйн" Агорандер Intel i7 2600K @ 4.4GHz, ASUS Sabertooth P67, 8GB Corsair Vengeance @ 1600MHz, ASUS GTX 560Ti DirectCU II 1GB, Samsung 830series 512GB SSD, Corsair AX850w, two BENQ screens and TM HOTAS Warthog DCS: A-10C Warthog FAQ | DCS: P-51D FAQ | Remember to read the Forum Rules | | | Life of a Game Tester
Grimes Posted November 22, 2012 Posted November 22, 2012 Exporting in mono rather than stereo helps. Also I prefer using the GSM 6.10 codec for wave. The right man in the wrong place makes all the difference in the world. Current Projects: Grayflag Server, Scripting Wiki Useful Links: Mission Scripting Tools MIST-(GitHub) MIST-(Thread) SLMOD, Wiki wishlist, Mission Editing Wiki!, Mission Building Forum
johnv2pt0 Posted November 22, 2012 Author Posted November 22, 2012 Thanks guys I'll give these a go :)
Megagoth1702 Posted December 11, 2012 Posted December 11, 2012 Exporting in mono rather than stereo helps. Also I prefer using the GSM 6.10 codec for wave. Mh, interesting. Why do you prefer GSM 6.1 vs. ogg? Thanks. [sIGPIC][/sIGPIC] System specs:2500k @ 4.6 GHz 8GB RAM HD7950 OC'd Win7 x64 Posting tracks to make your DCS better - attention bump incoming!
Grimes Posted December 11, 2012 Posted December 11, 2012 Well for my mission on Station I used 55 very short audio files to form messages. With Ogg the total filesize is approx 2mb. With the GSM 6.1 codec I got it down to 1.3 mb. I realize its not much, but every little bit helps. The right man in the wrong place makes all the difference in the world. Current Projects: Grayflag Server, Scripting Wiki Useful Links: Mission Scripting Tools MIST-(GitHub) MIST-(Thread) SLMOD, Wiki wishlist, Mission Editing Wiki!, Mission Building Forum
Joyride Posted December 11, 2012 Posted December 11, 2012 Also, depending on what audio program you are using (I used Audacity to create/save the files and if necessary, dBpoweramp to convert) you may also have the option to select the kHz. I like GSM 6.10 at 22.050 kHz. Typical file sizes for a 3 second to 5 second radio call are 25-60 KB. You can save a little more file size using 11.025 or 8.000 kHz, but I think the quality gets too poor. I have over 100 sound files in a new mission, some up to 25 seconds/220 KB, and the .miz is 6 MB. Hasn't been a problem for anyone on our servers.
Speed Posted December 11, 2012 Posted December 11, 2012 (edited) Also, depending on what audio program you are using (I used Audacity to create/save the files and if necessary, dBpoweramp to convert) you may also have the option to select the kHz. I like GSM 6.10 at 22.050 kHz. Typical file sizes for a 3 second to 5 second radio call are 25-60 KB. You can save a little more file size using 11.025 or 8.000 kHz, but I think the quality gets too poor. I have over 100 sound files in a new mission, some up to 25 seconds/220 KB, and the .miz is 6 MB. Hasn't been a problem for anyone on our servers. Joyride, That's actually quite bad. Audacity is, I mean. You can get files 2 or 3 times smaller with AVS Audio converter. For example: 60 second sound file at 22 kHz same rate (good enough for music): .ogg - 246 KB .wav GSM 6.10 - 261 KB 60 second sound file at 11 kHz sample rate (MORE than good enough for radio, and good enough for music that is overheard over the sound of jet engines): .ogg - 182 KB .wav GSM 6.10 - 130 KB Obviously, .ogg has some scaling problems as you reduce the sample rate, at least if AVS Audio Converter is any guide. But your 5 second radio clip should really only need to be about 10 KB! I've actually put 20+ minutes of sound into missions before... and the final file size significantly under 4 MB :) One of the annoying things I've found with .ogg, at least with AVS Audio Converter, is that .ogg files often get the ends cut off of them during the conversion process :huh:. So I pretty much use exclusively .wav GSM 6.10. Edited December 11, 2012 by Speed Intelligent discourse can only begin with the honest admission of your own fallibility. Member of the Virtual Tactical Air Group: http://vtacticalairgroup.com/ Lua scripts and mods: MIssion Scripting Tools (Mist): http://forums.eagle.ru/showthread.php?t=98616 Slmod version 7.0 for DCS: World: http://forums.eagle.ru/showthread.php?t=80979 Now includes remote server administration tools for kicking, banning, loading missions, etc.
Joyride Posted December 12, 2012 Posted December 12, 2012 I've used dBpoweramp (it's similar to AVS) to convert to 11 kHz and make them as small as you mention, but it's generally too much degradation for my tastes when you add in ambient/engine cockpit noises that the radio messages are competing with. What I probably need to do it use less static/effects/crackle when I create the original voiceovers and let the modulation/degradation of converting to 11 kHz do the work ;-)
Spanker79 Posted December 16, 2012 Posted December 16, 2012 Hello to all..I have one question.. What is the maximum size of the ogg file so the mission can play it?? I tested one file about 4MB and it didn't play..Only when i cut it about to 124 kb played it.. Thnx... ◈ Lock-On Greece / DCS World Greece http://lockon-greece.forumotion.net/ 1st Hellinic Virtual Squadron for Flaming Cliffs & DCS World ~ Flying since 2008 ~
Megagoth1702 Posted December 17, 2012 Posted December 17, 2012 Well I suppose so, since you already have found out. This is new to me but then again I never worked with anymore bigger than 200KB. Just do some testing yourself. :p Also I can not think of anything that needs more than 1MB. :-/ [sIGPIC][/sIGPIC] System specs:2500k @ 4.6 GHz 8GB RAM HD7950 OC'd Win7 x64 Posting tracks to make your DCS better - attention bump incoming!
Recommended Posts