yashsingh1/xdaforums huggingface dataset:
[EVO 4G Themes and Apps] ausch30:
I got the same error "error! Avisynth folder not found in Program Files". I just opened the auto.php file in notepad and took out the avisynth check, encoding now. We'll see how it turns out, thanks for the effort.

Edit: just got this error

Downloaded the dll from here, trying again

http://www.dll-files.com/dllindex/dll-files.shtml?zlib1

Edit2: New error missing pthreadGC2.dll.

Found it, downloaded it, trying again.

Edit3: started, no errors, stopped, no file.

It seemed to be working but it just but the cmd interface just closed and it didn't output a file.
[EVO 4G Themes and Apps] frifox:
I assumed everyone was running the latest and the greatest... bad idea :rolleyes: Anyways, installed fresh Windows XP SP3 in VMWare, installed AviSynth, Installed K-Lite Mega Codec Pack, all using default settings... patched Evo264 accordingly and now it's all working.

2010-07-14 - 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.

See first post for new links ;)
[EVO 4G Themes and Apps] frifox:
Also, started encoding 2012 movie, BluRay source - 1920x800@12.1Mbps & DTS@6ch. Should be a good stress test for the script. Will report back once encoding is done :cool:
[EVO 4G Themes and Apps] kpkimmel:
might be able to make this an apk on the evo, to encode on the fly, i'll check it out and see how badly it slows down the phone, or even if the hardware can handle it.
[EVO 4G Themes and Apps] frifox:
this app is for PC, not Android :rolleyes:
[EVO 4G Themes and Apps] ausch30:
Thanks again for the work. I'm running Vista 32bit, tried it again with v2 and this is what I got

It got further than the first one but still ended up erroring out. The source I was trying to convert is a 1280x536 .mkv
[EVO 4G Themes and Apps] frifox:
You installed Avisynth? In assuming yes, but doesn't hurt to double check.

Also, redownload v0.2 and try again. I reuploaded that version a few times because i kept finding bugs right after uploading, so u might have gotten a buggy one. If that doesn't work, ill add some debugging to the script and have u run that instead.

EDIT: the "no combination of filters could be found to render the stream" makes me believe that you're missing some codec. you installed K-Lite Mega Codec Pack? does video play in Windows Media Player / Media Player Classic?
[EVO 4G Themes and Apps] ausch30:
avisynth, yes. I'll give re-downloading a shot and let you know. Don't really like codec packs (typically buggy or outdated) I usually just download the most current version of a codec if I'm missing one. I never use media player (always VLC player and that plays the file so it must have the codec available). I'll try your suggestions and get back to you.
[EVO 4G Themes and Apps] frifox:
VLC has it's own codecs library, and AviSynth uses DirectShow for piping dropped video into encoder, so try installing that K-Lite codec pack since it provides wide range of those codecs all in a nice package. (nothing wrong with codec packs, just make sure to uninstall any other codecs you installed before to avoid conflicts. I've used K-Lite for years and never ran into a problem, it's good)
[EVO 4G Themes and Apps] frifox:
Reporting back on that 1080p test encode I mentioned before,

Computer

Windows 7 x64

Core 2 Duo e6600 @ 2.4GHz

nForce 680i w/ DDR2 @ 400MHz

Video source

File: MKV, 2hr37min, 2012 BluRay

Video: H264 High/L4.1 @ 1920x800 @ 12.1Mbps / 23.976fps

Audio: DTS 6ch @ 1.5Mbps

Encoding (w/ NeroAacEnc)

3:26 PM - PHP: script started (+0m)

3:33 PM - FFMPEG: wav audio extracted (+7m)

3:40 PM - NeroAacEnc: aac audio encoded (+7m)

6:38 PM - x264: h264 video encoded (+178m)

Results

Audio encoding - 205MB @ 182Kbps / 11x realtime

Video encoding - 890MB @ 788Kbps / 0.9x realtime

Total encoding - 1.1GB @ 973Kbps / 1.2x realtime

Screenshots

​

IMHO the quality came out VERY good for a near realtime encoding from 1080p (read, I was encoding on a computer that I built back in January 2007 and no upgrades since then :D). In fact, I might even tone down some quality settings to speed up encoding time + lower file size and still get decent output. I guess its time for tweaking :cool:
[EVO 4G Themes and Apps] ausch30:
I thought VLC had it's own library but I wasn't sure. Doing your suggestions right now, I'll get back.

P.S. The screens look great, great job.

Edit: Didn't install k-lite (downloaded it but wanted to try something else first). Installed ffdshow, seems to be working, made it past the error I got last time. It's at 3.3% right now, running it on a 2yr old laptop so it's going to be a while.
[EVO 4G Themes and Apps] gerald410:
I'm trying it out on a 13gig .mts file. I'm have an I7 975 with 12gigs:) should be done in about an hr curious to see the results good job OP!
[EVO 4G Themes and Apps] ausch30:
You could convert 10 of those files in the time it takes me to do my one 4gb file. Times like these I miss my old Q9650 :(
[EVO 4G Themes and Apps] gerald410:
I hear ya I got the rig for video processing. great job coding all 8 cores are being used.
[EVO 4G Themes and Apps] frifox:
or have x264 team finally take a plunge into CUDA/whatever-ATI's-got. the newer GPU's pack some serious power. a while back i was doing some md5 bruteforcing, my e6600 was doing like 40m hashes/sec and when i switched to my equally ancient 8800GT - i believe the number jumped to ~200m hashes/sec. imagine what a GTX 4XX can do :P

but lets not get our hopes too high... i'm well aware of the brick walls x264 devs are running into so i doubt we'll be seeing anything with GPU acceleration anytime soon
[EVO 4G Themes and Apps] gerald410:
i'm monitoring my temps i'm on air cooling 2 cores are at 80c:( I need a lower priority setting lol
[EVO 4G Themes and Apps] frifox:
right click anywhere in the console window and select "mark". this should indirectly "pause" the encoding process and let it cool down a bit ;)

edit: hit escape to "un-pause"
[EVO 4G Themes and Apps] gerald410:
Thx for the info, I will report back the results later today have to crash have to work tomorrow. Great job Frifox and good night.
[EVO 4G Themes and Apps] ausch30:
Now at 20%, the eta clock is actually counting down now (was counting up, I was like "****, it's working but it just keeps getting further away" lol. 2 1/2 hours left.
[EVO 4G Themes and Apps] gerald410:
hang in there:) I have about 10 minutes left. The file i'm doing is Bullitt with Steve Mcqueen. Processed file came out to be about 1.7 gigs from 13 gigs transferring to the Evo now.
[EVO 4G Themes and Apps] frifox:
hmm... for some reason stock video player can seek some video files without a hitch but some constantly start re-playing from the start or some other seemingly random place when fast forwarding / seeking to somewhere in the video. i'll see what's causing the problem, probably will have to force minimum keyframe interval in x264 or mp4. oh well, its 12 here - time to crash. experiments will have to wait till tomorrow :D

also, might be a good idea to give user 5 seconds to change encoding settings before defaulting to current "balanced" profile and starting the encoding process. "speed" profile could be the turbo mode but with large filesize and possibly lower quality, and "quality" profile would be the insanely slow but very efficient 2pass encoding for both audio and video streams. either way, there is always something to improve :)
[EVO 4G Themes and Apps] ausch30:
Finished but I ended up with 2 files, 1 each for sound and video. As I was writing this I checked it again and the audio file disappeared so now I just have video 1.29gb from 4.36. Didn't get any errors but the audio isn't there.

I downloaded NeroAacEnc. I've never used it before, do I just put the exe in the tools folder in order for your program to use it?

Edit: Running it again, below is a shot of it working, from what I can tell it's seeing and encoding the audio properly. Going to bed though, I'll check and see if it worked in the morning.

Edit2: Never mind. For some reason the audio wasn't playing on my computer with vlc but I transferred it to the phone just to check and the audio works. Picture looks fantastic, as you said though, the center channel track is only coming through on the left channel.
[EVO 4G Themes and Apps] gerald410:
The resultant file plays on the computer but not on the evo.

will try another .mts file
[EVO 4G Themes and Apps] TooSlo:
Seems to work fantastically for me. Screamed through some videos at about 155fps.

I'm damn impressed, thank you SO much for this, makes converting my Mythbusters episodes that much easier for me!
[EVO 4G Themes and Apps] Sporkman:
not sure i converted a few bleach vids i had video plays only @ 15fps and the sound cuts in and out
[EVO 4G Themes and Apps] gerald410:
plays on computer w/sound on evo has picture no sound.
[EVO 4G Themes and Apps] frifox:
Those who have trouble playing videos on evo, can you post some MediaInfo dumps for both source and output videos? Also, you're all playing videos using the built in video player?
[EVO 4G Themes and Apps] ausch30:
How do you get it to use NeroAacEnc? I downloaded it, it's sng.exe, opens to a simple gui. Should I open that? just put it in the tools folder?
[EVO 4G Themes and Apps] frifox:
it should be "NeroAacEnc.exe"... did you download it from here?

http://www.nero.com/eng/downloads-nerodigital-nero-aac-codec.php
[EVO 4G Themes and Apps] daktah:
works like a charm for me w/o the nero stuff (site says links are down or something) with my avis and wmvs but failed my movs.

also its fast too it turned 7/10 (3 avis + 4 wmvs + 3 movs that failed) videos totaling 450mb (w/o the movs) to 7 videos totalling 195mb in about 30-35 min.

now all it needs is a sexy gui, manual output quality controlling, and mov and (havent tested but im guessing) mp4 conversion to keep the quality nice and uniform (i guess, im just kinda ocd about things like that).
[EVO 4G Themes and Apps] bigdogdan2:
after encoding and trying to run on my computer, it runs great when starting from the beginning, but if you try to skip to any place within the movie windows media player classic hangs. do I need to tweak anything?
[EVO 4G Themes and Apps] ausch30:
Thanks, below is a screen shot of what I downloaded originally, downloaded the one you linked and installing it now.
[EVO 4G Themes and Apps] frifox:
that happened to some of my encodes as well, i'm trying to figure out the cause of that right now.

lol, if you downloaded the correct file, you would have found "NeroAacEnc.exe" file inside the archive (no setup/installation/gui/etc)... drop that file into "tools" folder and you're set to go.

gui? who needs gui? lol, j/k. i don't have enough skills to do GUI's so i'm sticking with whatever i know. also, no gui = less code = less problems :D

i'm trying to create a tool that would be well balanced and require absolutely no input from the user, aka - do all the thinking for you. of course, i'm planning on adding a feature where after you drop the files on the script - it gives you 5 sec to choose between Fast, Balanced, and Quality presets before defaulting to the Balanced. now, if you really want to tinker with the quality settings - open up auto.php file and edit the x264 cli command as you wish :)

mov/mp4? i thought it already did that... in fact, it should support ANY video file as long as your WMP/MPC plays it.

anyways, i'm doing a re-write of the code which will hopefully address all those mentioned problems. give me a few days and i'll load the new version here once i'm done.
[EVO 4G Themes and Apps] ausch30:
Well the one you linked was an exe file and I downloaded it but the file is Nero-10.0.13100_trial.exe. I used 7zip to open the archive and below is what I got.

Opened each of those with 7zip and didn't find the file.
[EVO 4G Themes and Apps] frifox:
woah, for some reason when you click that link - nero site redirects you to their main product's page... middle click that link i provided (for some reason nero does NOT redirect to wrong page when i do that), or just google for "neroaacenc download" and it'll be the first result
[EVO 4G Themes and Apps] ausch30:
Thanks for your help, got it now. Encoding now, we'll see how it looks. Is there any way to fix the center channel issue? I was thinking of using something else (media coder or whatever) to encode in stereo and then use this but that seems like the long way around.

Supposedly you could just use media coder to encode video to work on this device but I've tried several times and I guess I just haven't gotten the combination of settings correct yet.
[EVO 4G Themes and Apps] frifox:
no need, the new version i'm coding detects input channel ordering and then properly downmixes them to stereo. hold on tight :)
[EVO 4G Themes and Apps] gerald410:
sounds awesome!
[EVO 4G Themes and Apps] ausch30:
Cool, looking forward to it. That Nero encoder really made a difference. The first video looked good but the second one I did with Nero looks better and runs smoother. I also noticed the video getting hung up a couple times on the first video I encoded, didn't have that problem with Nero.
[EVO 4G Themes and Apps] frifox:
implemented a fool-proof avisynth check.

some aren't getting audio due to different versions of avisynth handing multichannel audio streams differently. you might have had no audio for different reason, but the multi-channel streams are now handled properly :)

now multi-channels are downmixed properly. well, at least with the latest avisynth/k-lite-codec-pack :)

if source video is vfr (variable frame rate), then final video will be the average fps. vfr is lost during the encoding (not my fault, blame avisynth ;))

ok, that being said, see the first post for the v0.3 download links :D
[EVO 4G Themes and Apps] ausch30:
Amazing job, couldn't ask for more. Sound is perfect, picture looks great. One question though. I was thinking of getting an HDMI cable to output the video to my 42" plasma, have you tried doing this? Does the encoding reduce the picture to a point where the quality would be too poor to be worth watching on a large screen?
[EVO 4G Themes and Apps] frifox:
Videos are resized to below 800x480, so yeah i assume it would look horrible on huge screens. You can edit the script to increase resolution, but the larger resolution - the less efficient single pass encoding would be. 2 pass would be the better way to go with 720p videos, and that im planing on adding sometime later. Right now the goal is to get everything running flawlessly for 800x480 and only then worry bout 1280x720 and larger

So, if you guys run into ANY problems - let me know and ill fix it =D
[EVO 4G Themes and Apps] frifox:
did another test encode of 2012 1080p. resulting quality is amazing and encoding was fast, but... still having those seeking issues. i guess its back to drawing board ;)
[EVO 4G Themes and Apps] ausch30:
I was noticing that seeking issue as well, minor annoyance though. All in all I think it's great for what it is but if I were to change anything I would fix the seeking issue, keep the original aspect ratio, and make the videos playable on a large screen. I don't have the slightest clue how to write or edit code though so I'll just have to wait for someone else to work on those things. Once again, great job and thanks for the effort.
[EVO 4G Themes and Apps] frifox:
working on fixing the seeking issue as we speak. seems like its x264 and not mp4box that's the cause. just gotta play around with x264 settings to see what messes up the seeking.

it already keeps the original resolution's aspect ratio, even if the pixel ratio isn't 1:1. can you post a screenshot of MediaInfo's info on the video file where Evo264 is not keeping original aspect ratio? also, some videos have multiple resolutions (mediainfo reports those as Width & Height vs. Original_width & Original_height). this was triggering the "video not decodable" error and i'm working on fixing that as well.

playable on large screen isn't my primary goal here, tho after we squash all the bugs and optimize the encoding process - i could give an option to resize down to 800x480 or 1280x720, which would be the optimal for HDMI (external monitors, large or not).
[EVO 4G Themes and Apps] adelaney:
Great work Frifox. I finally got a chance to use this, and it doesn't get any easier to convert videos. Its awesome. Thanks.
[EVO 4G Themes and Apps] topdnbass:
It's great, what would be awesome is 3 options when we first drop in the file.

1. 720P

2. 720P (high bitrate)

3. 800x480

hell maybe even 4. 800x480 (high bitrate) for good measure.

Or something along those lines, so we don't have to go editing files.

Also getting the seeking errors, it proved troublesome last night.

I was watching a show and everything was nice and smooth until towards the end.

Got stuttery suddenly and then I closed it and tried to go back but it started over.

So I wanted to seek back to that spot.

Needless to say.. It wasn't going to happen so I finished it on my Computer.
[EVO 4G Themes and Apps] frifox:
after a long time of tinkering here and there, updated Evo264 to v0.4

changes: fixed not seekable videos bug. 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 C# would have been better :rolleyes:
[EVO 4G Themes and Apps] frifox:
err, i guess i missed one small bug that produces out-of-sync audio on some videos - in my case a 2hr37min, 1920x1080@12Mbps, 15GB, BluRay source.

see OP for the new download links ;)
[EVO 4G Themes and Apps] frifox:
18 downloads and no reports. people tend to not report back if things are working just fine... if thats the case, i'll remove the BETA tag and call it RC1 :D

now is the time to request features and other bling bling that you'd wanna see if the final stable release.
[EVO 4G Themes and Apps] foueddyf:
I'm gonna try this and report back, worky or no worky :-)
[EVO 4G Themes and Apps] foueddyf:
Ok, so I've tried 3 types of videos (they're all MKVs, so wrapped H264 I'd presume):

- a 720p TV episode ---> Conversion went good

- a 1080p movie ---> Conversion went good

- a 720p subbed Anime episode (soft subs, not hard) ---> Video encoded correctly but no sound and no subtitles.

I haven't tried converting SD videos because I only have HD videos.

Overall, good job on the app :)
[EVO 4G Themes and Apps] frifox:
could you drop me a MediaInfo dump of that last file, or even better - send the file itself to me so i can find out whats the problem?
[EVO 4G Themes and Apps] foueddyf:
Sure, here's the dump:

General
Complete name : Z:\Anime\Fullmetal Alchemist\Fullmetal_Alchemist - Brotherhood - S01E64.mkv
Format : Matroska
File size : 238 MiB
Duration : 23mn 57s
Overall bit rate : 1 387 Kbps
Encoded date : UTC 2010-07-04 15:10:43
Writing application : mkvmerge v3.4.0 ('Rapunzel') built on May 15 2010 09:38:20
Writing library : libebml v0.8.0 + libmatroska v0.9.0
Cover : Yes / Yes / Yes / Yes

Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L5.0
Format settings, CABAC : Yes
Format settings, ReFrames : 16 frames
Muxing mode : Container profile=Unknown@5.0
Codec ID : V_MPEG4/ISO/AVC
Duration : 23mn 57s
Width : 1 280 pixels
Height : 720 pixels
Display aspect ratio : 16:9
Frame rate : 23.976 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Title : H.264 HDTV
Writing library : x264 core 100 r1659 57b2e56
Encoding settings : cabac=1 / ref=16 / deblock=1:-1:-1 / analyse=0x3:0x133 / me=umh / subme=10 / psy=1 / psy_rd=0.70:0.10 / mixed_ref=1 / me_range=24 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-3 / threads=12 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / constrained_intra=0 / bframes=16 / b_pyramid=2 / b_adapt=2 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=25 / scenecut=40 / intra_refresh=0 / rc=crf / mbtree=0 / crf=20.0 / qcomp=0.75 / qpmin=10 / qpmax=51 / qpstep=4 / ip_ratio=1.40 / pb_ratio=1.30 / aq=1:1.00
Language : Japanese

Audio
ID : 2
Format : AAC
Format/Info : Advanced Audio Codec
Format version : Version 4
Format profile : LC
Format settings, SBR : Yes
Format settings, PS : No
Codec ID : A_AAC
Duration : 23mn 57s
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 96.0 KHz
Title : AAC Stereo
Language : Japanese

Text
ID : 3
Format : ASS
Codec ID : S_TEXT/ASS
Codec ID/Info : Advanced Sub Station Alpha
Title : Styled Subtitles
Language : English

Menu
00:00:00.033 : en:Intro
00:12:18.037 : en:Part A

The video is 238MB, so it will take a while to upload.
[EVO 4G Themes and Apps] frifox:
Interestingly I did a very similar encode, same specs but a Naruto ep, and it encoded without a hitch. Did you install any codec packs or similar?
[EVO 4G Themes and Apps] foueddyf:
I'm actually using CCCP (Combined Community Codec Pack). I just installed the latest beta and now the Wavi decoder can't initiate when I try to convert the video.

Guess I have to use the Ultimate package you're linking. I don't really like to have unnecessary codecs installed on my comp.
[EVO 4G Themes and Apps] frifox:
Let it finish first...on my computer wavi crashes but still encodes properly... But if it doesn't, try the one mentioned in OP.

Btw I did test CCCP codec pack as well and it worked for the most source vids I used. Some didn't, but that's because they were originally encoded with a very rare codec to begin with.
[EVO 4G Themes and Apps] foueddyf:
I'm currently testing on other animes I have. Some sub groups don't encode their vids in the same manner.
[EVO 4G Themes and Apps] frifox:
Aight, let us know how it goes.

Using AviSynth as backend for this script is all great and awesome, but ill play around with using VLC, FFMPEG, or similar decoders which use their own codec libraries for decoding to eliminate these multiple Codec Pack issues...
[EVO 4G Themes and Apps] frifox:
x264 isnt as good as i thought it would be - it sometimes fails to extract audio stream from source video file. i added ffmpeg for that purpose instead since it seems to do a better job in this case. see OP for new download links, Evo264 v0.4.2.

PS: still trying to figure out why some of my test video's audio/video come out of of sync... tho it's not too common.
[EVO 4G Themes and Apps] nenn:
thanks for this, ive been wrestling with handbrake and subtitles all day. encoding now, hopefully it'll work well.

much obliged :D

Edit:

Works wonders with anime mkvs. Thanks :D
[EVO 4G Themes and Apps] frifox:
good to hear... tho double check for audio/video sync issues. some anime mkv's experienced that problems and some didnt... and no idea why :S
[EVO 4G Themes and Apps] Kllian:
Dude, that's pretty fcking awesome, going to check this out now and report back tonight.
[EVO 4G Themes and Apps] ausch30:
My motherboard bit the dust a couple weeks ago. I built a new machine using Vista x64 and now I'm trying to get this working again. I downloaded the latest version as well as the 64bit k-lite. Tried an .avi and .mkv, neither worked. With both I get "error! No decodable videos found". I re-read through the thread to see if I was missing anything, I can't think of what the problem might be.
[EVO 4G Themes and Apps] frifox:
Try K-Lite Mega instead, I had issues with x64 as well...
[EVO 4G Themes and Apps] ausch30:
Wow, that was a quick response. Downloading it now, I'll let you know.
[EVO 4G Themes and Apps] frifox:
instant email notificaions + xda app = win ;)
[EVO 4G Themes and Apps] ausch30:
Installed it and it seemed to be working, at least it got further than before, but I ended up getting a MS error wavi.exe has stopped working. Actually I just closed that error and checked it again and it's running now. Nice to, using all 6 cores :) That's the first time I've seen that.