720P on the transformer (encoding question) - Eee Pad Transformer General

I've just started transencoding from 1080p to 720p (bit rate around 1500-2000) for playback on my transformer (i'm using moboplayer and mxplayer). The playback is ok but not quite as smooth as I would like (and is being handled by software).
I found this thread:
http://forum.xda-developers.com/showthread.php?t=1060825
-
that suggest things are simply broken (no video palyer will use hardware decoding) and that I should reencode the streams without b-frames (which will make them significantly larger).
-
I'm currently using mencoder but the guide suggest handbreak. Before I go through the exercise
I have a couple of questions:
Woudl things work better if I use mpeg-2 instead of h.263 ?
-
Will ICS make things better (i.e, should I not go with the larger non-b frame encodings) and just wait till ICS release in a few weeks?
-
Have there been any updates ?
-
Sadly my phone (razr) seems to be faster than my tablet and has no issues playing these videos (though if it uses hardware decoding the sound is way out of sync - by minutes - but if i use software decoding they are in sync - not sure why).
-
I've tested both avi containers and kmv containers - I think I prefer avi as it is smaller (though again I have to double check if the encodings were done with the same set of options)

jake21 said:
I've just started transencoding from 1080p to 720p (bit rate around 1500-2000) for playback on my transformer (i'm using moboplayer and mxplayer). The playback is ok but not quite as smooth as I would like (and is being handled by software).
Click to expand...
Click to collapse
FYI you can tell it to handle with h/w.

The players I tried refused to play it with h/w. Is there another way to force hardware decoding ?
goodintentions said:
FYI you can tell it to handle with h/w.
Click to expand...
Click to collapse

Try BS player lite.
Sent from my PC36100 using Tapatalk

try using h.264 not 263,
try remuxing the stream rather than recoding http://forum.xda-developers.com/showthread.php?t=1102922
its far quicker

bs lite coudlnt' play it using hardware deocding either:
First test file:
mencoder -mc 0 in.mkv -vf crop=1920:800:0:140 -af volume=10:0 -nosub -oac mp3lame -lameopts abr:br=256 -ovc xvid -vf scale=1280:720 -xvidencopts bitrate=1200 -o test3.avi
file test3.avi
test3.avi: RIFF (little-endian) data, AVI, 1280 x 720, 23.98 fps, video: XviD, audio: MPEG-1 Layer 3 (stereo, 48000 Hz)
Second test file:
mencoder in.mkv -af volume=15:0 -of lavf -oac mp3lame -lameopts abr:br=256 -ovc x264 -x264encopts preset=veryslow:tune=film:crf=15:frameref=15:bitrate=1500:fast_pskip=0:threads=auto -vf scale=1280:-10 -o test.mkv
--
mkvinfo test.mkv
+ EBML head
|+ EBML version: 1
|+ EBML read version: 1
|+ EBML maximum ID length: 4
|+ EBML maximum size length: 8
|+ Doc type: matroska
|+ Doc type version: 2
|+ Doc type read version: 2
+ Segment, size 1484420071
|+ Seek head (subentries will be skipped)
|+ EbmlVoid (size: 147)
|+ Segment information
| + Timecode scale: 1000000
| + Muxing application: Lavf53.3.0
| + Writing application: Lavf53.3.0
| + Segment UID: 0x77 0x2f 0xa7 0xdf 0x88 0x3d 0xd1 0xfd 0x43 0x75 0x02 0x94 0xad 0x96 0x87 0x0a
| + Duration: 6792.096s (01:53:12.096)
|+ Segment tracks
| + A track
| + Track number: 1
| + Track UID: 1
| + Lacing flag: 0
| + Language: und
| + Codec ID: V_MPEG4/ISO/AVC
| + Track type: video
| + Default duration: 41.708ms (23.976 fps for a video track)
| + Video track
| + Pixel width: 1280
| + Pixel height: 720
| + A track
| + Track number: 2
| + Track UID: 2
| + Lacing flag: 0
| + Language: und
| + Codec ID: A_MPEG/L3
| + Track type: audio
| + Audio track
| + Channels: 2
| + Sampling frequency: 48000
| + CodecPrivate, length 12
|+ Tags
| + Tag
| + Targets
| + Simple
| + Name: ENCODER
| + String: Lavf53.3.0
|+ Cluster

jake21 said:
bs lite coudlnt' play it using hardware deocding either:
Here is the command line I used to generate the file:
mencoder in.mkv -af volume=15:0 -of lavf -oac mp3lame -lameopts abr:br=256 -ovc x264 -x264encopts preset=veryslow:tune=film:crf=15:frameref=15:bitrate=1500:fast_pskip=0:threads=auto -vf scale=1280:-10 -o test.mkv
--
mkvinfo test.mkv
Click to expand...
Click to collapse
There's your problem; the mkv container is not supported for hardware decoding. With the current firmwares, I seem to recall only .mp4 is supported.
Here's my re-encode script that I use (I use ffmpeg ; I used to use mencoder, but it's weakness with non-avi formats pushed me to ffmpeg)
Code:
#!/bin/bash
# first argument is input file,
# second argument is output file or directory
# optional third argument is crf, lower is better quality, but I've had issues with large motion screens and values lower than 22
# optional 4th arg is audio bitrate, include k.
threads=2
[email protected]
# debug
#ffmpeg="echo ffmpeg"
ffmpeg="ffmpeg"
if [[ $3 = "" ]] ; then
VRATE="22"
else
VRATE="$3"
fi
if [[ $4 = "" ]] ; then
ARATE="96k"
else
ARATE="$4"
fi
#if [ -d "$2" || -L "$2" ] ; then
if [ -d "$2" ] ; then
echo $1 | grep "\." > /dev/null ; TRET=$?
if (( $TRET == 0 )) ; then
# name as a dot
oname="$2/`echo $1 | rev | cut -f 2- -d. | rev`.mp4"
else
oname="$2/$1.mp4"
fi
else
echo $2 | grep "\." > /dev/null ; TRET=$?
if (( $TRET == 0 )) ; then
# name as a dot
oname="`echo $2 | rev | cut -f 2- -d. | rev`.mp4"
else
oname="$2.mp4"
fi
fi
# tune Values available: film, animation, grain, stillimage, psnr, ssim, fastdecode, zerolatency.
# new ffmpeg crashes with -profile baseline
$ffmpeg -i $1 -acodec libfaac -ac 2 -ab $ARATE -vprofile baseline -vcodec libx264 -x264opts threads=$threads:level=31:keyint=250:keyint_min=25:bframes=0:crf=$VRATE $oname
The script is fairly simple, but I still find it quite useful. Note, don't do "script infile.mp4 . " as that will over write your source file, and I note I don't check for that. Maybe ffmpeg might, but it's a silly enough issue that I'm not fixing that.
I've never had an issue with mx player nor mobo player not doing hardware decoding (even via smb streaming with es file manager) , however since 3.11.1 on revolver, mobo player force closes when I quit, but I think that's a mobo player issue, as it often locks up my Galaxy-S with hardware, or software encoding in the latest version.

[update; ble the provided script did not work with ubuntu 11.10; I think they changed the switches for ffmpeg as it could not parse the switches after x264 nor baseline switch].
Ok thanks. Surprise the first example I have above, which is an avi file, did not work either
--
I'll look at what you have - i have to figure out how to scale down the image to 720p (from the man page it looks like ffmpeg does not support -vf scale=1280:-1)
-
Before I go to the effort of learning how to use ffmpeg; do you know if ICS will resolve this issue ?
[btw I have the same force-close issue with mobo on razr and transformer]
nobeagle said:
There's your problem; the mkv container is not supported for hardware decoding. With the current firmwares, I seem to recall only .mp4 is supported.
Here's my re-encode script that I use (I use ffmpeg ; I used to use mencoder, but it's weakness with non-avi formats pushed me to ffmpeg)
Code:
#!/bin/bash
# first argument is input file,
# second argument is output file or directory
# optional third argument is crf, lower is better quality, but I've had issues with large motion screens and values lower than 22
# optional 4th arg is audio bitrate, include k.
threads=2
[email protected]
# debug
#ffmpeg="echo ffmpeg"
ffmpeg="ffmpeg"
if [[ $3 = "" ]] ; then
VRATE="22"
else
VRATE="$3"
fi
if [[ $4 = "" ]] ; then
ARATE="96k"
else
ARATE="$4"
fi
#if [ -d "$2" || -L "$2" ] ; then
if [ -d "$2" ] ; then
echo $1 | grep "\." > /dev/null ; TRET=$?
if (( $TRET == 0 )) ; then
# name as a dot
oname="$2/`echo $1 | rev | cut -f 2- -d. | rev`.mp4"
else
oname="$2/$1.mp4"
fi
else
echo $2 | grep "\." > /dev/null ; TRET=$?
if (( $TRET == 0 )) ; then
# name as a dot
oname="`echo $2 | rev | cut -f 2- -d. | rev`.mp4"
else
oname="$2.mp4"
fi
fi
# tune Values available: film, animation, grain, stillimage, psnr, ssim, fastdecode, zerolatency.
# new ffmpeg crashes with -profile baseline
$ffmpeg -i $1 -acodec libfaac -ac 2 -ab $ARATE -vprofile baseline -vcodec libx264 -x264opts threads=$threads:level=31:keyint=250:keyint_min=25:bframes=0:crf=$VRATE $oname
The script is fairly simple, but I still find it quite useful. Note, don't do "script infile.mp4 . " as that will over write your source file, and I note I don't check for that. Maybe ffmpeg might, but it's a silly enough issue that I'm not fixing that.
I've never had an issue with mx player nor mobo player not doing hardware decoding (even via smb streaming with es file manager) , however since 3.11.1 on revolver, mobo player force closes when I quit, but I think that's a mobo player issue, as it often locks up my Galaxy-S with hardware, or software encoding in the latest version.
Click to expand...
Click to collapse

I could not get the provided script to work (ffmpeg would not accept the args). I did a little searching and saw one suggestion to install everythign from source and build - BUT the test encodings I made last night worked on both the phone and tablet using hardware encoding. On the phone mx player was fine; on the tablet mx player would only use software encoding but bs lite (which seemed pretty nice) worked fine and indicated it was using hardware decoding.
So I think I'm mostly set. the only issue I have is that sometimes mencoder dies on some streams with floating error when it reads the initial header - so I guess I should track that one down - when I get home tonight I'll post the args I used that worked and then ones that result in floating point error (on some streams).
Thanks for the help !

Related

G1 Video Encoding: How To

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

Best Video Codec/settings

So i wanna get some movies on my shweet nexus one screen.
problem is, in what format? i tried h.264 with 1500kb/s video bitrate, but that didn't seem to work, it just displays a white screen with black bars lmao
the same files that show white on the phone show up normal on VLC on the pc....
so, any recommondations on how i can get megan fox running on my screen again?
Resize your video to 800x400 This works for me
i use Anysoft Any Video Converter Professional
has a nexus one/android setting, just pick the 800x480 and you're good to go
i use the same thing, just without the 'professional' part.
aight, i'll be looking out for that thanks for the headsup psylink!
What settings do you guys suggest for Any Video Converter Free? Is Handbrake superior?
Edit: Trying Handbrake now... is it normal for it to take 2.5 hours to encode a movie that's only 1 hour and 50 minutes long? I was hoping for something relatively quick. Btw, I tried Any Video Converter Free, and the video was blocky no matter how I encoded it... the original avi is not.
should be the same settings in free, correct me if i'm wrong though.
it should have the google android / nexus one setting in the upper right hand corner in a pull down
then just below that you'll see the pulldown to change to 800x480
psylink said:
should be the same settings in free, correct me if i'm wrong though.
it should have the google android / nexus one setting in the upper right hand corner in a pull down
then just below that you'll see the pulldown to change to 800x480
Click to expand...
Click to collapse
Nope... the free version doesn't have that. Anyhow, I'm trying out Handbrake, which outputs great video, but as I stated in the other thread, it's taking longer than I'd like. Thanks for the response.
I use this ffmpeg line to encode video for my nexus one:
Code:
ffmpeg -i inputfile -s 800x480 -vcodec libx264 -acodec libfaac -ac 1 -ar 16000 -ab 32000 -aspect 16:9 outputfile.mp4
Here's a small shell script to encode all files in a directory to N1 (suitable for season packs etc):
Code:
#!/bin/bash
for file in $(ls *.mkv -c1r)
do
if [ -e $file.mp4 ]
then
echo DONE: $file
else
echo ENCODING: $file
nice -n 19 ffmpeg -i $file -s 800x480 -vcodec libx264 -acodec libfaac -ac 1 -ar 16000 -ab 32000 -aspect 16:9 $file.mp4
echo DONE: $file
fi
done

Videoplayback after update to 3.1

Any changes? Has anything improved?
I have been told that 720p High profile is smooth and OK.
True?
Totally smooth. I was testing it last night with Youtube embeded videos using the stock google browser at 720 and it was great. I even hooked up the HDMI to take a look at it on the big screen. About time.
Sorry, for not being precise.
I meant stuff like mkv files, etc.
720p. in High Profile
I just tried an mkv I originally had to use Handbrake to encode that's 720p/AC3 audio using Moboplayer. Soft decoding was choppy but Hard decoding played it flawlessly! Unfortunately... no sound.
Rockplayer didn't perform as well.
How would 3.1 affect High Profile playback? My understanding is its purely a Tegra 2 hardware issue. 3.1 might bring better handling of wrappers and software decoding but it can't add hardware decoding capabilities that aren't designed in already.
mhausig said:
How would 3.1 affect High Profile playback? My understanding is its purely a Tegra 2 hardware issue. 3.1 might bring better handling of wrappers and software decoding but it can't add hardware decoding capabilities that aren't designed in already.
Click to expand...
Click to collapse
LOLWUT. Tegra 2 supports HD, 720p and 1080p (recording and playback) with lot of codect and formats (mp4,mkv / divix, h.264). Just read about it on official site. NVidia says this.
Also, use mort for tegra 2 with special codecs
Read again, he said "High Profile".
And Tegra 2 can't handle it.
I don't understand this whole "high profile" issue, but I am now watching a movie on my xoom encoded using the Handbrake Apple TV2 profile and the video's specs are 1280x688/23fps/4241kbps........pretty damn nice picture.
fromdetroit7 said:
I don't understand this whole "high profile" issue, but I am now watching a movie on my xoom encoded using the Handbrake Apple TV2 profile and the video's specs are 1280x688/23fps/4241kbps........pretty damn nice picture.
Click to expand...
Click to collapse
Basically, the profiles determine how many compression features can be used to produce a smaller size with equal (or comparable) quality than a higher size version. The higher the profile, the more complex compression features it have and is harder on CPU/GPU decoding.
You can re-encode a video using a basic profile and it will play smooth, the quality can be the same as a high profile version, but the file size can get bigger too.
The point here is that to ensure a smooth video playback on Nvidia Tegra 2 a re-encode is needed and this is what some people hate, they just want to be able to do a simple copy-paste (or drag-drop) of videos without worrying about re-encoding. This also happens because most of the videos found in Internet are encoded in high profile.
Sure, other people doesn't mind doing re-encoding and they are fine doing that.
I'd have thought that all Apple presets are limited to main or baseline profile, but apparently the "AppleTV 2" preset (from HB 0.95) uses high profile. It also removed the vbv rate limitation.
AppleTV: -e x264 -q 20.0 -a 1,1 -E faac,copy:ac3 -B 160,160 -6 dpl2,auto -R Auto,Auto -D 0.0,0.0 -f mp4 -4 -X 960 --loose-anamorphic -m -x cabac=0:ref=2:me=umh:b-pyramid=none:b-adapt=2:weightb=0:trellis=0:weightp=0:vbv-maxrate=9500:
bv-bufsize=9500
AppleTV 2: -e x264 -q 20.0 -r 29.97 --pfr -a 1,1 -E faac,copy:ac3 -B 160,160 -6 dpl2,auto -R Auto,Auto -D 0.0,0.0 -f mp4 -4 -X 1280 --loose-anamorphic -m
The big diff between 1 & 2 is that the -x blah:blah:blah setting is removed in the latter, which basically disables a bunch of compression settings to conform to main/baseline.
In simpler terms, if you're using the AppleTV 2 preset, you're using high profile, which means that the Teg2 can at least handle some 720p high profile. I suspect that smoothness will depend on the content, if the Teg2 is as marginal as many indicate. The acid test would be trying to encode Avatar at [email protected]
BTW, the above preset specifies a second (AC3) audio track. If you only need the main audio track, remove the second to reclaim some space, and more importantly, to increase the probability of smooth playback.
e.mote said:
I'd have thought that all Apple presets are limited to main or baseline profile, but apparently the "AppleTV 2" preset (from HB 0.95) uses high profile. It also removed the vbv rate limitation.
AppleTV: -e x264 -q 20.0 -a 1,1 -E faac,copy:ac3 -B 160,160 -6 dpl2,auto -R Auto,Auto -D 0.0,0.0 -f mp4 -4 -X 960 --loose-anamorphic -m -x cabac=0:ref=2:me=umh:b-pyramid=none:b-adapt=2:weightb=0:trellis=0:weightp=0:vbv-maxrate=9500:
bv-bufsize=9500
AppleTV 2: -e x264 -q 20.0 -r 29.97 --pfr -a 1,1 -E faac,copy:ac3 -B 160,160 -6 dpl2,auto -R Auto,Auto -D 0.0,0.0 -f mp4 -4 -X 1280 --loose-anamorphic -m
The big diff between 1 & 2 is that the -x blah:blah:blah setting is removed in the latter, which basically disables a bunch of compression settings to conform to main/baseline.
In simpler terms, if you're using the AppleTV 2 preset, you're using high profile, which means that the Teg2 can at least handle some 720p high profile. I suspect that smoothness will depend on the content, if the Teg2 is as marginal as many indicate. The acid test would be trying to encode Avatar at [email protected]
BTW, the above preset specifies a second (AC3) audio track. If you only need the main audio track, remove the second to reclaim some space, and more importantly, to increase the probability of smooth playback.
Click to expand...
Click to collapse
Thanks, both posts were great break downs that helped me understand better.
Guy I am talking to says he is using Mobo Player and this is the video he tried. Apparently before update to 3.1 it was not that smooth. He says it is like switching from software decode to hardware decode.
If this serenity trailer is not the filr format we are all talking about, please supply me with a link to an mkv High Profile file, so I can ask him to download and try again.
General
Complete name : E:\PLIKI\Download\Serenity - HD DVD Trailer.mp4
Format : MPEG-4
Format profile : Base Media
Codec ID : isom
File size : 80.0 MiB
Duration : 2mn 19s
Overall bit rate : 4 802 Kbps
Movie name : Serenity - HD DVD Trailer
Performer : Universal Pictures
Genre : Trailer
Recorded date : 2005
Encoded date : UTC 2007-05-30 05:20:31
Tagged date : UTC 2007-05-30 05:20:31
Cover : Yes
Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : [email protected]
Format settings, CABAC : Yes
Format settings, ReFrames : 4 frames
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 2mn 19s
Bit rate mode : Variable
Bit rate : 4 675 Kbps
Maximum bit rate : 10.8 Mbps
Width : 1 280 pixels
Height : 720 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 23.976 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.212
Stream size : 77.8 MiB (97%)
Writing library : x264 core 55 svn-655
Encoding settings : cabac=1 / ref=3 / deblock=1:0:0 / analyse=0x3:0x13 / me=hex / subme=6 / brdo=1 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / chroma_qp_offset=0 / threads=1 / nr=0 / decimate=1 / mbaff=0 / bframes=3 / b_pyramid=0 / b_adapt=1 / b_bias=0 / direct=1 / wpredb=1 / bime=1 / keyint=250 / keyint_min=25 / scenecut=40 / rc=2pass / bitrate=4675 / ratetol=1.0 / rceq='blurCplx^(1-qComp)' / qcomp=0.60 / qpmin=10 / qpmax=51 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / ip_ratio=1.40 / pb_ratio=1.30
Encoded date : UTC 2007-05-30 05:20:31
Tagged date : UTC 2007-05-30 05:20:35
Audio
ID : 2
Format : AAC
Format/Info : Advanced Audio Codec
Format profile : LC
Codec ID : 40
Duration : 2mn 19s
Bit rate mode : Variable
Bit rate : 128 Kbps
Maximum bit rate : 149 Kbps
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 48.0 KHz
Compression mode : Lossy
Stream size : 2.12 MiB (3%)
Encoded date : UTC 2007-05-30 05:20:34
Tagged date : UTC 2007-05-30 05:20:35
Any ideas as to how it plays scene HD MKVs?
Here's a sample MediaInfo for one:
General #0
Complete name : F:\TV.SHOW.S01E02.720p.HDTV.X264-DIMENSION.mkv
Format : Matroska
File size : 1.09 GiB
PlayTime : 43mn 41s
Bit rate : 3581 Kbps
Encoded date : UTC 2011-05-12 19:59:44
Writing application : mkvmerge v3.0.0 ('Hang up your Hang-Ups') built on Apr 19 2010 11:58:49
Writing library : libebml v0.7.7 + libmatroska v0.8.1
Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : [email protected]
Format settings, CABAC : Yes
Format settings, ReFrames : 8 frames
Codec ID : V_MPEG4/ISO/AVC
Duration : 42mn 22s
Bit rate : 3 306 Kbps
Width : 1 280 pixels
Height : 720 pixels
Display aspect ratio : 16:9
Frame rate : 23.976 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.150
Stream size : 980 MiB (88%)
Writing library : x264 core 102 r1666 d058f37
Encoding settings : cabac=1 / ref=8 / deblock=1:-2:-2 / analyse=0x3:0x113 / me=umh / subme=9 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=24 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=0 / chroma_qp_offset=-2 / threads=16 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / constrained_intra=0 / bframes=5 / b_pyramid=2 / b_adapt=1 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=25 / scenecut=40 / intra_refresh=0 / rc_lookahead=40 / rc=2pass / mbtree=1 / bitrate=3306 / ratetol=1.0 / qcomp=0.60 / qpmin=10 / qpmax=51 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / ip_ratio=1.40 / aq=1:1.10
Language : English
Audio
ID : 2
Format : AC-3
Format/Info : Audio Coding 3
Mode extension : CM (complete main)
Codec ID : A_AC3
Duration : 42mn 22s
Bit rate mode : Constant
Bit rate : 384 Kbps
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 48.0 KHz
Bit depth : 16 bits
Compression mode : Lossy
Stream size : 116 MiB (10%)
So... update to 3.1 did not change anything?
mkv (h.264) High Profile do not work - so IT IS TEGRA?
has anyone thought this could be a limitation of Android?
here is the media format support from android dev guide
H.263 3GPP (.3gp) and MPEG-4 (.mp4)
H.264 AVC Baseline Profile (BP) 3GPP (.3gp) and MPEG-4 (.mp4). MPEG-TS (.ts, AAC audio only, not seekable, Android 3.0+)
MPEG-4 SP 3GPP (.3gp)
VP8 WebM (.webm)
Click to expand...
Click to collapse
Tegra 2 definitely can decode more formats than android support

Dice Video Player DTS support

Not sure if you guys are aware but new video player released on market that adds lot of new codecs with hardware support this is great for my Nexus S
I know SGS2 pretty much supports most codecs but i dont think it supports DTS this player will play your MKV moves with DTS with full hardware support.
Not software like rockplayer, mobo..ect
Its a paid app but has 3 day trial version
https://market.android.com/details?id=com.inisoft.mediaplayer.trial
The native player supports DTS.
Sent from my GT-I9100 using Tapatalk
Not with the DTS MKV I just tried.
Hmmm, that's strange. I d/l the second dts mkv now, same, it plays flawlessly WITH audio.
now I no my android player better than any other bit of software on android, I have tried every player and know when I see a decent player, this one is pretty decent.
I have a test video I have kept on my phone for 12 months now, a full high profile 1080p copy of a band of brothers episode. Prior to the SG2 nothing I played it on could handle it my HD2, Ipad or Ipad2. When I first got my Sg2 i found that most of the players (that played MKV) would play it but most without sound. Those with sound played it fairly well but if you tried to skip through the film things would go awry.
This player takes a few seconds to skip but it get there and plays in sync - awesome. now this v1.0, looking forward to some more optimisations, this is now my #1 video player, better than rock, mobo, act1, vitl, vplayer and others.
good find, have a thankyou from me.
How peculiar - just tried another video with DTS audio and once again, no sound.
stoolzo said:
this is now my #1 video player, better than rock, mobo, act1, vitl, vplayer and others.
good find, have a thankyou from me.
Click to expand...
Click to collapse
Yup this is the only player so far that actually plays video/audio even when not supported by native OS with actual HArdware support.
Rock player Mobo and every other video player will only play what the OS supports with hardware. So if you dont have DTS support native those players will only play those files with software and play back will be sloppy and quality wont be as good
now with this it will play perfect..with hardware support.
David Horn said:
How peculiar - just tried another video with DTS audio and once again, no sound.
Click to expand...
Click to collapse
not sure ...Ive tested a few and works fine
David Horn said:
How peculiar - just tried another video with DTS audio and once again, no sound.
Click to expand...
Click to collapse
can you provide a link anywhere to this video or upload a small snippet somewhere, perhaps use gspot and post the codecs used?
Dice is chomping through everything I throw at it.
Dice is cool, but can't say it is playing really flawlessly, for example, on a 720p mkv Band of Brother ep02, you can see slight but noticeable stutters, though then again, it indeed is the only player that can play out video/audio in sync while all others failed...
mi3x said:
Hmmm, that's strange. I d/l the second dts mkv now, same, it plays flawlessly WITH audio.
Click to expand...
Click to collapse
are you sure that it is DTS and not AC3??? I tried 2 different mkv-files with DTS audio and could not get any sound... DicePlayer is working, but lags too much... Any other solutions?!
I was checking a 1080p/6ch DTS (1.5 MBit) mkv clip before and while Diceplayer (1.1.1) does play the audio right, it stutters the video like every 2 seconds, unusable.
Rockplayer decodes the 6ch audio in software mode, but the video is superlaggy.
Mobo is superslow and without sound.
Video is playing smoothly in system player... without sound.
I have two apps that decode the audio properly and with little CPU usage (DICE and Rockplayer), and one that decodes video properly and with little CPU usage (System). Unfortunately, it's either or.
Kinda sucks...
Tried my Inception 1080p DTS sample that plays smooth without audio in the stock Video player. It plays with audio in DicePlayer but stutters like mad and is not watchable.
there be be an issue with the way it has been encoded, then again it cannot have a high bitrate as that would make the file over 4 gig and you wouldnt be able to play that due to the FAT32 limit on file sizes. Perhaps you could share the file size, bit rate and codec information of the file you are playing.
If it plays well on the standard player it will likely be H264 mp4, could be main or high profile.
stoolzo said:
there be be an issue with the way it has been encoded, then again it cannot have a high bitrate as that would make the file over 4 gig and you wouldnt be able to play that due to the FAT32 limit on file sizes. Perhaps you could share the file size, bit rate and codec information of the file you are playing.
If it plays well on the standard player it will likely be H264 mp4, could be main or high profile.
Click to expand...
Click to collapse
There's no issue with the encoding as it plays fine on my media center and computer. The full movie is of course well over the FAT limit, but that shouldn't matter for the sample, right. It's a 1080p MKV [email protected]
Here's the mkvinfo output of the sample file:
Code:
+ EBML head
|+ EBML version: 1
|+ EBML read version: 1
|+ EBML maximum ID length: 4
|+ EBML maximum size length: 8
|+ Doc type: matroska
|+ Doc type version: 2
|+ Doc type read version: 2
+ Segment, size 90069522
|+ Seek head (subentries will be skipped)
|+ EbmlVoid (size: 4044)
|+ Segment information
| + Timecode scale: 1000000
| + Muxing application: libebml v1.0.0 + libmatroska v1.0.0
| + Writing application: mkvmerge v4.4.0 ('Die Wiederkehr') built on Oct 31 2010 21:52:48
| + Duration: 61.604s (00:01:01.604)
| + Date: Mon Nov 22 20:44:54 2010 UTC
| + Segment UID: 0xbc 0xee 0x26 0x58 0x42 0x96 0x31 0x6b 0xb9 0x0c 0x7b 0x5f 0x16 0x6d 0xc2 0x59
|+ Segment tracks
| + A track
| + Track number: 1
| + Track UID: 1
| + Track type: video
| + Lacing flag: 0
| + MinCache: 1
| + Codec ID: V_MPEG4/ISO/AVC
| + CodecPrivate, length 40 (h.264 profile: High @L4.0)
| + Default duration: 41.708ms (23.976 fps for a video track)
| + Video track
| + Pixel width: 1920
| + Pixel height: 800
| + Display width: 1920
| + Display height: 800
| + Content encodings
| + Content encoding
| + Content compression
| + Algorithm: 3 (header removal)
| + Settings: length 1, data: 0x00
| + A track
| + Track number: 2
| + Track UID: 2917809285
| + Track type: audio
| + Codec ID: A_DTS
| + Audio track
| + Sampling frequency: 48000
| + Channels: 6
| + Content encodings
| + Content encoding
| + Content compression
| + Algorithm: 3 (header removal)
| + Settings: length 4, data: 0x7f 0xfe 0x80 0x01
|+ EbmlVoid (size: 1123)
|+ Cluster
720p [email protected] w/AC3 audio plays perfectly fine in the stock player by the way.
I see you have cropped the video but that shouldnt make any difference, to be honest though if it plays on your stock I see nothing to worry about, I have several video players installed, I always check stock, then dice then rock to see which it plays best on. Stock is actually pretty good and has half decent codec support I find.
i agree with stoolzo. there is 4g limit on android devices. player is not my best partner. any player is not perfect. but i perfer to standard player. when video formats don't play on my phone, convert it. it is so easy.
alexcarterkarsus said:
Dice is cool, but can't say it is playing really flawlessly, for example, on a 720p mkv Band of Brother ep02, you can see slight but noticeable stutters, though then again, it indeed is the only player that can play out video/audio in sync while all others failed...
Click to expand...
Click to collapse
try diceplayer 1.1.6 ( not free ).
it play 1080p Band of Brothers ep02 with almost no shutter.
1080p Kill.Bill Sample clip test video
http://www.youtube.com/watch?v=ANf4oCNSxn0
just download a mkv dts video to play on diceplayer 1.1.2, video play good but no sound. what do i? need to download latest diceplayer or not? help plz?
Ok, so I split a movie in parts <4GB using mkvmerge (faster than recompress) and put it on the sd card. I also copied one part to internal mem to exclude the"slow sd" factor. Dice plays a bit choppy from both. However, the cpu never goes higher than about 40% when decoding. (goes for both Dice and stock players btw)
So as it's probably not a bandwidth or cpu bottleneck, what can it be?
Sent from my GT-I9100 using XDA Premium App

[Q] ffmpeg settings

Hi guys,
I'm trying to convert my 720p videos to play on the Xoom but without much success.
What I'm using is:
ffmpeg -i /mnt/Movies/MyMovie.mkv -threads 4 -vcodec libx264 -b 2048k -vpre medium -vpre baseline -f mp4 MyMovie.mp4
Xoom refuses to use Hardware decoding mode, software decoding is fine but the sound is choppy. What are your settings? I dont want to install hanbrake.
Thank you.
Grab the most current ffmpeg and use 'x264opts' settings. It now allows x264cli presets.
From your params, you're encoding in 1-pass CBR, which is guaranteed to be crappy. Either use 2-pass, or better, use one-pass w/ CRF.
Where is your -acodec param? Do you have a ffmpeg w/ libfaac?

Categories

Resources