Video Playback (Best Profile?) - Droid Eris Q&A, Help & Troubleshooting

This has been wracking my brain since I got the Eris. I'm trying to find the best media playback profile for videos on the Eris.
Here's what I know:
-The containers supported are 3GP and MP4.
-I also know that the screen is HVGA so I export videos on quicktime pro, toast, handbrake or whatever I'm using to do that.
-I also know that H.264 AVC is a supported codec.
-What I don't know is what bitrate the Eris can handle I've played with bitrates as low as 800kbps and as high as 2500kbps. Each video has a level of lag and sync issues that the video is completely unwatchable. I have a feeling that the bitrate is the issue. So what's the magic number? What do you folks use to convert videos? What's the suggested profile?
Thanks in advance!

Same here.
I'm having issues with my videos as well. I would really like to find good working settings for converting videos.
Has anyone had luck with this? What program and settings work?
Thanks.

Ok I found some settings.
I found these settings. I'm trying a video right now. I'll report my results.
http://www.smor.tv/blog/android-htc-hero-eris-x264-h-264-video-encoding-with-handbrake/

Sounds great. I used Quicktime Pro and used the iPhone setting which produced an .m4a video for iTunes. It works great on the video player app that comes preloaded on the KaosFroyo ROM, but it doesn't work great in the Android stock gallery, it hiccups a bit. I dont think it's the ROM, I think it's Android's stock video player. But if you try Video Player for Android and .m4a it seems to be working well. However the frame rate could be better. This Handrbrake solution might be better, looking forward to hearing the results.

Working settings for hanbrake 0.9.4
If you don't have handbrake you can download it from here.
I started with the settings here.
I had to change a few things so I'm listing the whole setup.
Picture Tab
This will give you a nicely cropped full screen video.
Size: Width 480 Height 320
Keep Aspect Ratio: Unchecked
Automatic Cropping: Checked
Anamorphic: None
Video Filters
Everything on this tab off.
Grayscale Encoding: Unchecked
Video
Video Codec: H.264 (x264)
Framerate (FPS): 24
2-Pass Encoding: Checked
Turbo First Pass: Checked
Avg Bitrate (kbps): 384
Audio
Make sure you only have 1 track here.
Audio Codec: AAC(faac)
Mixdown: Stereo
Samplerate: 44.1
Bitrate: 64 (You can set this to your taste, I find 64 works well enough for me.)
DRC: 1
Be sure to add your track after you have selected everything.
Subtitles
This tab is not really needed but it's a good idea to do this for movies with foreign subtitles like anime or foreign flicks.
Forced Only: Checked
Burned In: Checked
Add the track when you are done. As with audio you only want one track here.
Chapters
Create chapter markers: Unchecked
Advanced
The settings in this section are very important to working videos on the eris.
Reference Frames: 2
Mixed References: Unchecked
B-Frames: 0
Motion Estimation Method: Uneven Multi-Hexagon
Subpixel Motion Estimation: Default (7)
Motion Estimation Range: Default (16)
Analysis: Default
8x8 DCT: Unchecked
CABAC Entropy Coding: Unchecked
Psychovisual Rate Distortion: Slide all the way to the right
No Fast-P-Skip: Unchecked
No DCT-Decimate: Unchecked
Deblocking: Both set to Default

According to the official Qualcomm docs for the MSM7200A it's supposed to support up to 500kbps (average) H.264 Baseline Profile. Total bandwidth for audio+video should average 600kbps, so generally stick to AAC 96kbps or less.

Related

Video: which app on NC?

Wondering what app you use to watch movies from sdcard. Built-in app doesn't work. Neither does es file explorer video app.
Sent from my mod'd nookcolor
ethanwinkley said:
Wondering what app you use to watch movies from sdcard. Built-in app doesn't work. Neither does es file explorer video app.
Sent from my mod'd nookcolor
Click to expand...
Click to collapse
The built in video app works fine for me, but I prefer RockPlayer.
The built in player also works fine for me. But it really only supports MP4 video files, if I understand correctly. I use Handbrake and the iPod Touch preset to encode for my Nook.
That said, I actually use Act 1 Video Player because it has the nicest 'library' view that groups by folder.
I use yxplayer, no need to encode... plays avi files like a charm.
The built-in player outperforms RockPlayer, which has some audio sync issues.
I use the iPod Touch preset in Handbrake, but I bump the resolution up to 720 x ???, turn off Anamorphic, and set a constant video bitrate of 800kbps and an audio bitrate of 80kbps.
Works well for me. Speed Racer looks gorgeous on this screen.
from my very very few experiments, i concluded that once videos are converted to mp4 (h.264 / AAC) any player is the same (uses the hardware decoding).
with videos in different formats its likely that there will be problems
i agree with nooter on using handbrake's iphone preset modifying the bitrate setting it around 800kbps (for animated movies it can be lower 600kbps should be ok). About altering the size of the movie, only for reducing it (remember the max lines in landscape is 600)
rock player works if u have the latest universal player but you need to install add block because even if you pay for it you cannot activate it
I've found that all the players avail still play back xvid/divx avi's really choppy, going to have to give handbrake a try to take advantage of the hardware decoder...
I was just able to install vplayer from the market (a few days ago it wouldn't install)... some audio sync issues but there are some cache parameters to tweak... anybody had any luck?
Kokanee483 said:
I've found that all the players avail still play back xvid/divx avi's really choppy, going to have to give handbrake a try to take advantage of the hardware decoder...
Click to expand...
Click to collapse
Same experience with playing divx/xvid files, choppy sound and 21-24fps video playback. Take that same video and run it through handbrake to convert to .mp4 and it runs great.
Where is the built in video player located? I cannot seem to find it anywhere..
I agreed with vplayer beta from the market place. It's free. It'll play most video formats. I've tested 480p and 720p mkv and both play with high speed setting. 720p mkv video is slow but 480p play fine. It's great with cifsmanager and mounted shared videos.
Nooter said:
The built-in player outperforms RockPlayer, which has some audio sync issues.
I use the iPod Touch preset in Handbrake, but I bump the resolution up to 720 x ???, turn off Anamorphic, and set a constant video bitrate of 800kbps and an audio bitrate of 80kbps.
Works well for me. Speed Racer looks gorgeous on this screen.
Click to expand...
Click to collapse
So, what filetype does that create? What is the Extension? MP4 or M4V? Also, are there any other settings, other than the ones listed above that you use?
I am asking these questions because I am having issues with movies encoded this way playing in the default player. It doesn't recognize the video, so it will not play.
Also, VPlayer plays them, but there is a definite audio lag once you forward to about mid-movie.
Also, as an aside, I am converting ISO files (Direct DVD rips) using HandBrake. That is how I am generating these files. I do change the extension to mp4 from handbrakes default (m4v i think).
Thanks for any help.
J
sano614 said:
Where is the built in video player located? I cannot seem to find it anywhere..
Click to expand...
Click to collapse
There is no shortcut in the App drawer (or Gallery) for the stock video player....I just click the video file (in whatever file manager you use or the Nook Library My Files tab).
Personally I use Act 1 Video player as it will present a list of videos on the SD card and Nook. Although for some reason it list videos on the Nook twice.
Sent from my Nooxus One using Tapatalk
The Act 1 app seems to be the only one that can properly sort videos. I tried the trial version, and it seems to work great, but as intuitive as the in-video touch areas may seem, I just can't get my brain dialed in to use them in practice. I think the built-in NC player works just fine, it's the video file/folder sorting that's nearly impossible to navigate once you have 20 or 30 vids on there along with a few thousand photos.
The media sorting options on Android are surprising lacking, or I just can't seem to find methods to deal with 32 gigabytes of media on this device.
I just did a bunch of conversions from some 720p MKV's. I converted them using Xilisoft video converter.
The settings I used were:
720x420
800k bitrate
44.1khz 128kbps audio
H.264 codec MP4 extension
Plays flawlessly with Rockplayer. No desync on fastforward.
The Built in player IS the best
After many attempts and reboots, I have determined that the Built-in Media player is the best player for videos encoded as specified earlier in this thread...
I tried Rock, and VPlayer beta, but both had very bad audio sync issues.
The Built-in player played all my encoded videos flawlessly. The wife LOVED watching Salt on the Nook during our road-trip. The only downside is the audio on the nook--hardly any volume. Easily solved by a good set of earphones. We are very pleased with the nook.
J
Check out mVideoPlayer. I haven't tried it on the Nook, but its perfect on my Galaxy S phone.
As for encoding, go with handbrake. Choose the Apple TV preset. Set resolution to custom and width to 800 (handbrake should automatically choose the correct height based on asperity ratio of source material). Set the video quality to constant at 60% (70% is the max you want for HDTV). Under audio, select the appropriate track and select aac with Prologic II or stereo as the encoding. Use the MP4 extension as to avoid issues with different t players.
You can get way more detailed on settings beyond that. It just depends on the material and the playback device. Those settings should get you outstanding video on the Nook. May have to scale back a little if the video is choppy.
Sent from my SAMSUNG-SGH-I897 using XDA App
After much trial and error, I have to agree with previous poster who said the best player is the built-in player with mp4 files created with the settings mentioned. The other players all had issues with controls and added nothing if the file was formatted as described.
I also had a lot of trouble getting any player to play any file at first. I think installing some of the other players added some necessary codecs. Then after a reboot, everything started to work. Hope that helps someone else avoid some frustration.
Despite a few trials like this, I love this tablet! Thank you xda devs!
Sent from my rooted Nook Color using XDA App
I'm running the free version of Rock Player. It's not exactly the cheapest app out there on the Android market, but if it works well, not a big deal.
Whenever I choose an mp4 video that I've encoded at 848x360, for example, Rock Player seems to default the widescreen video to this resolution, assuming the Nook Color scaled resolution is 1024x600, which means that a high quality widescreen rip at the smaller resolution will default launch with black bars around all 4 edges.
I noticed that the video display resizing has 3 modes,
(1) the default mode as mentioned above
(2) zoomed mode which fills the whole screen, stretching as required
(3) scaled mode which allows the widescreen video to stretch to the left and right edges properly, while maintaining a proper aspect ratio.
So the simple question is, how do I configure Rock Player to default launch video files in the mode (3) mentioned above?

Alternative to Handbrake - DVD Catalyst

Seeing some of the threads/questions re: Handbrake settings for the Nook, if you're having issues or just want something completely automated I found that DVD Catalyst ($10) has three presets for Nook Color (normal, fast, high quality) that work very well -- essentially just load the file or folder, select the preset and hit go. You can enable "advanced" user if you want to tweak the options but I've tested it with a couple of dvd video_ts folders and videos of different codecs (both audio and video) and they've all come out in good quality, and all playable without software decoding.
The file sizes that come out are comparable to the ones produced by presets for Handbrake people have produced here. a 1 hr 55 min video encoded for me at 1.39GB at the highest quality Nook setting.
I know it's not free like Handbrake but it might save someone headaches especially if they're wrestling with, for example, widescreen anamorphic content that isn't 16:9 or 4:3. Or if they just don't want to deal with tweaking presets
Does batch jobs as well, and has presets for a slew of other android devices if you're also converting for other formats/resolutions for your phone, etc.
is it faster then handbrake when converting the video?
Somewhat; I tested it last night for you with a 5-minute video. It took Handbrake 3 mins and 45 seconds to encode, it took DVD Catalyst 3 mins 15 seconds -- I can't (or haven't found) the command line interface to see what DVD Catalyst is writing out for its encode jobs, but I've tried to match w/e specs as closely as possible for the test (audio/video bitrate, etc.) How that will scale to larger files, I'm not entirely sure -- I batch encode all my videos before I go to bed at night.
I'd like to use AMD Video Converter as it uses the GPU to convert and is about twice as fast as Handbrake even on my Quad Core but I'm having trouble finding a way to manually control the settings for the output to match the NC needs. Anybody have any tips there?
Edit- Trying out MediaEspresso - Media Converter. So far, problems with output, will keep trying and report back. MediaEspresso settings not working with NC. It is a pretty nice encoder that has support for GPU encoding and is faster by about 50% than Handbrake, but not flexible enough to get the output that the NC needs. Working great to encode for my EVO however.
Just wanted to point out that with the speed of the NC (OC) and the range of codecs recognized by various players you hardly need to recode videos anymore.
britoso said:
Just wanted to point out that with the speed of the NC (OC) and the range of codecs recognized by various players you hardly need to recode videos anymore.
Click to expand...
Click to collapse
Have you gotten 720p videos to work smoothly with software decoding? I am only oc'ed to 1.1 Ghz and they still stutter. That's what I'm normally encoding.
*** Edit:*** Just to clarify, I mean encoding from 720p -> 480p so I can use Nook's hardware acceleration.
Both nookie froyo and the newer cm7 builds have hardware decoding
I didn't think the Nook's DSP (TI OMAP 3621) allowed native 720p decoding, only the OMAP 3630+ -- there was a thread here somewhere that said something about that. The 854x480 maximum resolution was, I thought, a hardware, not software limitation for the Nook.
From my own (meager) experience, anything higher than 480p insists on being played via software decoding regardless of what player I've used.
Some sites say 720p, others mention what you said... I just leave hd content for my bigger,hd screen
britoso said:
Just wanted to point out that with the speed of the NC (OC) and the range of codecs recognized by various players you hardly need to recode videos anymore.
Click to expand...
Click to collapse
I have moboplayer and CM7 OC to 1.3 and 720p video is still sub par via software decoding. Best results are still to handbrake recode to mp4 at 854x840.
The hardware decoding only handle mp4 files.
I tried this software to re-encode hd file to lower res mp4 and it does it lot faster than handbrake (on old P4 w/o gpu decoding GPU) : format factory : http://format-factory.softonic.fr/

[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:

[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

Video Aspect Ratios Wrong

Has anyone experienced strange issues with aspect ratios in the stock Google video player on the Prime? I ripped my entire DVD collection last year, noticed about 20% were displaying poorly on the Prime, to the point of being unwatchable.
When I open them in other video players or devices they play fine.
Example of horrible aspect ratios:
https://picasaweb.google.com/lh/photo/6j93pu_G7kvk82wlVonpFrgnicQnztK0IPAGHZxINKo?feat=directlink
Most movies are encoded around these specs:
Kind: MPEG-4 video file
Bit Rate: 156 kbps
Profile: Low Complexity
Channels: Stereo, Dolby Digital 5.1
Encoded with: HnadBrake 0.9.4 2009...
Total Bit Rate: 1903 kbps
Video Dimensions: 853x480
Video Codec: H.264
From the specs, you're using anamorphic encode. The encode is done at native DVD res (720x480 NTSC), and the aspect flag is set to expand out to 853x480 upon playback. The problem is that many of the Android movie players don't respect the aspect flag, and simply play the vids at 720x480, leading to a "skinny" aspect.
Contact the author to update the player, or try a different media player.
Try with another video player than the stock one. E.g dice player or mx video player. I think there is an option to change the aspect ratio in those apps.
Thanks MX Player fixed my aspect issue.

Categories

Resources