Compression Question - Android Q&A, Help & Troubleshooting

Hey guys. Alot of these roms are 200mb's+ and i was wondering how to highly compress stuff? Ive seen files being cut in half from 200mb to 100mb and sometimes less. But i cant cant anything to do this. 7zip is garbage and only makes a 12.4mb file into a 12.3.. no point in compressing it. Ive also see a jpg compressed file go from 2gb to 500mb.. I would really like some help.. 7zip, winrar, and windows standard zip are all terrible. Although 7zip does the best, its still bad and they are 2008 programs.. 1 year in technology and programing is outdated and we have 10 times better things

Doesn't quite work the way you believe, and modern compression is nearly exactly the same as what we were using 1, 2 and even 5 years ago.
JPEG is a lossy compression method (you lose quality and gain compressibility, this is fine for a photo). MP3 is quite the same, and it is also generally fine for music. For files such as drivers, scripts, kernels and the such, we need lossless compression. This uses redundancy to compress, and once extracted you'll have exactly the same file as you did before (ie, no loss in quality). This is the same as FLACs and PNGs, for example. Compressing an already compressed jpeg will do practically nothing, it's already compressed. As with mp3s and flacs.
Text files and some binaries are often not compressed though. As a result, throwing a 20mb text file into 7zip will probably turn it into 3mb or so with moderate compression. If there is something to compress in a folder full of files (such as ROM files or even .zips), you will notice filesize will drop. For example, i half the size of my NANDROIDs by compressing them as .rars when i store them on my computer.
It's all about knowing what to compress and how. 7zip is a great compressor and is still very widely used today. For some good reads, Lossless and Lossy data compression.

Related

Movies On XDA

Hi,
Could someone tell me what the correct settings are to encode video to my XDA. I need screen resolution and FPS also Kbps.
Video Encoding for Pocket PC
The simplest method of encoding for the pocket pc is to encode using windows media encoder. Simply download the encoder from
http://www.microsoft.com/windows/windowsmedia/download/default.asp.
Once you have it is very easy. There are templates for pocket PC.
Voila!
I have noted however that mpegs encoded for the pocket PC look and play better. I have not compared with the new encoder though. To play mpeg files you need mpegtv.
http://www.mpegtv.com/
BeDammit
Beos isn't dead...
http://www.yellowtab.com
Also, with WME9 you can tweak quite a few settings to customise it for your needs, although it's far from intuitive. I use it myself to encode movies for viewing on the train, quite acceptable quality, full-screen, stereo, 20fps, at about 1MB per minute.
I've been asked to share some instructions for Windows Media encoding, as the existing how-to guides only cover divx and mpeg: so here goes...
1) Get the software - Windows media encoder 9 - from Microsoft here
http://www.microsoft.com/windows/windowsmedia/9series/encoder/default.aspx
2) You can use the wizards to covert for pocketPC, but as this is about tweaking for optimum performance, select the custom setting to create a blank project and bring up the session properties window. I'll now go through the tabs on the session properties:
Sources) WME is very flexible, and allows you to use multiple sources, but in the case of simple file conversion, just alter the default source. Select the File radio butto on the source from section, and browse for your file.
Output) Select the Archive to File checbox, and then browse for or enter the output filename. Note WME will helpfully set the extension to wmv automatically. Make sure the push and pull checkboxes are cleared.
Compression) Here's the fiddly bit. Why they don't allow you to create and save off a complete custom destination is beyond me, but select a destination of PocketPC and click edit. We'll now go through the compression settings dialogue:
- General) For pocket PC you want to use Audio: CBR: Windows Media Audio 9, Video: Windows Media Video V8. You now need to set up your target bit rate. Windows media allows a single file to have more than one bit rate, so that if it's viewed over the internet, a different stream can be sent depending upon the bandwindth. As we're going to be creating a single file, we'll only want a single bit rate. Remove all the target bit rates and add a new one. Give it a bit rate of 120K - note this pop-up window is a bit superfluous, it just alters the caption on the second tab, from where the real bit rate can be set:
- 120 Kbs) OK here is the main tweak page for the compression. Here are my suggested values for a very higly compressed, but watchable file:
Audio format: 20kbps 22KHz stereo CBR. You can up this if the sound quality is very important, but don't go too high otherwise the PocketPC won't have enough power to process the file.
Video Size: use a calculator to work out the correct dimensions to produce a full screen on the pocketPC, given your original video size. So if the original video was 352x240, we want a width of 320 to fit the screen. 240*320/352=218ish, so the size you would want is 320x218.
Frame Rate: High frame rates can require too much performance than the pocketPC can provide, but it's worth playing around with this one. I tend to go for 20fps for movies, 15fps for animation (such as Southpark )
Key Frame Interval: If the PocketPC video stalls because of peformance, this is effectively how long you'll have to wait before it recovers. Lower values produce bigger files, but higher values make stalls more irritating. I tend to use 4s
Video Bit Rate: One of the best things about Windows Media is the bit rate is totally flexible. You'll definitely want to play around with this one. The higher the bit rate, the bigger the file and the better the qaulity, but the more power required to play it. 100K bps gives a not-crystal clear, but perfectly watchable result.
Buffer size: I tend to leave this at about 5s - it affects the total memory required when watching the movie, but doesn't make tht much difference.
Video Smoothness: This setting is a little fiddly. It determies whether you want a smooth but slightly blurry video, or a sharp but jerky video. It depends on what you're encoding. It's a percentage value. I generally use 5 for action movies, 15 for southpark. Keep it low, otherwise you'll get a slideshow on the PocketPC.
Once you've set up your values, you'll probably want to use the export button on the General Tab to save this off to use again.
Back on the compression tab) Initially leave two-pass encoding unchecked, so that you can encode just a bit of the file first to check things are OK. Once you're happy with the results, you can select two pass encoding to produce slightly better quality results.
Video Size) As we set up the correct video size on the compression settings, this is a bit superfluous. However it can be used to crop borders off letter-box content, which saves a bit of space.
Attributes) Set up how you want
Processing) If the source is a poorly encoded video, you can de-interlace, or if it's a movie that has been recorded directly, you can inverse telecine (telecine is where they change the frame rate from film at 24fps to video at 25fps). I tend to leave it as None.
Plug-ins) OK this isn't really important, unless you have a DVD rip that has very quiet sound. There's no simple way of amplifying the sound in WME, so you need to use an audio plug-in. I've used Scrollworks Peak Slammer with good results, but it's quite costly for a simple audio amplifier. I'd be interested to know if there's a simple freeware audio amplifier plug-in out there. http://www.scrollworks.com/products/slammer
Security) Leave blank
Advanced) Leave the defaults
Now click apply!
Ok don't go the whole hog just yet - click start encoding and let the first 30 seconds or so get encoded, then stop the encoding. This doesn't delete the partially encoded file, so you can check the output to make sure it's OK. Click the properties button to bring up the properties window again, and alter any settingas you feel need changing here, such as volume, size, compression, smoothness etc. Keep doing this partial encode/tweak settings cycle until you're happy with the results.
Once you have good session settings, go back to the compression tab and select two-pass encoding and click the apply button. Now press encode and wait for your file to be produced.
Hope this helps
having played with encoding quite a bit, i have to say that when disk space is a problem, nothing but divx is worthwhile.
Get the DIVX codecs from www.doom9.net
Get the application virtuadub from the same site
Now you can open any avi,mpeg file in virtuadub, and encode it using the divx codec. Apply a resize filter if you want to make the screen size smaller. Use some audio codec settings to reduce sound quality, and you will have a movie, not DVD quality, but watchable, and doesnt take hundreds of Mbs.
Use pocketdivx http://www.projectmayo.com/projects/detail.php?projectId=9
to play the movie.
Also found a great audio tool to decrease the size of mp3 or WMA files.
DbpowerAMP from http://www.dbpoweramp.com/ allows you to covert audio formats, and to reduce quality.
Managed to get a 5Mb mp3 file, to 900k WMA file, and it sounded good on the xda
I've noticed that video playback on the XDA will be a lot smoother if you turn off the phone while viewing. Probably something to do with the phone being a realtime application with high priority.

How to compress data for Siemens SX56

Hi
i am using SX56 PDA. when i send any song file from desktop to SX56 through synchronising using cardle it doesnot compress the data and take the same space in SX56 as in desktop PC.
How i can compress its data .
plz help me
Thanks
thats how it works at least i've never heard about anything like compression being default or even an option you can choose using activeSync
maybe you could pay for some 3th party compression tool which works like it does on the pc but it would make the pda slower
If you're tryingto load music onto your SX56, you want to make sure you're loading .mp3 files. These can be encoded in different bitrates, a lower bitrate takes less space but may not sound as good. So you probably want to have them in a fairly low bitrate if you want to have small files and don't mind the quality deredation. You'd do this on your PC before moving them over to the SX56.
if you want as small as file as posible
i would most likely make it WMA with a 64K/sec setting

How to convert video file to .wmv that is used in PPC 2002?

Hi !
Does anyone know how to convert video file to .wmv that is played in PPC 2002? Which programs and methods should be use?
Can anyone show me the methods to convert it? Because I used to play .wmv but its speed doesn't like we play video file.
Thank you in advance,
You may have to goto microsoft.com and download the latest version of Windows Media Player. Goto: C:\Program Files\Windows Media Components\encoder. Open wmenc.exe >>> Convert File >>> Pocket PC. I havent't seen any major difference in sound quality by lowering it to voice, but it does make the file substantially smaller. The compressed files play flawlessly on the XDA. The upside of this format is the images look great. The downside is that its only 20fps so frames are dropped. You may want to look into MP4 if this bugs you. But this is the simplest method I've found.
gunsandrosses said:
You may have to goto microsoft.com and download the latest version of Windows Media Player. Goto: C:\Program Files\Windows Media Components\encoder. Open wmenc.exe >>> Convert File >>> Pocket PC. I havent't seen any major difference in sound quality by lowering it to voice, but it does make the file substantially smaller. The compressed files play flawlessly on the XDA. The upside of this format is the images look great. The downside is that its only 20fps so frames are dropped. You may want to look into MP4 if this bugs you. But this is the simplest method I've found.
Click to expand...
Click to collapse
Incredibly simple method, Ive compressed files from like 600 to 180 and its perfectly watchable on my SD Card.
But if its a real small file like 6megs, I found a site with full family guy ones and that file size and once converted ended up 20megs :?
im sorry i dont understand what you're trying to say, but I am interested in knowing how you converted family guy episodes to 6 megs. mine end up being 30-40 megs
Dude where would i find this prog on an XP computer?
gunsandrosses said:
You may have to goto microsoft.com and download the latest version of Windows Media Player. Goto: C:\Program Files\Windows Media Components\encoder. Open wmenc.exe >>> Convert File >>> Pocket PC.
Click to expand...
Click to collapse
Cheers
Smiley
I said what you have to do earlier in this string and windows media pkayer comes w/ xp. Also ozzy said "of all the things I miss, I miss my mind the most.
im sorry, i mean thread not string, ha ha
gunsandrosses said:
im sorry i dont understand what you're trying to say, but I am interested in knowing how you converted family guy episodes to 6 megs. mine end up being 30-40 megs
Click to expand...
Click to collapse
Nah I had family guy episodes at 6megs and ended up 30-40 once I converted the file to work on ppc.
awmaw
power director
hi
forum.xda-developers.com

How does the GS2 handle video files larger than 2gigs?

Hey guys,I've been reading a lot about how well the GS2 plays movies/videos,but I haven't found an answer to this.Can it play files larger than 2gigs?My Desire HD plays 720p mp4's flawlessly(almost) unless the file size is more than 2 gigs.In that case it won't even open thw file.
Any answer appreciated as 9/10 of the movies I have are high quality 720p and 1080p matroska files to play on my PS3,not some 700kbps ****-quality 500megs file.
Thanks!
Sent from my Desire HD using XDA App
It can play anything up to 4GB, but the file system wont allow you to transfer a file larger than 4GB. If you have some 8GB mkv files you will need to split them somehow.
It's not the file size that's important, although FAT32 has a limit of 4gb for a single file you can split a file up. It's the bitrate that's important, and so far the Galaxy s2 has played everything I've thrown at it, including very high bitrate 1080p files. It's perfect for video playback.
You can use MKV toolnix to split MKV files. It'll only take a few minutes since all it does is demux, split and remux the file. Since you're using MKV files i'm assuming you're tech savvy enough to navigate the GUI. It's pretty simple.
I won't quote because my multi-quote doesn't feel like working the last few days.
So,thank you all guys for your answers.
@jgittins
I know there is the fat32 limitation,wouldn't be around if I didn't! Splitting the videos is easy,reencoding is a pain in the ass(3-7 hours on my PC ).
@RXP
Bitrate,withing some sane limits at least,wasn't a problem for the DHD either.I encode a high profile 720p video clip from Avenged Sevenfold(I'm a big fan ) which lasts some 4 minutes and it plays heavenly.I use exactly the same settings for a movie(That turns out about 3.5 gigs) and it won't play.I use lower quality(not only bitrate) so that it turns out to be just less than 2 gigs(by chance at that time) and it plays really good.I then,out of curiosity,split the 3.5 gigs file to two equal sized files and it plays super smooth too!So the problem is a 2 gig limit on the DHD.As long as there is no such thing on SGS2 I'm extra fine,as the DHD will need reencoding nontheless,it can't play mkv's.
@Sticks02
Geek is my middle name pal!
Thanks,I'll try that and see how it goes.Even if I can't use it at first I'll eventually do it(I learn really easily ).

[Q] Playing WAV files

My phone system e-mails me my voicemails as WAV file attachments (doesn't support anything else). Apparently WP8 does not natively support playback of these files. I have installed an app that will play them but it doesn't seem to be accessible from within the e-mail app. Anyone have a suggestion on how to playback WAV received in an e-mail?
I can directly play them from the email attachment.. No need for additional apps..
Just tap it once to download the *.wav attachment and when the download finished tap it again to play the *.wav file...
Evidently there are a few different WAV encoding or encapsulations. Not every voicemail system uses the same one. In fact, Windows Phone 7 used to play a friend of mine's voicemail system's WAV files just fine, but his new Windows Phone 8 won't.
If you find a WAV that works, and one that doesn't, opening it in something like Audacity can tell you if there is something funky like a bit rate or some other audio compression CODEC that might render it unplayable. Doesn't help unless they can convert to MP3 or something...
There are tons of threads about this over here:
http://answers.microsoft.com/en-us/...42-3298-4b2e-8be4-db3dc2cbc53f?page=~pagenum~
Great...I'm NEVER going to get my users off iPhone as long as I have to hunt down workarounds for simple things like this.
Voice mails on WAVE?
That is such a waste of bandwidth, when the same could've been done on mp3 or amr format.
But seriously, why all this limitations with file formats on Windows Phone 8? It is ridiculous.
Same issue here. Really shameful and makes me wonder why I trusted MS and WP8 in the first place.
WAV is just a container format, like AVI. Most of the time, WAV is used for uncompressed PCM data, but it's possible to shove pretty much anything in there, including MP3 and various oddball formats. Saying that a given piece of software doesn't play back WAV is an invalid complaint. Figure out what's inside the WAV file, and then complain about that.

Categories

Resources