Playing AVI files - Hero, G2 Touch Themes and Apps

Is there an app which can play AVI files?

i think i will bump this as this is a most have and a down side to owning a hero !

Forward the notion.

I'm with you on this. Not being able to play .sci is a real pain.
I've also put some .mp4 files on which haven't played either for some reason. Does anyone know if there is a specific format for video on the hero? Is there a specific converter anyone is using ?
Cheers,
HP

Using something like Handbrake to convert your videos should work. If it has a setting for Apple iPods/iPhones just use that.
Or, it should support the following:
- MP4 container format
- MPEG-4 AVC (also known as h.264) video, max [email protected] (try main profile, try disabling CABAC and B-frames for more reliability)
- AAC (AAC-LC) audio, 48khz suggested sample rate
- Keep overall bitrate low, try from 800kbps to 2000kbps

like most mobile devices, ofcourse there is a limit on the codecs supported, and what levels and settings in the codec that work.
In the current state, all / most clips that are _above_ the native resolution won't play at all. And as a quick rule: H264 @ level 2.1 will work, maybe some 3.0 stuff also works, but I don't know.
Basicly, make sure the MP4's you have are iPhone compatible but 480x320 or lower resolution and the Hero will play them fine.
Any video converter tool (handbrake / Megui / Mediacoder / commercial tools) wil work if you give them the iPhone preset.
About playing AVI files, nobody has written anything yet. Don't really know why people didn't jump on the bandwagon for this kinda of thing. Mostly some sort of ffmpeg-based player will appear quickly on a platform. Maybe it's the java development thing.
Anyway, convert your video's to iphone compatibility at the moment and they should play fine.

Keep in mind that AVI is an older, inferior container format to MP4, and the MPEG-4 ASP (DivX) codec often used with AVI is inferior to MPEG-4 AVC (h.264) usually used with MP4. So you aren't being ripped off in terms of quality or technology. They just neglected to support the older format. Hopefully apps can bridge the gap in future (apps with native libraries that is, not the virtual machine). Given the lower system requirements, I'd say that it would probably be capable of playing an AVI/DivX file encoded up to 640x480x30fps (my old Nokia with a 369MHz CPU can come close).
For best results, however, use handbrake to convert from the original, or from your existing AVIs, to a nice ipod compatible, 480xsomething pixel MP4. Go direct from the original to MP4 (without AVI in between) for even better quality.

however, still after converting that video lags all the time (closed all apps either)

Did you update to the latest firmware? The original shipped firmware has a known issue that the video 'stutters' every second or so for a bit.

ah oaky, this might be the problem... waiting for donut released officially by htc for hero

Related

Best Video Media (Movie) Player - Must be optimized for Nvidia Tegra Processor

I have installed the ROM Mod(s), Flash & Market but still have not found the ultimate Media Player app that has been optimized to run on the Nvidia Tegra Dual Core processor.
Still working with RockPlayer and have yet to optimize their settings but there should be other candidates that are a must try too. I am looking for an Android Client that will play all the major Codecs (including Blue-Ray) and will automatically keep them updated so it is seamless to the end user.
Please post your Pros & Cons of media player Apps that you have tried. Also, looking at Google TV, Hulu and other streaming IPTV apps that are a must have. Any availble that take advantage of the Nvidia Tegra hardware?
Once the docking station is available (which includes HDMI connection), you will be able output to your 1080P large screen. This is going to kill cable TV and make the GTablet even more useful around the house.
EKS
let me know if you find anything I would be interested as well.. xy player I tested on my phone.. the qual wasnt great
So here is what I found out so far. The Nvidia Tegra 2 processor has video encoders built into its chip. These are the specs from their Web site.
Specifications
Processor and Memory Subsystem
Dual-core ARM® Cortex-A9 MPCore™ processor, up to 1.0 GHz
32-bit LP-DDR2, DDR2
Ultra Low Power NVIDIA Graphics
OpenGL ES 2.0
Programmable pixel shader
Programmable vertex and lighting
2x 3D graphics performance of previous generation Tegra
Full High Definition Multimedia
1080p H.264/VC-1/MPEG-4 Video Decode
1080p H.264 Video Encode
Supports multi-standard audio formats, including AAC, AMR, WMA, and MP3
Upgraded JPEG encode and decode acceleration
Rockplayer media player "hardware mode' does not activate on the Tegra 2 when I try several different video formats. It is rumored that Rock Player is working on a beta release that will be optimized for the Nvidia Tegra 2 processor.
From their Web site:
"...RockPlayer support two playback mode: Normal Mode and System Mode. The Normal Mode means RockPlayer will use the playback engine coming with the player, which supports almost all video formats with good enough performance. System Mode means RockPlayer will invoke the playback engine built-in Android system, which support very limit formats but may take advantage of hardware acceleration, which means saving battery. By default, RockPlayer use Normal Mode for playback. You may long press on the file in file list view, touch "Choose playback mode" in popup menu to switch the mode. You may also change the default mode in settings...."
From Rock Player Web Site:
Support Types
Version ARM V7 : Google Nexus One, HTC Desire Incredible EVO , Moto Milestone XT800, Droid Series,Acer Liquid, Samsung Galaxy S, Sony Ericsson X10 ,Dell Thunder Streak, LG LU2300 .ect
Version ARM V6 VFP: Samsung SHW-M100S GT-i5700 ,HTC Legend ,etc.
Version ARM V6 : All models left running Android support ARMv6 instruction set.
Nothing yet for the Tegra 2 - Dual-core ARM® Cortex-A9 MPCore™
==============================================================
EDIT: Rock Player runs on the Toshiba Fiolo 100 (a Tegra 2 platform) but it is NOT "hardware" optimized. Early reports are that it works but still a little slow. The stock media player on the Toshiba is also not hardware optimized, runs only a few of the available video codecs and seems to function well.
Edit: From Android Market the most curent version of RockPlayer is 11.47 optimized for ARMv7VFPV3D16 processor. Nothing yet for Tegra 2 as of 12/01/2010.
Rumor is that Nvidia is developing an integrated media player optimized for the Tegra2. Not too sure how far along they are on the project or if it is just talk.
From their Developer's Web Site:
XBMC
XBMC is an award-winning free and open source (GPL) software media player and entertainment hub for digital media. XBMC is available for Linux, OSX, Windows, and the original Xbox. Created in 2003 by a group of like minded programmers, XBMC is a non-profit project run and developed by volunteers located around the world. More than 50 software developers have contributed to XBMC, and 100-plus translators have worked to expand its reach, making it available in more than 30 languages.
Sooner or later there s/b an optimized Tegra 2 media player that seamlessly utilizes all the encoder/decoder functions this processors offers.
It appears that the most recent version of FLASH (version Adobe Flash Player 10.1.120.1.apk ) may be optimized for this processor. I do know it works quite well.
EKS
Give mvideoplayer a try from the market it works ok on my other tablet. Haven't tried it on the grab yet.
Sent from my DROIDX using Tapatalk
amathophobia said:
Give mvideoplayer a try from the market it works ok on my other tablet. Haven't tried it on the grab yet.
Sent from my DROIDX using Tapatalk
Click to expand...
Click to collapse
It works fine here too... but it's Not tegra optimized... though doesn't seem to need to be...
jtbnet said:
It works fine here too... but it's Not tegra optimized... though doesn't seem to need to be...
Click to expand...
Click to collapse
What video formats did you try? It does not run the following formats for me:
IMAX 1080p BluRay DTS x264
720p BluRay a264 DTS WiKi * (played first time but when stopped and restarted software would not play)
H264
avi
* Not sure why I have the error. Maybe I need to reinstall and try it again.
I do like the mVideoPlayer database and the way it catalogs your videos along with a Poster image.
The RockPlayer will play all of them but all in software encoding mode. RockPlayer plays the avi file ok but the other formats are still a bit clunky.
All my movies play on the Windows PC configured with either (1) windows media player or (2) Classic Cinema Player AND the K-Lite Codec package (all freeware).
The Nvidia Tegra solution s/b a general video media player that loads the K-Lite Codec package but optimized to take advantage of the built in encoders in the processor.
Flash 10.1 seems to have optimized their apk to certain processors (I think the latest update recognizes the tegra).
It's probably still a bit early in the development cycle and we will see these types of players soon.
Over all, I am very satisfied with the Gtablet but a bit frustrated that I can not take advantage of the excellent processor.
EKS
mvideolayer - alternate file location
I am running tnt lite 2.02. I can't get mvideoplayer to look for the files on scard2. Any tips for changing this?
Never mind; I had a typo. Mvideoplayer found the sdcard2 once I added it andspelled it correctly. My bad.
so far, my fav is rockplayer....use it on my DINC too
has anyone had any luck with this, Im really hoping to rip my blu rays to an external drive and play them off of this thing
Nsato said:
has anyone had any luck with this, Im really hoping to rip my blu rays to an external drive and play them off of this thing
Click to expand...
Click to collapse
Just a thought... if you're ripping your Bluray collection, why not encode them to fit the device? Make perfect 1024px wide MP4 files... No scaling, no extra CPU cycles wasted.
I originally posted this in Roebeet's thread:
I'm on 2.0.4, and the tab has been rock solid stable for me (I think maybe only 1 force close total over 2 full days). I've rebooted it many times, installed apps/games from market/etc. I don't use BT though.
Regarding videos (I'm using rockplayer), they're a little choppy for me on the more processor intensive codecs. I copied an mpeg2 VOB file to test, and it plays a buttery smooth 30fps. Also, I reencoded toy story 3 (movie only, to about 1.5GB) w/ the xvid codec (don't have the damn specs unfortunately, but it was about 1.4GB's), and it plays at a smooth 30fps as well. Comparing the stream to the mpeg2 original dvd, there's a very clear loss of quality here, so I'm thinking the xvid codec isn't very efficient.
Moving onto more processor intensive codecs (read: efficient), the fps drops. I reencoded toy story 3 again using handbrake and h264 w/ a set file size of 1.5GB, and fps can drop down to as low as 15fps during scenes where there's motion (probably due to a higher bitrate). This encode looks VERY clean/pretty much indistinguishable on the pad to the mpeg2 stream to my eyes, whereas the xvid had a lot of artifacts in the stream. Youtube framerate clearly drops at times like the h264 encoded stream I made, but both are certainly bearable.
Seeing as how the Nvidia drivers are seemingly new, and it isn't even using hardware encoding for these videos (the tegra2 is stated to have hardware decoding of various mpeg4 formats), it seems pretty good to me. That's what has me wondering exactly what the changelog is for these Nvidia "experimental" drivers. I'd love to see higher framerates on the more processor intensive codecs, and I'm sure we will in time. We just need better drivers from Nvidia and more app devs to enable hardware decoding on the tegra2 chipset. We all just need to be patient here.
To add to this, I was tinkering w/ the tab some more tonight, and am still on 2.0.4.
After trying to play the videos, I tried playing the toy story encodes in the default "video player" and "Movies" and they both appear to have a better frame rate than Rockplayer. Anyone have any idea why that would be? I'm going to assume they decode the codecs differently, but is it possible the "Movies" video player uses hardware encoding? I can't get the framerate to pop up like in rockplayer, but it appears to be smooth and doesn't drop any frames.
Oh ya to add, the movies I reencoded are dvd quality and I help the same resolution.
Is anyone having problems with tnt (v2.2) and no sound in the built in players?
joedhimself said:
Is anyone having problems with tnt (v2.2) and no sound in the built in players?
Click to expand...
Click to collapse
Nope. No problems here.
Has anyone tried vplayer? I am using the stock ROm with the mods to get AngryBirds working and adding in market and I get an FC when I try.
Just an update.
On TNT Lite 2.2, Rockplayer seems to work now with Hardware decoding, and mpeg4 seems to play smoothly now, no longer dropping frames.
has anyone tried vplayer?
i tried a 720p mkv file but it wouldn't play. it just kicks me back out to the app. it doesn't work for an mp4 file that i converted either. the mp4 file works on other players though. the mkv also works on other players but its laggy and theres no audio.
was really hoping i could play 720p mkv files without having to convert them. wanted to be able to just drag and drop files onto the gtab and play it.
picked up my tab yesterday, have loaded several movies in several formats. both rockplayer and mvideoplayer are force closing right and left. I have tried avi and mpeg-4 and i have tried using both side loading vias mass storage as well as sdcard2...what am I doing wrong?
when rockplayer goes to playback screen... is says "please" und/und and wants me to pick one
and mvideoplayer says "no videos found" although i added sdcard 2 folder and even created a subfolder under "movies" to reduce load time.
nickalfano43 said:
picked up my tab yesterday, have loaded several movies in several formats. both rockplayer and mvideoplayer are force closing right and left. I have tried avi and mpeg-4 and i have tried using both side loading vias mass storage as well as sdcard2...what am I doing wrong?
when rockplayer goes to playback screen... is says "please" und/und and wants me to pick one
and mvideoplayer says "no videos found" although i added sdcard 2 folder and even created a subfolder under "movies" to reduce load time.
Click to expand...
Click to collapse
I used mp4/m4v and it played with the stock Android movie player. Great quality...
nickalfano43 said:
picked up my tab yesterday, have loaded several movies in several formats. both rockplayer and mvideoplayer are force closing right and left. I have tried avi and mpeg-4 and i have tried using both side loading vias mass storage as well as sdcard2...what am I doing wrong?
when rockplayer goes to playback screen... is says "please" und/und and wants me to pick one
and mvideoplayer says "no videos found" although i added sdcard 2 folder and even created a subfolder under "movies" to reduce load time.
Click to expand...
Click to collapse
I had same issue with stock firmware, neither rockplayer or mplayer work.
Installed TnT-Lite or Zpad firmware, ... both players + stock movie player work fine & smooth.
Hope this help.

[Q] NC: xvid, Rockplayer and quality?

Can anyone with a *rooted* NC tell us a bit about video quality on the device. Basically, I am curious about the capabilities to play "scene" quality xvid/classic divx materials. Ie conforming to specs.
I kind of guess that the processor would hold up, but I am not sure.
I am only interested in locally stored content, ie on sd card (for simplicity's sake, let's assume that we have a plain vanilla SDHC card).
Cheers,
My experience with Rock and other players except the standard one (and that was for MP4 only) has been less than stellar.
Like other users on here, I am getting audio-visual lag, leading to me having to pre-convert everything for the device in order to get a working copy. The lag is slight on AVI files and MKV files grind down to a slideshow while the audio stays straight on, leading me to believe that whatever back-end conversion is being done on-the-fly is killing the processor.
My guess is that once we have Froyo (or god willing, Gingerbread), we'll have much better MKV and AVI playback. Until then, I suggest conversion if you've got the time or Rockplayer if you don't mind a bit of lag on AVI files. Hope that helps!
An unrooted NC plays my AutoGk 480p rips in the built in player if you remux it into an .mp4 file with AAC audio.
I get lag also. Weird thing is if you stream a video from the twit app it looks really good and no lag at all.
Sent from my ADR6300 using XDA App
Ok guys, great, I appreciate the info - thanks!!!
ThePettyTyrant said:
An unrooted NC plays my AutoGk 480p rips in the built in player if you remux it into an .mp4 file with AAC audio.
Click to expand...
Click to collapse
This is something most people don't realize you can do. The video stream in an xvid/divx avi CAN be read by most mp4-friendly devices. But it's in a container they don't know how to read, and may have an auto track they can't read.
You can remux is with any one of a number of tools to drop it into an mp4 file without reencoding the video (and, depending on the source material, possibly reencoding the audio, which is super-fast on any modern machine).
Since the stock NC has no frame buffers enabled video performance will suffer ... when it is eventually enabled (it will be) performance should be good.
I was going to start a thread similar to this but more asking what format is best on the NC.
I've tried some standard xvids in rockplayer, and there is a slight lag on the audio. But enough that makes it annoying to watch.
When rockplayer first opens a video, I get a prompt on hardware or software decoding, I tried hardware and obviously that fails.
So does the NC support hardware assisted format? if so, what format exactly? What codec, bit rate limits, accepted resolutions etc. And not only for smoother playback, but I assume hardware assist would save (a lot?) on battery performance.
I used it encode a lot back in the day, using tmpgenc, virtualdub and avisynth, but I haven't touched any of that in ages. Has someone wrote a guide regarding this specific to the NC?
If you look at the Nook Color spec sheet, one of the supported video formats is H.264. I've gotten hardware-assisted playback of H.264 on my Nook - plays and looks great.
However!
The Nook only supports H.264 baseline profile. If you use Handbrake to encode, use the iPhone/iPod preset as a starting point. Then you can up the bitrate, resolution etc from there.
Another note: I've found the built-in player does not know about anamorphic ratios, so the videos are scaled incorrectly.
sark666 said:
So does the NC support hardware assisted format?
Click to expand...
Click to collapse
Yes. Sort of.
The OMAP3621 does have dedicated video decoding hardware. Unfortunately, it's pretty well locked down by the manufacturer. You don't get access to the hardware without a license, which means most (all?) 3rd party players aren't going to be able to utilize it. It sucks, but it seems to be par for the course for smartphone/tablet chips these days.
Another note: I've found the built-in player does not know about anamorphic ratios, so the videos are scaled incorrectly.
Click to expand...
Click to collapse
The OMAP3621 does have dedicated video decoding hardware. Unfortunately, it's pretty well locked down by the manufacturer. You don't get access to the hardware without a license, which means most (all?) 3rd party players aren't going to be able to utilize it. It sucks, but it seems to be par for the course for smartphone/tablet chips these days.
Click to expand...
Click to collapse
Well, I was going to say I'll use rockplayer so I don't have to add borders or something to force aspect, but then I read no one else can access the hardware encoder and this is typical?!
Sigh.. It never ends the way they try and lock these devices down. This sure ain't the pc world (which it should be, but they are trying to get it 'right' this time.)
So you refer to the TI, is this also true of the Nook Color?
At any rate, I'll remuxing as suggested earlier in this thread to mp4 container. What the best (hopefully free/open source) remuxer these days?
I used YAMB but I don't know if something better exists. If you use YAMB, you'll have to convert any AC3 audio to AAC ahead of time. I didn't test if MP3 audio is supported.
Hopefully VLC will be ported to Android too, would seem to be a more "natural" fit than the iPad it currently runs on!
sark666 said:
but then I read no one else can access the hardware encoder and this is typical?!
Click to expand...
Click to collapse
Yes, very.
If it's any consolation, it's not the device manufacturers or android team that is to blame, it's the chip manufacturers. The SoC in the NC is made by TI, who licenses all the different cores they stick in their chips. In this case, the video decoding hardware is part of the SGX530 GPU core licensed from PowerVR. While TI pays for the right to use the core in their chips, any software dev who wants to actually take advantage of the decoding hardware has to pay PowerVR for the drivers that allow them to do so. It's pretty crappy from our perspective, but it is their IP so it's their prerogative. I'm sure the chip, device and software makers would all prefer to use open hardware, but there are not currently any open GPU cores out there. At least, none that come within a mile of the "locked down" ones.
The M4V fileformat plays awesome on the NC and the quality is exceptional even with smaller filesizes (370ish megs for a full length movie) No lag at all.
The player I use is: mVideoPlayer (Free)
search for “mVideoPlayer” without the quotes in the android market.
PS It can play most (if not all) formats supported by Android/NC.
OMAP 3621 has a C64x+DSP
The OMAP 3621 has a C64x+DSP. That should be usable for hardware video decoding. In fact I beleive that TI has made video codecs available for their DSPs in the past, and there was even a Google Summer of Code project to create a Theora codec for the DSP.
This TI page tells you that the 3621 has a C64x+DSP: http://newscenter.ti.com/Blogs/news...ers-costs-for-ebook-manufacturers-305022.aspx
Droidish said:
The M4V fileformat plays awesome on the NC and the quality is exceptional even with smaller filesizes (370ish megs for a full length movie) No lag at all.
The player I use is: mVideoPlayer (Free)
search for “mVideoPlayer” without the quotes in the android market.
PS It can play most (if not all) formats supported by Android/NC.
Click to expand...
Click to collapse
I'll second that. mVideoPlayer is the best thing going, also does subtitles if you've got them (use same filename, eg. MyVid.m4v + MyVid.srt)
If you end up converting videos I have had success with Handbrake (nightly build) using the iPhone profile, 720px width, 2 ref frames. Video bitrate at 900kbps seems to be enough (650kbps for Pixar films).
I think the B&N website explicitly states that the hardware video decoder renders everything to 854x480 and upscales all video to fit the screen. If you're converting just for the NC, it might be a waste to go above that resolution.
testulous said:
I'll second that. mVideoPlayer is the best thing going, also does subtitles if you've got them (use same filename, eg. MyVid.m4v + MyVid.srt)
If you end up converting videos I have had success with Handbrake (nightly build) using the iPhone profile, 720px width, 2 ref frames. Video bitrate at 900kbps seems to be enough (650kbps for Pixar films).
Click to expand...
Click to collapse
Ah yeah about the subs... In mVideo If you long press on any movie in your list one of the options is to download subs for that movie (there are some other things hidden there as well). It doesn't always find them but the option is there.

[Q] Hardware H.264/MKV support...sucks?

I'm a heavy video watcher, so I naturally loaded up my Captivate with tons of videos, thrilled at the idea that I didn't need to convert them first...or so I thought.
While playback performance is superb on even HD content with subtitles, it seems that hardware acceleration will only work with files encoded at 23.976fps Playing files encoded at other framerates (like 30fps, or a few variable-framerate files) results in completely out-of-sync video and audio.
Now, I can maybe excuse lack of VFR support, since timecode implementation might not be so simple (I wouldn't know), but why can't my Captivate play videos at their correct framerates? Videos are perfectly in sync when playing in software mode (using players like VPlayer and RockBox), but performance is poor in comparison. That leaves me to re-encode a good portion of my videos using AviSynth--hours and hours of setup and encoding time--just to end up with a workable framerate for my Captivate.
I just want to make sure this isn't just an isolated issue, as I've had this problem on both my original and my replacement Captivates. Anyone think this should be fixed by Samsung in their Froyo release?
I convert lots of videos (BD and standard DVD discs) for use on my Cappy. Some I leave at 23.97, others I switch to 30fps. All play fine in both mkv, divx, mp4 and h.264 formats. I use PavTube Ultimate Video Converter as it reads BD discs, even those with copy protection (The Dark Knight, for one, as well as rental discs). Works great and the vids look stunning on my Cappy.
Miami_Son said:
I convert lots of videos (BD and standard DVD discs) for use on my Cappy. Some I leave at 23.97, others I switch to 30fps. All play fine in both mkv, divx, mp4 and h.264 formats. I use PavTube Ultimate Video Converter as it reads BD discs, even those with copy protection (The Dark Knight, for one, as well as rental discs). Works great and the vids look stunning on my Cappy.
Click to expand...
Click to collapse
Hmm, interesting. The files in question are all mkv's that have framerates of 29.97 (constant framerate) or 23.976 (variable framerate). They have various resolutions and audio encoding. Every single one of them is heavily out of sync on my Captivate, even after remuxing into an mp4 container, although they play fine on my laptop. Using AviSynth and FFDshow to convert the framerate to 23.976 (constant) allows the videos to play fine on the phone.
A small bump: Another major issue I have with H.264 content seems to be seeking. Although I can't figure out whether this is caused by the video itself or the phone (since the videos always play and seek fine in VLC), the issue only seems to occur with H.264 videos in MP4 containers (not with MKV's).
The first set of videos are all MP4's made by extracting the H.264 streams from MKV's (all 23.976fps), re-encoding them at 800x450 resolution (using AviSynth and FFDshow on my desktop), and putting them into MP4 containers. The reason I converted them was to embed .ass softsubs as styled hardsubs (since styled .ass support is lacking in Android video players). Every single one of these videos will not manually seek past around 14:06 on my phone (they seek and play fine on my computer). If I seek to around 14 minutes and let the video play (or just let it play from the beginning), it will play through just fine, but attempting to seek beyond that causes ANY video player on my phone that relies on hardware acceleration to freeze (software codec players like RockBox and VPlayer will seek fine).
The second set of videos are exactly the same, except they are 640x480 resolution and they were encoded on my laptop (still using AviSynth and FFDShow). These videos will not seek past 3:25 seconds on my phone without freezing the player (once again, they play and seek fine on any computer). On top of that, these videos will NOT play through on their own: at some random point in the video (different each time), I get an error message saying "Sorry, the video cannot be played" (in any player relying on hardware acceleration), and then the video frame will freeze while the sound continues to play in the background.
Note that this only happens with MP4's: the MKV's have no problem playing or seeking, but they are out of sync if they are not at 23.976fps (constant) and I want my styled subtitles. Can anyone else reproduce issues like this? This has happened so far on TWO Captivates, whether on stock or running custom ROM's (I've used Cognition, Cezar's and Darky's with various kernels). I'm very confused and running out of ideas, I've already been asking about this on video encoding forums and haven't found a solution.
Edit: Nevermind these additional issues. I solved them by using FFmpegSource instead of DirectShowSource, now all my videos play and seek fine. However, this doesn't solve my issue with different framerates being out of sync.

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] New update -> MKV support ?

Hello everyone,
I'm new here, I don't know nothing about what you are all talking about here ^^ BUT a friend told me that the new update allow the O2X to play MKV files > Is that true ? He told me trough an email.
I happy with the version I have right now and if it supports mkv with the new update, I will definitely install it.
Thanks for reading me.
I think we could always do it with certain programmes because the mobile can process it. But according to wikipedia, 4.0 reproduces mkv natively so yes, it should.
ads88 said:
I think we could always do it with certain programmes because the mobile can process it. But according to wikipedia, 4.0 reproduces mkv natively so yes, it should.
Click to expand...
Click to collapse
can you provide me the link please :victory:
dawizard11 said:
Hello everyone,
I'm new here, I don't know nothing about what you are all talking about here ^^ BUT a friend told me that the new update allow the O2X to play MKV files > Is that true ? He told me trough an email.
I happy with the version I have right now and if it supports mkv with the new update, I will definitely install it.
Thanks for reading me.
Click to expand...
Click to collapse
Hi friend,
Yes the latest V30a ICS update allows MKV format to play on native video player app.Also flv video format is also supported by the native video player.Checked on my O2x.Just that 1080pi full HD videos are not supported yet.So have fun watching vids or movies without the inconvenience of converting
arvindlakra21 said:
Hi friend,
Yes the latest V30a ICS update allows MKV format to play on native video player app.Also flv video format is also supported by the native video player.Checked on my O2x.Just that 1080pi full HD videos are not supported yet.So have fun watching vids or movies without the inconvenience of converting
Click to expand...
Click to collapse
Thanks I will definitely update ! Mkv + hdmi on the O2X make it a good device.
:good: for the flv, my friend didn't know that
The O2X has been able to play MKV's since Gingerbread...but only to a low profile level. MKV's downloaded (tv shows etc) are all 720p HIGH Profile and the phone could not support that as the Tegra chip couldnt handle the HIGH profile.
Are you saying that our phones can now play 720p HIGH profile MKV's...because, if it can, I may actually update!
ruggs1234 said:
The O2X has been able to play MKV's since Gingerbread...but only to a low profile level. MKV's downloaded (tv shows etc) are all 720p HIGH Profile and the phone could not support that as the Tegra chip couldnt handle the HIGH profile.
Are you saying that our phones can now play 720p HIGH profile MKV's...because, if it can, I may actually update!
Click to expand...
Click to collapse
i try using mxplayer, with 720p High profile @L4.1 still the video lags and not smooth using s/w decoder. i think with handheld, it can't play mkv with high profile. only use low profile and it's playback smoothly
Thanks to Ncyde47 on another thread here...a much better explanation....
You can run 720p or 1080p fluid.. spawndk from the eepad transformer forum:
"The Tegra2 chipset are designed as a mobile sollution chipset - to support web 2 standards. The highest encoding profile used here (Youtube 1080p) are 1080p baseline and this the Tegra2 chipset will both record and play with no troubles. As well as 720p baseline and main profile - but only upto L3.1 with some limitations. It doesnt matter which container is used (mkv, mp4, m4v, avi etc) and it doesnt matter if resolution are 1080p - its only a matter of the encoding profile used to encode the supported video format H264
Tegra2 will NEVER be able to decode High profile L4.1 encodes - it's not a software issue, neither in terms of Honeycomb or Nvidia libs, its simply a limitation of the abilities of the hardwaredecoder in the Tegra2 chipset and this will never change. It is also not a limitation in the Transformer specifically, but a limitation in ALL Tegra2 based tablets and mobilephones.
This is the same reason why some mediaplayers like the Boxee Box that was originally intended to use the Tegra2 moved on to an Intel chipset before launch.
In short the Tegra2 chipset will support playback of videos encoded in 1080p or 720p resolution, using the H264 video codec and AAC audio codec - as long as the video are encoded after the baseline profile standard
It will not now or ever - play 1080p/720p encodes encoded after the high profile standard."
So basically, you have to reencode videos just like on ipad..
ruggs1234 said:
The O2X has been able to play MKV's since Gingerbread...but only to a low profile level. MKV's downloaded (tv shows etc) are all 720p HIGH Profile and the phone could not support that as the Tegra chip couldnt handle the HIGH profile.
Are you saying that our phones can now play 720p HIGH profile MKV's...because, if it can, I may actually update!
Click to expand...
Click to collapse
Friend,
As you said that O2x was able to play MKV video format since GB but in a low profile level.But after the O2x was updated to latest V30a ICS upgrade the native video player app is supporting more formats and can play 720p high profile MKV video formats.I tried to play 720p BRRIP x264 dual audio.mkv movie and it played smoothly, without any audio delay as experienced in GB.Only problem that i faced with native video player was that i was unable to select the preferred audio language in dual audio mkv file as there is no option to select audio language.Other wise native video player is superb:good:.
Thread moved. Please post all question threads here in Q&A in future where they belong.
Thanks
AvRS
that is great to know. love mkv.
L3.1 can be called High profile yet and O2x can handle it with 720p. sometimes i find some video that physicaly gets over phone posibilities. its played with HW decoder and its not very smooth.
if you want to made 1080p videos, use handbrake and set the settings with tegra decoding possibility manual. But i dont know if something changed with ICS, but i was not able mount SD card with other FS than fat32 and there is not posible to have file with more size than 4GB and its not enough for 1080p movie in low profile
arvindlakra21 said:
Friend,
As you said that O2x was able to play MKV video format since GB but in a low profile level.But after the O2x was updated to latest V30a ICS upgrade the native video player app is supporting more formats and can play 720p high profile MKV video formats.I tried to play 720p BRRIP x264 dual audio.mkv movie and it played smoothly, without any audio delay as experienced in GB.Only problem that i faced with native video player was that i was unable to select the preferred audio language in dual audio mkv file as there is no option to select audio language.Other wise native video player is superb:good:.
Click to expand...
Click to collapse
You attached thumbnail indicates that what you were sucessfully watching was indeed an MKV file (a 720p rip) but it does not indicate the profile of the file.
Most downloaded high definition MKV video files, especially tv shows, are MKV files (at 720p) encoded to HIGH profile level 4.0 or above. In Gingerbread these files would not play unless they were converted to mp4 at a lower profile than HIGH (I used BASELINE). This is a limitation of the Tegra 2 chipset in the phone.
Your Cloverfield file is an MKV, but I strongly suspect that the profile of the file is lower than HIGH (the file size is too small for a high definition, HIGH profile encoded movie with that runtime)
Sadly, im still not convinced the phone will play an MKV high definition file encoded at HIGH Profile 4.0 or above. And I dont intend to risk upgrading to ICS (with all the problems that could bring) to find out.
However, I would love to be proved wrong....

Categories

Resources