[EVO 4G Themes and Apps] frifox:
I needed a simple, fully automatic, HTC Evo specific, mass video encoder. There wasn't one so I decided to write my own. I'm not a programmer but have years of experience with batch scripting, PHP coding, and CLI based video encoding. Using what I know, I wrote a batch script that accepts any amount of video files, reencodes/remuxes/copies the video/audio/subtitle streams as necessary, and finally gives me files that will play on Evo without any additional programs. This was my weekend project because I had nothing else to do, so don't expect anything mind blowing.

Calling all the brave souls to try it out, I'm sure some of you might find it useful sometime ;)

Prerequisites

Windows (required, duh)

AviSynth (required, if already have it - re-install to the latest version)

K-Lite Codec Pack (Mega) (optional, but highly recommended if videos don't play/encode properly)

Common sense (did you install latest Avisynth/K-Lite Codec Pack (Mega)? did you restart? you sober?

How to use

​

Known limitations

No GUI (don't care, don't need one)

No ability to tweak quality/speed settings. This was the whole point of this script - its a feature, not a bug =P

No VFR (variable frame rate) encoding. Tho, VFR videos do get properly decoded = no audio/video sync issues.

Can't ignore soft-subs - use Haali Media Splitter control panel to disable them if don't want hardsubbed subtitles (aka, ENG movie that has ENG subs)

The code not as clean/proper as it should be, I'll rewrite it once most bugs are squashed and the script is deemed stable

Credits

This release includes many 3rd party binaries (both licensed and free), and I'm fully aware that it's not 100% ok to do so but oh well.

x264, h264 video encoder

NeroAacEnc, AAC audio encoder by Nero. Plz read & agree to their EULA before using, otherwise -

do not download Evo264

MP4Box, MP4 multiplexer, for muxing encoded h264/aac into mp4

MediaInfo, retrieves dropped file's detailed media information

WAVI, used for piping audio into NeroAacEnc from generated AVS file

FFMPEG, used for re-muxing audio stream if it's already supported by Evo

Unlocker, Windows has a tendency to lock files preventing script from working properly, Unlocker is the pill for that

PHP, runs all of the above :D

Changelog

2010-08-08 - v0.4.2: switched to ffmpeg for re-muxing audio streams. might fix cases where final video didn't have audio in it

2010-08-08 - v0.4.1: squashed a bug that produces out-of-sync audio on long + hd source vids (and possibly others)

2010-08-07 - v0.4: fixed not seekable videos. added unicode filename support (where possible, excluding WinXP - utf8 cli support there is a joke). implemented more checks/validations. squashed some bugs. trashed ffmpeg. realized coding in C# instead of batch/php would have been much better :rolleyes:

2010-07-20 - v0.3: rewritten 90% of code. fool-proof avisynth check. proper 6ch audio to 2ch downmixing. checks if video is decodable before encoding. proper variable framerate support (audio/video sync issues). no-audio on evo issue fixed, i think.

2010-07-04 - v0.2: swapped some binaries for a more legacy compatible versions. fixed non-even resized dimensions bug. fixed AviSynth check for WinXP (32bit), but if still not found - you can press Enter to ignore the error.

2010-07-13 - v0.1: pulls file's general/video/audio info 3x faster + small code cleanup

2010-07-13 - v0.0: initial release

Download

2010-08-14: Evo264 v0.4.2

2010-08-08: Evo264 v0.4.1

2010-08-07: Evo264 v0.4

2010-07-20: Evo264 v0.3

2010-07-14: Evo264 v0.2

2010-07-13: Evo264 v0.1

PS: I know you can use RockPlayer/YxPlayer/etc to play non-supported video files (I use those players myself too), so don't bother mentioning them in this thread.

PS: CLI is for nerds, Batch is for MSDOS, PHP is for websites, so why on earth use them instead of C/C#/etc? No special reason, just because I can.. and I don't know how to code in C/C#/etc :D