Video/ sound sync probs - Nook Color General

Audio is not properly synced to video much of the time. It was bad on rooted stock but still problematic on nookie froyo.
What is the reason for this? Is there a fix?
Sent from my Desire HD using XDA App

Not sure what video you're referring to but suffice it to say that for optimum quality of video file playback re-encode your video to a format that the hardware acceleration of the nook supports by default.
http://forum.xda-developers.com/showthread.php?t=894165&highlight=handbrake+preset
My recommendation is to re-encode using Handbrake with the preset posted in the first post in that thread. The only other change I'd suggest to that preset is to change the video setting to constant quality at a setting of 22 (or 20 if the format of the original file is smaller than 720 pixels wide).
Video playback questions pop up almost every other day on this forum and it always ends up being a debate about what works and what doesnt. Much of the time the difference is basically subjective opinion on what is acceptable playback quality. Some are satisfied with some audio lag when playing back avi or other format files using 3rd party software. Others demand no dropped frames and perfect audio sync which is where your best bet is re-encoding to MP4 in H.264 baseline.

Related

Slow video playback

Is anyone having problems with video playback?
WMV files they are played very slow (loosing a lot of frames). With MP4 I got best results but not the best. Any suggestions??
Thanks
WMV
I can't even get the above files to play
are you using Media Player? as video playback has always been awful on Medial Player on every pocket pc or smartphone ive everhad.
install TCPMP and video playback will be perfect, and will play any file you throw at it
http://forum.xda-developers.com/showthread.php?t=380387&highlight=tcpmp+diamond
Thanks for the tip keyz86. I'll try it.
no problem, glad to help a fellow Dimondarian
won't play
loaded the TCPMP but everytime I try and start it i get the attached error, using diamond help
keyz86 said:
no problem, glad to help a fellow Dimondarian
Click to expand...
Click to collapse
Dimondarian Cool hehehe
Has anyone been able to play a full resolution file without skipping?
I am using CorePlayer now but if another player works better, please say so.
With Coreplayer I benchmark about 85%, which is not good enough.
I believe the Diamond should be able to get 100%.
I found that an encoded mp4 file would play about the same as the original avi xvid file...
What do you use to encode videos specifically for the Diamond?
Come on!! Post your results!
tretre said:
What do you use to encode videos specifically for the Diamond?
Come on!! Post your results!
Click to expand...
Click to collapse
What video settings do you use with coreplayer ?
DirectDraw, GDI or what ?
This is what i get:
With these configs.:
But with some other videos i have i get only 88% speed and some frame drops and tearing.
Doesnt the Diamond has a good video hardware.
Imo, it shouldnt lag at all.
Ive read somewhere that it doesnt use the hardware correctly since the drivers were not fully implemented. Not sure if its true.
Still looking for a good solution... any more help?
Coreplayer is still choppy ...
Yeah, I wasn't able to get WMVs to play using this, either.
I think what we need to have a look at is which encoding, resolution, bitrate, fps, etc are optimal for the diamond using core player.
I'm experimenting a bit. Will report back in a bit...
I've just got my Ignito (diamond) a couple of days ago, but I've got a long history of video playback on hand helds. Since this is my first time post, and I happen to have a bit of time on my hands.... I'm going to convert a file into a series of different resolutions and settings to see which one will perform the best. I know the objective is to get a full res one to play, but I'll see what I can come up with.
Also, I'm using the default ROM at this time.
With Coreplayer you should use the 'QTv' display option - this is hardware accelerated and beats 100% benchmark on every AVI I have tried. If you get a blank display using this mode, you are using an old version and need to update.
Alright. After trying a bunch of different codecs, encoders, video and audio formats at various resolutions I came the conclusion that for now, full resolution video is just not possible without jerky movements during continuous motion or fast action scenes.
My eyes are very sensitive and I get really irritated if playback is not perfectly smooth.
So far what works the best in achieving this kind of natural playback is AVI as the output container with XviD video codec at 480 x 360 resolution, and mp3 audio. I set the video and audio bitrates to match whatever the source video was (min 864 kbps and max 1008 kbps for video and 192 kbps for audio).
Even then, CorePlayer is a must with the following settigns: QTv On, TytnII driver mode On and Smooth Zoom On.
Every now and again CorePlayer will show only a purple screen during playback when QTv mode on. At that point I usually do a soft reset and it starts working again.
This issue may be resolved with an upcoming release of CorePlayer (1.3) but until then, the solution above works exceptionally well.
I'd be very interested in anyone else is having success in other ways...
320 by 240 versus 640 by 480
I have done some playing with conversion and have found that the Diamond (currently) does not support the 640 by 480 settings with a good bitrate. The BEST conversion I have found (using Coreplayer to play back the files) is using the BETA Version of the Pocket Divx Encoder (http://www.pocketdivxencoder.net/EN_index.htm) and using the HTC Diamond Template (NON VGA!!!!, there is a VGA and non VGA) that team has developed. They have done an excellent job!
The output settings -
Dimensions 320 by 240
Video Quaility - "36" ... 584 kb bitrate
Hopefully an update by HTC or coreplayer will be released to fully utilize the resolution that the Diamond SHOULD be able to support, but for a clear, non jerky playback, this is my 2 cents
im able to play those axxo dvdripson using coreplayer without any sort of convertion....
I want to share my experience. I am using core player and trying to recode unprotected high-definition TV shows (original resolution of 1920x1080) that I've recorded on Windows Media Center (.dvr-ms files) to watch on my Sprint Diamond. Unfortunately .dvr-ms are poorly supported, and the only program I've found to recode is TMPGEnc 4.0 Xpress.
I am using Core Player version 1.2.5 build 4506, and my video output is QTv Display with the Tytn II driver mode enabled.
Like everyone else here, I have had horrible results when converting the shows to DivX at 640x360 at any usuable bitrate (above 500 kbps). Benchmarking in Core Player yielded a playback speed of 66% or so (completely unacceptable, obviously). So I played around with the resolution and bitrate, and finally settled on the following:
Format: DivX
resolution: 512x288 (maintains the 16:9 aspect ratio of the original)
Video bitrate: 850 kbps
Frame rate: 29.97 fps (progressive)
Audio: MP3
Audio bitrate: 80 kbps, 48kHz sample rate
With those settings, I have a 104% playback benchmark with around 25 dropped frames compared to several thousand played, and about 29.5 fps. Basically, it is completely smooth audio and video.
I was still PO'd that I had to sacrifice so much resolution and bitrate on a supposed media device, so I played around with other formats. WMV was awful. MPEG-2 was awful, and avi was passable, but no better than DivX. I also decided to try h.264 (MPEG-4 AVC). Here are the settings I used:
Video Format: MPEG-4 AVC (saves as .mp4)
Resolution: 640x360 (still maintaining the original 16:9 AR)
Video bitrate: 1000 kbps
frame rate: 29.97 fps (progressive)
Audio format: AAC
Audio bitrate: 96 kbps, 48kHz sample rate
Core Player absolutely choked on this. It was unwatchable, and the benchmark revealed a playback speed of 50%. Dropped frames were higher than played frames (!) and framerate was 13 fps. Obviously not successful.
But, before I deleted the file, on a whim I decided to try Windows Media Player and...it was completely FLAWLESS playback. Absolutely beautiful, smooth motion, no audio stuttering, slow and fast pans were the best I've ever seen on a WM device.
Why??? Is there something I'm missing about this that someone can elaborate on? Is this the fabled "hardware acceleration" that I've read so much about? I should note that WMP had a hard time on a 320x240 .wmv file, so I can't really understand how it is able to play a 640x360 .mp4 file so smoothly. In any event, I have found my perfect file format, and, surprisingly, it doesn't involve Core Player in any way.
-R
The thing is that HTC didn't release any kind of SDK for Diamond or Touch Pro and companies like CoreCodec have hard time trying to figure out how to use the HW acceleration but they are trying very hard to improve the situation so maybe with time they will be able to use the HW for now the only way we wan't to watch videos with HW acceleration is only WMP which means recoding or atleast remuxing files.
Cheers
P.S. Could you post exact specs of the .mp4 file? What kind of AVC it was and things like that.
in regards to the WMP hardware acceleration.
is it better on battery life than having coreplayer trying its hard out to render a video. even if its a small 320x vid that plays at 120%. Does that mean that the cpu is running near max?

Rockplayer 1.5.x (Tegra 2 optimisations)

Thanks to the people over at Modaco I found out that a new Rock player is out
The latest 1.5.x release adds network streaming (via browser integration) and optimisations for Tegra 2 hardware.
If you have another ver. installed please uninstall it. Go to the market install 1.5.0 when you start it, it will have an update to 1.5.1 and once installed just activate it. (if you have a paid copy) if not it will have ads paid is only $9.99
The new update works great, this thing fly's and has loaded everything I throw at it.
Web streaming is easy I have Tversity setup on my home pc and a link to the IP in my browse I just select what I want to see and the stream starts right away in rockplayer.
I am still testing it, but so far this thing is WIN!
Really? Sweeeet. Ima try out som HD Videos now see how they run!
Just saw it on my Captivate. Trying it now on the Gtab
Let's see it play 720p MKV files natively. I'll be really excited if it can. Will try later.
I just tried a .mov (don't know how it was encoded) it played but like 1 fps and sound dropped out after. 1 minute. I then tried an H.264 .mp4. Same deal. Both were 1080p.
What is the gtab supposed to play 1080p in? Any one know?
The only video I had on my Gtab was a 720p 3211kbps XviD with AC3 audio. I tried playing it using hardware decode and it played beautifully but with no audio
Haven't had time to try anything else yet. Will post results when I get a chance.
So I am pretty disappointed with this update. I still can't play H.264 or mkv MPEG4 files in 1080p. The Tegra 2 is supposed to have an on-chip processor for H.264, but this does not seem to take advantage of it.
Thanks for the headsup on this one.
I downloaded and installed.
When I play my 720p mp4 movies, not sure how they are encoded, it asks me if I want hardware decoding mode or software. Which one should I pick?
Coty
I always try hardware first if it fails then I go software.
OK, so after a bunch of trial and error I got 1080p playing in Rockplayer 1.51 with hardware decoding. The file NEEDS to be an MP4 container encoded with MPEG. I used Handbrake to get it done. Everything else I tried doesn't work one way or another, either FC, no sound or no video. I hope this helps someone.
Using 1.51 with TnT 3.0, hardware acceleration mode resets my Gtablet. Screen blacks out and then reboots, starting at the fireworks streamer spash screen.
Tried multiple times with different files with same result.
yea the tab is unable to play videos encoded in High Profile due to hardware limitations with the Tegra chip. it only works with Baseline and Main profile. from my experience, Main gives a cleaner picture than Baseline does. if its encoded in High, the video will just stutter.
was excited to see that the new Rockplayer was Tegra optimized but it will never play 720p or 1080p vids without being converted to those profiles first. was really hoping i can just drag and drop my downloaded 720p tv shows into the tab and watch it but eh well. i need to figure out how to reencode my files while keeping it as close to 720p quality as possible.
gotwillk said:
yea the tab is unable to play videos encoded in High Profile due to hardware limitations with the Tegra chip. it only works with Baseline and Main profile. from my experience, Main gives a cleaner picture than Baseline does. if its encoded in High, the video will just stutter.
was excited to see that the new Rockplayer was Tegra optimized but it will never play 720p or 1080p vids without being converted to those profiles first. was really hoping i can just drag and drop my downloaded 720p tv shows into the tab and watch it but eh well. i need to figure out how to reencode my files while keeping it as close to 720p quality as possible.
Click to expand...
Click to collapse
I must be unlucky, since 1.51 hardware mode crashes and resets my Gtablet with TnT 3.0 after playing a few seconds.
Why do you want to encode at 720p when the Gtab is not 720p? Seems overkill- if the files are for the Gtablet. I can see if just copying over to play, but if redoing for G, why not custom res to native of device?
rushless said:
I must be unlucky, since 1.51 hardware mode crashes and resets my Gtablet with TnT 3.0 after playing a few seconds.
Why do you want to encode at 720p when the Gtab is not 720p? Seems overkill- if the files are for the Gtablet. I can see if just copying over to play, but if redoing for G, why not custom res to native of device?
Click to expand...
Click to collapse
well not 720p but at least close to it. the reason is that it will cause blockiness otherwise, especially for the scenes that have a lot of movement. i want to keep everything the way it is but using the Main profile instead of High profile, which the original vid is encoded in. i think i've gotten it pretty close as the original file but still noticeable blockiness in high movement scenes. i'm a guy thats a stickler for quality video and audio. don't mind me lol.
gotwillk said:
i need to figure out how to reencode my files while keeping it as close to 720p quality as possible.
Click to expand...
Click to collapse
I convert my TV recordings using a free program called SUPER:
http://www.erightsoft.com/SUPER.html#Dnload
Lots of features, including a drag and drop queue to batch convert multiple files.
It's a little confusing at first, but has a good instruction page, and tool tips.
Right mouse click brings up different menus, depending on what your click.
Double clicking a file in the queue shows information about the source file.
Check the High Quality, and Top Quality boxes, 3600 or higher bitrate.
MP4 container, MPEG-4 codec, and AAA LC audio works on Gtab.
As for screen resolution from 720p source file, there doesn't seem to be much difference above 800 wide on the Gtab, so I set scale size to 800x448 for 16:9 video that fills the screen (slight black bands top & bottom, but scaled correct).
Good compromise between file size, and quality.
If you choose the original scaling, it converts the fastest, but huge file size.
Some programs like "No Ordinary Family" have audio in channel 2, so if there is no audio, change default to channel 2 in the settings before you convert.
Hope this helps.
I might be the odd one out with this program. I have had horrible experiences with compatibility, function, and even replicating the same failures.
I have a series of files all encoded by the same person form a "podcast" type video series. Some of the files will "load" in hardware mode(i say load because often sound doesn't work) and some will not. The catch is all of them load and fail sometimes.
I noticed virtually no change in the tegra "optimization" I am really disappointed frankly. I have no reason to buy the software if it doesn't support what I need and I was really hoping this iteration would provide me with some kind of noticeable improvement. I even had to use titanium to wipe data for rockplayer for it to launch any video at all. It also force closes opening videos that used to play perfectly in the old version.
I guess multimedia and android still don't mix =/
High Profile
I having success with HP video using Mediacoder. Both hardware and software rendering are successful with deinterlacing, 6 B-frames and 1920 by 1080 resolution.. My source is AVCHD content, so I am having some interesting issues with audio though....
[email protected] said:
I having success with HP video using Mediacoder. Both hardware and software rendering are successful with deinterlacing, 6 B-frames and 1920 by 1080 resolution.. My source is AVCHD content, so I am having some interesting issues with audio though....
Click to expand...
Click to collapse
what does deinterlacing and 6 b-frames do exactly?
also can you post the rest of your settings? i've been following someone else's settings on a Droid forum and they don't work that well with the tab.
For what it's worth, VLC for Android is reportedly in the works for early 2011.
Jokulgoblin said:
For what it's worth, VLC for Android is reportedly in the works for early 2011.
Click to expand...
Click to collapse
Great news i look foward to trying it out.

[Howto] Video watching on Nook Color

As you may know, the Nook color has PowerVR SGX530 Graphics chip, which is also available on Droid 2 and Droid X.
This chip is pretty good when it comes to medium 3D performance and video playback. It can play videos quite nicely, but only the formats that it knows. Other formats will need to be played using software, which will give you medicore level playback.
If you have an MP4 files (which are encoded with H.264 Base level encoding), those files will play with hardware decoding great. However, if you have other video content (episodes, both in AVI/XVid or MKV/H.264 format), Nook will play them badly with 3rd party software (rock player, vplayer, etc).
Thats where FFMPEG could help a lot, if you're using Linux, all you need to do is install ffmpeg and run the following command:
Code:
ffmpeg -y -threads 8 -i myvideo.avi -b 800k -bt 1000k -vcodec libx264 -vpre default -vpre baseline -acodec libfaac -ac 2 -ar 44100 -ab 128k mynewvideo.mp4
the "myvideo.avi" is your original AVI file, and "mynewvideo.mp4" is the new MP4 file which could be played nicely on the Nook Color. Please note: if your video is bigger then 854x480, then you need to add the -s XxY where XxY is the width:height of the video (example: 640x352). If your video needs a new aspect ratio, you can use the -aspect parameter (example: -aspect 16:9)
If you're using a mac, then handbrake is your friend, as other tools which are based on ffmpeg.
On Windows you can either install FFMPEG for Windows, or you can use An application called "Any Video converter", and simply select your original file name, Select X264 as video codec, and convert. The output file should be played well.
No matter what conversion software you use, make sure that the H.264 profile that you use is set to base-level (or "base"). Anything higher cannot be played by the nook without frame skipping.
If you want to test if your video can be played with hardware acceleration, upload your video to your Nook (or to the Micro SD card), open any file manager and click on the mp4 file. Try to play the video with the "Movies" built in app. If the app will recognize your video, it will play it without any issues or frame skipping.
Good luck
Hetz
HandBrake can be used on Windows also
I read there are aspect ratio issues with the built in player. But I also read that even in mp4 base other video players can't take advantage of the hardware playback accel (proprietary drivers). Is that correct?
Handbrake doesn't work for windows?
triggrhaapi said:
Handbrake doesn't work for windows?
Click to expand...
Click to collapse
Handbrake works great on Windows. Encoded a few this week for the Nook and ran like buttah.
Out of curiosity, why not just use RockPlayer. I'm yet to get an NC so I may be missing something.
It runs kind of choppy on video files encoded with anything other H.264/MPEG4 and the audio seems to get out of sync quickly
Mikey1022 said:
HandBrake can be used on Windows also
Click to expand...
Click to collapse
And linux.
the latest version of rock player seems to have a lot better handle on audio sync...
we can never watch the avi videos without converting ?
Maybe
yemin88 said:
we can never watch the avi videos without converting ?
Click to expand...
Click to collapse
It really depends how the official Froyo update (coming in January) will improve performance.
rock player works fine... the problem is that you cant have above a 480p video. the reason is its not the audio thats lagging its the video studdering and thats whats causing the lagg
The topic title should read "how to watch videos on your nook if you run Linux"
You added all the settings you need for it, but not for the other operating systems lol You can run the file through any of these programs, (speaking Mac/Win) but just because you encode it with H.264 doesn't mean its going to play smoothly. If your source file is 1080p, this obviously isn't going to work.
My source file is:
H.264
Deinterlaced
720p
30fps
VBR 1 pass
AAC. 192kbps 48kHz, Stereo
So far Im at a video file @ 1024x576 at 15fps (tried to pull the Consistent Quality slider to 100%, but didn't see much differance) thats had the smoothest playback.
Now Im pretty much brand new to video editing and making, are there any settings I could be useing to make this file more smooth using Handbreak....or even more so In Adobe Premiere?
Im basically trying to see what the highest quality the Nook can take. Not to mention a continuous video of my coral reef while Im at work sitting next to me on my NC would b kinda epic
I use DropFolders. It uses HandBrake & you set it up with a watch folder & a destination folder. All you do is drop a video in the watch folder & it converts the file & puts it in your destination folder. You set up the HandBrake arguements in Drop Folders. Works like a charm.
Cheers,
kev
MrOtsKrad said:
The topic title should read "how to watch videos on your nook if you run Linux"
You added all the settings you need for it, but not for the other operating systems lol You can run the file through any of these programs, (speaking Mac/Win) but just because you encode it with H.264 doesn't mean its going to play smoothly. If your source file is 1080p, this obviously isn't going to work.
My source file is:
H.264
Deinterlaced
720p
30fps
VBR 1 pass
AAC. 192kbps 48kHz, Stereo
So far Im at a video file @ 1024x576 at 15fps (tried to pull the Consistent Quality slider to 100%, but didn't see much differance) thats had the smoothest playback.
Now Im pretty much brand new to video editing and making, are there any settings I could be useing to make this file more smooth using Handbreak....or even more so In Adobe Premiere?
Im basically trying to see what the highest quality the Nook can take. Not to mention a continuous video of my coral reef while Im at work sitting next to me on my NC would b kinda epic
Click to expand...
Click to collapse
According to the published specs for the NC, the default app will not play video above 854x480. If you want to use hardware decoding through the default app, you'll need to scale that down from 1024.
I have several videos encoded using one of the latest nightly builds of handbrake for NC, and with the constant quality set at 20, playback is flawless. You can use the "Apple Universal" setting to get the required baseline profile for MP4 and then adjust the video size as you like.
You can also use the "High Profile" and change some settings and per HERE. I was, however, able to set the max width above 720, unlike the third poster.
Innnnnnteresting! Thank you! I will give this a shot and see what I come up with
I posted a handbrake preset here. It works well for me.
Hi why can you try rockplayer for play video like divx
Sent from my LogicPD Zoom2 using XDA App
triggrhaapi said:
Handbrake doesn't work for windows?
Click to expand...
Click to collapse
Don't worry, I found an easy way to convert videos for nook color, read the article "Nook Color Video Converter Review – easy play any video on Nook Color"
from
Code:
icamcorder.net
Got a Nook Color over the weekend, and video looks great using the Handbrake preset posted here... I'm using Autonooter, and the built in Gallery app to play it. However, I'm curious, if I decided to try out Honeycomb, will other video player apps use hardware decoding with files encoded with the Handbrake preset, or is it limited to the stock Nook app? Thanks!

Video playback

Hi there!
I have gotten to new Lg Optimus 2x now for about a week and I am getting a bit annoyed now. I bought it purely on Being able to play full HD Movies on my Tv. But with countless hours spent on forums and trying with different players, and also differnt types of formats.
What I have on the phone now is QQplayer and arcmedia and ofcourse Lg's player
Formats I have used and there display quality:
.AVI Works in QQ, Arc but not in LG's
.Xvid Works in all
.Mkv (480p) Works in QQ ,Arc but not LG's Also this is where the framerate goes down.... out of sync audio.
.Mkv (720p) Just awfull
I am now converting a 720p movie to mp4 format h.264 to try if that works but it takes ages and I can't be botherd to convert a movie for 4h when I want to watch it on my TV.
So what can be done.. why can it play back some lame teasers on full hd but not a bloody movie in decent quality on 480p...
What should I try to convert movies and episodes to?(prefix)
The phone is not Rooted and I have no experience in that matter
Kind regards!
Kruxa said:
So what can be done.. why can it play back some lame teasers on full hd but not a bloody movie in decent quality on 480p...
!
Click to expand...
Click to collapse
Because a video is not just a video
Video consist of 3 parts
videopart encoded to some specific format (xvid, divx, mpeg-4, h264, mpeg-2) etc
audiopart encoded to some specific format (mp3, ac3, dts) etc.
a container (avi, mp4, mkv) etc. that encapsulates the video and audio part
furthermore the video and audio part are not just encoded in specific formats, but according to specific settings - often called profiles. These define things like bitrate, b-frames, ref.frames, and other technical stuff
The chipset only support hardware acceleration (which is needed to play video in high resolution) for certain types of formats, and only when encoded after certain specifications, and only when encapsulated in certain containers, and finally only when being played by the LG player.
Other players cannot utilize the hardware acceleration but rely on software filters like ffmpeg, these give you the possibility to play formats that are not supported by the chip itself or by LG's player by using these software filters. But this also means there are no hardware acceleration to help the playback and therefore you can only play these in standard resolution and/or you can get synch issues between video/audio.
the main format supported by the chip and the LG player is called mpeg-4/h264 - and its only supported inside an mp4 container - mkv are not supported.
The encoding of the video part mpeg-4/h264 are only supported up to a certain profile level - meaning it only support upto a certain bitrate, a certain number of ref.frames, of b-frames etc. It also only support certain audio formats, mainly aac. It wont play your downloaded 720p/1080p mkv with ac3 or dts audio, and a videotrack using h264 profile level H4.1 or more with lots of ref.frames
In short you cannot just throw any downloaded or home cooked video to the mobile and expect it play - it wont. Secondly if you bought it to be a generic HD mediaplayer for these types of videofiles, then you bought it for the wrong reasons. It is not a generic HD mediaplayer, its a mobile phone, with the ability to record and play up to fullHD video - if these comply to the specifications which are supported. This videoability are mainly targeted at recording video of reasonable quality (for a mobile phone) and playing web2 content like youtube HD video which complies to these standards.
Nothing more - it wasnt designed to be your HD mediaplayer replacement
So what to do ?
make sure youre videos are encoded as h264 using max profile level 3.1 and max 10mbps bitrate - using an AAC audiotrack and encapsulated in an .mp4 container. Then they will play in HD resolution.
Now all you need is reading a couple of hundreds websites and guides on how to check your files for these specifications (mediainfo), remux video from an mkv container to an mp4 container if the video and audio inside are allready compliant, or how to reencode to desired specifications if they are not compliant.
Very usefull mini guide into the jungle of video/audio, codec, splitters and containers.
Knowing this makes it easy to setup DVDFab and other rippers/converters (hopefully).
Thanks
I tested some h264 formats on the LG2x. Baseline profile works fine for 1080p video, I tried that up to 10mbit/s. Main profile works, but is too slow on 1080p and I think 720p also. It might work with SD resolutions, but I didn't test this. High profile simply isn't even recognized by the LG media player. I did try all profile levels, it ate all of them. Perhaps someone else can figure out the maximum bitrate the device will play smoothly, and what the "maximum" resolution for the main profile is (and at what bitrate).
So if you're putting h264 HD material on there, put it in an mp4 container with AAC audio, and use the baseline profile. 10mbit/s worked fine for the 1080p source I tested with (Looney Tunes Short Fur of Flying).
spawndk said:
In short you cannot just throw any downloaded or home cooked video to the mobile and expect it play - it wont.
Click to expand...
Click to collapse
Hrms, can an app do this? Like for instance, on a desktop/laptop, Window's default player is not the greatest- however, here comes VLC player & it damn plays anything. My point is, can there be a App out there in our future that does this too for Android?
fen_nyc said:
Hrms, can an app do this? Like for instance, on a desktop/laptop, Window's default player is not the greatest- however, here comes VLC player & it damn plays anything. My point is, can there be a App out there in our future that does this too for Android?
Click to expand...
Click to collapse
An app on Android can not use the hardware acceleration! On a computer however, a program (like vlc) is able to use your full power!
Hi all
Read this guide "How to make videos to Optimus 2x using Handbrake"
http://www.knowyourcell.com/lg/lg-optimus-2x/optimus-2x-guides/697986/how_to_convert_videos_and_transfer_them_to_the_lg_optimus_2x.html
Hi.. THX that is great help.. Very interesting.... .
Do you think that we can expect some 3rd party video player using hardware acceleration of Tegra 2 in Market soon.? Playing .mkv and other HD formats.? Or it is not possible.?
I do not know, but if Tegra 2 will be used in other phones than Optimus 2x ... drivers might be upgraded to support more video types.
Walvater said:
An app on Android can not use the hardware acceleration! On a computer however, a program (like vlc) is able to use your full power!
Click to expand...
Click to collapse
RAWrrrRRR!! WHY?? Okay, I kinda get it thanks...
Its a fact that HW acceleration can only be used when/if Nvidia Tegra 2 drivers supports it.
But any app can play any format if it have the right SW decoder (using CPU).
Optimus 2x should be fast enough to play quality video (DVD resolution 720×576) using sole SW decoders
Isn´t Full HD on a mobilephone a total overkill and kind of waste?
If I want to se a movie on my Full HD Flatscreen I use my Media Center or BluRay player
im not sure what you guys looking for but all movies i downloded from internet just fly
gintas111 said:
im not sure what you guys looking for but all movies i downloded from internet just fly
Click to expand...
Click to collapse
What kind of movies
YouTube videos ?
Hi Mittaa,
how does it work with big files..? You can only put files up to 4 Gb on the SD card can't you..? So there is not enough room for 1080p movies..???
element332 said:
Hi Mittaa,
how does it work with big files..? You can only put files up to 4 Gb on the SD card can't you..? So there is not enough room for 1080p movies..???
Click to expand...
Click to collapse
As I said ... "Isn´t Full HD on a mobilephone a total overkill and kind of waste?"
FAT32 SD card can't handle files > 2GB
Maby you could split files and maby Android supports filessystems other than FAT16 and FAT32 ... I don't know
I think it is not a overkill. I don't have any way of getting HD content on my TV (BlueRay, Playstation, etc) so i can sure use this.
Or when I travel I can just plug my phone to the TV in the hotel room and watch the movie.
Overkill? Whats wrong with that?
Sent from my LG-P990 using XDA Premium App
HerrKuk said:
Overkill? Whats wrong with that?
Click to expand...
Click to collapse
I agree. This phone has the specs to run it, & space is up to the owner to use. I remember a headline from Engadget stating that the "the 2X has a crazy amount of codecs for video media" when it's released in S. Korea. .mkv is probably the most popular container for HD videos- disappointing the 2X does not support this...
HerrKuk said:
Overkill? Whats wrong with that?
Click to expand...
Click to collapse
How is it possible to play 1080X1920 on a 480x800 screen?
It might be possible to use 1080X1920 when using HDMI mirror, but then how much space do you have on your phone? And do you want to split files > 2GB?
OK ... if you use hard compression file size drops ... but then quality also drops to something that you can compare with DVD resolution!
What I ment was that I personally prefare a lower resolution in a good quality
DVD resolution 720×576 ajusted to my phone (MPEG4) take up about 1-2GB and I use to have around 6-8 good movies on my 16GB SD card.
I too hope that more formats will be supported ... at the moment its just not good enough ...
optimus 2x supports baseline profile 4.1
basically it means that most of the 720p media files you'll find in the internet won't play smoothly because they are encoded according to high profile or even have been encoded after specifically more quality wise settings
if you need to encode for 2x you basically need software such as handbrake, set on the iphone and ipod touch profile on the right and change the resolution to your preference up to 1920 width and then set the bitrate so that the maximum won't go over 20Mbit
basically avg 15 would be fine though because of the fat32 limitations 4 gigabytes, it would be wise to calculate the bitrate according to the maximum file size
i do not know if Android supports ExtFat, which supports much higher filesizes, but because of the baseline profile limitations it doesn't really make any real difference between 1080p 15kbit/s or 5kbit/s video stream nor does those additional settings in Handbrake software
there is no "almost lossless" settings for optimus 2x, only thing matters is the speed for reencoding the bloody internet

[Q] Divx playback (neverending story...)

Hi!
I have been struggling with this topic for a few days now. Read most of the threads written here on this too. I know about the limitation of hardware accelleration, and understand it. I have created presets for Mediacoder (+CUDA) perfectly working so that I can quickly convert what I want to a video format being very well played by on nook with hw accelleration.
I am aware of the fact that videos encoded with xvid/divx can only be played with software decoders. It's been reported here such videos are pretty well handled by players like Rock-,Mobo-,YXplayer and so on; I assume nook's CPU has enough power not to have issues with ~620x350 XVid encoded video. Well, mine seems to have one.
I tried out a couple of different .avi's I have. Just one specific example:
an episode of some TV show:
Video: 310 MB, 1037 Kbps, 25.0 fps, 624*352 (16:9), XVID = XVID Mpeg-4
Audio: 38 MB, 130 Kbps, 48000 Hz, 2 channels, 0x55 = MPEG Layer-3
This one is being played fine even on my old PPC Axim 30 (Intel XScale PXA270 at 624MHzwith TCPMP), but with no means on the nook. Test results:
- RockPlayer -> slide show
- YXPlayer -> slide show
- YXPlayer Neon -> slide show
- MoboPlayer - almost the one. The only one which plays completely flawless video, but the sound is out of sync, about 1 sec behind the video
What am I missing/doing wrong? Such a file should be a walk in the park for a Cortex A8 at 800MHz, shoudlnt' it? Is it about me using a rooted stock nook? Would froyo did the trick?
Regards,
Maciej
So you're on stock? Have you overclocked your setup? If so do you have governor set to Interactive and the Min. Cpu set to atleast 800mhz?
Matchay said:
25.0 fps
Click to expand...
Click to collapse
Found your problem. I find that the nook can only do 24fps or 29.999999fps. You must be trying to play a European program. Re-encode in Handbrake and change the "Framerate" drop down box to the NTSC Video setting.
While you are at it, in Handbrake and all, you might as well re-encode using x264 to take advantage of the Nook's hardware decoding...
poofyhairguy said:
Found your problem. I find that the nook can only do 24fps or 29.999999fps.
Click to expand...
Click to collapse
Generally? Or in terms of software divx/xvid playback? I re-encoded the file to H.264 WITHOUT changing the framerate and it works smoothly. For the hardware accel the framerate is not an issue.
I wonder what the problem could be: the sound isn't stuttering, the video is smooth, they are simply not synchronized. It cant be due to lack of power,can it?
Regards,
Maciej
The NC supports hardware decoding of MPEG4 (i.e. Divx/Xvid) Simple Profile but it has to be in a MP4 rather than AVI container. Unfortunately MP3 audio is incompatible with MP4 containers so the typical AVI needs to have at least the audio re-encoded for hardware playback on the NC.
It's not unusual to have poorly muxed AVI files where the audio and video end up out of sync when re-encoded. I'm not sure about Mediacoder but Handbrake does not easily allow adjusting the audio offset to compensate for that. You might try aviDemux (open source) as it does allow adjustment of audio offset. Unfortunately, it's trial and error to figure out the proper offset. If your Divx file is MPEG4 SP then you could just set up aviDemux to copy the video, re-encode the audio to AAC and mux in an MP4 container with the appropriate audio offset.
Matchay said:
Generally? Or in terms of software divx/xvid playback?
Click to expand...
Click to collapse
For me just software divx playback. My 25 fps files just never play well.
For x264 you can do any framerate up to 39 fps I think, as long as the bitrate is low enough. For me in Handbrake the magic number is a Constant quality of 22
@razmajazz
Sorry for the confusion. I have no issues with any x264 re-encoded file, as mentioned in my first post - my Mediacoder preset does its job perfectly.
I mean MoboPlayer plays the original Xvid video and audio very smoothly, they are simply out of sync, which doesn't look like a CPU power issue to me. As poofyhairguy said, it must be about the framerate and some incompability.
Re-encoding doesn't bother me, I only wanted to avoid it if possible for lower quality divx/xvid films. And the MoboPlayer seemed to be only an inch far away from the right solution.
I will do some testing in the afternoon.
Thanks,
Maciej
Are You playing videos on stock, rooted Nooks?
Or Froyo/CM7?
rooted stock
Try summer player, I tried many movies with that player and all seem to work well
Sent from my HTC Glacier using XDA App
angel7000 said:
Try summer player
Click to expand...
Click to collapse
Interestingly, Summer player plays all my files in fast forward mode
DSP drivers/Hardware video decoding is critical for smooth playback.
I dont know why the CPU cannot do it fast enough. (software decoding)
Thats why I'm on nookie froyo
No sync issues or anything with normal res videos from the interweb, no recoding needed, any decent MPEG4 player plays smooth.
Matchay said:
@razmajazz
Sorry for the confusion. I have no issues with any x264 re-encoded file, as mentioned in my first post - my Mediacoder preset does its job perfectly.
I mean MoboPlayer plays the original Xvid video and audio very smoothly, they are simply out of sync, which doesn't look like a CPU power issue to me.
Click to expand...
Click to collapse
Indeed I was confused. I thought both the original and re-encoded files had audio sync issues. As long as the video stream is MPEG4 SP, you may still just want to copy the video, re-encode the audio to AAC and mux in a MP4 container. It's pretty fast since you only have to convert the audio, you don't lose quality from re-encoding video and it plays back with hardware decoding on the NC.
Success!
Yesterday I ran nookie froyo from SD. MoboPlayer plays all files perfectly, no out of sync! It was that simple...
Thank you all for your suggestions!
Cheers,
Maciej

Categories

Resources