DivX for Android - Android Software Development

Hello folks!
What a great new: http://bit.ly/qnyWC
Samsung Galaxy Spica i5700 will be the first Android Phone with DivX support. I'm sure it cuold be ported to other Android devices (with enought RAM).

have to say that this will be an interesting one to watch, id looked for a divx player for ages now and most people seemed to think that with the current sdk it wasnt possible.
There is a thread on the vlc forums discussing it all.
Wonder if it uses a hardware decoder to process it all?! - ive got no idea!
still looking forward to seeing it in action

I suppose a strong processor will be needed... I don't know.

Now to get some information about what "divx" actually is. Divx is an implementation of Mpeg4-ASP in the avi container. What the samsung devices has is the ability to play .avi/.divx(really the same thing) files. The G1 and other android phones can play the content of the file but have no real understanding of the container. Think of it this way. Divx is the box. Mpeg4-asp is the goodies insides. In the same way .MP4 is the box and mpeg4-asp again is the goodies inside. Currently most devices have no way to open that divx "box" to get to the goodies it can use inside. What would need to be done is to make some kind of libary using say NDK that opens the .avi/.divx and exposes the mpeg4-asp data to the media player.
What really bothers me is the general publics like of understanding of the difference between the Container, MKV, MP4, AVI, DIVX, OGG. And the codec, h.264(Mpeg4-AVC), divx/xvid(Mpeg4-ASP), theora, and vorbis

realjumy said:
I suppose a strong processor will be needed... I don't know.
Click to expand...
Click to collapse
i don't know about that because my old blackberry storm was able to play divx files out the box and that had the same spec as the G1.

Related

No DivX Player for N1?

How come there are no divx player for this pretty device yet? I tried yxflash but it only played the first 20 secs.
hotr0d said:
How come there are no divx player for this pretty device yet? I tried yxflash but it only played the first 20 secs.
Click to expand...
Click to collapse
The paid version plays full video
huzz said:
The paid version plays full video
Click to expand...
Click to collapse
I know but how come it's not readily available from the box?
Umm this app requires you to give them your IMEI number, i'snt that a bad idea?
i found this post on twitter
"CorePlayer News: CP 2.0 for Android is CPU agnostic. ie; works on any ARM, x86, x64 or MIPS. Now lets try and make it work against 1.5 - 2.1"
so i hope something will happen very soon!
I bought yxplayer, only to have it be very jittery playing AVI files.... So I ended up using Doubletwist to convert and sync the videos to my N1 and this works flawlessly.
However, if Coreplayer comes to the N1, this will indeed be awesome. I was using it on my HD2 work phone, and its top notch, I'd pay double the Winmo version for it if it was to come out on Android!
There is talk of the Bravo playing divx out of the box, so hopefully it can be ported across.
I have an archos 5 internet tablet with android 1.6 and archos has their own hardware accelerated video player its ridicules it plays pretty much every video formats including 720p mkv and 720p youtube videos, and most audio codecs including ac3.
Wonder if someone here could figure a way to port it to the N1.
You can download the firmware/ROM free on their website
jump to 7:00 min in first clip
http://www.youtube.com/watch?v=uF1IIg-EjmQ
http://www.youtube.com/watch?v=ZiCsbXxEigw
also the archos has a 4.8 screen but runs at the 800x480 as the N1
and its specs are lower than the N1
http://www.archos.com/products/imt/archos_5it/specs.html?country=us&lang=en
so if it´s true that the upcoming htc bravo will support divx out of the box because of the included nexplayer, it should be portable to the n1 i guess...
source
http://www.mobiletechworld.com/2009...-support-to-be-enabled-by-nextreaming-player/
There is actually no such thing as "DivX".
What they are selling is actually H.263/MPEG4-ASP and using a BAD VALUE FOURCC.
As a result, ALL players can play so-called "DivX" files as long as you fix the fourcc and package it in a sensible container (i.e. 3gp or mp4). No transcoding is required unless the video uses a bitrate or resolution that is just too far out of the devices specifications to decode.
Repackaging is trivial -- you can just run the files through ffmpeg with -f option to set a sane fourcc and setting the audio and video codecs to "copy".

XVid codec

Yesturday I downloaded from Market YXFlash app, which is a kind of codec for XVid and a few more video formats. My question - if mobilesoft done it, I mean comiped xvid codec for arm on Android, can you - Android hackers do the same and publish here? I would like to say, that YXFlash works fine on my N1.
That would be amazing! Someone has gotta know how
Unfortunatelly I do not know C-family languages at all, so I can not do it my self... I was very sorry of xvid codecs lack in G1, but I understanded that is result of G1 processor limit (MSM7201A), which doesn't support this codec. According to QSD8250 specyfication - it should be possible to do it - to create codec (for coding and encoding) in other formats then h.264.
gmadajczak said:
Unfortunatelly I do not know C-family languages at all, so I can not do it my self... I was very sorry of xvid codecs lack in G1, but I understanded that is result of G1 processor limit (MSM7201A), which doesn't support this codec. According to QSD8250 specyfication - it should be possible to do it - to create codec (for coding and encoding) in other formats then h.264.
Click to expand...
Click to collapse
my TPRO can play divx with coreplayer and tcpmp with msm7201A so its not do with the processor.
babijoee said:
my TPRO can play divx with coreplayer and tcpmp with msm7201A so its not do with the processor.
Click to expand...
Click to collapse
Yes, you are right, because I read that mentioned app works also on G1. I think, that thanks Snapdragon support divix/xvid playback should be smoother and faster and not so processor-power consuming (read battery-saving).
This is a pointless discussion.
The codec (enCOder-DECoder) is HARDWARE -- built into the same package as the CPU.
XVid is more properly known as H.263, which is FULLY SUPPORTED by the hardware codec, not only for GN1, but also for OTHER android phones all the way back to and including DREAM.
There are two things *definitely* standing in the way of just playing back an "xvid" video file: 1) Demuxer applicable to the container that the video is contained in, i.e. ogm, avi, mkv, etc., 2) FOURCC -- when using the xvid h.263 encoder, the fourcc will be (incorrectly) set to "XVID" when it *should* be set to "H263". Regardless of this, the chip doesn't care what the FOURCC is, just the media player (which needs to know the stream details in order to set up the decoder chip).
There can be other issues involved in playing back the file... bitrate/resolution exceeding codec limits, audio encoding incompatible, etc.
On a side note the excellent core player should be coming out on android soon enough,they seem to be in testing stages now.
I would be shocked if coreplayer was out for android this year. The s60v5 version has been "in the works" for over a year now I think, and porting from s60v3 should be cake. Coreplayer 2.0 is the DNF of mobile apps
bradsh1 said:
I would be shocked if coreplayer was out for android this year. The s60v5 version has been "in the works" for over a year now I think, and porting from s60v3 should be cake. Coreplayer 2.0 is the DNF of mobile apps
Click to expand...
Click to collapse
sadly, i know what DNF means, lol
timothydonohue said:
sadly, i know what DNF means, lol
Click to expand...
Click to collapse
Time to kick ass and chew bubblegum and im all out of gum!
bradsh1 said:
I would be shocked if coreplayer was out for android this year. The s60v5 version has been "in the works" for over a year now I think, and porting from s60v3 should be cake. Coreplayer 2.0 is the DNF of mobile apps
Click to expand...
Click to collapse
Is there track record that bad ?
They didnt do the iphone because they were shutdown by Apple.
They keep posting progress including screenshots for Android.
twitter.com/corecodec
http://img158.yfrog.com/i/6zxx.jpg/
They already got sound and UI done, hinted that progress was going better than expected. As for YXFlash... it sucks for certain videos and after 2 minutes, BOOM! tough actin tinactin!

Why don't we have DivX playback yet?

Samsung I5700 Galaxy Spica is available, brings DivX to Android
16 November, 2009
http://www.gsmarena.com/samsung_i5700_galaxy_spica_is_available_brings_divx_to_android-news-1259.php
Click to expand...
Click to collapse
Released more than 3 months ago.
So... What's the hold up?
Yes i was wondering that too!!!
I mean when i copy an .avi movie to my phone, the only player that manages to play the file is the yxflash with awful perfomance...so what in the heck ?
There is 1GHz cpu behind this device!
Coreplayer for android is still in the works so we all just have to wait on that.
yxflash plays xvid without any problem in my nexus one
kiowa79 said:
yxflash plays xvid without any problem in my nexus one
Click to expand...
Click to collapse
From everything I've read and heard, your experiences are definitely in the very very small minority, as you can see clearly even from this very thread, just two posts above
F i L said:
Yes i was wondering that too!!!
I mean when i copy an .avi movie to my phone, the only player that manages to play the file is the yxflash with awful perfomance...so what in the heck ?
There is 1GHz cpu behind this device!
Click to expand...
Click to collapse
When you compile crap it is still crap. Even if you run it on a Snapdragon.
CorePlayer was very good on WinMo, so let's hope they bring it to Android soon.
Coreplayer FTW!
My understanding of the "no Divx" issue, has more to do with Android OS not supporting the codec.
The reason why Coreplayer isnt out yet is exactly this reason. Once theres a codec supporting HW accelleration, then Coreplayer will be released.
cheetah2k said:
Coreplayer FTW!
My understanding of the "no Divx" issue, has more to do with Android OS not supporting the codec.
The reason why Coreplayer isnt out yet is exactly this reason. Once theres a codec supporting HW accelleration, then Coreplayer will be released.
Click to expand...
Click to collapse
Yup, and if you go to coreplayers website, they have a blog/forum discussing this... in it, they point out that they have been working very closely with Google on improving the NDK and SDK so that it has native support. Following 2.0/1 being released, they announced it had the graphics and framework, and that they were hoping the next version would/will have the codecs... it also seems it is possible the NDK just needs to be updated, not even the entire OS itself, although that might be a bit dirty for such a huge increase in codec support.
Screw codecs, i want VLC player on my phone.
liam.lah said:
Screw codecs, i want VLC player on my phone.
Click to expand...
Click to collapse
VLC isnt even on Winmo...
jz9833 said:
Coreplayer for android is still in the works so we all just have to wait on that.
Click to expand...
Click to collapse
I would expect a very long wait if I were you. How long has coreplayer2 been in development now?
bradsh1 said:
I would expect a very long wait if I were you. How long has coreplayer2 been in development now?
Click to expand...
Click to collapse
android 1.5 wasnt capable of it due to a crappy SDK.
2.1 with the new developers tools should get the job done, but who knows
liam.lah said:
Screw codecs, i want VLC player on my phone.
Click to expand...
Click to collapse
VLC needs codecs too. Its developers just decided to include the codecs with the app instead of relying on the OS's codecs.
That is exactly what the CoreCodecs team is doing btw.
Very easy workaround
This a very quick and easy workaround to divx and xvid.
Download avidemux from here http://fixounet.free.fr/avidemux/download.html
Then re-code the file, but here's the secret - keep the video as it is "Copy". Change the audio to aac, and re-save it in an mpeg4 containter (m4v). The whole process take about 3 minutes for a full-length 800MB movie. The resulting file can be played smooth as silk in the stock player.
AMoosa said:
This a very quick and easy workaround to divx and xvid.
Download avidemux from here http://fixounet.free.fr/avidemux/download.html
Then re-code the file, but here's the secret - keep the video as it is "Copy". Change the audio to aac, and re-save it in an mpeg4 containter (m4v). The whole process take about 3 minutes for a full-length 800MB movie. The resulting file can be played smooth as silk in the stock player.
Click to expand...
Click to collapse
Tried this just now (previously tried with other tools in Jan). Was hoping....but it didnt work
src: XviD(BVOP/Packed Bitstream)/mp3, AVI
dest: (copy)/AAC(FAAC), MP4
The new file plays fine on my PC but only the audio plays on the n1(default movie player and act1 player)
britoso said:
Tried this just now (previously tried with other tools in Jan). Was hoping....but it didnt work
src: XviD(BVOP/Packed Bitstream)/mp3, AVI
dest: (copy)/AAC(FAAC), MP4
The new file plays fine on my PC but only the audio plays on the n1(default movie player and act1 player)
Click to expand...
Click to collapse
That's too bad.
But then again, even if it does work, the whole point is that it would be nice to play our videos WITHOUT having to re-encode like Spica-owners can do.
http://www.engadget.com/2010/03/17/samsung-galaxy-spica-grows-up-to-android-2-1/
The Spica is now 2.1.
What in the HELL is the hold up?? DivX should have been ported to ANY other Android device ages ago
In addition to changing the container, you also have to change the FOURCC. That is just a 4-character code identifying the video encoding. Your phone won't recognize any stupid crap like DIVX or XVID -- it will only recognize the CORRECT fourcc, which is H263
The hold up is that codecs are part of the framework, and almost all Android video players just use the frameworks video playback facilities. To add DIVX playback you'd need a rooted device.
Additionally, I'll bet the Spica's divx playback is limited to a max resolution/bitrate like Android's h264 support.
SilentMobius said:
To add DIVX playback you'd need a rooted device.
Click to expand...
Click to collapse
I think a lot of people who would want this have root already or (would be willing to) anyway. Plus, there are already plenty of apps on the Market that are root-only.

Playing Divx/Xvid and Mkvs on Tmo Tab

I can barely play any codecs on my tmobile tab. Is it suppose to play Divx or xvid out the box? or do different carriers' tabs have different video codecs?
Also is there a stock video player app installed or can you only play out of the Gallery app?
I've already tried rockplayer and vplayer, both have video and audio lag for divx 720i videos.
ANd if other carriers tabs have more codecs can i install thme in my tmo tab?
The Tab plays more video out of the box than any other Android (or Apple) device I've ever used, and I've used most.
Now if you're trying to play videos you've (ahem) gathered from around the net, you will certainly find some that won't play properly. "Found" videos can have a truly phenomenal combination of audio codecs, video codecs, and bitrates, any of which might prevent proper playback.
While you cannot directly add codecs to Android (as yet), there are third party video players that will handle just about anything.
Rockplayer is one of these third party players. While it will play nearly anything thrown at it, it's not hardware accelerated (doesn't use the GPU) so it is largely limited to lower bitrate, standard definition videos.
http://www.appbrain.com/app/rockplayer-universal/com.redirectin.rockplayer.android.unified
if you actually read all that I posted you will see that i have tried RockPlayer.
And trust me I know enough about video codec, bitrates, and depths (Visual Effects/Graphics Artist) to tell you that I'm trying basic Divx and Xvid codec at a decent to low Bitrate and they are not working on Stock Video player and will not run smooth enough on rockplayer do to lack of graphic acceleration.
ALso, No the Samsung tab is not the Leader of COdec in the ANdroid Tablet market. The ARchos tablets (70,101 etc) lead in stock codecs by far (I own both a samsung tab and a 101).
Thanks... I guess
The only codec that is accelerated is h.264 in any container. So, mp4 and mkv work fine even at 1080p resolution.
If you encode your movies in h.264 and set Rockplayer to use hardware decoding mode down low in the settings, you'll have no problem viewing it.
Sent from my GT-P1000 using XDA App
synplex said:
ALso, No the Samsung tab is not the Leader of COdec in the ANdroid Tablet market. The ARchos tablets (70,101 etc) lead in stock codecs by far (I own both a samsung tab and a 101).
Click to expand...
Click to collapse
It's true that the Archos can play a lot of video formats, but I don't put it in the same category as other top Android devices because it's so lacking in other areas.
Sorry I just perused your previous post, but I've truly had very few problems in playing video on the Tab, even with "found" videos.
In fully reading your post, my question to you would be, Why Divx? If you're encoding video specifically for use on the Tab, why not encode to h264?
I have the Sprint SGT, and I have zero problems with 720 mkv and avi files, regardless of who encoded them. The stock player renders them as smooth as silk. It also has a 5.1 mobile mode for AC3 audio tracks. And the control lock means I can wipe fingerprints off the screen off with my shirt without disturbing playback. My only complaint with the player is the lack of a skip button.
I have read other complaints from other SGT users about poor or stuttery playback, and I'm quite baffled. The only file that would play were 720p mov files. Other than that, I've had zero problems.
Rockplayer was awesome on the Evo, but its useless for me on the SGT. Its now useless for me on the Evo, but thats because I don't even bother watching videos on the Evo anymore.
Wait... I did encounter one problem. I downloaded the newest version of mkvmerge to split mkv files into <2GB parts, and those files will not play on the SGT. But I mostly watch TV and those files top out at 1.5 GB. But xvid avi is no problem. Dunno about divx for sure, I never really use it.
well i have problems with sound playing 1080p BRRip H264 AAC-.mp4 files i get no sound,does anyone know why?
Is this your own rip or did you... uh... find it laying around?
Thank you all for the replies.
Im using Divx and Xvid because those are the native file formats I'm downloading from a sever/email at work on to my SGT on the go. If I could I would convert to mp4 or h264. Is there a android video converter app that can do did?
Yes I heard that the Sprint SGT can play Divx and some MKV out the box (my friend has one), why is that? Different native video player? If so can I get it extracted for my Tmobile Tab?
ALso I never said Archos are on the top on android Tablet List, I was pointing out that they have Much more codecs out the box "Leaders in Codecs out-the-box"
Lastly Rockplayer is studding on me, giving me about 20-25fps when my video files are 30fps. Also audio sometimes lags on Divx and mkv files.
What is the latest version Rockplayer app out there or is there a better video app for SGT??
Have you tried VPlayer??? I prefer it over Rockplayer
synplex said:
Yes I heard that the Sprint SGT can play Divx and some MKV out the box (my friend has one), why is that? Different native video player? If so can I get it extracted for my Tmobile Tab?
Click to expand...
Click to collapse
Very interesting. I do have the Sprint Tab, perhaps that's why it plays almost everything I throw at it.
I'd never considered that different versions of the Tab would have such a major difference in codec support. I'd figured Samsung was responsible for paying the licensing fees for the various included codecs. Looking at the reality of these significant codec differences, it makes me wonder if the codec licensing fees aren't instead forced on the carriers themselves. That's the only reason I can fathom to explain the codec differences.
The Sprint ROM's are online here. My guess is that you could certainly pull the necessary files out of the Sprint rom and run them on your device. That said, I've absolutely no idea how the codecs are packaged and which files and libraries you'd need.
my tmo tab being a gsm device might not play nice with a sprint rom. And I have no idea how to take apart a rom or how to add codec to mine tab.
Anyone have any other options?
Also I have tried v player and same result as rock player
So far my tab has played all my video files with out a problem, (mostly .mkv animes) i have to use mkv sub extactor (from the market) to get subtitles to work. Rockplayer would go out of sync after 5mins of 720p .mkv
RockPlayer can play h.264 720p MKV videos using hardware acceleration as long as they don't have DTS audio (as many do when they are real BluRay rips). If you play TV rips they generally work since they are not using DTS. Dolby audio might work in HW mode as well, I am not sure.
You can play DTS audio though, but only in software mode . But the processor in the SGT cannot keep up with both DTS and h.264 in 720p. I think it might manage 480p with DTS though.
synplex said:
my tmo tab being a gsm device might not play nice with a sprint rom. And I have no idea how to take apart a rom or how to add codec to mine tab.
Anyone have any other options?
Also I have tried v player and same result as rock player
Click to expand...
Click to collapse
From what I've read, most incompatibilities between GSM and CDMA versions of the Tab have to do with communications related apps, limitations that should have no impact on the video app.
I would think it's extremely likely that the Sprint video app and/or codecs would run flawlessly on other versions of the Tab. Ripping apps from ROM's and deodexing them is not my forte, but there are many in the developer forums who are very experienced in that sort of thing.
I use mVideoPlayer. It plays everything I throw at it.
Galaxy Tab
zozodouce said:
well i have problems with sound playing 1080p BRRip H264 AAC-.mp4 files i get no sound,does anyone know why?
Click to expand...
Click to collapse
Probably because it's a 1080p H264 file and you're trying to play it on a device with a 1Ghz processor, and no hardware acceleration for video playback. It can't cope.
Geletis said:
From what I've read, most incompatibilities between GSM and CDMA versions of the Tab have to do with communications related apps, limitations that should have no impact on the video app.
I would think it's extremely likely that the Sprint video app and/or codecs would run flawlessly on other versions of the Tab. Ripping apps from ROM's and deodexing them is not my forte, but there are many in the developer forums who are very experienced in that sort of thing.
Click to expand...
Click to collapse
....Anyone?
Filgaliel said:
I use mVideoPlayer. It plays everything I throw at it.
Galaxy Tab
Click to expand...
Click to collapse
If you read the app detail for mVideoPlayer, it only play videos/codecs your phone/tablet can already play. It doesn't add anything or help at all. It's just a skin that takes up app space.
...thanks anyway
Hanson68 said:
Is this your own rip or did you... uh... find it laying around?
Click to expand...
Click to collapse
downloaded from the net.

[Q] Chances for better hardware-accelerated media playing?

Hi Iconia-Lovers,
I really love my Tab for web-browsing and gaming, but you have to admit it sucks at video playing. MP4 and 3GP are crappy formats that are hardly used in RL und converting your whole video and movie collection isn't a real option.
I had have an Archos A70 which plays even 1080p MKV flawless with a single core 1GHZ CPU, but relies on an additional decoding chip if i get this right.
In theory, the Tegra 2 has more than enough power to play 1080p files, right?
I already tried like 6 different media players but all of them weren't able to play 720p mkvs nice and even non-HD-avi-files felt a little slowed-down.
So can we hope for a hardware-accelerated media player that enables alle the joy of moving pictures for us? Will possibly acer itself help us out on this issue? What are Samsung and Motorola doing on their Gingerbread tablets to enable nice media playing?
Hoping for a better tomorrow
Cheers
pint
pintness said:
Hi Iconia-Lovers,
I had have an Archos A70 which plays even 1080p MKV flawless with a single core 1GHZ CPU, but relies on an additional decoding chip if i get this right.
Click to expand...
Click to collapse
you sure about that?? my 101 throws a fit with 1080p mkv videos and both use the the firmware.
but i agree, i would love better video support on the iconia, since it runs circles around my archos when it comes to everything else.
pintness said:
Hi Iconia-Lovers,
I really love my Tab for web-browsing and gaming, but you have to admit it sucks at video playing. MP4 and 3GP are crappy formats that are hardly used in RL und converting your whole video and movie collection isn't a real option.
I had have an Archos A70 which plays even 1080p MKV flawless with a single core 1GHZ CPU, but relies on an additional decoding chip if i get this right.
In theory, the Tegra 2 has more than enough power to play 1080p files, right?
I already tried like 6 different media players but all of them weren't able to play 720p mkvs nice and even non-HD-avi-files felt a little slowed-down.
So can we hope for a hardware-accelerated media player that enables alle the joy of moving pictures for us? Will possibly acer itself help us out on this issue? What are Samsung and Motorola doing on their Gingerbread tablets to enable nice media playing?
Hoping for a better tomorrow
Cheers
pint
Click to expand...
Click to collapse
Tried VPlayer? it costs like $4/ £2.30 but it can play practically all standards, not sure how it fares for 1080p tho.
I had it playing .avi and .mkv fine though.
Vplayer--
Video formats: divx/xvid, wmv, m4v, flv, rmvb, avi, mkv, mov, mp4, 3gp, ts, tp...
Streaming: http, rtsp, mms and m3u(apple http stream, m3u8)
I use UPnPlay (network streaming) along with MoboPlayer and it has played everything i have on my NAS very well.
Also I know Rockplayer gives you the option of hardware/software decoding so you may want to give that a try if you haven't already. There is a free version.
Both moboplayer and rock player are useless for my 720p and 1080p videos... total stutterfest, but that's a known thing for tegra devices on 3.0...
Sent from my A500 using Tapatalk
godashram said:
Both moboplayer and rock player are useless for my 720p and 1080p videos... total stutterfest, but that's a known thing for tegra devices on 3.0...
Sent from my A500 using Tapatalk
Click to expand...
Click to collapse
Hmmm... I use moboplayer, and every 720 did I've tried has been great! I haven't tried any 1080p vids though.
tested 1080 quality....the videos lag and the audio missing....
hope acer will figure it out....
Avatar & 10,000 B.C. in 1080P using UPnPlay & MoboPlayer streamed from my WD NAS, looks great. No lagging at all.
not another one of these threads..
edgie168 said:
not another one of these threads..
Click to expand...
Click to collapse
Guess what? You aren't being forced to read this thread.
lord_voldemort666 said:
Guess what? You aren't being forced to read this thread.
Click to expand...
Click to collapse
Guess what? It pushes down other, more quality threads.
Guess what? There's already something like 6 or 7 threads EXACTLY LIKE THIS ONE already.
Guess what? People need to learn to use the search function.
Guess what? Guess what? Guess what?
^ If you don't like it, report it to a mod and move on...
edgie168 said:
Guess what? It pushes down other, more quality threads.
Guess what? There's already something like 6 or 7 threads EXACTLY LIKE THIS ONE already.
Guess what? People need to learn to use the search function.
Guess what? Guess what? Guess what?
Click to expand...
Click to collapse
Guess what? You've just caused this thread to get bumped several times.
XP
I have been trying all the suggested encoders to get smooth playback for film material as 60/50hz works fine. I maybe more sensative to it than others as I tent to look for it on moving objects. But I got it to replace a media player too.
I tried the script posted in another thread with good results but the jump is still there.
Bought DVD Catalist 4 with same results.
Freemake with custom profile same again.
Handbreak I find too slow but I read it works but can't verify it.
Any Video Converter Pro with xoom profile WORKS - it has very little judder but having to strip the subtitles out of the MKV every time is a real pain ( Anyone know how to disable them ) and it's too expensive anyway.
Trying to edit DVD Catalist 4 profile now but no success yet
Oh and I tried Vplayer , Rockplayer , Moboplayer and any others I could find
Hope my two weeks at this helps somone else out.
@RaveOn911
With any problem, you need to find its parameters. Only a handful of people notice the "micro-stutter" deal, so it's either a user sensitivity issue, or a tablet-centric issue (which could be hardware or software, user-caused or device defect).
Ask somebody to watch a video clip on your tablet, and ask them if they see anything wrong with playback. Don't tell him beforehand about "micro-stutter", as you don't want to bias his observation.
If he notices the stutter, it's your tablet. If he doesn't, it's you.
If the first, then bring a video clip on a uSD card into a store and try it on other tablets (hopefully with same or similar make as yours). If it doesn't happen on other tabs, then replace your tab. If it happens on every other tab, then again it's you.
If you have heightened sensitivity, then there may be params that can alleviate the issue. The default interleave for MP4Box is 0.5s. You can reduce this interleave, eg
MP4Box -inter 250 -add infile.mp4 -new outfile.mp4
(or)
MP4Box -tight -add infile.mp4 -new outfile.mp4
MP4Box works on MP4 only. Given that MKVs can only play in software mode currently on Teg2 tabs, it's a fool's errand to play MKV and claim that they don't play smoothly. Avail of the native support.
Mobo Player plays my mkv and xvid/divx AVI's just fine. I'm no codec/encoding expert, but from what I've read it's worth re-encoding some of the files to a more manageable bitrate for both audio and video and maybe dump the 5.1 or AC3 audio. I haven't looked at every file I've played, but a couple that would choke on my Win7 Asus netbook, I re-encoded with Handbrake. They still look and sound great.
e.mote said:
Given that MKVs can only play in software mode currently
Click to expand...
Click to collapse
I understood that that's the whole point the OP was trying to make: he wishes that someone makes a video player application that can handle MKVs via the hardware decoder. It's not a bad thing to wish for, either; it would provide better performance and hardware playback uses less battery, too.
The question remains: is it possible? As far as I know, the chip itself doesn't get relayed anything more than the actual video stream inside the file, regardless of the container, and thus an app should be able to do exactly that. But since I don't know anything about Android internals are applications given any such access?
My N900 phone uses regular GStreamer stack and thus you can demux anything you want and supply the video stream to the hardware decoder. As long as it's H.264 normal profile and not too high a resolution it'll play, regardless of the originating container.
There's nothing wrong with wishing, but until it happens, we have to use what we've got. For HC, for now that means MP4 for native support.
3.1 thus far has been worse than 2.x insofar as multimedia, probably because vendors have had 2.x for much longer, and were able to add enhanced support. A good case in point is the Samsung GalTab 7 vs the GalTab 10.1. The 7, released last year, can play MKV. The new 10.1 can't. Ditto for all the "my old phone can play MKV, why can't my tablet" complaints. It is what it is.
From all indications, HC was and is a rush job. It had to be pushed out the door because of competition from the iPad. I think the prospective buyer should understand that s/he is buying into a beta, and temper his expectations accordingly. Android has high potential, but now isn't then.
I've written a script that does fast remux/convert to MP4. A straight remux takes a few minutes, and it can process batch. It's a more productive route than wishing for a HW-accel player to come along.
http://forum.xda-developers.com/showthread.php?t=1102922
e.mote said:
It's a more productive route than wishing for a HW-accel player to come along.
Click to expand...
Click to collapse
I suppose that's a matter of viewpoint.
I took a look at the MediaPlayer class in Google's APIs and it seems to me that it should be fairly straightforward to demux the MKV file in software on-the-fly, create named pipe with mkfifo and feed the MediaPlayer class the raw video stream via that. Just throw a simple GUI on top of that and you have a rudimentary video player capable of playing MKV files with hardware accelerated video.
I'll try it out once I receive my tablet, was planning to learn Android programming anyways.
PS. Bah, doesn't allow me to post links yet :/

Categories

Resources