Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

h264/x264 encoding

Name: Anonymous 2006-05-13 13:34

how does one encode 25min anime to h264/x264 and get an encoded file smaller than 130MB when not screwing up quality?

Name: Anonymous 2006-05-13 15:35

Take a course in algorithms

long story short, there are some amazing algorithms people have come up with over time that lets you compress data. Look up huffman trees. Those are probably the easiest to understand and they should give you an idea of how you can compress things and not necessarily lose quality

Name: Anonymous 2006-05-13 16:36

You can use 587kbps for video if the audio is 128kbps.

"x264.exe" --pass 1 --bitrate 587 --stats "movie.stats" --ref 2 --mixed-refs --no-fast-pskip --bframes 3 --b-pyramid --bime --weightb --trellis 1 --analyse p8x8,b8x8,i4x4,p4x4 --progress --no-psnr --output NUL "source.avs"
"x264.exe" --pass 2 --bitrate 587 --stats "movie.stats" --ref 2 --mixed-refs --no-fast-pskip --bframes 3 --b-pyramid --bime --weightb --trellis 1 --analyse p8x8,b8x8,i4x4,p4x4 --progress --no-psnr --output "movie.mp4" "source.avs"

Name: Anonymous 2006-05-13 16:40

This is how it's done:
First, you must realize that zero is nothing. Nothing is useless, so I strip all zeros out of the binary data.

After that, all that is left is a very long string of 1's. This string is compacted to a single 'one', along with a number indicating it's length. Then I add my signature and some other overhead, including a bit of random data to give a unique hash, thus ending up at between 2-16kb of compressed data.

I call this CAR, for Compress and Add Random.

Name: Anonymous 2006-05-13 16:55

>>3
X264 JUST KICKED IN, YO!
(actually, it's far more justified than CFLAGS)

>>4
Would win if it weren't a copypasta

Don't change these.
Name: Email:
Entire Thread Thread List