PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

Re-encode to MPEG4 SP without increasing file size?

Bjorn Keizers · 15 Sep 2004, 17:21 UTC
I bought an Archos Gmini 400 multimedia player, but alas, a lot of stuff doesn't work on it. I'm no encoding expert, so I need your help

It'll only accept MPEG4 simple profile movies with an MP3 or IMA-ADPCM audio track. It uses the XVID or DIVX4/5 MPEG4 codecs. They also have to be smaller then 640x480 @ 30 FPS. Most of my files are your basic divx avi's, so I need to convert them.

Now, it does come with virtualdub and its own little front end, but when I convert a 40 mb south park episode to a file with a lower bitrate and smaller resolution, I end up with a 124 mb file. Three times the size, and lower quality.

Who oh who will explain to me how to properly re-encode to simple profile MPEG4 without increasing the file size?
Isn't MPEG always bigger then AVI?

And why the hell did you get a device like that? What's wrong with your play-it-all PDA? (heck, I played a full-sized AVI movie via WiFi on my Asus a while back! beat that!)

MPEG sucks by the way :P.
DivX is built on MPEG-4. AVI is just the container format.
MPEG rocks.
MPEG is way too big, go for DivX or Xvid :).

For example, a HDTV episode of [insert TV show here] is about 350mb, while a 'normal' TV-rip is over 400mb when in MPEG format (quality worse, bigger filesize, in short: crap).

Sure, if size is not important (DVD), use MPEG. I will stick to my PPC + DivX/Xvid :P.
Because MPEG1, MPEG2 and MPEG4 are all the same? Also nice job suggesting something that's impossible. Perhaps you missed the "must be MPEG4 with MP3 audio" part?
Maybe I wasn't talking about the device damian? Maybe you should read my posts? :roll:

I was just saying that I think DivX/Xvid is better then MPEG, and that he shouldn't have bought that device in the first place. But to each his own right? :lol:
But Divix is mpeg, how can it be better than mpeg?
Lot of people don't know that DivX is MPEG4. When they say DivX is better then MPEG, they really mean "DivX (MPEG4) is better then MPEG2".
OK, what he said /\ :D.

I have no idea about the technical side, I just see the results (See size-comparison above :)).
Miracle wrote:OK, what he said /\ :D.

I have no idea about the technical side, I just see the results (See size-comparison above :)).

But that's because of the encoding. Divx is indeed MPEG4.
damian":2x0szirj]

So?
So you need to say that you like Divx more than MPEG2 and stop saying other things.
Trae wrote:So you need to say that you like Divx more than MPEG2 and stop saying other things.


Missed this part?

Miracle wrote:I have no idea about the technical side, I just see the results (See size-comparison above :)).


I don't need to say shit just because you want to hear something else... I mean exactly what I said, and if it's MPEG2 I was talking about, then why bother saying it? You already seem to know it.
Bjorn Keizers · 17 Sep 2004, 15:00 UTC
And there I was, thinking this:


It'll only accept MPEG4 simple profile movies with an MP3 or IMA-ADPCM audio track. It uses the XVID or DIVX4/5 MPEG4 codecs. They also have to be smaller then 640x480 @ 30 FPS. Most of my files are your basic divx avi's, so I need to convert them.


Was clear enough... :roll:

As I apparently failed to make clear, most of the files I have are obviously Avi's in Divx 4 / 5 and some with the Xvid codec. So far so good. However, the problem is: they're not in MPEG4 simple profile. Whenever I convert one of my files to the same resolution, I end up with a file three times the size. The only way to keep the file size down is turn down the resolution. What I want to know is: can I re-encode them in the same quality without a big increase in file size?
In short this time: no. :P
Bjorn Keizers · 17 Sep 2004, 16:59 UTC
That's an answer I can work with. Thanks.

I'll fiddle a bit with the bitrates and shit, and see if I can find some middle ground on size vs. quality. I hope Archos or some other tinkerer will fix this annoying limitation in the firmware; I want to watch South Park goddamnit :D
Well, the bitrate obviously decides what the filesize will end up at. You will always lose quality when reencoding though (unless at a high bitrate). You'll probably just have to play around and see which bitrate/resolution, produces the best quality/size ratio. I guess you already knew this, but I felt like posting ;)
Well then I wish you good luck finding a low bitrate that gives you small filesizes + good quality in MPEG2 (there, I said it, be happy Trae ;)) files, cause frankly, you probably will end up with at least 1.5/2 times bigger files.
bjornkeizers wrote:As I apparently failed to make clear, most of the files I have are obviously Avi's in Divx 4 / 5 and some with the Xvid codec. So far so good. However, the problem is: they're not in MPEG4 simple profile.

i don't know exactly the SP restrictions, but you should be able to encoding SP with divx and xvid (xvid even has default L1..L3 SP profiles). be sure to turn of B-frames, GMC, QPEL, Interlaced features. as MZGuy said file size only depends on bitrate (if it's constant bitrate encoding).

Miracle: MPEG4 Simple Profile is NOT MPEG2. You probably use divx/xvid with MPEG4 SP profile too. Example BetaPlayer supports only SP (plus some Advanced SP features like B-frames and quantization tables, but not all ASP features)
I give up... :(
Bjorn Keizers · 18 Sep 2004, 15:17 UTC
picard wrote:i don't know exactly the SP restrictions, but you should be able to encoding SP with divx and xvid (xvid even has default L1..L3 SP profiles)


That's what I've been using. Specifically, the latest divx codec 5.2.1. I use a 400 kbps average bitrate, single pass encode, good compression, progressive source interlacing, at a resolution around 320x200 or thereabouts, depending on the source. I end up with a file of around 450 mb.

I'll try it without interlacing and I'll give the xvid codec a try.
did you check what audio codec and bitrate are you using? maybe the avi files are so huge because the audio is uncompressed (very high bitrate). after encoding load the result video file in virtualdub and check File/File Information... dialog.
Bjorn Keizers · 18 Sep 2004, 19:03 UTC
picard wrote:did you check what audio codec and bitrate are you using?


Of course :-) I'm using the Lame codec. Since most of the stuff I have is downloaded, it already has a lower bitrate. I usually rip my own DVD's in 160 kbps since I like a bit better sound. So, I very much doubt that the sound codec is the guilty party here :-)
Mircale: This might explain it for you.
Trae, for a moment I thought you really tried to help out...

Why don't you just shut up or try to really help somebody out.

Moron...
Why would I link you to something that we had already described. It would have been repetetive. Not to mention I had to try out that new link.