The Ultimate HD2 & coreplayer 1.3.6 setup, 3800kbps wvga (h264) no single frameskip.
This isnt a joke, i finally found the problem of coreplayer on our HD2,
this will solve all your problems with coreplayer:
settings:
go to select page then video:
Video Output: DirectDraw (before you change this make sure there is no video running on coreplayer cus it will freeze your device, otherwize,
go to DirectDraw page and change Overlay to YUY2, then change Output to DirectDraw)
DO NOT USE GDI and RAWFRAMEBUFFER- unless you like choppy or framy(lol) videos. (make sure you have 1.3.6 one to get max performance with DirectDraw).
now this is important:
go to select page then DirectDraw:
uncheck Overlay with colorkey
uncheck Use blitting instead of overlay
check Use device streching for blitting.
Overlay: YUY2
go to select page then Advanced:
Soft-Drop tolerance: 0.300 /0.200 /0.250 ( personally i use 0.250 it seems better )
Hard-Drop tolerance: 0.000
check Disable AVC deblocking filter
( EDIT: about AVC deblocking filter:
with h264 you can see some annoying squares on the video sometimes, now i recommend to uncheck this option and use TG01-D3DM drivers from chainfire, although in 3800kbps videos you will receive skips sometimes, but dont use such high bitrate with coreplayer XD tried 2000kbps one and works smooth with deblocking enabled)
after you have done all this coreplayer will run very fast,
BUT we havnt finished yet!!
playback will still have slowdowns, and this isnt related to the settings,
it is related to a bug inside coreplayer, which affects the autoscale feature of the snapdragon.
have you been wondering why benchmark is so high while playback lags a bit?
I explored this thing, i can tell you that when i check "Play movie in backgroung", and watch the cpu speed: it goes down from 768MHZ to 400-300MHZ randomaly then goes back into 768MHZ, interesting isnt it?
when it drops down to 300-400 it has lags, and when it returns to 768, the lags stop.
the final solution:
http://www.netripper.com/leo/cpuspeed/LeoCpuSpeed_v2.zip
this program will allow you to keep the CPU in its position or make it full 1GHZ.
all you have to do is open it then tap "Disable autoscaling" and you will have Full 1ghz speed.
you can explore yourself by re-enabling autoscaling ("(Re)enable autoscaling")
then activate movie playback in background through coreplayer, then go to this software and watch the speed dropdowns.
now the "Disable autoscaling" is perfect for coreplayer, it also use 1ghz instead of 768MHZ, and also does not drop down randomally.
it is recommanded to activate autoscaling after finishing with coreplayer, so you can use more battery, it barely affects the speed of everything else but coreplayer, because it automatically increases to 1ghz when you switch between apps, but does not stay 1ghz inside the app itself.
(im not a native speaker, i hope you could understand this.)
enjoy guys.
Core player does not work anymore!!
Followed these instructions to the letter.
Core player stopped playing videos!
Had to hard reset and restore. Beware.
Edit: I am using (and paying for!) version 1.3.6
I hard resetted because reinstalling did not solve the issue.
Hard resets are almost painless when you backup regularly (I use SPB backup... excellent).
maybe you are not using the 1.3.6 version of coreplayer
thats why it didnt play any video (DirectDraw works only on 1.3.6 and one more version - at the others you get green screen)
anyway why hard reset? you could reinstall coreplayer..
It worked for me though.
The benchmark for video with following properties reads 140%.
Video: MPEG4 Video (H264) 848x480 23.98fps
Audio: MPEG Audio Layer 3 48000Hz stereo 128kbps
It plays smoothly. =)
glad this works for you,
dont forget the fix for the cpu slowdown, cus without this the benchmark is only a number, and the playback will be with lags.
can you post your bit-rate?
Thanks for the tip!
Btw, this might be kinda off topic, but do you know how to get the htc volume slider (volume slider as in HTC music player) to work in coreplayer when I press the volume rocker?
Currently, the video will pause whenever I press on the volume rocker to change the volume.
Umm i have no idea,
maybe you can search google, but i have another solution:
theres an option around coreplayer settings to make the video keep playing when it exits fullscreen, so all you have to do is increase volume, then go back to fullscreen and the video keeps playing..
working
"you are good, you are very good "
No more lost frames, works indeed but now quality is not so good, I see lots of artefacts on my lower framerate videos.
Maybe I messed up some settings ?
i guess you did, go over the color settings etc.. ( i use 0 on brightness )
there is absolutely no drop-down in the quality,
if i play the same video also in album - you cannot tell which is which if i show you both in fullscreen.
I made those brightnes settings and the artefacts are still visible .
???
Thanks for help
ummm i dont completely understand what "artefacts" is lol, (not a native speaker sorry, i used dictionary but the meaning doesnt make sense xD, maybe you should try to explain this better)
i do understand that the quality isnt like before, this means you messed up with the settings somewhere. i do not see any drop-down in the quality of my movies.
Artefacts are little squares on the screen when is lot of movement
Sorry for my poor english
got it, do you say these werent there before? actually this is common with flv files.
one more question: does it happen when the screen goes black?
yes these apear after your settings
I had first part of settings ( yuy2 ) and I guess they apeared after I did the second part of settings ( soft and hard drop )
nope this is defenetly not related to soft and hard drop, im thinking now with my hd2. but tell me if you mean those squares when the screen goes black, cus somehow in the past i solved this.
when the screen is black , the squars are not visible
when I watch any movie, video they are very ugly ( in some grey area )
i cant notice any squares, once i had them left on the black screen, but i solved this, there are no squares!!
try use videos with higher bitrate, usually low-quality videos cause squares, also i would recommend to go back to the default settings to see if theres any difference which i guess there isnt.
EDIT: try unchecking Disable AVC Deblocking filter, and tell me if this helps. (this massivily drops the benchmark)
strange because I did not see them before
How I can reset to the default settings ?
install again ?
Try enabling avc deblocking filter (in the edit last post)
im going to sleep... 2:00AM here, Cya.
when I enable avc deblocking filter those artefacts are not so visible
but now freezes the playback, is not so fluid like before
when I disable avc filter it is smooth but with larger artefacts
I give up and go to sleep, thank you a lot,
to be continued
{
"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
Hello there guys!
Today I'm gonna share my encoding settings that I think are the best for movie/tv-show/anime watching on ideos x5(pro/non-pro) screen.
Note: Encoding is a very heavy task for a computer. Make sure that you computer has at least 2 CPU cores and 2 gb of RAM before proceeding.
For example I have an Intel Core 2 Quad Q9300 (4 cores at 2,5 GHz),4gb RAM and Win7 x64. Re-enconding 20 minutes of anime/movie takes about 5 to 7 minutes. Output file size is about 160-180 MB.
Anyway.Let's get started!
-----------------------------
1) Download a program called HandBrake. You can get it here:http://handbrake.fr/downloads.php
Note: If you have 64bit OS get the 64bit version of the program,as this will greatly speed up the encoding progress.
2) Install HandBrake(hope you know how to do it ).
3) Run HandBrake
Note: In Windows in case it shows up an error when trying to run it, try running it as admin.
4) Find a movie/tv-show/anime file to re-encode + proper sub suitable for your needs
5) Take a break here and get ready for the hard part
----------------------------------------------------------------------------
1) Click the Source icon located in top left corner in HandBrake interface. Press select video file (I won't do a source->folder example since it's pretty much the same.)
Select your video file. Usually the extension of your video file will be something like .avi .mp4 .m4v .mkv etc.
2) Now in Output Settings (Preset: Normal) make sure that Container: is set to MP4 File
Now click the browse button located a little bit above and right and give a name and location to your output file
The hard part really starts here...
3) In Picture Tab set Anamorphic: to None
See how Width and Height changed and you can now edit their values?
Now change Width: to 800 and Height: to 480 (that's x5(all versions) screen resolution)
Make sure Keep Aspect Ratio is UN-CHECKED
4) Switch to Video tab (leave Video Filters Tab as is)
Set Video Codec: to MPEG-4 (FFmpeg)
Framerate (FPS): Same as source (leave as is)
Constant/Variable Framerate don't make a difference to me but feel free messing around with these options if you want to.I just leave the default one(variable) selected
Now in Quality select Avg Bitrate (kbps):
Enter a value here from 850 to 950. The higher the value the better. I use 920 which I find very good. The only difference here is that in dark scenes higer values will give a better image,where lower values (i.e. 850) will make the image look a little "pixelated-like". Increase it even further (i.e. 1000-1150) if you are not satisfied with the result in your phone's screen.
5) Switch to Audio Tab
Remove any audio tracks you don't want by selecting them from the drop down menu and pressing remove in order to save up space
Now select the audio track you want to keep.
Change Audio Codec to AAC (ffmpeg) (2nd dropdown menu)
Change Mixdown to Stereo (3rd dropdown menu)
Leave the rest as is
6) Switch to Subtitles Tab
If you don't want any sub simply remove any sub track like you removed the audio track previously.
If your video file includes a sub stream(usually .mkv files have one) that you want to use for sure,select it from the track list and check forced only, burned in(This will hardcode the sub into the image.You won't be able to remove the sub after that.If you don't want that,then just remove the check from this checkbox) and finally check default.
If your video file has no sub track/stream but you have a working .srt or .sub file then continue reading.
7) Chapters Tab is useful for some people. I just just un-tick create chapter markers.
In advanced I dont' enter anything
8) Switch back to picture tab and revise your settings (also do this in video,audio and subtitles tab).
Correct any mistakes.
When you are ready press the Start Button located next to the Source Button you used to load your movie.
Encoding should start. Your pc may stop responding fast during re-encoding of your video file.That's normal. Just wait for it to finish.
After encoding finished test your re-encoded video in your computer to test if it is as you want it (in terms of video/audio quality and subs). Well you can't tell much about the video quality by viewing the video in your computer because image will be stretched to fit computer's screen resolution.
9) Now copy your re-encoded video file to your phone's sd card.Better make a folder called movie or something. Paste the movie there. Place any additional .srt subs you may have here.
Download MX Player from PlayStore. Install it.
Open MX Player and load your video. Make sure HW Decoder is in use. Load any sub stream you may have.
10) Turn your phone into landscape view and Enjoy!
-----------------------------------------------------------
Well,that's it!
I hope my settings will proove useful for some users who want to use their phone more like a media center device.
Don't forget to click thanks if this helped you and also comment That means a lot to me!
If you disagree with some part of the guide,have another opinion/solution then feel free to comment and make this guide even better.
Cheers!
Guide is well written but why re-encode?
The only reason in my opinion is the free space, since our phone can play standard definition (didn't try HD) videos with srt subtitles (software decoded). If it is a space problem go with a bigger SD card re-encoding will cost in time...
Also keep in mind that any re-encode from a lossy codec to a lossy codec will cause loss of quality (even when re-encoding at the same bitrate/specs)
priestx said:
Guide is well written but why re-encode?
The only reason in my opinion is the free space, since our phone can play standard definition (didn't try HD) videos with srt subtitles (software decoded). If it is a space problem go with a bigger SD card re-encoding will cost in time...
Also keep in mind that any re-encode from a lossy codec to a lossy codec will cause loss of quality (even when re-encoding at the same bitrate/specs)
Click to expand...
Click to collapse
By re-encoding to a lower resolution it may use less cpu power to decode it, and therefore less battery (could be wrong though, this may not be that noticeable).
But yes, our phone can even play HD videos (they seem to have a low framerate on my phone, but I think it is related to a slow sd card).
@priestx
Well to tell the truth I don't do it for the free space.
I watch a lot of anime but there all in .mkv format with softcoded subs at 720p resolution and a high bitrate (1200kbps avg).
Trust me you can't watch this even with hardware decoder.It's laggy. Of course software decoder served me quite well some times but that was for easier to handle videos(like standard avi files).
You are absolutely right saying that re-encoding costs in video quality and time,but I think it worths re-encoding in some special occasions you want to watch something somewhere else apart from your computer and u8800 specs fail to playback the video correctly. Also due to screen's size it's not very easy to spot quality drop ,but only in special scenes. The advantage of re-encoding to me is that I can use hw decoder no matter if I am in 2.3 or aurora and get proper video playback.If I don't re-encode usually I won't have a hw decoder option in 2.3 and in aurora playback will be laggy sometimes even with hw decoder.
@FlashTH
I also think it uses less power but I didn't do any tests to proove it.
I don't think that slow hd playback is due to your sd card(I have a class 8 and still a lot of 720p videos shutter/lag a little).
Anyway,thanks for your comments and opinions