Motorola Triumph - Video Encoding Parameters - Motorola Triumph

Based on the combination CPU/GPU currently in the Triumph, these are the maximum encoding parameters that I've successfully used thus far, that use the devices hardware video natively (Mp4, h.264, I usually use Handbrake or some variant):
Max Resolution = 1280 horizontal x 720 vertical
Max framerate = 30 fps
Variable Frame Rate = Supported
8x8 transform = Supported
CABAC = Supported
Max B-Frames = 16
Max Reference Frames = 5
Weighted P-Frames = Supported
SubPixel ME & Mode decision = 10, QPRD in all frames
Trellis = used default, "encode only"
Audio AC3 = not supported
Audio AAC = Supported
Native Filetype MKV = not supported
Native Filetype MP4 = supported
You can find some players that will allow for MKV play, without hardware acceleration, but I always give up on the extremely poor quality of this solution.
This little device has some impressive CPU/GPU power with regard to video playing and I'm really surprised to see things like CABAC, Weighted P-frames, and B-frames with native hardware support on an Android device.

I recently was amazed by MX VideoPlayer. I've always used Mobo Player but it doesnt play half the stuff I need to. I installed MX with the arm7 codecs and it plays h264 mkv's with full formatted subs and flac audio no problem (anime).

Related

[Q] Watching Videos?!

hi, anyone watch movies and that on thier phone? just wondering what the optimum video size would be to get a good picture and make it less flickery! and the best programs to use to convert the size of the movie?
Cheers
Hon
anyone?? surely someone must know??
Streaming or stored video files, basically you can use the same parameters and the same tools. I describe streaming only.
Use VLC to stream the video via Wifi or Edge to your phone.
An excellent client is Coreplayer (only 20 bucks)
On VLC set transcoding params like this:
video codec: mpeg4 (alternatively you could use h264)
video bitrate: 300-400kbs (wifi) ; 100-200kbs (edge)
resolution 320x240
audio codec: mp3
audio bitrate: 48-64kbs
container: ts (transport stream)
VLC can stream everything including live TV from TV/Sat cards and also from settop boxes.
If you wonna play files from memstick transcode your videos to files with the wifi parameters.
i used TCPMP with my vox oc'd to 252mhz
it can play most videos stored on my mSD (tv. eps and things of that sort) without having to convert
if i do need to convert, just make sure it's at 320x240
sorry i didnt specify, it is stored movies. cheers
A friend is considering this phone as an upgrade and I'm also interested in finding out about how good video playback on this phone works. Can you install freeware codec packs to support DivX, Xvid and all the other common formats on it like you can with the bigger PDA-style phones? Is its CPU speed enough for it to decode the videos without stutter? Is its built-in player good enough or would I need a third-party app?
I tried it. I think the optimum is Divx or Mpeg4, 320*240 and 512 kbit/s with 44 khz stereo audio. It can be played more than 100 % speed. (TCPMP benchmark).
manveruppd said:
A friend is considering this phone as an upgrade and I'm also interested in finding out about how good video playback on this phone works. Can you install freeware codec packs to support DivX, Xvid and all the other common formats on it like you can with the bigger PDA-style phones? Is its CPU speed enough for it to decode the videos without stutter? Is its built-in player good enough or would I need a third-party app?
Click to expand...
Click to collapse
Depends. If you don't use H/264 / AVC, then, it'll work just great. With AVC, you'll need to stick to CorePlayer and not even then will you 100% frame rate with higher bit rates / resolutions.
I did a tutorial on this
search for "Video Recoding Tutorial - Video Settings" in this forum

What format to convert video to?

I use handbrake at home to convert videos, but at the moment it seems to be a bit hit and miss when it comes to working it on the Nexus.
I've installed Meridian and Video Player from the market, both read videos the same way.
So I converted 5 videos with no problem, they were relatively short. But when I did a longer conversion (dvd which was 1hr 30) it just didn't like it. Plays on my PC fine.
I cant remember which settings I used, so can anyone recommend what settings to use in handbrake? Or is there better software to convert movies with? Or is there a better media player on the market?
mp4 with h264. If I remember right there is still an iPod profile. The newer version did away with a lot of the profiles but that one should be around. With this screen you do not need to scale down the image but it would help for space.
When I get home I can post more detailed settings if need be.
I'm using Allok Mpeg4 converter at 720x480
i found using handbrake that h.264 doesn't work on the nexus, but the regular mp4 codec does
xtop said:
i found using handbrake that h.264 doesn't work on the nexus, but the regular mp4 codec does
Click to expand...
Click to collapse
Not to be anal but mp4 is a container format (like ogg), not a codec (like vorbis). MPEG-4 part 2 is the "default" visual codec component. In reality it is not anymore. H.264 is also part of the MPEG-4 specification, MPEG-4 part 10 to be precise. In handbrake H.264 is the default for the mp4 container.
I am certain that h.264 can work on the N1. I have a few time wasters I keep on my phone. The more operative question is whether the current handbrake ripping to m4v works for the N1. I am reripping a film right now using the iPhone profile....
And using the iPhone & iPod Touch preset in Handbrake 0.9.4 the rip worked fine. Which preset did you use? Keep in mind some of the higher h.264 profiles might not work on the phone.
Personally I would probably up the picture settings to match the N1's resolution and maybe bump the quality down if worried about space. I was able to play a h.264 set to high settings but I am not sure what the exact settings were. It appears the N1 can handle most, if not all, h.264 profiles.
ive done this, works perfectly with 720p mkv's
HANDBRAKE:
set vid profile to normal,
container: MP4 800 x 480 ,, check the keep aspect ratio, anamorphic off, bitrate 1500
audio AAC, 44.1khz, bitrate 96 stereo
save profile, load file
your jaw is gonna drop if you use these settings and encode a 720p mkv
kscasper13 said:
ive done this, works perfectly with 720p mkv's
HANDBRAKE:
set vid profile to normal,
container: MP4 800 x 480 ,, check the keep aspect ratio, anamorphic off, bitrate 1500
audio AAC, 44.1khz, bitrate 96 stereo
save profile, load file
your jaw is gonna drop if you use these settings and encode a 720p mkv
Click to expand...
Click to collapse
Thanks for the info, gonna try it right now
Just so you have optoins I use Handbrake, just converted American Pie The naked Mile from DVD and it looks good. Here's my settings:
Container: MP4 File
Picture Tab: Set Anamorphic to None
Select Keep Aspect Ratio. It should auto scale the hight to proper hight
Video Tab: Video Codec to MPEG-4
Average Bit Rate to 700. You can use previously recommended 1500 but this will make a large file and I'm not sure you will see the difference in
quality on out small screens.
Audio Tab: Leave everything default accept the Samplerate set to 44.1
Click Start!!!!
kscasper13 said:
ive done this, works perfectly with 720p mkv's
HANDBRAKE:
set vid profile to normal,
container: MP4 800 x 480 ,, check the keep aspect ratio, anamorphic off, bitrate 1500
audio AAC, 44.1khz, bitrate 96 stereo
save profile, load file
your jaw is gonna drop if you use these settings and encode a 720p mkv
Click to expand...
Click to collapse
800x480 with aspect ratio might aswel be 720x480
and the bitrate, as setzer said wont make to big of a difference on a small screen. 768-1024 are fine. 1500 appears to be a random number you chose as typical bitrates go from 768, 1024, 2048 etc
yea you can prolly set the vid bitrate lower, that's just what it was default and the movies come out perfect, i'm still testing other settings.
m00moo said:
800x480 with aspect ratio might aswel be 720x480
and the bitrate, as setzer said wont make to big of a difference on a small screen. 768-1024 are fine. 1500 appears to be a random number you chose as typical bitrates go from 768, 1024, 2048 etc
Click to expand...
Click to collapse
yes it DOES make a difference, since our screen's are 80 pixels wider than 720
t
kscasper13 said:
yes it DOES make a difference, since our screen's are 80 pixels wider than 720
Click to expand...
Click to collapse
u dnt seem to quite understand. a typical video is made to have certain resolutions. obviously by converting a video u wil want to maintain the original aspect ratio, unless of course u dnt mind watching a stretched un porportioned video. that is why most converters have preset res already set to keep those aspect ratios and quality.from what u already said, u are watching a video stretched 80pixels too wide.
16/9 is the closest we have to a ratio standard, and 720x480 doesn't match that.
If your source is more than 800 pixels wide, the best setting is to scale the width down to 800 and let the height scale down proportionately. On a 16/9 video, this will leave very thin black bars on the bottom and top of your phone's screen. If these bother you, you will need to fiddle with Handbrake's crop settings.
If your source is smaller than 800 pixels wide, then you should just leave the resolution the same as the source. Upconverting will not make the picture any better and will just increase the filesize/bitrate.
As for bitrate, I've found that 1000-1500 looks amazing if you are converting HD video, but if you're converting SD then around 750 is sufficient.
A non-widescreen source will leave black bars to the left and right on your phone - you can get around this in two ways - firstly by stretching the picture which looks ugly IMO, or by doing your own cropping of the top and bottom of the picture during conversion.
JanetPanic said:
Not to be anal but mp4 is a container format (like ogg), not a codec (like vorbis). MPEG-4 part 2 is the "default" visual codec component. In reality it is not anymore. H.264 is also part of the MPEG-4 specification, MPEG-4 part 10 to be precise. In handbrake H.264 is the default for the mp4 container.
I am certain that h.264 can work on the N1. I have a few time wasters I keep on my phone. The more operative question is whether the current handbrake ripping to m4v works for the N1. I am reripping a film right now using the iPhone profile....
And using the iPhone & iPod Touch preset in Handbrake 0.9.4 the rip worked fine. Which preset did you use? Keep in mind some of the higher h.264 profiles might not work on the phone.
Personally I would probably up the picture settings to match the N1's resolution and maybe bump the quality down if worried about space. I was able to play a h.264 set to high settings but I am not sure what the exact settings were. It appears the N1 can handle most, if not all, h.264 profiles.
Click to expand...
Click to collapse
you're right, didn't mean to say codec..thanks for correcting me
but it didn't seem to matter what i picked..normal, high profile, ipod touch, etc. anything i encoded to h.264 WON'T play. now maybe i'm overlooking something (likely), but who knows
edit: you handbrake users. do you change the audio settings at all? and do you do 2 pass, and would that help with anything?
i've noticed my encodes get a little blocky here and there, would 2 pass fix that?
kscasper13 said:
ive done this, works perfectly with 720p mkv's
HANDBRAKE:
set vid profile to normal,
container: MP4 800 x 480 ,, check the keep aspect ratio, anamorphic off, bitrate 1500
audio AAC, 44.1khz, bitrate 96 stereo
save profile, load file
your jaw is gonna drop if you use these settings and encode a 720p mkv
Click to expand...
Click to collapse
Brilliant advice, worked a treat! Thanks a lot
m00moo said:
t
u dnt seem to quite understand. a typical video is made to have certain resolutions. obviously by converting a video u wil want to maintain the original aspect ratio, unless of course u dnt mind watching a stretched un porportioned video. that is why most converters have preset res already set to keep those aspect ratios and quality.from what u already said, u are watching a video stretched 80pixels too wide.
Click to expand...
Click to collapse
ggggodddddi i was kidding u doof
and yes i understand bitrate an d resolutions, i went to school for 3d rendering, but thanks for the gradeschool lesson on resolution gates.
tvrf21 said:
Brilliant advice, worked a treat! Thanks a lot
Click to expand...
Click to collapse
no worries buddy, soon ima figure out the cropping settings sop it fills the screen, even though it doesn't bother me one bit
I currently use the following (for 16x9 content)
Code:
ffmpeg -i Input.avi -acodec libfaac -ac 2 -ar 44100 -ab 128k -s 800x450 -vcodec libx264 -b 700k -flags +loop -cmp +chroma -partitions +parti4x4+partp8x8+partb8x8 -subq 5 -trellis 1 -refs 1 -coder 0 -me_range 16 -g 300 -keyint_min 25 -sc_threshold 40 -i_qfactor 0.71 -bt 400k -maxrate 700k -bufsize 400k -rc_eq 'blurCplx^(1-qComp)' -qcomp 0.6 -qmin 15 -qmax 51 -qdiff 4 -level 30 output.mp4
I miss out "-s 800x450" if the source material is under that already, no point scaling it up when the N1 will do it for you. For 4:3 I'd use "-s 640x480"
I use the program Flash to Video PRO, to me has very much helps.
The reason why above poster chose 1500 bitrare when converting from a 720p video is because from what I have found to be the highest bitrate the N1 will support (or all the video players on the market atleast) btw use mVideoPlayer by far the best video player...
I might also add that the latest version of AnyDVD converter has a converting option built in for the nexus ... wich is basically the same as aboves post handbreak settings..

[Q] Best format for video

What is the best for playing movies? I plan to rip some from Dvds, and wondered what would play best. I am using Vegan 3. I dont know much about divx vs other codecs.
I use mp4 I have 22 video and they only take 20gb of space. I have heard of guys using .mov but I think it is a full 1080 few so it will probably use a lot more space. I think mp4 is only 720 capable
JoeMofknDot said:
I use mp4 I have 22 video and they only take 20gb of space. I have heard of guys using .mov but I think it is a full 1080 few so it will probably use a lot more space. I think mp4 is only 720 capable
Click to expand...
Click to collapse
I want to convert some mkvs and some DVDs to mp4 for an up coming trip, has anyone used handbrake? If so what profile or preset are you using?
jamesgf said:
I want to convert some mkvs and some DVDs to mp4 for an up coming trip, has anyone used handbrake? If so what profile or preset are you using?
Click to expand...
Click to collapse
Handbrakes stock settings work fine for me I tried anyvideoconverter but converted files gave corrupt error
Depends on the source. DVD = standard video, so I would actually recommend Xvid in an AVI container. They play very nicely, plus it's a pretty standard format. And for problematic AC3 audio, you can use an app like Rockplayer. MKV also works nicely in Rockplayer. Or you can even encode to MP4 if you want iPod / iPad compatibility.
For High-Def, I would personally recommend MP4 (h263), only because h264 is so problematic. I use Handbrake and then alter the iPad Profile from h264 to MP4 (h263) and it works very nicely on our device. Yes, it's not "standard" so my files are really only for this device or my PC.
I'm not an expert on video formats or ripping/converting. However, I've spent the last couple of days (off and on) trying to find the best way to get vids on the gTab. As of this morning, the best option I've found is using Pazera. I used the "Video to iPod" converter with the following settings:
Output file format
MP4 (MPEG-4/AAC)
Bitrate: 1000 kbit/s
FPS: 30
Audio - Left it in "Auto"
Advanced Settings
Resolution: 1280 x 720 - HD720
The quality looks really good. No issues with the audio either. My only problem is the file size is 1.2GB. The vid I converted was 2 1/2 hours but I still think I want the file size around 500 to 700MB. I'm going to adjust the settings some more and see if I can find the balance between video quality and file size. It just takes an hour or so to convert it so this may take a few days.
I hope this is helpful to everyone. If anyone else has any experience with Pazera and can recommend good settings, I'm all ears!
Sly Soft's AnyDVD to rip and them AnyDVDMobile to convert (I use ipad's default settings on the mobile conversion and they work great - I use those settings b/c I my kids use the same rips for the ipod touch and it comes out as something they all can use (rather than keeping multiple copies for each device).
I have been using this to convert HD video into something the hardware decoder can play without issue:
Code:
INPUT="My_movie.mkv"
OUTPUT="My_movie-gtab.mp4"
ABITRATE=64k
VBITRATE=1500k
RESIZETO="-s 1024x576"
ffmpeg -strict experimental -y -i $INPUT -f mp4 $RESIZETO -vcodec libx264 \
-vpre default -vpre ipod640 -acodec aac -ab $ABITRATE \
-ac 2 -b $VBITRATE -threads 0 $OUTPUT
1000k for the video bitrate would net you about 480M/hour, with 1500k at about 700M/hour (which is fine by me).
The RESIZETO will work for 720p and 1080p content as it's resizing for the longer width. If you have SD content (DVDs) just comment out the RESIZETO. If you have something that is anamorphic (check ffmpeg -i $FILENAME) you will need to do your own math, or just leave it and up the bitrate. A good rule of thumb for high quality is:
0.14 * Height * Width * frames/sec
So 0.14 * 576 * 1024 * 29.97 = 2477260bps, or ~ 2500k, about 1.1G/hour
adjusting the number downward will reduce quality, but it's a choice between video quality and size at this point.
I have tested this with a few videos (Big Buck Bunny, originally 1080p content) and with some 720p videos. 1500k worked out really well.
Great info ckelly33 and ckelly. I'm starting to think the question is more on "what are the acceptable formats". Everyone is different and the output they are looking for is just as different. I'm still trying for 500 to 700MB.
I tried again and I think I've got it like I want it. Need to test it some more. On the last conversion I noticed a button for max file size. That got me right where I want to be!
ima_UNC_fan said:
Great info ckelly33 and ckelly. I'm starting to think the question is more on "what are the acceptable formats". Everyone is different and the output they are looking for is just as different. I'm still trying for 500 to 700MB.
I tried again and I think I've got it like I want it. Need to test it some more. On the last conversion I noticed a button for max file size. That got me right where I want to be!
Click to expand...
Click to collapse
So far, It has accepted mp4 and avi containers (I prefer mp4), as well as mp3/aac for audio and h.264(main profile). Reports from roebeet says h.263 works as well. I have not tested xvid yet. I had issues with ac3 audio, so I don't think it supports that.
Of all of those, h.264 is a very very high quality codec, so I would recommend trying to use h.264/aac for encoding if at all possible.

What software do you use to play 1080p mp4 movies?

I tried RockPlayer Lite and some other players in the market but none work.
Please help.
vitalplayer?
Try doubletwist. Plays mp4
junks2010 said:
I tried RockPlayer Lite and some other players in the market but none work.
Please help.
Click to expand...
Click to collapse
It's not really just a question of what player - it's a question of what 1080p mp4 files too. Tegra 2 is extremely limited in what it will play back in a 1080p mp4 so how the mp4 is encoded matters as well. I think I read somewhere that it's baseline profile only...and that's with hardware acceleration. Software only, I'm guessing that no file of that size will play - it's too many pixels to push around.
And Rockplayer is my mp4 player of choice (to the extent I actually registered for it to get rid of the ads and the R). In hardware mode, it doesn't bat an eye at my 720p mp4s in main profile.
Judo Jeff said:
It's not really just a question of what player - it's a question of what 1080p mp4 files too. Tegra 2 is extremely limited in what it will play back in a 1080p mp4 so how the mp4 is encoded matters as well. I think I read somewhere that it's baseline profile only...and that's with hardware acceleration. Software only, I'm guessing that no file of that size will play - it's too many pixels to push around.
And Rockplayer is my mp4 player of choice (to the extent I actually registered for it to get rid of the ads and the R). In hardware mode, it doesn't bat an eye at my 720p mp4s in main profile.
Click to expand...
Click to collapse
x2. If the 1080p video is encoded the right way, even the vanilla player will play it.
I've been using h263 1080p / 720p MP4's and they work well. Even some MKV's will work with the vanilla player, if encoded a certain way.
roebeet said:
x2. If the 1080p video is encoded the right way, even the vanilla player will play it.
I've been using h263 1080p / 720p MP4's and they work well. Even some MKV's will work with the vanilla player, if encoded a certain way.
Click to expand...
Click to collapse
Any luck getting h264 1080p to play? Any specific software you recommend to convert files to appropriate encoding?
I've had success in the past doing it and watching 1080p .mov movie trailers but haven't done so since I've upgraded to TnTLite 5.0. I would recommend Handbrake for encoding and then playing with it. From using Mediainfo on them, I think they were Level 4.1 main profile with 2 reference frames, no Cabac.
I found this on fudzilla from google (I can provide a link if needed)
First of them is H.264 with sub standards Baseline Profile (B frames) — 1080p/20Mbps, Main Profile (B Frames, CAVLC) — 1080p, Main Profile (B Frames, CABAC, no weighted prediction) — 720p/6Mbps and High Profile (B Frames, CABAC, no weighted prediction).
Tegra 2 also supports High Profile (B Frames, CABAC, no weighted prediction), MPEG-4 (Simple, B frames and ASP Profiles) — 1080p/8Mbps, H.263 (Profile 0) — 720×576/4Mbps, DiVX (DiVX 4/5) — 1080p/8Mbps, XviD (XviD Home Theater) — 1080p/8Mbps, MPEG-2 (Main Profile @ Main Level) — 720×576/10Mbps, VP6 (simple and advanced profile) — 720p30/2Mbps, Sorenson (simple and advanced profile) — 720×576/4Mbps, JPEG up to 80 Mpixel per second.
Click to expand...
Click to collapse
Caveat - 1080p encoding is slow and the files are big. Unless you are doing 1080p encoding for some other purpose, I wouldn't do it just to play on the G-Tab. It really seems to be stretching the limits of the technology. I prefer to do a really good quality 720p encode instead. They look equally good on the G-Tab at a smaller file size - and on a 60" plasma I still can't tell that they're worse. I had floated my encode parameters for handbrake somewhere back in this section.
vitalplayer, vanilla player? What is better, what supports more formats and it is more convenient?
absorbers said:
vitalplayer, vanilla player? What is better, what supports more formats and it is more convenient?
Click to expand...
Click to collapse
The only luck I've had with hardware accelerated video (the high-def stuff) is Rockplayer or vanilla player. Don't like the lack of file browsing you get with the vanilla player. You can get around that by using a file explorer to open your videos instead of the gallery.
I have a couple of mkvs that Rockplayer won't play (SD ones at that), so maybe an experiment is in order!

Video Encoding Parameters

Hi!
I was wondering if anybody had any suggestions on what to set a video encoding program to for best use on the s3. Many programs have default profiles for the iphone, ipod, etc. My old Droid X had some suggested parameters, and wondered what others are using.
From what I've gathered, these look good. Can somebody comment and suggest if I'm on the right path or off the wall?
Video
Codec- H.264
Resolution- 1280×720 (HD)
Bitrate- 1500/2000kbps
Framerate- 25fps
Audio
Codec- AAC
Sampling rate- 44.1khz
Bitrate- 128kbps
Channel- stereo
Thanks!

Categories

Resources