Nook Tablet Handbrake Preset (All credit goes to Iron_C) - Barnes & Noble Nook Tablet

NOTE: I did not find these settings myself, I am merely putting the presets up if anyone else would like to use them. iron_c found them for me in another thread I had. The attached file is a .plist file so just change the extension.
EDIT
And so all the info is at the top people have been asking how to use this file. The newer versions of handbrake www.handbrake.fr have the ability to import settings. It's on the bottom right of the main screen under the list of presets.

This should be linked in that collective post, good find.
Sent from my NookColor using xda premium

For those (like me ) who are unfamiliar with this, what can we do with this file?

You should be able to use it with a program called Handbrake to convert video to the best format for NT. I have done this with manual settings but I hope that this works better. My results were less than stunning.
Now to figure out how to integrate this to the program...
---------- Post added at 03:15 AM ---------- Previous post was at 02:59 AM ----------
By gum there's a button right in Handbrake that imports setting! I'll check out the quality compared to the manual one's I used from an Itab page.
---------- Post added at 03:24 AM ---------- Previous post was at 03:15 AM ----------
I couldn't see much difference but the file was about 20% smaller which I guess is good.
I'd appreciate it if some video guru would chime in about these settings. Thanks for the find.

Well as I said iron_c is the one who found the settings himself, I was just looking for settings that would let me maximize the amount of video I could bring with me on trips. I'm thinking a good portion of the space savings is due to the sound being set to stereo rather than dolby 5.1.
To give an idea of some of the savings I have been seeing I did a reencode of Super 8 (originally 16 gigs 1080p Dolby 5.1). The new file is now 695 megs. I'm wondering if these settings might also do well on the nook color as I was using that before and some shows that were reencoded down to 500 megs are now 300 megs.

As said elsewhere, the 4430 has decoding capability equal to that of a netbook. For 720p content (and even some 1080p), you don't need to recode the video. You would only recode to get a smaller size.
The enclosed HB setting above has a number of deficiencies. vbv-bufsize and vbv-maxrate shouldn't be set, as they degrade quality. These are for older devices that can't handle bitrate spikes. Decomb/deinterlaced shouldn't be set, as downloaded videos don't need these settings, and they significantly slow down conversion (HB is not a fast converter to start with).
There are other settings that should or shouldn't be set, but I don't want to get into the nitty-gritty of x264 settings. In short, just use the default settings for MP4 for a regular PC, adjust the resolution to your liking (1024 width or less), and you will have an optimal encode, above and beyond these "custom" settings you find on the net. HB's defaults were chosen for a reason.
Handbrake isn't suitable if you simply want to change to MP4 format (ie no video processing), because it always converts the video. For that, check out the VidsOpt package below, which I wrote. It will also do video conversion if desired, and be faster and simpler to use than HB. Or your money back.
http://forum.xda-developers.com/showthread.php?t=1102922

I was hoping never having to use Handbrake for my 720p/1080p mkv files like i had to for my iPad but with the 2GB limitation on video files for the Nook Tablet looks like Handbrake will be my only choice. I wonder if there is a way to remove the 2Gb limit per file? Sucks to be re-encoding 720p/1080p content when there really isn't a need.

There are several ways:
. Use a 3rd-party player.
. Split the MKV.
. Leave MKVs on server; create SMB or streaming connection.
Size aside, there's no reason to recode unless you want to. Using 3rd-party player, the 4430 can play 720p even in software mode.

Cozila said:
The newer versions of handbrake www.handbrake.fr have the ability to import settings. It's on the bottom right of the main screen under the list of presets.
Click to expand...
Click to collapse
FYI - on the PC version the import option is available in the menu that comes up when you right-click in the Presets area. There's no Import button.

Related

Movies On XDA

Hi,
Could someone tell me what the correct settings are to encode video to my XDA. I need screen resolution and FPS also Kbps.
Video Encoding for Pocket PC
The simplest method of encoding for the pocket pc is to encode using windows media encoder. Simply download the encoder from
http://www.microsoft.com/windows/windowsmedia/download/default.asp.
Once you have it is very easy. There are templates for pocket PC.
Voila!
I have noted however that mpegs encoded for the pocket PC look and play better. I have not compared with the new encoder though. To play mpeg files you need mpegtv.
http://www.mpegtv.com/
BeDammit
Beos isn't dead...
http://www.yellowtab.com
Also, with WME9 you can tweak quite a few settings to customise it for your needs, although it's far from intuitive. I use it myself to encode movies for viewing on the train, quite acceptable quality, full-screen, stereo, 20fps, at about 1MB per minute.
I've been asked to share some instructions for Windows Media encoding, as the existing how-to guides only cover divx and mpeg: so here goes...
1) Get the software - Windows media encoder 9 - from Microsoft here
http://www.microsoft.com/windows/windowsmedia/9series/encoder/default.aspx
2) You can use the wizards to covert for pocketPC, but as this is about tweaking for optimum performance, select the custom setting to create a blank project and bring up the session properties window. I'll now go through the tabs on the session properties:
Sources) WME is very flexible, and allows you to use multiple sources, but in the case of simple file conversion, just alter the default source. Select the File radio butto on the source from section, and browse for your file.
Output) Select the Archive to File checbox, and then browse for or enter the output filename. Note WME will helpfully set the extension to wmv automatically. Make sure the push and pull checkboxes are cleared.
Compression) Here's the fiddly bit. Why they don't allow you to create and save off a complete custom destination is beyond me, but select a destination of PocketPC and click edit. We'll now go through the compression settings dialogue:
- General) For pocket PC you want to use Audio: CBR: Windows Media Audio 9, Video: Windows Media Video V8. You now need to set up your target bit rate. Windows media allows a single file to have more than one bit rate, so that if it's viewed over the internet, a different stream can be sent depending upon the bandwindth. As we're going to be creating a single file, we'll only want a single bit rate. Remove all the target bit rates and add a new one. Give it a bit rate of 120K - note this pop-up window is a bit superfluous, it just alters the caption on the second tab, from where the real bit rate can be set:
- 120 Kbs) OK here is the main tweak page for the compression. Here are my suggested values for a very higly compressed, but watchable file:
Audio format: 20kbps 22KHz stereo CBR. You can up this if the sound quality is very important, but don't go too high otherwise the PocketPC won't have enough power to process the file.
Video Size: use a calculator to work out the correct dimensions to produce a full screen on the pocketPC, given your original video size. So if the original video was 352x240, we want a width of 320 to fit the screen. 240*320/352=218ish, so the size you would want is 320x218.
Frame Rate: High frame rates can require too much performance than the pocketPC can provide, but it's worth playing around with this one. I tend to go for 20fps for movies, 15fps for animation (such as Southpark )
Key Frame Interval: If the PocketPC video stalls because of peformance, this is effectively how long you'll have to wait before it recovers. Lower values produce bigger files, but higher values make stalls more irritating. I tend to use 4s
Video Bit Rate: One of the best things about Windows Media is the bit rate is totally flexible. You'll definitely want to play around with this one. The higher the bit rate, the bigger the file and the better the qaulity, but the more power required to play it. 100K bps gives a not-crystal clear, but perfectly watchable result.
Buffer size: I tend to leave this at about 5s - it affects the total memory required when watching the movie, but doesn't make tht much difference.
Video Smoothness: This setting is a little fiddly. It determies whether you want a smooth but slightly blurry video, or a sharp but jerky video. It depends on what you're encoding. It's a percentage value. I generally use 5 for action movies, 15 for southpark. Keep it low, otherwise you'll get a slideshow on the PocketPC.
Once you've set up your values, you'll probably want to use the export button on the General Tab to save this off to use again.
Back on the compression tab) Initially leave two-pass encoding unchecked, so that you can encode just a bit of the file first to check things are OK. Once you're happy with the results, you can select two pass encoding to produce slightly better quality results.
Video Size) As we set up the correct video size on the compression settings, this is a bit superfluous. However it can be used to crop borders off letter-box content, which saves a bit of space.
Attributes) Set up how you want
Processing) If the source is a poorly encoded video, you can de-interlace, or if it's a movie that has been recorded directly, you can inverse telecine (telecine is where they change the frame rate from film at 24fps to video at 25fps). I tend to leave it as None.
Plug-ins) OK this isn't really important, unless you have a DVD rip that has very quiet sound. There's no simple way of amplifying the sound in WME, so you need to use an audio plug-in. I've used Scrollworks Peak Slammer with good results, but it's quite costly for a simple audio amplifier. I'd be interested to know if there's a simple freeware audio amplifier plug-in out there. http://www.scrollworks.com/products/slammer
Security) Leave blank
Advanced) Leave the defaults
Now click apply!
Ok don't go the whole hog just yet - click start encoding and let the first 30 seconds or so get encoded, then stop the encoding. This doesn't delete the partially encoded file, so you can check the output to make sure it's OK. Click the properties button to bring up the properties window again, and alter any settingas you feel need changing here, such as volume, size, compression, smoothness etc. Keep doing this partial encode/tweak settings cycle until you're happy with the results.
Once you have good session settings, go back to the compression tab and select two-pass encoding and click the apply button. Now press encode and wait for your file to be produced.
Hope this helps
having played with encoding quite a bit, i have to say that when disk space is a problem, nothing but divx is worthwhile.
Get the DIVX codecs from www.doom9.net
Get the application virtuadub from the same site
Now you can open any avi,mpeg file in virtuadub, and encode it using the divx codec. Apply a resize filter if you want to make the screen size smaller. Use some audio codec settings to reduce sound quality, and you will have a movie, not DVD quality, but watchable, and doesnt take hundreds of Mbs.
Use pocketdivx http://www.projectmayo.com/projects/detail.php?projectId=9
to play the movie.
Also found a great audio tool to decrease the size of mp3 or WMA files.
DbpowerAMP from http://www.dbpoweramp.com/ allows you to covert audio formats, and to reduce quality.
Managed to get a 5Mb mp3 file, to 900k WMA file, and it sounded good on the xda
I've noticed that video playback on the XDA will be a lot smoother if you turn off the phone while viewing. Probably something to do with the phone being a realtime application with high priority.

[FAQ][GUIDE]Video on the Atrix

Hlep!! Video sucks on my Atrix HOW2FIX?!?!?!​
The Atrix is a peculiar beast when it comes to video and audio. While it is a very powerful device for certain things, it does lack in a few others. One of the most pronounced is video compatibility.
Please make note that this guide was made for Froyo-based (2.2+) firmwares, NOT the latest Gingerbread (2.3+) releases. However, the settings contained within play very nicely with the stock media players on the phone regardless of firmware.
FIRST: The Atrix does not play *.mkv files out of the box.
SECOND: Even with a media player from the market, *.MKV runs poorly.
THIRD:This guide will tell you how to fix these issues​
So the Atrix will play 3 major video containers right out of the box. *.MP4, *.AVI, and *.3GP. The Stock media player will only translate stuff from those types of containers.
Audio works out of a boatload of containers. *.mp3, *.mp2, *.m4a, *.wav, *.wma, *.amr, *.ogg... those are the only ones I can remember off the top of my head.
But you don't care about what it'll play, you just wanna make it work.
How to make stuff play on your Atrix
Transcode with Megui walkthrough: Here.
Transcode with Handbrake: Here.
Transcode with CLI with FFMPEG: Here. (Thanks relaxed!)​
*NOTE: My preference on media transcode programs leans very, very heavily toward Megui. Megui (found here) gives a level of video control that you can not obtain with many (read as 'any) other transcode programs. If you take the time to set it up, you can get the results you want every single time with just a couple of clicks.
I AM NOT RESPONSIBLE FOR BRICKING YOUR PHONE/COMPUTER/INTERNET CONNECTION/WHATEVER WITH THE USE OF THIS GUIDE. THIS GUIDE IS ALMOST EXACTLY WHAT I DO TO MAKE MEDIA WORK ON MY PHONE. IT WORKS 99% OF THE TIME, THE OTHER 1% OF THE TIME I MESS SOMETHING UP TWEAKING THE SETTINGS, IN WHICH CASE I FOLLOW THE STANDARDS LAID OUT IN THE GUIDE TO FIX IT!​
Here is a list of supported codecs and containers that the Atrix plays that most people will be concerned with. As these are just containers, most of what you can put into them is almost unlimited. You can have h.264 video and flac audio in an AVI container, but it most likely will not work with any player due to the restrictions on said container. (Container first, with codec possibility laid out next to it):
1. MP4
Video Codec possibilities: h.264 baseline, h.264 main(*), h.263, xvid/divx
Audio Codec possibilities: AAC(**)​2. AVI
Video Codec possibilities: xvid/divx, h.263, mjpeg
Audio Codec possibilities: MP3, AC3(**), PCM(**)​3. MKV (ONLY WORKS WITH THIRD PARTY PLAYERS!)***
Video Codec possibilities: h.264 (***), xvid/divx(***)
Audio Codec possibilities: MP3(***), AC3(***,****),AAC(**)
Subtitle Possibilities: SRT(plain text)​
(*)Main profile x264 will achieve better compression results. However, you must disable weighted B-frame/P-frame prediction. If the conversion software of your choice does not have the option for profile based encoding, then you must DISABLE weighted B-frames, and P-frames. More information on what these settings are can be found at the x264 main site, http://x264.nl. It should also be noted that any resolution at or below 1080p at any bitrate can be played, withstanding the speed of your sd card as long as you use the settings aformentioned.
(**) Due to limitations of the phone, audio tracks that are encoded in mono (1.0 channel) should be converted to joint-stereo or stereo for the best compatibility. If audio tracks have more than 2 channel stereo (IE 2.1, 3.1, 5.1, 6.1, 7.1 or any combination thereof) they need to be downsampled to stereo, Dolby Pro Logic, or Dolby PLII to eliminate the 'echo' effect that these files will produce. AAC does this nicely. AC3 to my knowledge will not play at all if the channel set is anything but 2.0. NeroAACenc is recommended for AAC compression, more info here.
(***) Using QQPlayer, I have managed to achieve a playable MKV with soft subtitles. The video inside the MKV *MUST* be xvid, compressed with 2 pass with a bitrate of LESS THAN 1700kb at FILM framerate (23.976FPS) and NO MORE THAN 848x480 resolution. Any resolution lower than those numbers will work, with any other aspect ratio also. QQPlayer can read the aspect ratio properly, so watch your video tags inside the MKV. The audio *MUST* be MP3 (stereo or j-stereo) below 192kbps. Any sampling frequency works. The subtitles must be SRT plain text. H.264 as a video codec inside the MKV WILL NOT WORK WELL. Anything but MP3 audio in the container WILL NOT WORK WELL.
TO SUMMARIZE THE MKV:
[email protected] <=1700kb 2 pass @ 23.976 fps, resolution <= 848x480
MP3 @ <=192kbps (44.1khz or 48khz will work)
SRT Plain text subtitle track​
**** After examining a file I encoded using High Profile 8-bit h264 and AC3, I found that no matter what media player I used (stock/mx/qq/rockplayer) on my installation of CM7 weekly3, there was no sound. I cannot promise AC3 will work, and if anyone knows how to make it work (kernel dependence maybe?) please let me know. I will probably be doing an update on the whole guide when I get some more information
Special thanks to relaxed and kmiller8 on IRC for proving me wrong on a few things in this post.
Transcode: Megui
Guide for Transcoding with Megui
Step 1: What file are you transcoding??​
Yes, this is an important step. Say you get a movie from a 'reputable' source, or you ripped your own. If you are anything like me, I like MKV files. They play nicely on my desktop running Vista (don't flame pl0x, I know Vista sucks), but don't work on the phone. Usually stuffed inside that shiny MKV is a high-profile x264 encoded video with ridiculous settings and a shiny 5.1 (or 6.1, or even 7.1) FLAC audio track. Sometimes subtitles! And even in more cases multiple audio tracks! Will your Atrix play this monster file? lolno. Can we make it work for your Atrix? Yes. Read on.
This example is going to be using a MKV file, and we will be converting to a 720p MP4 using x264 and AAC. (Most other files will work this way as well. If you are ripping a dvd and looking to stuff it on your phone, find a guide on the internet. Google is your friend. Most guides will tell you how to get the dvd into a workable format on your computer, from there you can use this guide.)
Step 2: Get Megui.​
As said previously, you will need Megui. (found here). You will also need avisynth. (get that here; make sure you get version 2.5.8, as it is the most stable at the time of writing this.) Install avisynth first, then Megui to prevent any serious issues. Megui will tell you it needs avisynth before you install it anyway, so this cuts out a step in the process.
For best audio results, you can get neroAACenc also. When you update megui, it will tell you how to get this file. Follow the directions on the website it sends you to at the update step to get this awesome audio encoder. Megui will tell you how to make it work.
As stated before I am not responsible for bricking your computer with this software. I am also not responsible for any issues regarding bugs or technical support with the software I listed. I just use it. It works flawless for me on 3 different x64 based computers (Windows XPx64, Vista Ultimate x64, and 7 professional x64)
Step 3: Megui.​
Megui, after it is updated and working, looks like a complicated piece of software. There are so many configuration options even the configuration options have configurations if you go deep enough. Lucky for us, they are not as complicated as they seem. We will only be working with a few of the options.
In this case, we will be working with a MKV that has a video, an audio, and a subtitle track.
A. Extract the file.
Tools > HD Streams Extractor.
The reason we do this is to get all the information we can out of the file. Choose the radio button for 'select file as input' and either type or click the '...' button to browse to your file. Once that is done, we want to extract everything. So under the streams list, check them all. If you want to change the location that they extract to, then do so it is all up to you. This particular case will produce 3 files, a video track, an audio track, and a subtitle track. Click Queue. This will take you back to the main window. Click the queue tab and click start at the bottom to begin extracting the files.​
B. Index the Video
Now we have the files extracted, we need to index the video file that was produced from this extraction. To do this, go to Tools > File Indexer and choose the *.mkv file that was extracted from the last step. Why this file and not the original? Because this file has only video in it, no extra crap. The file produced will most likely be 'T1_Video - .mkv' unless your source had a strange index set to begin with. Because this is a MKV file, we only have one option for indexing, and that is with 'FFMSIndex'. Click the queue button, go back to the queue tab on megui and click start.​
C. AVIsynth gui inside Megui
Once the previous step has been completed, we will have a window pop up with the video in it. Yay! This video has a few things we need to do to it before we can start the actual encode process though. In my example, the frame rate is too high for the phone to understand (120fps... i should slap someone for that), and it by default has no subtitles. Contrary to popular belief, we do not have to resize the video to 960x540 as per the resolution of the phone, because it will play back up to 1080p. This video is fine at 1280x720. So unless you are concerned with the amount of space its going to take on your phone, leave the resize option alone. (*) Go to the filters tab. Under deinterlacing, choose 'progressive scan'. Reason for this: this example is animu. For some reason, it cannot detect interlacing in animu. If you have a film or another source, then you can click analyze and it will figure out what it needs to do with the file. Under filters, choose either a spline16 or a spline36 (because we aren't resizing) for the resize filter. If you are going to try to upscale, make sure you choose one of the soft resize filters. (*) Subtitles: choose your subtitle file. In this case, 'T3_Subtitle - 3 Subtitle (ASS).ass'.
To fix the framerate problem I had with this video, I changed the actual script manually. Under the script tab I changed a value. Avisynth script is a pain, but this made convert it properly.
Code:
FFVideoSource("C:\Users\Girgizzlemuf\Videos\TranscodeHOWTO\T1_Video - .mkv").AssumeFPS(24000,1001)
Reason I just changed the .assumefps is because the video is actually 23.976 fps, it was just tagged wrong when I extracted it. With this, we are done. Click Save and we can finally encode!
*If you resize the video to something smaller, make absolutely sure you choose the "resize mod16" option or things WILL break. Also, the only way to upscale properly is to add a soften filter and some grain to the video on the upscale. You can check google for some filters that will do that, and check with the megui nomenclature to get the filters working right. I don't recommend upscaling native 720p footage, but upscaling 480p or 576p footage tends to work OK.​
D. The Encode. (Video)
Now we get to the part that actually matters. After you click save from part C, go to the input tab. Choose 'x264: *scratchpad*' under Encoder settings and click 'config'. The x264 Config dialog will open. Click the checkbox next to 'Show Advanced Settings'. Under the AVC Profiles pulldown, choose 'Baseline Profile' or 'Main Profile'. Please note that if you enable main profile, you will need to go to the 'Frame-Type' tab, and DISABLE 'Weighted prediction for B-Frame', and change 'P-frame Weighted Prediction' to 'Disabled'. Under Tunings, choose the type of video that you are using (in my case, animation). AVC level we can leave at unrestricted/autoguess. If you want a bit more compressability you can change the level if you want. The lower the number, the less information is stored per frame. If you want to change the bitrate you can, i prefer a constant quality of between 18 and 21, (the bigger the number the smaller the file fyi). Any of the other tabs are up to your discretion on modification. You don't need to change the other values. If you want to save the preset, click 'New' down by the presets and name it so you can just load it later from the main window without changing any of the other settings. Click OK, make sure the file format is 'MP4', then click 'Enqueue' under the video encoding.​
E. The Encode (Audio)
Same drill as video. Choose the audio file, choose either 'Nero AAC: *scratchpad*' or 'FAAC: *scratchpad*', then click configure. It should also be noted that while FAAC is open source, you will get better results from NeroAAC. Both will give the same basic options. Under output channels, my personal preference leans toward 'Downmix multichannel to DolbyDigital Pro Logic II' for the simulated surround experience when plugged into a tv, and the samplerate at 48000hz for the best range of sound. As far as bitrate is concerned, VBR 100 will get you about cd quality sound. (NeroAAC give the option for a quality, Q=0.5 is a bit better than cd quality.) Again, you can save your profile as whatever so you don't have to click the options again, click ok and click enqueue on the audio dialog.​
* side note, my example i did not re-encode the audio, as the audio extracted was AAC. lucky me~ *
** side side note, you can close out of the video preview window at any time after the video has been put in the encode queue.​
F. Almost done...
In the main window, go to the Queue tab and click start at the bottom. After some magical mumbo jumbo, your files will be done. This will take a while depending on the specs on your encoding machine. After that is done, we need to make it into a file that has both the audio and the video. Under Tools > Muxer > MP4 Muxer we find just that. Choose your video, make sure the right framerate is selected (in my case, 23.976), choose your audio, and name your file at the end in the box named 'Muxed Output'. It will most likely try to name the file for you, you can change it to whatever you want as long as it ends in .mp4. Click Queue, go to the queue tab in the main window and click start one last time. Once that is done, you have a video that will play flawlessly in the stock media player on your phone.​
And that is it. Results may vary depending on the video used, and bitrates/quality will vary depending on your tastes. If the final product is more than 2gb, it will cause some weird issues on the phone. If that is the case, reduce the bitrate on the video and that should solve your problem. If you are using a constant quality, x264 Q=20 (depending on motion) will yield between 350~400mb/30 minutes so plan accordingly. I personally have made a 720p video that was about 2 hours long fit 1.4gb with x264 baseline Q=20 and audio through [email protected]=0.5.
If you would like some screenshots illustrating the process, you can go here to find them.
Guide for Transcoding with Handbrake
Step 1: What file are you transcoding??​
This is a very important step. Generally if you can load it into Handbrake, you can transcode it. There are all kinds of options we can use to transcode to make it work on the phone, and this guide will cover those steps.
Step 2: Get Handbrake​Handbrake can be found at http://handbrake.fr/. Instructions for download for your system can be found there. Currently Handbrake supports MacOS X, Windows and Linux.
Even though Handbrake supports a large number of operating systems, if you use Windows the preferred method of transcoding is still going to be MeGUI due to the reasons listed in the first post on this thread!​
Step 3: Handbrake​Handbrake has a much simpler interface than Megui. However, because of this, there are much fewer options. This is good for a lot of users, but as stated before it does not give you much control over the video. For Linux and MacOS X users, this is going to be your best solution for a graphical interface. In the example I am going to use, again like the Megui walkthrough, we will be using a MKV file containing a video, audio, and styled subtitle track.
A. Load the file
First you need to load the file for input. Click on the button in the top left that says 'Source'. Choose your file that will be loaded. Under the drop-down menu that says 'Title:' you have a few options. For best results, choose the 'Frames' option and choose the entire video. This prevents chapters from being loaded into the file and makes the file more compatible with the phone. The Summary tab at the bottom will give you the details on the file that is loaded.​
B. The video.
Under the video tab, you will be presented with some basic encoding options. We will be using H.264(x264) because it is what the phone can read easily. The other options we will not worry about. Keep the framerate the same as the source (Unless you are encoding from a dvd, then you need to follow a dvd-ripping guide) and choose your bitrate. With x264, the quality is inversly proportional, so if you choose a quality of 30, your file will be small but the quality will be garbage. Keep the constant quality between 18-23 for the best results with reasonable file size. If you want to target a certain file size or bitrate, you can choose to do so as well, but be aware that those settings will force a 2 pass encode that will increase the transcode time.​
B1. H.264 Settings.
Contrary to popular belief, you do not need to 'install a preset' to make these work. Here is a list of settings you need to change to make it work on your atrix:
Weighted P-frames = OFF
Maximum B-frames = 2~6
Adaptave B-Frames = OFF​
Those are the ONLY settings you need to change to make the video work. As long as the settings for weighted p-frames and adaptive b-frames are set to off, you can change any of the other settings to your liking. Leave CABAC on though, as it increases compression by a lot.​
If you have an odd-sized source, or if your source has 'letterboxing', or if you have the urge to resize your video to whatever resolution, read the next section. Otherwise, skip to part C.​​
B2. Crop/resize
If you have a weird source that requires some special attention, click the button at the top that says 'Picture Settings'. From the dialogue that pops up you can resize, crop, add certain filters (deinterlace, IVTC, soften, sharpen etc...) to make your file more compressable and watchable. You can also use this window to resize your source, but upscaling via this method is not recommended due to picture quality problems on stretching. There are a lot of advanced options in here, and due to the complexity of said options, this guide will not go into detail on what they do, because if you are in here, you already have some idea what you need to do to fix your source.​
C. Audio/Subtitles/chapters
Putting these sections together because they are easy. Under the audio tab, you are presented with a few options for the built in AAC encoder, FAAC. Choose your bitrate. 128kbps will give you a bit better than cd quality, 160 is a pretty good option for stereo, 192 is a good option for Dolby PL or Dolby PLII. If your audio track is multichannel, I strongly suggest you change the 'Mix' settings to Dolby PL/PLII. Reason: multichannel AAC produces a horrible echo when played back in stereo on the phone. DRC if you want to make the louds quieter and the softs louder.
Under the subtitle tab, you can choose your subtitle track. By default, it has no track selected. If you have subtitles you want to get on your video track, you need to click on the '+ subtitle'. This will automatically load the subtitle track from the MKV. (Alternatively, if you have a subtitle track outside the file you can click '+ Import SRT' to add a text-only subtitle track.) Choose the radio button for 'Burned In' to directly encode the subtitle track onto the video.
The atrix does not recognize chaptered MP4 files. So under the chapters tab, uncheck the box for chapter markers. This is not required, as it does not affect playback on the phone. ​
D. Destination
Almost done. Under the destination box at the top, choose the destination for the file. As a note, we will most likely have to rename the file to .mp4 after we are done, because for some reason the final product will be .m4v. Not hard, if the file works as m4v then good. If not, rename it to .mp4 and you should be fine. Now click start, grab a beer and walk away for a bit. This is going to take a while. When it's done, do what you normally do to get stuff on your phone.​
Having trouble installing these files on a 64bit machine.
check the support on the megui site. I run win7 pro x64 and have zero issues. I'll be updating this further after I get some sleep
================
FFmpeg / libav Instructions
================
H264 720p Main Profile - High Quality & Compression
=======
Windows
=======
Extract to the root of C:\
For 32bit Windows --> http://win32.libav.org/win32/libav-win32-20110515.7z
For 64bit Windows --> http://win32.libav.org/win64/libav-win64-20110515.7z
C:\libav\usr\bin\ffmpeg.exe -i INPUT -sn -vcodec libx264 -crf 18 -threads 0 -fpre "C:\libav\usr\share\ffmpeg\libx264-veryslow.ffpreset" -fpre "C:\libav\usr\share\ffmpeg\libx264-main.ffpreset" -wpredp 0 -flags2 -wpred -maxrate 4M -bufsize 4M -acodec aac -strict experimental -ac 2 -ab 192k OUTPUT.mp4
============
Linux / *BSD / OS X
============
Install the latest version through your package manager.
$ ffmpeg -i INPUT -sn -vcodec libx264 -crf 18 -threads 0 -vpre veryslow -vpre main -wpredp 0 -flags2 -wpred -maxrate 4M -bufsize 4M -acodec aac -strict experimental -ac 2 -ab 192k OUTPUT.mp4
Note: if "-vpre $preset" doesn't work, use -fpre /path/to/preset.ffpreset
============
Thanks to Girgizzlemuf for the great guide!
Updated handbrake walkthrough
This need to be a sticky or something... Vital information. Thank you so much, OP!
Atrix on CM7.1 plays 720p mkv AVC [email protected] (details attached) perfectly well (stock/MX/BSPlayer).
Is this guide out of date ?
it was posted: 14th May 2011, 01:01 PM
whiteline said:
Atrix on CM7.1 plays 720p mkv AVC [email protected] (details attached) perfectly well (stock/MX/BSPlayer).
Is this guide out of date ?
Click to expand...
Click to collapse
Updated op with some more information about the guide, I had almost forgotten I posted this :3
Thank you for your trouble.
I just found link to this thread with this comment: "all questions to meida on atrix answered"
This is so bad , why Optimus2x reproduce all videos you put on it and our Atrix doesn't? There is no way to Port O2X codecs to Atrix?
The new MX player (1.6f) has special codec for Tegra 2 processors. Although it uses software mode it run most of the mkv and mp4 smoothly.
This usually eliminates the need of converting, unless the file is in very high bit rate. I tested 5 720p movies, including subtitles, and it run OK.
I have only problem with movies from my Canon camcorder which saves mp4 720p files in 12Mbps and 50fps.
I had a htc desire before, and I switched to Atrix mainly because the Desire wont' run 720p properly(1 core cpu with andreno 200). I find it quite frustrating Atrix doesn't play video out from the box either, especially because my vide's desire S has no trouble playing them (still 1 core cpu with andreno 205).
Yesterday I was playing with a wayteq tab (still 1 core cpu) and it played 1080P mkv's even through hdmi in real 1080 on my tv. I think I'm gonna sell thisone, it is hard to get used to it, especially after a phone with Sense...
Followed Megui walkthrough with no good results
Hello,
I have a .mkv file which doesn't play on my Atrix (if I try to play it, the media player starts but doesn't display anything and after few seconds freezes the phone). I tried Megui following this walkthrough, but trying to play the new video shows me the message "Unable to reproduce the video" (or something similar).
How can I see what I've done wrong? How can I solve this problem? I need to play videos with the stock player because I would like to use the Entertainment Center to play videos on TVs...
Thank you everyone in advance for the help!
kir89 said:
Hello,
I have a .mkv file which doesn't play on my Atrix (if I try to play it, the media player starts but doesn't display anything and after few seconds freezes the phone). I tried Megui following this walkthrough, but trying to play the new video shows me the message "Unable to reproduce the video" (or something similar).
How can I see what I've done wrong? How can I solve this problem? I need to play videos with the stock player because I would like to use the Entertainment Center to play videos on TVs...
Thank you everyone in advance for the help!
Click to expand...
Click to collapse
take the video, move it to a computer. find a media converter program online. download, install, convert, enjoy.
Sent from my MB860 using xda app-developers app
I solved my problem. I had to set the configuration of the x264 codec to "baseline profile" and not "main profile" :victory:

Converting Videos

I've owned the phone for about a week now and I like it a lot except I'm not sure how to get videos converted on here? I had to find a trial version of AVS video converter which doesn't even support Galaxy S2, I just changed the resolution but it wasn't as good + watermark in the center.
How can I get movies on here and utilize the full screen or at least get good quality? Does Samsung Kies do this?
I know with apple products (i.e. the iPhones, iPods) it easy with itunes and I already have Videora ipod converter which is extremely easy and flawless for my iPod.
I just cant find anything that easy with the Galaxy s2? Honestly it feels like this is the deal breaker for me as much as I love this phone.
You don't have to convert anything. The phone plays divx and mkvs. Converting is in the past. At worst you need to get Dice Player from the market for mkvs with DTS. I have a huge collection and converting is history.
If you want to convert it for downsizing the file size try Handbrake. Free program and open source.
Sent from my SAMSUNG-SGH-I777 using Tapatalk
Media Converter looks pretty cool.
CB650 Wolf said:
If you want to convert it for downsizing the file size try Handbrake. Free program and open source.
Sent from my SAMSUNG-SGH-I777 using Tapatalk
Click to expand...
Click to collapse
Handbrake is the way to go. Free, open source, and uses one of the best H.264 encoders out there (x264).
I have attached the preset I use for encoding - note that this can probably use some tuning to be more appropriate for the GS2 as it's more capable than the Android devices I've encoded to before for media playback. It'll work just fine on the GS2, it just won't achieve quite the quality and compression ratios possible by enabling some of the more advanced H.264 features.
I disagree on conversion being unnecessary - 720p/1080p videos are pointless unless you're using the MHL adapter, they'll play but are a waste of storage space. Also, some codecs/formats may fallback on software decoding, eating your battery more than hardware-decoded formats.
poofyhairguy said:
You don't have to convert anything. The phone plays divx and mkvs. Converting is in the past. At worst you need to get Dice Player from the market for mkvs with DTS. I have a huge collection and converting is history.
Click to expand...
Click to collapse
and here I was searching the ends of the earth looking for a program to convert the files. I could have sworn I saw somewhere that Galaxy S2 didn't support avi's. Boy was I wrong. Thanks!
DivX or XviD are just codecs for .avi files right? Most of my movies are all avi's and I just drag and dropped one and it played great just now.
Do you all your movies play with black borders too? I know I could resize it on my Galaxy S2 but there is some loss in quality. This seems like a universal thing as my iPod Touch does the same thing. It's not a problem really it's just I'd like to be able to utilize the full screen.
Entropy512 said:
Handbrake is the way to go. Free, open source, and uses one of the best H.264 encoders out there (x264).
I have attached the preset I use for encoding - note that this can probably use some tuning to be more appropriate for the GS2 as it's more capable than the Android devices I've encoded to before for media playback. It'll work just fine on the GS2, it just won't achieve quite the quality and compression ratios possible by enabling some of the more advanced H.264 features.
I disagree on conversion being unnecessary - 720p/1080p videos are pointless unless you're using the MHL adapter, they'll play but are a waste of storage space. Also, some codecs/formats may fallback on software decoding, eating your battery more than hardware-decoded formats.
Click to expand...
Click to collapse
I've heard of Handbrake, basically it's if I have full DVD's right? And you can't see true 720p or 1080p videos on this phone right? Only on a hdtv through the MHL adapter?
just-another said:
Do you all your movies play with black borders too? I know I could resize it on my Galaxy S2 but there is some loss in quality. This seems like a universal thing as my iPod Touch does the same thing. It's not a problem really it's just I'd like to be able to utilize the full screen.
Click to expand...
Click to collapse
Yes, it does for movies but not TV thanks to the aspect ratio. Some player from the market (Moboplayer, Dice Player) let you resize to fill the screen.
I've heard of Handbrake, basically it's if I have full DVD's right? And you can't see true 720p or 1080p videos on this phone right? Only on a hdtv through the MHL adapter?
Click to expand...
Click to collapse
Handbrake can re-encode almost any video source. You can watch 1080p movies on the phone but they only display in WVGA resolution. With MHL out the phone will playback full Blu Ray rips in 1080p (I do this often).
Depends on the movie. If it's a 16:9 movie, it should have little to no black bordering.
If it's a 2.35:1 movie - it's going to have black bars above/below.
4:3 content will have black bars left/right.
While you can directly watch 1080p content (we've got a beefy GPU), it gets scaled down to 480p - so it'll just waste storage space.
The preset I linked preserves the aspect ratio and limits to a max of 800 pixels wide or 480 tall, so basically scaling video to the optimal resolution for our phone - not too small, not any larger than the native resolution.
If you want to use the MHL adapter, I can post the 720p preset I use on my Tab 10.1
Entropy512 said:
Handbrake is the way to go. Free, open source, and uses one of the best H.264 encoders out there (x264).
I have attached the preset I use for encoding - note that this can probably use some tuning to be more appropriate for the GS2 as it's more capable than the Android devices I've encoded to before for media playback. It'll work just fine on the GS2, it just won't achieve quite the quality and compression ratios possible by enabling some of the more advanced H.264 features.
I disagree on conversion being unnecessary - 720p/1080p videos are pointless unless you're using the MHL adapter, they'll play but are a waste of storage space. Also, some codecs/formats may fallback on software decoding, eating your battery more than hardware-decoded formats.
Click to expand...
Click to collapse
Thanks a lot for attaching your preset. It works great. You mentioned that it can use some tuning for our phone to achieve the quality and compression ratios possible. I don't know how to do that so I don't know if it's quick and simple to do or not. Can you do that and attach it for us to download?
Thanks
Basically go into Advanced and try enabling various features until something breaks.
I tried it on my Infuse at one point and it just caused audio and video to desync. Haven't had time to fiddle with it on the GS2. It's basically trial and error in the Advanced tab of Handbrake.
Entropy512 said:
Basically go into Advanced and try enabling various features until something breaks.
I tried it on my Infuse at one point and it just caused audio and video to desync. Haven't had time to fiddle with it on the GS2. It's basically trial and error in the Advanced tab of Handbrake.
Click to expand...
Click to collapse
ok. thanks
can you post the preset you use for your tab 10.1?
thanks again
It's basically the exact same preset except the resolution limits are 1280x720. The resolution limits are hard to find, you only see them when saving a profile.

[Q] Best video settings (balance of quality and size)

I've been trying to find information about this but I have been unable to yet (likely due to how new it is). I'm trying to find the best settings to re-encode my videos for a balance of quality and size.
Test the NT's video capability here:
http://forum.xda-developers.com/showthread.php?t=1348488
As for encoding specs, it's simple: conform to MP4 specs (H.264, AAC stereo) if you want to use built-in player and hardware accel.
Newbies tend to obsess with encoding parameters, and there've been reams of how-to's for Handbrake encoding. You don't have to bother with any of that. The 4430 should handle anything in 720p, and the majority of 1080p. I would use the default settings of whatever encoder you prefer.
For quickie conversion to MP4 (from common formats), see my VidsOpt script conversion in the above link.
Thank you for the information. And it's not so much worrying about all the settings but trying to maximize how many shows/movies I can hold on the NT at once. I travel a lot for work and some of the flights are LONG so having as many options as possible is what I'm really looking for since it wouldn't be as simple as just loading other videos onto the NT at the time.
Cozila said:
Thank you for the information. And it's not so much worrying about all the settings but trying to maximize how many shows/movies I can hold on the NT at once. I travel a lot for work and some of the flights are LONG so having as many options as possible is what I'm really looking for since it wouldn't be as simple as just loading other videos onto the NT at the time.
Click to expand...
Click to collapse
Get a 32 GB uSD card. I can hold 20+ hours of video on mine.
>to maximize how many shows/movies I can hold on the NT
There are two ways to lower a movie's size, reduce the resolution, or reduce the quality. Both are a personal preference.
A 90min movie averages 800MB-1GB, encoded at 480p and standard quality. Then, you can fit 32 such movies onto a 32GB uSD. With a larger res, you can fit fewer. You can also of course have more than one uSD card.
Getting ready for the Thanksgiving drive and saw this question, so did a test re-encode of Green Lantern. Original file is a 720p mkv
Video Bitrate: 720p (1280x536 @ 4811kbps)
Audio Bitrate: DTS @ 1509 kbps
Using Handbrake Normal as the baseline.
1) Container MP4, left extension as .m4v
2) Picture: changed Anamorphic to Loose, Width to 1024 (assumed native width was a good idea to reduce size)
3) Video: Video Codec x264 which means encode took about 50 minutes. Constant Quality 22
4) Audio: AAC Mixdown to Stereo, Samplerate Auto, Bitrate 160
5) Subtitles: need to play around with this later
Original mkv filesize was 5.7GB
.m4v file was 913MB
To me, it looked absolutely great. Could not complain and actions scenes didn't show any sign of stutter. Didn't watch the whole thing through, but didn't seem to come across any problems either.
I'm sticking with these settings and will see if there are any changes required.
I'm not a video encoding expert or a Handbrake expert - but I think I know enough and need at least 3-4 movies for the drive.
Hope that helps.
Thank you very much, I'm going to give those settings a try when I get home.
The settings are working great. So much that I actually put the setting into a preset file for anyone else that wants it in http://forum.xda-developers.com/showthread.php?t=1361819. Thank you very much for your help iron_c

[Q] convert movies for prime?

Ok, firstly, i used the search, found this thread, didnt help.
http://forum.xda-developers.com/showthread.php?t=1427587
I know the prime can read pretty much any video file given the right player, thats not my question.
My problem is most of my bluerays have been converted to digital, in some cases the files are over 10 gigs. Now i CAN play those files on my prime however i can only fit a couple on my sd card before i run out of space.
What im looking for is settings to optimize conversion for best quality the prime can show while reducing the file size to the smallest possible.
For instance, a 1080P video will play at a max resolution of 1280 x 800. Audio can be stripped to stereo instead of 5.1 surround since the prime wont output much better anyways.
Most of my files are MKV format.
WinFF is my software of choice, its worked well for me in the past but there were specific config files for it. Unfortunately i dont know enough about video encoding to know which settings to use for the prime.
Anyone have experience with WinFF? Have other software you use that works better? If anyone has suggestions im open to them. Thanks!
If I remember right, AVS vide converter has that option but it's not free. I'm sure there are free alternatives but I can't name any
Sent from my sgs2 running cm9
edited first post. WinFF is my software of choice but im not sure what settings to use other than 1050x800 for the resolution. What bit rates should i use, what presets? any ideas?
I wouldn't use x800.
Down-convert to 720p and stick to the Scene rules (attached) and you'll be good.
Edit: looks like the .png attach gets resized to useless. Grab the .c file and rename to .png.
I stick to CD size 700Mb downloads and they seem to work fine whatever the resolution.
I use handbrake (free) to convert my movies. If the movie is 1080p scale it down to 720p. i use the profile from here http://forum.xda-developers.com/showthread.php?t=1060825
movies end up being like 2 gb tops and play great. they will even stream with the average wifi signal on the prime.
I do my conversions with RipBot264.
For the Prime, I convert:
Video down to 720p mkv with quality set to High-Profile CQ19 or CQ20. No sense in 1080p unless I'm watching on 40"+ big screen that can show the extra resolution.
I set audio to DD/DTS "5.1 core only" because I use the same files with my laptop (Lenovo X220) which can output 5.1 via HDMI or optical equipped USB sound card ($25 SIIG soundwave in my case). I can understand why some would go down to stereo, but audio data is small compared to video data.., so there's not that much of a size penalty for keeping 5.1 audio since I might actually use it.
Main reason I use RipBot is to deal with movies that have forced subtitles. I can identify the forced subtitle track and have it build/render the subtitles into the video frames. This is so I don't have to deal with whether my device/player supports subtitles correctly. Watching something like District 9 (heavily subtitled) would be a disaster, otherwise.
Size wise, I usually see around an 80-85% reduction in size vs the original source m2ts file.
But this is what I love about the TF201. If I'm in a rush to make a flight, I don't have to convert. It will play the same 1080p CQ18 mkv I use on my XBMC / NAS setup. Heck, it'll even play the raw Bluray m2ts file straight off the disc. Love my TF201.
Ya, as stated in OP PLAYING the videos is never a problem, its just storing more than a couple of those extra high res videos takes a toll on my onboard memory
Thanks for the tips all around, will definately give them a go.
Just use ttorrent. Problem solved.
Sent from my Samsung iDroid
dnar56 said:
Just use ttorrent. Problem solved.
Sent from my Samsung iDroid
Click to expand...
Click to collapse
Not quite. Not all movies make it to a torrent. Hand brake as was previously posted is what I've been using for a while and it works great. SUPER works and has presets for quite a few screen types and sound codecs.
Sent from my ADR6425LVW using xda premium
gunz.jones said:
Not quite. Not all movies make it to a torrent. Hand brake as was previously posted is what I've been using for a while and it works great. SUPER works and has presets for quite a few screen types and sound codecs.
Sent from my ADR6425LVW using xda premium
Click to expand...
Click to collapse
what presets are you using? how do the movies turn out? what file size would an average length movie turn out to?

Categories

Resources