DVDEnc v0.25 - DVD-to-MP4 Autoconverter - Xoom General

DVDEnc_0.25.rar (5.3MB) http://mediafire.com/?4xkmv4ydso2a5g2
DVDEnc is a Windows script to convert DVD to MP4. Defaults are already set to optimal. It uses HandbrakeCLI (included) to encode.
. Drag & drop operation.
. Batch conversion.
. Changeable speed setting (default = medium).
. Changeable quality setting (default = CRF 21).
. Auto-deinterlace, auto-IVTC, auto-crop, auto-subtitle, auto-chapter.
Install: Unpack. Create shortcut to DVDENC.CMD on desktop.
DVD Ripping: Install and use DVDFab HD Decrypter (http://www.dvdfab.com/free.htm) to rip DVDs to HDD.
Use: Drag-drop ripped DVD folder onto shortcut. To batch encode multiple DVDs, batch select desired folders and drag-drop. Unless otherwise specified, converted output is placed into source DVD folder(s).
Notes:
. Change output folder: Edit DVDENC.CMD; change set "vOut=" to desired folder. Example: set "vOut=C:\Videos"
. Change video quality: Edit DVDENC.CMD; change "vQual=21" to a value between 19 to 24. The higher the value, the lower the quality and file size.
. Change video resolution: Edit DVDENC.CMD; change "vRes=better" to desired resolution.
. Change encoding speed: Edit DVDENC.CMD; change "vSpeed=medium" to desired speed setting. The faster the conversion, the larger the resultant file size. Video quality will be constant.
. Change language: Edit DVDENC.CMD, change "vLang=eng" to your country's ISO639-2 code. (English=eng, French=fra, Spanish=spa, German=ger, Dutch=nld; for others, go to http://www.loc.gov/standards/iso639-2/php/code_list.php). This affects selected audio and subtitles. If no audio is available in specified lang, 1st track is selected.
. Change audio: Default is stereo AAC. To change to AAC/AC3/DTS, edit DVDENC.CMD, change "vAud=AAC" to desired setting. For Tegra 2, use AAC stereo only.
. If DVD has multiple titles, every title longer than 15mins will be converted.
. HandBrake.txt has full details of all HandBrake CLI settings.
HandBrake version: svn3993
download: http://build.handbrake.fr/view/Nightlies/job/Windows
documentation: http://trac.handbrake.fr/wiki/CLIGuide
x264 settings: http://mewiki.project357.com/wiki/X264_Settings
Known Issue: Not intended for and won't work on BluRays.
History:
0.25
. Fix: Check for title with longest time in same VTS chain.
0.24
. Add: Force CFR as default; user-changeable.
0.23
. Fix: failed duration check crashing script.
0.22
. Fix: prevent dupe encodes of multi angles.
. Fix: only include subs of specified language.
0.21
. Include all subtitles as default.
. Fix errorhandling.
0.2
. Add resolution/profile/level/tuning/audio change.
. Add output destination.
. Fix TimeStamp internationalization.
0.12
. Add support for multi-title DVDs.
0.11
. Add timestamping to show encoding time.
0.1
. Initial release.

I am going to test this soon, I have been using AnyDVD HD to rip the DVD to hard drive first is that just as acceptable as the product you suggested?
Do you find any audio sync issues with this procedure?

I used this to encode Avarar and Startrek, both turned out GREAT!
I changed the quality level to max "19" and they play and look awesome.
Avatar was a little over 2gb and Startrek was a little over 1gb.
Oh yeah and I set decode speed to slow to make them compress a little smaller because I upped the quality.
Sent from my Xoom using Tapatalk

does this convert ISO or visits folder? Any other formats?

Can I make a copy of this script and modify it to do an alternate language track and subtitles? I ask because I want to rip AKIRA but I want it to be in Japanese with english subtitles (currently its main audio track is english)

@myv6mustang
The script can only do what HandBrakeCLI can recognize. Last I tried, ISOs weren't recognized. It shouldn't be a big deal. Just mount ISOs using a virtual-CD app, like DVDFab Virtual Drive (see link in OP).
HB's Bluray support is a bit iffy. As of the last official version (0.9.5), PGS subtitles weren't supported. Other than that, the script info-scanning routines will need to be updated for M2TS scans. To be honest, I don't bother to do many BD rips, since the ripped BD stuff come out so much earlier than retail BDs hitting the stores.
@cwizardtx
To use the default audio track (track 1) instead of one dubbed to your language, search for --native-dub and change it to --audio 1 --subtitle-default . Yeah, you can make separate copies of the script with different settings.
So, I take it that for SD (480p) DVDs, high profile work on the Xoom? Or are you guys using baseline? Anyone trying main profile?

e.mote said:
@myv6mustang
The script can only do what HandBrakeCLI can recognize. Last I tried, ISOs weren't recognized. It shouldn't be a big deal. Just mount ISOs using a virtual-CD app, like DVDFab Virtual Drive (see link in OP).
HB's Bluray support is a bit iffy. As of the last official version (0.9.5), PGS subtitles weren't supported. Other than that, the script info-scanning routines will need to be updated for M2TS scans. To be honest, I don't bother to do many BD rips, since the ripped BD stuff come out so much earlier than retail BDs hitting the stores.
@cwizardtx
To use the default audio track (track 1) instead of one dubbed to your language, search for --native-dub and change it to --audio 1 --subtitle-default . Yeah, you can make separate copies of the script with different settings.
So, I take it that for SD (480p) DVDs, high profile work on the Xoom? Or are you guys using baseline? Anyone trying main profile?
Click to expand...
Click to collapse
Is this correct?
--native-language %vLang% --audio 1 --subtitle-default %vAud% %vSub% 2>nul
this is from your script, the line right after --decomb --detelecine etc etc... I took out --native-dub and replaced it but you have some variables being passed after that and I dont want to break the script.

Yep, you got it.

Speed vs size
For those who wonder how the various speed presets fare in terms of encoding time vs size efficiency, this was a test I did a while ago. The last two columns are what you want to know. Comparisons are relative to the default medium preset.
Code:
Avatar - ultrafast 00h55m42s 4581.221914 MB size: 212.0% time: 31.1%
Avatar - superfast 01h09m45s 2930.445943 MB size: 135.6% time: 39.0%
Avatar - veryfast 01h26m23s 2330.504009 MB size: 107.8% time: 48.3%
Avatar - faster 01h54m38s 2226.213107 MB size: 103.0% time: 64.0%
Avatar - fast 02h37m10s 2172.828731 MB size: 100.5% time: 87.8%
Avatar - medium 02h58m59s 2161.404744 MB size: 100.0% time: 100.0%
Avatar - slow 05h06m51s 2087.993149 MB size: 96.6% time: 171.4%
Avatar - slower 09h51m26s 1997.699705 MB size: 92.4% time: 330.4%
Avatar - veryslow 16h20m25s 1889.813900 MB size: 87.4% time: 547.8%
To sum, the best speed setting per size-time trade-off is "veryfast", where there is only a 8% size increase, but at half the encoding time. The "faster" and "fast" settings are also good choices.
The best setting for getting smallest size, but without excessive encoding time, is "medium".

ive given this setup a try on 4 DVDs so far and the quality that i have seen has been great. i have only seen one of the 4 movies so will update as ive seen the others but thus far great work. i was ready to purchase a product that does this but im pretty pleased with the results in default values.
i first thought i would not understand this style of encoding but e.motes package is easy to handle.
this is definitely a great alternative to xoom users vs. paid products. and there are many out there...

kaylawang said:
To rip and convert DVD to mp4, I prefer Aunsoft DVD ripepr, it has a simple surface and can rip and convert DVD files/DVD discs to many HD formats including H.264 HD MP4.
Click to expand...
Click to collapse
I've used Xmedia Recode for quite sometime. There are templates for a lot of devices including the Xoom. I haven't personally used the Xoom template, but I've used a few others and had good results from all.

Related

Convert DVD to PPC

Hi everyone,
I am looking for a program (freeware or not, as long as it works) that will allow me to easily convert a movie on a DVD to a Divx file that can be palyed on my ppc. I already have several programs, but not all of them do all that I want:
- be able to choose which titles to convert (main title for movies or single episodes for tv series)
- be able to choose the language
- be able to choose the subtitles
- optimised output for ppc
- fast
The program I am using now (xilisoft dvd to pocket pc) let me choose titles and subtitles, but is very slow (I have an Athlon 2500+ 1GB RAN HD 7200rpm 15X ripping speed, and for 1h of movie it takes at least 2h) and the resulting file is quite big and plays sluggiesh. So I have to use pocket divx encoder to further shrink the file. At the end way too long.
Could someone pls help?
Thanks
thegios said:
Hi everyone,
I am looking for a program (freeware or not, as long as it works) that will allow me to easily convert a movie on a DVD to a Divx file that can be palyed on my ppc. I already have several programs, but not all of them do all that I want:
- be able to choose which titles to convert (main title for movies or single episodes for tv series)
- be able to choose the language
- be able to choose the subtitles
- optimised output for ppc
- fast
The program I am using now (xilisoft dvd to pocket pc) let me choose titles and subtitles, but is very slow (I have an Athlon 2500+ 1GB RAN HD 7200rpm 15X ripping speed, and for 1h of movie it takes at least 2h) and the resulting file is quite big and plays sluggiesh. So I have to use pocket divx encoder to further shrink the file. At the end way too long.
Could someone pls help?
Thanks
Click to expand...
Click to collapse
I use xilisoft professional - chose Divx, change my settings accordingly and end up with 2 hour movies averaging about 330 MB if I use the following.
320x240
400Kbps video
64 Kbps Audio.
Using tcpmp they play great and look pretty good as well. I think I could even drop the Audio down to 48 and bump Video to 450 and still get good sizes and playback.
Not sure what you are doing but I suspect you are not setting up for pocketpc size etc.
As to your other issues. My version lets me chose which chapters I want or which VOB so I sim-ply chose the main one. It also lets me pick language and angle and subtitle. Perhaps you need a newer version. Convert times are about 1 hour for a 2 hour movie - no so bad in my opinion given whats taking place in the background. Also make sure you have your divx codec upgraded etc
Bratag said:
I use xilisoft professional - chose Divx, change my settings accordingly and end up with 2 hour movies averaging about 330 MB if I use the following.
320x240
400Kbps video
64 Kbps Audio.
Using tcpmp they play great and look pretty good as well. I think I could even drop the Audio down to 48 and bump Video to 450 and still get good sizes and playback.
Not sure what you are doing but I suspect you are not setting up for pocketpc size etc.
As to your other issues. My version lets me chose which chapters I want or which VOB so I sim-ply chose the main one. It also lets me pick language and angle and subtitle. Perhaps you need a newer version. Convert times are about 1 hour for a 2 hour movie - no so bad in my opinion given whats taking place in the background. Also make sure you have your divx codec upgraded etc
Click to expand...
Click to collapse
I use xilisoft as well, but dont remeber which version. Could u provide me with a link to the webpage of ur version. I've been on the xilisoft webpage but cannotn find it

G1 Video Encoding: How To

Credit goes to "dLirious" at TMoNews.com
Step-by-step for Windows: updated settings by teckel
This is not a duplicate video conversion post. This doesn't just give instructions on how to make a video, but how to do it with high quality, so the movie is the correct aspect ratio, and movies filmed in Panavision and other higher aspect ratios are always shown in normal 16x9 widescreen. Also, this is for DVD rips from widescreen sources (everything I have is widescreen). If you're doing TV shows or something else at 4:3 this won't work (I can give those instructions as well if there's demand for it).
SUPER supports a wide variety of input/source file format to play or encode (to & from) without any additional third party software:
Video format: 3gp/3g2(Nokia,Siemens,Sony,Ericsson) asf, avi (DivX,H263,H263+,H264,Xvid,MPEG4,MSmpeg4 etc..), fli, flc, flv (used in Flash), mpg (Mpeg I,Mpeg II), mov(H263,H263+,H264,MPEG4 etc..), mp4(H263,H263+,H264,MPEG4), ogg, qt, rm, str (Play Station), swf (Flash), viv, vob, wmv
Audio format: ac3, amr, mp2, mp3, mp4, ogg, ra, wma
AviSynth Script Files: avs. ALL Input/source files that fail to encode, will be encoded without error when using AviSynth scripts.
Click to expand...
Click to collapse
Download Super here
SUPER © Setup:
Codecs: MP4 H.264 AAC LC
Video: 480:270 3:2 23.976 480kbps (yes, you set the video to 480x270)
Audio: 44100 2 96kbps Default
Options: Hi Quality:OFF Top Quality:OFF
Pad: Top:24 Bottom:26 Left:0 Right:0
Crop: Top:0 Bottom:0 Left:Calc Right:Calc
While everything else stays the same from movie to movie, the Calc options above need to be calculated depending on the resolution of the video source. I'll quickly give the calculation and then give an example. The calculation is ( Width - ( Height * 16 / 9 ) ) / 2. Width and Height are of the source video and the result would be what you would select for the left and right crop.
Here's a couple examples from my DVD rips:
* 886x480 source video: ( 886 - ( 480 * 16 / 9 ) ) / 2 = 16 (set the left and right crop to 16)
* 1128x480 source video: ( 1128 - ( 480 * 16 / 9 ) ) / 2 = 137 (set the left crop to 136 and the right crop to 138)
* 852x480 source video: ( 852 - ( 480 * 16 / 9 ) ) / 2 = -0.7 (this movie is already 16x9 so you can turn Crop OFF)
That's it! Perfect aspect ratio, no stretching, and very high quality. Oh, and I would suggest that when you playback a movie TURN ON AIRPLANE MODE! (Home, Menu, Settings, Wireless controls, Airplane mode). The phone searching for GSM, Edge, 3G, Bluetooth, Wi-Fi, GPS, and apps trying to use connections will cause your video to slow down, pause, or even fail. As a bonus, it will also greatly extend video viewing time.
Other information:
For high quality, I went with 480kbps video and 96kbps audio. When doing samples, I tested many bit rates and found 480/96kbps to be the perfect balance between quality and file size. A 90 minute movie will be about 380MB using these settings, this allows me to have about 8-9 movies on a 4GB card, plenty for me. You can sacrifice quality for a smaller file size by using 336kbps video and 64kbps audio which will result in the same 90 minute movie being about 265MB.
23.976 frames per second is what all DVD's of movies are filmed at as movies are all shot at 24 frames per second. Using 25 frames per second or 29.97 or 30 will just LOWER the quality because the converter will have to create averaged frames or duplicate previous frames to generate more frames than the source video has. If the source movies you're converting from are not 23.976 already, whoever ripped it did so incorrectly. In the future, make sure you always rip movies from DVD at 23.976.
You should always use the 3:2 aspect ratio in SUPER © as that's what the G1 format is. If you don't select 3:2, if you preview the movie on your computer it will look different than on your G1 because it will stretch it on your computer. Basically, keeping it always at 3:2 no matter what the source will allow you to preview videos on your computer and they will look the same on your G1 as well.
Saving File:
Right click in the box directly under the purple OUTPUT section to reveal the menu for Super ©. Here you will select the default area to save your file by selecting “Output File Saving Management. And you will also find the function to add your media files here as well Add Multimedia Files or Ctrl+A.
Once you have added the file just click on the Encode (Active Files) button and voila!!! You will have your newly converted video files for your G1. Hope this was useful and if you have any questions please feel free to PM me or post your questions. I do have the direct link for the Super © program so if you are having trouble finding it just PM me and Ill gladly send it to you. ENJOY!!!!
EDIT: Once you have loaded the video you intend to encode you can double click on the file to find out its' original settings such as frame rate and such so you can choose it from the list. This might help with the quality of the video.
NOTE: You can download the Video Player 1.0 in the android market to play these files.
Here's a screen shot:
Thanks to rushmore and everyone who tested to find additional options to optimize the encoding video quality.
ALTERNATE WINDOWS OPTION: by rushmore
Quote from: rushmore on October 25, 2008, 12:49:48 PM
SOG Video Converter options that give proper aspect ratio using 1.0 Video Player on G1 (SOG the only converter that I have tried that works for this)
Choose profile setting "to iPhone"
480X320, H.264: Excellent Quality : (I adjust the parameters as listed below)
Audio = 64
Video Quality = 312 (you can make it higher, this value gives more space for video files with good quality).
Frame rate = 23.97
Output Image = Keep Aspect Ratio (this is important)
Video resolution = 480:320
Click to expand...
Click to collapse
MAC USERS: By mapin0518
Nobody here seems to be a mac user, but in case another one besides myself wanders in here... I found THE app to use for video encoding on the mac...
ffmpegX
http://ffmpegx.com/index.html
It seems to be extremely flexible and lets you specify all the specs you want for encoding.
Good day !
Click to expand...
Click to collapse
LINUX USERS: How to by BearTard
Quote from: BearTard on October 11, 2008, 01:17:22 PM
For those using Linux, be sure and check out Avidemux. It's available in the repositories of most Linux distributions and has automatic tools for converting to various formats (like PSP, for example--which should be great on the G1).
It's as simple as loading a video, selecting PSP from the tools menu, and starting it up.
Or if you're a Linux masochist, the following is a basic converter to Xvid that might be of some use.
Code:
mencoder <inputfilename> -ovc xvid -xvidencopts bitrate=-<targetvideosize>ass=1:turbo:threads=2 -ofps 25 -oac copy -o /dev/null
mencoder <inputfilename> -ovc xvid -xvidencopts bitrate=-<targetvideosize>ass=2:threads=2 -ofps 25 -oac mp3lame -lameopts br=$abitrate:vol=2:aq=2:mode=0:vbr=0 -o output.avi
Click to expand...
Click to collapse
STRAIGHT DVD RIP: By umop.apisdn
Quote from: umop.apisdn on October 23, 2008, 12:50:25 PM
DVD ripping for COMPLETE NEWBIES.
If you are completely clueless about how to rip a DVD to your G1 (like I was a week ago) this post is for you.
This method will rip a movie straight from your DVD to an MP4 file that the G1 Video Player 1.0 knows how to play.
You will need to download and run HandBrake (an open source ripper) http://handbrake.fr/ HandBrake has the simplest, most intuitive UI of any ripper I have found so far.
Here are some settings that work for the G1. Some experimentation may find a better set of parameters, but these work and yield good results. A two hour movie ends up about 375 MB.
Source: Browse to the VIDEO_TS folder on your DVD
Title: Select the longest one.
Destination: Wherever you want to keep the file. You can actually rip directly to the mounted SD card of the G1, if you want.
Preset: Classic works. Others may also, I haven't tested them yet.
OutPut Settings: Set Encoder to Mpeg4, Audio to AAC, uncheck the two other checkboxes.
On the Picture Settings tab, turn off Crop, check "Loose Anamorphic", and set width to 480. (NOTE: sometimes you have to check Anamorphic PAR before Loose Anamorphic becomes usable. Maybe this is a GUI bug?)
On the Video tab, set the Quality Avg Bitrate to 384.
Click Start in the upper left corner. A 2 hour movie takes about 45 min to encode.
Hopefully people will find this helpful.
Noel.
EDIT: If the DVD you want to rip is copy protected, you will need to also install DVD43 ( http://www.dvd43.com ), a system tray application that de-copy-protects DVDs on the fly. There aren't any configuration parameters, you just install it and forget it. It silently removes copy protection as you read data from the DVD.
Click to expand...
Click to collapse
TMPGEnc. 4 Xpress Template: Android Video Encoding
I have created a template for TMPGEnc Express 4.0 and above that will make encoding videos to the Android Video Player much easier. It will work with unencryped DVD files, WMV, MPEG, AVI, MOV, and just about any video you throw at it. (if you have the codec)
You must have TMPGEnc 4.0 Xpress or later installed before placing the template file. Just download the template, extract the file and put it in the "Export" folder found under /Documents/TMPGEnc/Template. Now follow the directions below.
Step 1: Open Application and click "Start a new project"
Step 2: Drag and drop a file or a variety of files in any format, aspect or demension
Step 3: Click the "Format" tab at the top and at the bottom of the list there is a "Custom Output Templates" folder, choose the "Android Formated MP4" and hit select. On the next screen make sure "Output each clip in a seperate file" is selected
Step 4: Select "Encode" tab at the top of the screen, choose the output location and then click on the "Start Encode" button in the bottom left that looks like a movie clip with an arrow.
This program is expensive ($99) but I have been using it for years for all the different devices I have. There is a trial and the software can be found here: http://tmpgenc.pegasys-inc.com/en/product/te4xp.html. It is the only software that I know that can take multiple video formats and sizes and batch process them too to one format.
I have converted a number of DVD's in different Aspect ratios and alot of recorded TV from my Vista Media Center, the quality is amazing and has not failed me yet. Please try my template and let me know if you have any problems. I am going to work on a couple more templates in the future to be able to choose Quality Encodeing or Lower Quality with Smaller Size.
Let me know your thoughts and experiences, or any changes I should make to the steps above.
Jcostanza4
he mikey, love your tut on encoding with super, one question i have all your videos are ***x480 in size. i want to convert a hd rip i have its 1280x544 what settings would i use for this?
I have tried using handbrake and Super. I have grabbed the VOB files using DVDShrink, but am unable to use Super to create a MP4 file. The file that gets created from handbrake causes the video player to inform me that the video is not able to be played. I used the options that were listed by the OP for handbrake, but still get the message. Is Super able to handle the multiple VOB's and create a single MP4?
TIA,
rrstx
Sorry for asking im kinda of a newbie when it come's to stuff like this, But im at the http://www.erightsoft.com/S6Kg1.html website and i dont quite know what to download to download the software. can someone help me out?
in my first post look for where i typed
Download Super here
Click to expand...
Click to collapse
Mikey1022 said:
in my first post look for where i typed
Click to expand...
Click to collapse
Dude, Your the best! Thanks.
* 886x480 source video: ( 886 - ( 480 * 16 / 9 ) ) / 2 = 16 (set the left and right crop to 16)
* 1128x480 source video: ( 1128 - ( 480 * 16 / 9 ) ) / 2 = 137 (set the left crop to 136 and the right crop to 138)
* 852x480 source video: ( 852 - ( 480 * 16 / 9 ) ) / 2 = -0.7 (this movie is already 16x9 so you can turn Crop OFF)
Click to expand...
Click to collapse
Im sorry im just not understanding what any of this mean's. As much as i would like to but i just can't find any of this in the program. Im like glimpsing between the post and the program and trying to locate where this information is on the program. LOL! Help?!!?! Im like having a major brain fart.
Mikey1022 said:
SUPER © Setup:
Video: 480:270 3:2 23.976 480kbps (yes, you set the video to 480x270)
Audio: 44100 2 96kbps Default
Options: Hi Quality:OFF Top Quality:OFF
Pad: Top:24 Bottom:26 Left:0 Right:0
Crop: Top:0 Bottom:0 Left:Calc Right:Calc
Click to expand...
Click to collapse
Why 3:2? it looks squeezed and terrible.
Why 480x270? The G1 is 480x320 now I have two blue (not even black) bars across the top and bottom of the movie.
Is this supposed to take 2 hours per movie? or is my computer just too slow?
The frame rate is perfect, no jitters in playback.
The file is not 250MB is over 500MB actually.
brooklynite said:
Why 3:2? it looks squeezed and terrible.
Why 480x270? The G1 is 480x320 now I have two blue (not even black) bars across the top and bottom of the movie.
Is this supposed to take 2 hours per movie? or is my computer just too slow?
The frame rate is perfect, no jitters in playback.
The file is not 250MB is over 500MB actually.
Click to expand...
Click to collapse
1) If using Super C, you need to change the color option for the pads.
2) Good sticky over at Tmonews about this.
3) I find that 336K video bitrate using H264 looks fine on the G1's 3" screen.
4) Also find that 64K audio at 22.5 sample rate is fine ( I upped Pick of Destiny to 96K at 32K sample rate, though).
These settings save space and battery lasts longer too.
If you do not want to constantly mess with aspect ratio settings, SOG is the best endcoder, but is $30. I use it and use auto aspect ratio option.
SOG also seems to look better at the same bit rates as Super C.
Thank you very much for this mikey, i used the straight dvd rip method and it works like a charm!!! Thanks for putting this together I had a question for you, have you successfully made dvd's that play on your dash with the same quality?
I got a question. At the moment I'm using in Handbrake:
Mpeg4 (H264)
AAC
But the VideoPlayer doesnt recognize the video files I have on my SD card. I also tried Mpeg-4 (FFMPEG) as a codec but it doesn't work either. Could someone help me please?
Update:
After reinstalling the videos application I am finding now the videos. But they don't get played properly. I'm always getting the sound but the video is just one green block. (using H264/iPhone settings) Using other h264 settings also lead me to this green video block. Is there anything I can do about?
start_developing said:
I got a question. At the moment I'm using in Handbrake:
Mpeg4 (H264)
AAC
But the VideoPlayer doesnt recognize the video files I have on my SD card. I also tried Mpeg-4 (FFMPEG) as a codec but it doesn't work either. Could someone help me please?
Update:
After reinstalling the videos application I am finding now the videos. But they don't get played properly. I'm always getting the sound but the video is just one green block. (using H264/iPhone settings) Using other h264 settings also lead me to this green video block. Is there anything I can do about?
Click to expand...
Click to collapse
I should have waited a few days to say it works like a charm, the last few movies i've encoded don't play, either i get sound and no video or sound with green blocks too. my first 3 play perfectly and im doing it the same way. No clue why
It really differs from the input file. Some work and some dont work in the resulting output file. The settings for iPhone and iPod are ok.
Ok, I've been doing this for a while w/ no negative feedback from the device. I too had the issues w/ either video show as blank/green blocks with no audio or vice versa no audio w/ video just fine. After some research here's what I found. Hope it helps.
Video:
AVC .264 codec for the video (this is harware accelerated and thus can get a better respons from the device)
Basline Profile (this is needed due to our devices not having all the bells and whistles h.264 is capable of)
You want the Profile no higher then level 3.1
CABAC (specific to h.264) is a NO
Reference Frames: 1 (only 1)
Bitrate (Variable): 1000 Kbps
Framerate: Constant @ 23.97 (for most videos this is how they were originally recorded, If you increase this there is more that has to be don during encoding and may slow it down)
For those of you that know how to setup your encoder programs using a manual script for the h.264 settings, you can use the following for your script (it's what works for me)
Code:
cabac=0 / ref=1 / deblock=1:0:0 / analyse=0x1:0x111 / me=hex / subme=6 / psy_rd=1.0:0.0 / mixed_ref=0 / me_range=16 / chroma_me=1 / trellis=0 / 8x8dct=0 / cqm=0 / deadzone=21,11 / chroma_qp_offset=-2 / threads=3 / nr=0 / decimate=1 / mbaff=0 / bframes=0 / keyint=250 / keyint_min=25 / scenecut=40(pre) / rc=2pass / bitrate=1000 / ratetol=1.0 / qcomp=0.60 / qpmin=10 / qpmax=51 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / vbv_maxrate=10000 / vbv_bufsize=10000 / ip_ratio=1.40 / aq=1:1.00 / cabac=0 / ref=1 / deblock=1:0:0 / analyse=0x1:0x111 / me=hex / subme=6 / psy_rd=1.0:0.0 / mixed_ref=0 / me_range=16 / chroma_me=1 / trellis=0 / 8x8dct=0 / cqm=0 / deadzone=21,11 / chroma_qp_offset=-2 / threads=3 / nr=0 / decimate=1 / mbaff=0 / bframes=0 / keyint=250 / keyint_min=25 / scenecut=40(pre) / rc=2pass / bitrate=1000 / ratetol=1.0 / qcomp=0.60 / qpmin=10 / qpmax=51 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / vbv_maxrate=10000 / vbv_bufsize=10000 / ip_ratio=1.40 / aq=1:1.00
As for Audio:
Nero AAC works the best
Profile: AAC-LC
CBR: 160kbps
Sample Rate: 48khz works fine (Personally, I don't change the audio rate at all)
Granted my average files are around 190MB per 30 minutes, but it looks and sounds amazing. Better then I was ever able to accomplish with my Dash.
I ripped The Boondock Saints and Fight Club with no issues though when I tried to rip Benders Big Score and The Beast with a Billion Backs they came out blocky, the audio was off and playing slow.
I'm using the HandbrakeCLI for linux due to the fact that the GUI version won't let you crop or adjust the aspect ratio
here is what I tried and worked for Boondock Saints and Fight Club:
HandBrakeCLI -i "/home/josh/.wine/drive_c/FIGHTCLB" -t 1 -c 1-25 -o "/home/josh/.wine/drive_c/FIGHTCLB/fight_club.mp4" -f mp4 -w 480 --deinterlace="slow" -e ffmpeg -b 512 -a 1 -E faac -B 160 -R 44.1 -6 stereo -D 1 -v
Good settings for handbrake
I have integrated MMTest97's x264 encoder options into the HandbrakeCLI command. It works like a charm and the videos look Great! here is the full command with scaling to the G1's exact screen res:
HandBrakeCLI -i "Path/To/Source/Video" -t 1 -c 1-25 -o "Path/To/Destination/Video" -f mp4 -w 480 -l 320 --deinterlace="slow" -e x264 -x cabac=0:deblock=1,0:analyse=0x1,0x111:bitrate=416sy_rd=1.0,0.0:chroma_me=1:chroma_qp_offset=-2:threads=3:nr=0:keyint=250:keyint_min=25:scenecut=40:bitrate=416:ratetol=1.0:qcomp=0.60:qpmin=10:qpmax=51:qpstep=4:cplxblur=20.0:qblur=0.5 -a 1 -E faac -B 96 -R 44.1 -6 stereo -D 1 -v
Also here is the command for an aspect retained video:
HandBrakeCLI -i "Path/To/Source/Video" -t 1 -c 1-25 -o "Path/To/Destination/Video" -f mp4 -w 480 --deinterlace="slow" -e x264 -x cabac=0:deblock=1,0:analyse=0x1,0x111:bitrate=416sy_rd=1.0,0.0:chroma_me=1:chroma_qp_offset=-2:threads=3:nr=0:keyint=250:keyint_min=25:scenecut=40:bitrate=416:ratetol=1.0:qcomp=0.60:qpmin=10:qpmax=51:qpstep=4:cplxblur=20.0:qblur=0.5 -a 1 -E faac -B 96 -R 44.1 -6 stereo -D 1 -v
Alternatively if you are lazy like me you can set up a profile in HandBrakeGUI that uses these x264 options for batch encoding!
Don't know if this helps anyone, but it is working great for me! Thanks for the help in getting this figured out, I've been at it for over a week now!
Cheers,
Xipher
use the ipod/iphone setting on SUPER.. it works fine.
stats555: Selecting Deinterlace: Slower, (i supose slower is best quality) did the trick for me, now i see the videos.
i also set resolution to h264 480 x 272.
File Size
So far i have ripped 3 movies usually about an hour and a half to hours in length. I have only seen an out put size in the 500meg range. Is there anyway to get these smaller?

Shrinking video file size for Leo playback

Hi all,
I have a good collection of music videos on my PC all of good quality (mainly mkv's at aroung 70 - 100mb) I want to have these playback on my Leo and have succeeded in doing so but can't find a way to keep the quality on the smaller screen but have a smaller file size. I tried converting to 3gp and the file size was good but quality was bad. However, MP4 was good quality but bad file size.
Can anyone help? I am using RER Video Converter.
Thanks
Size is relative; what do you consider bad size?
I do some video editing as a hobby, and I converted the video clips I made to mp4 as well using Sony Vegas Pro 9. Quite frankly, I'm amazed at the quality/performance. Video is smooth, sharp, doesn't lag at all.
These are the settings I used, maybe some of this will be useful to you:
Frame size:
NTSC Square Pixel (640x480)
Profile: Baseline
FRame rate: 25 (PAL)
(Source allowed to change framerate)
Pixel aspect ratio: 1.0
Reference frames: 2
VBR Max 1,500,000bps
VBR Min 1,350,000bps
Audio Sample rate: 44,100Hz
Bit rate: 128kbps
Video rendering quality: Best
I tried in higher settings, and the player would play the video just fine, but the thumbnails in Albums wouldn't appear (at 29.9fps/CBR 2Mb and Main profile).
Grtz
Lukas
thanks for the reply, so you are suggestingusing vegas pro to convert my mkv's to mp4's using those settings? i was hoping for around 10mb max...?
shaunym said:
thanks for the reply, so you are suggestingusing vegas pro to convert my mkv's to mp4's using those settings? i was hoping for around 10mb max...?
Click to expand...
Click to collapse
If you use Windows Movie Maker (which is a bit pap really), it allows you to specify a target file size. I've done some very good conversions with this app, and I've found windows mobile to be the only real reason to ever use it. There's much better video conversion/editing apps out there, but it works a treat in this instance.
Just try messing with the output type and give a few different one's a go. I found that the PocketPC setting did a pretty good job. It wasn't 800x480 resolution, but it still looked good when viewing. Just don't expect bluray quality.
Edit:
Actually, if you want to convert MKV files, I couldn't recommend mkv2vob more. I use it for the PS3 and it's fast as anything, but there's no compression, so file size could be an issue for you.

Handbrake Preset for Xoom

Here's a Handbrake preset for the Xoom. Enjoy.
Works great so far
Thanks for the preset! I've only tried one AVI conversion, but it worked perfect and plays smoothly, with no sound sync problems. It did make the file slightly bigger, but not much.
Thanks for putting this out here!
thanks OP...
didn't want to open yet another thread...
Does anyone here know what causes the lag between audio and video? I ripped Avatar from Bluray using 2kbit video MP4 iso v.2 @1280x800 with 160kbit sound (AVS video converter) . When I play the file on my PC everything is fine but on the Xoom the sound is a few seconds ahead of the picture. Trying to convert using Handbrake and the posted settings. Will post if it works later!
@OP: would you mind providing a list of the settings that the preset uses?
Thanks!
UPDATE: The conversion worked fine! However, I think I have to enable hardware decoding in Rockplayer now. This is all very confusing *sigh*
the xoom and any tegra 2 deive will not play high profile .mp4
if anyone knows a HD format that the xoom will play well please let me know
Anyone tried WebM on the Xoom yet? I doubt there's hardware-acceleration for it, but the CPUs ought to be good enough for any codec without special hardware support.
spitfirerx said:
the xoom and any tegra 2 deive will not play high profile .mp4
if anyone knows a HD format that the xoom will play well please let me know
Click to expand...
Click to collapse
Just use baseline profile h.264 for your HD needs. High profile pretty much just means better compression than baseline.
https://motorola-global-portal.custhelp.com/app/answers/detail/a_id/63258/kw/video/p/7901,7906
silly quesiton, but how do you use/install this preset? specifically ubuntu.
To use this file you must import it into handbrake which is available here: http://handbrake.fr/downloads.php
thanks, i figured it out... i imported and didnt realize it until i just tried to convert a video and it worked.
but it does still seem choppy to me after converting.
Thanks very much for this. Will help when I get my Xoom
What resolution should it be set at?
I got this strange error when importing the .plist file:
** (ghb:13592): WARNING **: Plist parse error: Error on line 1 char 1: Document must begin with an element (e.g. <book>)
(ghb:13592): GLib-CRITICAL **: g_markup_parse_context_end_parse: assertion `context->state != STATE_ERROR' failed
Click to expand...
Click to collapse
Any ideas?
--Q
UPDATE: I edited the .plist file and removed these first two lines:
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
Click to expand...
Click to collapse
Then handbrake was able to recognize it for what it is.
What's a typical file size for the conversion anyhow? I am around 1.8GB average on a DVD extract to use on my NAS DLNA stream right now.
can't wait to test it out!
>What's a typical file size for the conversion
My DVD encodes vary from 600MB to 1GB-ish, normally under the 1GB mark. My settings are full-res anamorphic, high-profile, with stereo MP3/AAC, using one-pass CRF 21. If you use AC3/DTS, it will be larger. If using main profile, size is +5-10%; for baseline, about +30%.
My 720p encodes range 2-3GB using 5.1 AAC. Avatar is a notable standout at 5.6GB, for its 3hrs length and many hi-bitrate scenes.
Thank you!! I was looking for this earlier, but then just stumbled upon it here.
Actually, this preset did not appear to load on the linux Handbrake:
Code:
** (ghb:1859): WARNING **: Plist parse error: Error on line 1 char 1: Document must begin with an element (e.g. <book>)
(ghb:1959): GLib-CRITICAL **: g_markup_parse_context_end_parse: assection `context->state != STATE_ERROR' failed
The OP posted preset isn't proper as it simply uses MPEG-4 (FFmpeg) which creates H.263 videos rather than H.264.
iceytea's link says how to properly make a H.264 Baseline video. The main thing to follow from the link is
Baseline Profile means:
- No CABAC entropy coding.
- No B frames
- No 8x8 transforms (DCT)
- No Weighted Prediction
Click to expand...
Click to collapse
So, on the Video tab choose Video Codec: H.264 (x264).
On the Advanced tab set
Maximum B-Frames: 0
CABAC Entropy Coding: unchecked
8x8 Transform: unchecked
Weighted P-Frames: unchecked
Xoom handbrake preset still not the best?
I used this preset for a 90 minute blu-ray movie and it compressed it to a file size of 1.6 GB, but the picture was grainy and blocky. I've had DVD files encoded with less size but with better picture quality.

VidsOpt v0.2.4 - Fast MP4 Muxer/Converter

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
VidsOpt_0.2.4.rar (16.3MB) http://mediafire.com/?depxt4zyvpwel
2MP4 - Windows script to convert/remux videos to MP4. Subtitles are supported in both hard and soft formats.
Goals
. Fast - Re-encode only when needed. Selectable encoding speed.
. Flexible - Process multiple folders as well as single videos.
. Set-n-forget - Batch and nested folder processing.
. Simple - Drag-drop operation. One plain-English menu.
Supported video formats: MKV MP4 M4V MOV WMV AVI MPEG1 MPEG2 FLV RM RMVB OGM
Install
. AVISynth (http://sourceforge.net/projects/avisynth2)
. FFDShow (http://videohelp.com/tools/ffdshow), enable AC3/DTS/AAC support in Audio Decoder Config
. Haali Splitter (http://haali.su/mkv)
Use
1. Unpack. Create shortcut to 2MP4.CMD on desktop (don't drag it to the desktop).
2. Drag-drop one or more video files and/or folders onto shortcut.
3. Change settings from pop-up menu as needed. Enter 'S' to start.
Script Options
. Recode H.264 video
AUTO: H.264 video up to 720p high profile and 1080p baseline profile are not recoded. YES: Always recode H.264. NO: Never recode H.264. Note: Non-H.264 videos are always recoded.
. Video quality (19-25, lower number=higher quality/bitrate, default=21)
The default 21 should be the considered as max for Tegra 2 tablets at 720p. There may be stutter in some 720p high action scenes. Suggested setting for Tegra 2 is 22 for 720p high-action movies. SD-sized movies have more leeway and can use 21 or better.
. Video type (LIVE/cartoon/mixed)
The encoder has different tunings for live-action videos and cel-shaded animations (animes). For cel-shaded content, use the Cartoon setting. For any other content, including 3D animations (which most current animated movies are), use Live. If you are converting a batch of live-action & cartoons, use Mixed.
. H.264 profile (HIGH/main/baseline)
High has best compression efficiency but higher playback requirement. Baseline has low playback requirement, but size will be 10-20% larger than High. Use Baseline as last resort for smooth playback. Main is between High and Baseline with respect to size and playback smoothness.
. Encode speed (VERYFAST..veryslow)
Suggested use is MEDIUM for best compromise between speed and quality, VERYFAST for mobile viewing, and VERYSLOW if you have lots of time. There are also intervening settings to taste. Details: VeryFast is twice as fast as Medium, but quality can be slightly worse depending on content. VerySlow has the same quality as Medium at about 10-20% smaller size, but takes 5 times longer. Do not use VerySlow for mobile devices, as higher compression settings may affect playback smoothness.
. Maximize audio volume
Maximizes audio volume without clipping. Enable this if audio is too quiet.
. Burn-in subtitle (Advanced Option)
By default, script extracts any embedded subtitles to external standalone files. If this option is enabled, the script will take the first eligible subtitle and burn it into the video. Subs can be of SRT, ASS, SSA, or VobSub (bitmap) format. Video recoding is mandatory. Subtitle is selected in this order: external, PrefLang embed, AltLang embed, or no-tag embed. If there are multiple eligible subtitles and you want one different from that selected, remux using MKVToolnix (see Notes below) and remove all except the desired subtitle.
. Autocropping (Advanced Option)
Crop black bars if exist. This uses a less efficient method, so enable only when needed.
. Variable framerate encoding (Advanced Option)
The script encodes in constant framerate (CFR) by default. Some videos (animes/hybrid/rmvb) use variable framerate (VFR). If a VFR video is recoded, enable this option, else audio will be out-of-sync (OOS). There's no foolproof way to determine if a video is VFR in advance, so if video is recoded and sound is OOS, enable this setting and try again. Note: This setting only matters when video is recoded. If video is only remuxed, correct framerate is always retained.
Notes
. Audio and subtitle tracks are selected by their language ID. Default is English for both preferred and alternate language. To change, edit 'PrefLang=eng' & 'AltLang=eng' settings in script. Find your language country code here (http://loc.gov/standards/iso639-2/php/code_list.php). ISO 639-2 3-letter code is used. Where there are 2 codes available, use the "B" (bibliographic) code.
. Text (SRT/ASS/SSA) subtitles are selected in this priority: external sub file, embedded sub in preferred language, embedded sub in alt language, embedded sub w/o language tag. Once a sub is found, then lower priority subs are ignored. Note: Any attachment in a MKV (font embeds, cover art, chapters) are also extracted for future use.
. Audio track selection: If a subtitle is available, the first audio track is selected. If no subtitle, then a PrefLang audio track is selected if available, else an AltLang audio is selected. If no Pref/AltLang audio and no sub are available, the first audio track is simply selected. [Note: If audio track has no language tag, the 1st track is selected.] The intent here is that subs are preferable to dubs.
. To manually select a different audio track: Remux to MKV (see below); uncheck undesired audio tracks to make new copy with only the desired audio track. Drop the newly-muxed copy onto the script.
. The number of items that can be batch selected at one time is limited. If processing 20+ files, put them into a folder and drop the folder. Multiple folders can be dropped.
. Video encoder used is 32-bit x264cli, which runs on both 32- and 64-bit systems. To get 10-15% more encoding speed on 64-bit systems, get the 64-bit x264.exe from http://x264.nl and copy over the existing executable.
. The script relies on the host system to provide format splitter and audio codec support.
- [XP and Vista only] To convert MOV/M4V, install QT Lite (http://free-codecs.com/download/QT_Lite.htm).
- To convert FLV, install FLV splitter (http://videohelp.com/tools/FLV_Splitter), and enable FLV decode in FFDShow video decoding options.
- To convert RM/RMVB, install Real Alternative (http://afterdawn.com/software/audio_video/media_players/real_alternative.cfm).
. Remuxing to MKV: Many file formats can be quickly converted to MKV container before being fed to the script, which can solve many problems. To remux to MKV: Run MMG.EXE in \MKVTOOLNIX folder, drag-drop video onto app, click 'Start Muxing'.
Changelog
0.2.4
. Add autocropping
. Bug fixes & refinements
FAQ
Q #1: How long does it take to convert to MP4?
For a simple remux, seconds. For audio-only recoding, about 15X (1min processing per 15min run-time). For both audio & video recoding, between 1-5X, depending on host PC and input/output resolutions.
Q #2: The script ran for a bit and disappeared.
It crashed. A common reason is that the filename has special characters: exclamation point (!), ampersand (&), or carot (^), among others. Temporarily rename using simple alphanumeric characters. Note: Script is designed to handle Unicode (UTF-8) characters.
Q #3: It still doesn't work!
The majority of problem videos stem from the weird muxers used to create them. A possible solution is to remux the video to MKV (even if they're already in MKV) if possible. Run MMG.EXE in \MKVTOOLNIX folder, drag-drop video onto app, click 'Start Muxing'. The MKVToolnix app can remux many common formats to MKV.
Q #4: Still no joy!
Drop the video on the script and select the 'View Specs' option, then Start. This will dump the video specs into a text file. Post the specs dump, along with whatever error msgs you encountered (or if the console crashes and simply disappears). As a last resort, post a sample clip of the video.
Q #5: What are the best settings for the [insert device name]? My converted videos don't play smoothly!
The on-demand CPU governor for Android may not be optimal for playback. You can manually set CPU speed for movie playback per this discussion thread, http://forum.xda-developers.com/showthread.php?t=1111156
By default, the script does not recode H.264 720p high profile or 1080p baseline profile. If your device can't play a video smoothly after trying the above, then you need to recode it (see TIPS section below).
Q #6: My videos convert, but the sound is out-of-sync (OOS), or playback is too fast/slow.
Some animes, digicams, and hybrid contents use variable framerate (VFR). The script encodes in constant framerate (CFR) by default. If audio is OOS, enable VFR encoding in Advanced Options. VFR encoding is automatically enabled for RM/RMVB videos.
There may be other OOS instances. VFR aside, many videos are simply badly created, and require specific workarounds that lie outside the scope of the script.
Q #7: My video has 10 subtitle tracks. Why doesn't the script extract them all?
Only subtitles in the designated preferred or alternate language are extracted. Only text subtitles (SRT/ASS/SSA) are extracted.
The script can process up to 8 sub tracks. If the desired sub tracks lie outside of this range, remux to MKV (cf. Q #3), and remove extraneous tracks beforehand.
Q #8: The sub doesn't show up in playback!
Check your media player to see if it can make use of external subs; some do. Don't forget to rename the sub track to be the same as the video.
Q #9: The ASS/SSA sub doesn't display properly (or not at all).
Some Android players support external ASS/SSA subs. But if the sub requires an embedded font and there isn't a system font substitute, characters will display as blocks. The script extracts embedded fonts, but current players cannot make use of them. A workaround is to enable subtitle burn-in from Advanced Options.
Q #10: I'm confused with how the audio and subtitle tracks are chosen.
If a subtitle in the designated preferred/alternate language is available, the first audio track is selected, as it's preferable for foreign-language videos to be subbed than dubbed. If the first audio track is in a different language than the pref/alt settings, and no subs are available, then a dubbed track is selected if available. The script can process up to three audio tracks.
Q #11: I changed the default output path, but the output never shows up there!
Do not put quotes around the path. Also, if the path has special characters like exclamation point (!), ampersand (&), or carot (^), among others, the script will get confused. Stick to basic alphanumeric characters. This applies to filenames as well.
Q #12: Can I use this script to convert my DVD/Blu-ray?
The script does not process DVD (IFO/VOB) or Blu-ray (M2TS) files. You can try my DVD script here, http://forum.xda-developers.com/showthread.php?t=978529
Q #13: I'm running Win XP/Vista, how do I get WMP 11 to recognize my MP4 so I can stream to my device?
Win XP & Vista require a registry patch for WMP 11 to recognize MP4. Win7 supports MP4 format natively.
32-bit: http://hardcoreware.net/files/v8-WMP11-MP4-M4V-M4A.reg
64-bit: http://hardcoreware.net/files/v8-WMP11-MP4-M4V-M4A-x64.reg
TIPS:
. Tegra 2 on Android 3.1: If playback isn't smooth, set Recode=YES. Suggested settings are Quality 22, High profile, and VeryFast or Medium speed. To ensure smooth playback, you can try Quality 23, or Baseline profile, or a smaller resolution, or a combination thereof.
. If running 64-bit Windows, grab the 64-bit x264.exe executable at (http://x264.nl) and copy over the existing file (get the 8bit-depth exe, not the 10bit one). This'll net 10-15% faster speed.
. Don't use a video quality number lower than the default (lower number means higher bitrate), unless you are sure you can see the difference. Higher bitrate means higher playback requirement, which can result in playback stutter. 21 is a good default; you can also try 22 or 23.
. If there are many videos to convert, especially if video recoding is involved, put them all in a folder and drop the folder onto the script. Let the script run overnight.
TECH NOTES:
. For most operations, the script is self-contained, ie it uses ffmpeg and doesn't require the installed software packages. Two exceptions: a) RM/RMVB isn't supported by ffmpeg and uses DirectShow; b) audio tracks w/ 7+ channels can't be downmixed by ffmpeg, and also uses DirectShow.
Uploaded...
How to make it start?
i have already installed AVISynth and FFDShow .
But when i click on XYZ2MP4.CMD shortcut created on Desktop it shows black screen with written-" cannot locate AVISynth.If not already installed get at ******.
Else reinstall to default location"
What it means? What m i doing wrong?
The script checks for the location of the AVISynth uninstall.exe in C:\Program Files\AVISynth\ for 32-bit systems, or C:\Program Files (x86)\AVISynth\ for 64-bit systems. It reads the env variable to determine the location of the Program Files folder.
Navigate to this location and see if the Uninstall.exe file exists. If you run a non-English version of Windows, the pathnames may be different (although it should've been accounted for).
I had the same issue as techpal above.
I think there is a problem in where it searches for AVIsynth. The default installation folder is "AviSynth 2.5" in the program files folder. The XYZ2MP4.cmd file seems to search for "AVISynth" in the program files folder. I edited the cmd to look for "AVISynth 2.5" and it worked after that.
Here's the new line (line 102 in the original):
if defined ProgramFiles(x86) (set "AVSDir=%ProgramFiles(x86)%\AVISynth 2.5") else set "AVSDir=%ProgramFiles%\AVISynth 2.5"
Click to expand...
Click to collapse
Thanks for the correction. Script is updated.
Ya ewcrider is right.
Yea, I just changed the folder name to just "AviSynth".
I prefer GUI because I sure as hell dont have a deep knowledge of audio/video codecs/filters.
uh I have a problem after I made my video into a .mkv. The script gives me a error about the audio stream. I would upload a sample but I can't right now because of my extremely slow upload speed.
General
Unique ID : 227734697504464257626122901304819126136 (0xAB541B79FA49352584C7944A89550F78)
Complete name : C:\Users\Kippui\DOWNLO~1\Lie.To.Me.E03.110516.HDTV.X264.720p-HANrel.mkv
Format : Matroska
File size : 1.53 GiB
Duration : 1h 4mn
Overall bit rate : 3 411 Kbps
Encoded date : UTC 2011-05-30 19:33:18
Writing application : mkvmerge v4.8.0 ('I Got The...') built on May 24 2011 03:12:58
Writing library : libebml v1.2.0 + libmatroska v1.1.0
Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : [email protected]
Format settings, CABAC : Yes
Format settings, ReFrames : 2 frames
Muxing mode : Header stripping
Codec ID : V_MPEG4/ISO/AVC
Duration : 1h 4mn
Bit rate : 3 000 Kbps
Width : 1 280 pixels
Height : 720 pixels
Display aspect ratio : 16:9
Frame rate : 29.970 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.109
Stream size : 1.32 GiB (87%)
Writing library : x264 core 50 svn-569
Encoding settings : cabac=1 / ref=1 / deblock=1:0:0 / analyse=0x3:0x113 / me=hex / subme=5 / brdo=0 / mixed_ref=0 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / chroma_qp_offset=0 / slices=1 / nr=0 / decimate=1 / bframes=2 / b_pyramid=0 / b_adapt=1 / b_bias=0 / direct=2 / wpredb=1 / bime=0 / keyint=250 / keyint_min=25 / scenecut=40 / rc=abr / bitrate=3000 / ratetol=1.0 / rceq='blurCplx^(1-qComp)' / qcomp=0.60 / qpmin=10 / qpmax=51 / qpstep=4 / ip_ratio=1.40 / pb_ratio=1.30
Audio
ID : 2
Format : AC-3
Format/Info : Audio Coding 3
Mode extension : CM (complete main)
Muxing mode : Header stripping
Codec ID : A_AC3
Duration : 1h 4mn
Bit rate mode : Constant
Bit rate : 384 Kbps
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 48.0 KHz
Bit depth : 16 bits
Compression mode : Lossy
Delay relative to video : 24ms
Stream size : 176 MiB (11%)
Make sure AC3/DTS/ACC support is enabled in the FFDShow Audio Decoder Option. By default they may be turned off. The script relies on DirectShow filter support to convert any audio. Restart your system to make sure.
To find out if your system supports AC3/DTS, try the sample here on the Windows Media Player (not VLC or a player with built-in codecs).
http://www.kellyindustries.com/sounds.html
Try renaming your filename to Test.mkv, and see if the filename is a problem.
I replicated your problem. You can't just rename "AVISynth 2.5" to "AVISynth", because the program was installed to the first path, not the second. Change it back to "AVISynth 2.5", and grab the 0.1.1 updated script.
Still i cant start. When i click on .CMD file on desktop black screen comes for a fraction of second and then goes awayand then nothing happens.
You don't click on the CMD script. You need to drag-drop a movie file or folder onto it. Without input (or a valid input), the script simply closes.
Ok now i made it to start by dragging files. But it gives error about cant find Audio Stream.
e.mote said:
I replicated your problem. You can't just rename "AVISynth 2.5" to "AVISynth", because the program was installed to the first path, not the second. Change it back to "AVISynth 2.5", and grab the 0.1.1 updated script.
Click to expand...
Click to collapse
YES thank you! I love you for this because I can't get handbrake to work for some reason. Finally I have a way to quickly get my 720p files working on my xoom
I had to actually reinstall it to get the script to work because renaming it back didn't work for me.
Edit: Techpal reinstall AvySynth if you renamed it because that did it for me
Thanks for the positive report. What type/size of videos are you converting, and how long do they take to convert on your system? The script should report the time lapsed per file processed. I like to get feedback on the execution speed for various operations.
e.mote said:
Thanks for the positive report. What type/size of videos are you converting, and how long do they take to convert on your system? The script should report the time lapsed per file processed. I like to get feedback on the execution speed for various operations.
Click to expand...
Click to collapse
I X'd out of the window but my orginal file is the same one that is posted above
it took 5-6 minutes(guesstimate?), i converted the same file I posted earlier above using default settings. I'm converting the same file again trying to get slightly better video quality(19 instead of 21)
what settings do I need for the BEST quality for xoom 3.1? Should I keep it high and not main/baseline?
Test 1: 4:19 with everything default except for 19 instead of 21
Test 2: 6:11 ^^ just the next episode from the first file
Installed again but stlll shows error that cant find audio stream, could not parse WAV file.
The high/main/baseline is only if the video is recoded, which yours wasn't. On Recode=AUTO, it doesn't recode the video for 720p H.264, or 1080p baseline profile. Only the audio is recoded to stereo AAC (from your video's stereo AC3).
The best quality is when you don't have to recode the video. Only recode the video (Recode=YES) if it can't be played smoothly on the Xoom. Video recoding takes substantially longer.
Read the FAQ for further tips on recoding. Stick with High or Main. Use Baseline as a last resort. These don't affect quality. Baseline is more playable, but has larger file size.
e.mote said:
The high/main/baseline is only if the video is recoded, which yours wasn't. On Recode=AUTO, it doesn't recode the video for 720p H.264, or 1080p baseline profile. Only the audio is recoded to stereo AAC (from your video's stereo AC3).
The best quality is when you don't have to recode the video. Only recode the video (Recode=YES) if it can't be played smoothly on the Xoom. Video recoding takes substantially longer.
Read the FAQ for further tips on recoding. Stick with High or Main. Use Baseline as a last resort. These don't affect quality. Baseline is more playable, but has larger file size.
Click to expand...
Click to collapse
oh ok thanks
going to do more videos

Categories

Resources