Related
Hi, there!
Is it possible to deploy native video codecs of Samsung Galaxy S to Htc desire ? I think in this way playback of video content become more smooth than in RockStar even!
and by the way, currently, RockStar player have problems with playing some video in system-mode.
I think that it will be a great success, and our device become realy multimedia-device if deployment of galaxy s video codec possible, and support of formats such as "divX", "avi" and other will be native to HTC desire.
so, is it possible or not ?
I don't think it's possible as the Galaxy S has another processor.
icecreammm said:
I don't think it's possible as the Galaxy S has another processor.
Click to expand...
Click to collapse
this is not the case both processer use the same arm instruction set, the problem would be to get out media player to load the codecs, these codecs might be hardcoded or statically linked into the mediaplayer
godutch said:
this is not the case both processer use the same arm instruction set, the problem would be to get out media player to load the codecs, these codecs might be hardcoded or statically linked into the mediaplayer
Click to expand...
Click to collapse
do you not need a licence to use the codecs the galaxy utilizes like divx and ffdshow? this would make it illegal to port them......
that depends on the country you are in and the codecs used (eg ffmpeg is free and open source but illegal in the US because it violates US software patents, in Europe the are no such legal problems)
godutch said:
this is not the case both processer use the same arm instruction set, the problem would be to get out media player to load the codecs, these codecs might be hardcoded or statically linked into the mediaplayer
Click to expand...
Click to collapse
Chances are that the codec utilize some sort of hardware acceleration/functions from the GPU, and these *are* different between the processors (PowerVR vs AMD).
Given that there are now several AVI/DivX players compatible with the Desire (e.g. Rockplayer, VPlayer, ArcMedia etc), this is far less of an issue than it used to be.
Regards,
Dave
Allow me to re-phrase this as my intent was apparently not clear: Is there a free player capable of high-quality accelerated decode for SGS and are there plans to incorporate this functionality into the Cyanogenmod code base?
Yes, I have read the Q&A and I am not happy with the answers presented there.
I tried moboplayer and others but really just want something that integrates with file browser and doesn't insist on indexing the media for it's own UI. Rockplayer is ok but seems unreliable and isn't totally free (certainly it isn't "Open"). Diceplayer is not free and not open either.
cheers
For what I know, you can't use the original Samsung APK in CM7:
http://forum.xda-developers.com/archive/index.php/t-1088687.html
Bye
This should be on Q&A.
OK, so are there any initiatives to get ffmpeg working in Android/CM7 then? That has native HW decode support and plays anything.
EDIT: Hmmm. https://github.com/halfninja/android-ffmpeg-x264
also: https://github.com/teamhacksung/ffmpeg-android more promising.
Moboplayer and Rockplayer are based on the same library that ffdshow is using, the ffmpeg libary. However, I believe that those players are not hw accelerated and there's nothing that they can do about it since the hw acceleration is only available when using samsung's own touchwiz framework (which the CM7 cannot use).
try dice player...
as for the thread...try q&a next time
ok, that makes sense. Presumably there's some magic going on with samsung's own kernel that we don't have then. That acceleration is likely the only redeeming feature of touchwiz. I hate the GUI but the acceleration worked nicely. If only the dependencies were easy to resolve and the hw accel could be ripped out.
siky_dude said:
try dice player...
as for the thread...try q&a next time
Click to expand...
Click to collapse
I looked at dice-player after seeing elsewhere but it isn't free and doesn't appear to be open. I don't see why core functionality like video playback should be a paid-for extra. Not make sense.
And yes, I read Q&A thanks but it didn't adequately address the issue.... My ask was relating to hw decode libraries and their availability in the general kernel. I know that recent (2.6.39 series) kernels have greatly improved HW decode support for VDPAU and VAAPI and I'm wondering how this translates to android.
All the reviews I have seen so far completely ignore media playback on the GN, or give it only a passing mention.
I'm really interested to know how well it handles media playback - AVI, MKV etc both on it's own screen, and over MHL to an HDMI connected screen - along with which specific MHL adaptor was used.
The SGS2 and HTC Sensation for example seem similar in spec, but when detailed reviews started coming in, it was clear the SGS2 was far superior in terms of media playback - both formats supported and fluidity of playback.
I'd love to get a GN, but I really need to know if the media playback is 'great' - and by great I mean 100% fluid on any reasonable file (up to 720p movies for example) - no skips, no out of sync etc... I'd also really like to know how well the MHL works in playing movies back on an HDMI connected screen - is it the same in terms of fluidity? What audio is sent over the cable?
Unfortunately here in New Zealand the device isn't released so I can't go try one myself, or else I would have already!
I'm not afraid of buying a good app if that's what it takes to have perfectly fluid playback - love to hear experiences with both the native and 3rd party payers on the GN.
Cheers - Neil G
I would also like to know about this.
Thanks
Theres a Diceplayer thread that says MKV work well, ive tried the trial version of it with 1 720p tv episode and it looked great.
not got any hdmi cables so cant test that but looked great on the phone.
AVI wasnt as good tho with what looked like a low fps problem.
do a forum search for Diceplayer for a bit more info.
r3k0 said:
Theres a Diceplayer thread that says MKV work well, ive tried the trial version of it with 1 720p tv episode and it looked great.
not got any hdmi cables so cant test that but looked great on the phone.
AVI wasnt as good tho with what looked like a low fps problem.
do a forum search for Diceplayer for a bit more info.
Click to expand...
Click to collapse
Yea and the developer posted something about fixes for AVI, so that bug should be gone soon. Diceplayer might be the best choice for GN as of now.
EDIT: Actually MX Player seems to be updated and people are reporting better playback than Diceplayer: http://forum.xda-developers.com/showthread.php?t=1362375
It works fine over MHL and on Diceplayer, i've recorded a video of it.
Uploading atm, I have poor upload speed so it'll be a while till I can link you.
Help please
I really want to buy this phone but i'm waiting to see how the volume issue resolves. But one of my major considerations is video playback. I have a huge collection of blu ray rips(1080p and 720p) and most of them are .mkv; does the galaxy nexus natively support .mkv files? Is there any file size limit on videos i put in the device?(the rips range from 3gb to 10gb). I know that the galaxy nexus doesn't support USB mass storage... does that stop me from transferring natively unsupported file types to the phone? Any help would be greatly appreciated
I believe Nexus does have USB storage.
For the MKV, it does play them natively, can you post a short sample? We could then give it a try. Two players are supposed to be able to play with hardware acceleration: Diceplayer and MX Player.
From what I know, 720p is not a problem at all. 1080p, might depend on bitrate and other things.
Finally got the video uploaded.
Includes play of 720p + 1080p files.
Good value imo, works well and doesn't look or feel too cheap.
Thanks for the video samples!
Thankyou sir, that's _exactly_ what I was looking for. I think I see some jumpiness in the playback, but I suspect that's actually youtube's fault. Certainly seems to handle 720 and 1080 fine.
Could you link to the exact MHL adaptor your purchased please?
Cheers - Neil G
talkiet said:
Thankyou sir, that's _exactly_ what I was looking for. I think I see some jumpiness in the playback, but I suspect that's actually youtube's fault. Certainly seems to handle 720 and 1080 fine.
Could you link to the exact MHL adaptor your purchased please?
Cheers - Neil G
Click to expand...
Click to collapse
It was checking out my friend's Galaxy Nexus and we noticed he had to install the codec pack on Android Market for MX Player before it allowed HW-accelerated playback of the specific clip he used, even though it played back fine in the stock player (though no sound). With the codec pack he could set it to HW for the video and SW for the sound. In the end it worked out great and I was surprised, considering the table of supported formats on developer.android.com didn't list MKV + h.264 as a supported format.
I've been using Dice Player and MX Video Player for 720P .mkv files on both my Thunderbolt and Rezound. The Thunderbolt had sync issues(even overclocked). With the Rezound, most of the time playback is fine, but occasionally will have a slight sync issue here & there.
Considering the specs of both the Nexus and the Rezound though, even with a possible 'stock' issue, it'd just be a matter of eventually loading a custom ROM & some minor modifications/tweaks here & there.
Another video demo (though not specifically of the Nexus). MHL is just mirroring so there's no difference in playback. If it works on the phone, it's exactly the same mirrored.
I can also confirm that it natively plays back AVIs (Xvid), sample: http://www.multiupload.com/GML7HC3HHM
schriss said:
I believe Nexus does have USB storage.
For the MKV, it does play them natively, can you post a short sample? We could then give it a try. Two players are supposed to be able to play with hardware acceleration: Diceplayer and MX Player.
From what I know, 720p is not a problem at all. 1080p, might depend on bitrate and other things.
Click to expand...
Click to collapse
Sure i'll upload a sample or two in a bit. I know for sure it supports googles own mkv container(vp8 or something) but does it support mkv + h.264?
talkiet said:
Thankyou sir, that's _exactly_ what I was looking for. I think I see some jumpiness in the playback, but I suspect that's actually youtube's fault. Certainly seems to handle 720 and 1080 fine.
Could you link to the exact MHL adaptor your purchased please?
Cheers - Neil G
Click to expand...
Click to collapse
It's off ebay, item no 220897013161.
Can get the same thing a bit cheaper from HK if you're prepared to wait a few weeks.
The jumpiness might have been because I had a lot of apps open at the same time, I just tried playing back the same files and they were perfectly smooth with only the browser open.
Again, thanks OP - really great info and I've just ordered and paid for a Galaxy Nexus from Clove
Cheers - Neil G
Just an update to the 'clipping' on the home screen, you need to switch OFF 'overscan' in the TV menu settings, it should look like this:
http://img198.imageshack.us/img198/5277/img0427wt.jpg
whyamihere said:
Finally got the video uploaded.
Includes play of 720p + 1080p files.
Good value imo, works well and doesn't look or feel too cheap.
Click to expand...
Click to collapse
nice video mate
blunden said:
It was checking out my friend's Galaxy Nexus and we noticed he had to install the codec pack on Android Market for MX Player before it allowed HW-accelerated playback of the specific clip he used, even though it played back fine in the stock player (though no sound). With the codec pack he could set it to HW for the video and SW for the sound. In the end it worked out great and I was surprised, considering the table of supported formats on developer.android.com didn't list MKV + h.264 as a supported format.
Click to expand...
Click to collapse
witch codec plz ?
le_pere_noel said:
witch codec plz ?
Click to expand...
Click to collapse
The ARMv7 ones. It never complained about needing them but it worked after installing them.
https://market.android.com/details?id=com.mxtech.ffmpeg.v7_vfpv3d16
A.Ik said:
Sure i'll upload a sample or two in a bit. I know for sure it supports googles own mkv container(vp8 or something) but does it support mkv + h.264?
Click to expand...
Click to collapse
Most of my files are MKV x264. 720p plays in hardware perfectly. I don't have many 1080p to try. also, 1080 move plays almost perfectly.
The only 1080p mkv x264 I have doesn't play in hardware for some reason.
Edit: MX Player seems best for me.
Sent from my Galaxy Nexus using xda premium
I just wonder why Archos G9 supports all multimedia formats with the same processor as our Kindle Fire.
We can watch MP4 video without any problems up to 1080p.
MKV format can not work in HW mode.
I think the problem is due to lack of video codecs in the Kindle Fire.
Anybody can pull them out of the firmware Archos G9?
no one interested in this?
The issue isn't the codecs. The issue is the HW decoder. I can play 1080p video on my KF ICS with MX Video Player, using the software decoder.
You can, but with horrible lags and 5-10 fps right?
I like this idea. Why not try it out, we've got nothing to lose. Maybe kindly ask in the Archos forum for someone to upload them?
this is not so easy... we need developers help.
animefun135 said:
this is not so easy... we need developers help.
Click to expand...
Click to collapse
You asked around in the Archos threads? What did they say?
Doesn't the G9s use the 4460 instead of the 4430? If so it's no wonder the hardware decoding is different.
*Wait, seems IVA3 can decode 1080p for both...difference is only in 3D...might look at this later.
What's the difference between the TI OMAP 4430 and TI OMAP 4460? Both the processor hardware can play 1080p. Yesterday I tried mp4 file with a resolution of 1920x1080 - he played without any lag.
The only difference is that the 4460 processor can play back 3D video in 1080p, and 4430 only 720. This is the only difference between these processors.
Archos specifically sold its codecs to support AC3 audio. Arcos independently developed codecs for their devices.
I tried to find firmware for the Archos G9, but I found it to extract the parts I could not, that would see what files are responsible for what codecs ..
We just need to find a way to add these same codecs for mkv. The hardware can play our processor such files.
After all, even the Chinese tablets are capable of playing 2160p in mkv format, so what our device worse than they?
Correct me if i am wrong but if i am not mistaken the videos canbplay back in software mode. That would imply that decoders are in place but the hardware decoder isn't working yet. The ICS build for the KF is still under development ... just wait till there is a actual beta build if you need video playback. If you have been following any other CM9 alpha builds you would see that gpu decoding has been a large hurdle but they have been making a lot of progress. ICS on KF just got sound and YouTube playback within the last week. Jackpotcalvin has made a lot of progress on the KF but he is going through some personal life problems ... I'm sure when he has more time that he will get ICS's video playback working. In the mean time use cm7 with the ice cream sandwich theme for cm7. ADW EX launcher runs great and has some pleasant themes that look great on cm7. Also add an ICS tag to the thread topic.
Step1Mark said:
Correct me if i am wrong but if i am not mistaken the videos canbplay back in software mode. That would imply that decoders are in place but the hardware decoder isn't working yet. The ICS build for the KF is still under development ... just wait till there is a actual beta build if you need video playback. If you have been following any other CM9 alpha builds you would see that gpu decoding has been a large hurdle but they have been making a lot of progress. ICS on KF just got sound and YouTube playback within the last week. Jackpotcalvin has made a lot of progress on the KF but he is going through some personal life problems ... I'm sure when he has more time that he will get ICS's video playback working. In the mean time use cm7 with the ice cream sandwich theme for cm7. ADW EX launcher runs great and has some pleasant themes that look great on cm7. Also add an ICS tag to the thread topic.
Click to expand...
Click to collapse
so you think that Android 4.0 will support more formats than MP4?
1080p - with ease ;P
lack of codecs guys?! - try to use MX video player (commercial ver.) or Mobo player (freeware & support additional codecs as XVID etc)
Are you serious or what?
These players can play avi Divx, Xvid only in software mode, with terrible lags at 1080p. Unpleasant to look even 720p. While the battery is still wildly discharged.
animefun135 said:
Are you serious or what?
These players can play avi Divx, Xvid only in software mode, with terrible lags at 1080p. Unpleasant to look even 720p. While the battery is still wildly discharged.
Click to expand...
Click to collapse
ti dot com /general/docs/wtbu/wtbuproductcontent.tsp?templateId=6123&navigationId=12843&contentId=53243
^---cut
Full HD 1080p30 multi-standard video encode/decode
Programmable DSP provides flexibility for future codecs VTC 1080p30
---cut
this is in HW mode, but also video in SW mode KF plays with good speed! it depends only on the player for now.
I tested on video with:
Codec ID: XVID
Bit rate: 4 089 Kbps
Width: 1 920 pixels
Height: 1 080 pixels
Scan type: Progressive
at present, players so far from perfection ;p
We really need BSPlayer or DicePlayer support... This players can play 1080 HD mkv video by hardware decoder. But for now both players don't work on Kindle Fire.
Please don't take this the wrong way (some get defensive when things about their device are questioned) but what's the point of having 1080p video playback on a display that can't even do 720p and on a device that has no video output? I just always wondered what the fascination was, because a 1024x600 video is going to look the same as that 1080p video on a 1024x600 display.
CTTKDKing said:
Please don't take this the wrong way (some get defensive when things about their device are questioned) but what's the point of having 1080p video playback on a display that can't even do 720p and on a device that has no video output? I just always wondered what the fascination was, because a 1024x600 video is going to look the same as that 1080p video on a 1024x600 display.
Click to expand...
Click to collapse
the advantage is that you don't have to re-encode your existing video data...
Once someone implements a USB host it might be useful, but as it is now with a limited screen and limited storage I don't think this is a priority for much people. A 720p, or even 420p video should be more interesting for now.
Hello,
Can't we just spoof an omap 4430 device that has HW video decoding in BsPlayer/DicePlayer? Does anyone know how to do this?
I know for example that Galaxy Nexus has omap 4460 and that is very very similar regarding hw video decoding to kindle fire and it is supported by DicePlayer.
Any thoughts?
The Archos G9 standard has a 4430 and the turbo has a 4460. Our resident dev for the Archs is surdu_petru.
Hi at all,
the well-known problem, when we play an hw-accelerated video file (just like a 720p mkv ) is that the subtitles aren't ouputted to TV throght hdmi-mhl. That's because when the hw decoding is used, only the video layer is ouputted.
This is the answer form the diceplayer google group :
"Hi,
The overlay including subtitle when HW accelerated should be supported by manufacturer. The Android framework does not have any interface for HDMI (MHL), so the HDMI output depends on manufacturer's implementation.
But the most devices do not support the HDMI output with the overlay, so it is to hard to support it.
Thanks."
Click to expand...
Click to collapse
So, I think that this is the only missing thing to make out GNEX a perfect media player, better than an atom + ion platform.
I saw that here in XDA, there is a project for the galaxy S2:
http://forum.xda-developers.com/showthread.php?t=1335549&page=3
A video player that can output subtitles over mhl... (unfortunatly not ICS compatible)
So, If galaxy S2 can, why the GNEX not? we have an "open" platform where to develop software...
I ask to everyone that can help with this project, if someone knows where to start debugging the problem: software or hw related? what libs are involved in this?
If someone give me a starting point i'll try to spend my free time to figure out a possibile solution. I'm not used to gnex development, so I need a starting point from expert developers...
Btw, any kind of info that anyone can provide I think it will be useful.
Thanks,
WZ
FYI, the HW decoder inside our chip sucks. There are a lot of videos that can be decoded by HW by nvidia purevideo in NG-ION but our phone decoder fails.
I know this because I use and love the GNex and also the technical manager of a company that sells HTPC and PC HW in general.
So is this project worth it? I say yes if the purpose is to make subtitles work over hdmi, otherwise for real world usage I say no.
bigeyes0x0 said:
FYI, the HW decoder inside our chip sucks. There are a lot of videos that can be decoded by HW by nvidia purevideo in NG-ION but our phone decoder fails.
I know this because I use and love the GNex and also the technical manager of a company that sells HTPC and PC HW in general.
So is this project worth it? I say yes if the purpose is to make subtitles work over hdmi, otherwise for real world usage I say no.
Click to expand...
Click to collapse
I watch every night hd mkv and mp4 files before go to bed: and every single file i've ever tested was reproduced correctly by hardware. It never fail.
It's obvious that if I had to reproduce a blu-ray I go throght my ion htpc on living room, but on my free time I use the GNEX + diceplayer and it never failed to reproduce anything.
I make a REAL use of this.
Wing_Zero85 said:
I watch every night hd mkv and mp4 files before go to bed: and every single file i've ever tested was reproduced correctly by hardware. It never fail.
It's obvious that if I had to reproduce a blu-ray I go throght my ion htpc on living room, but on my free time I use the GNEX + diceplayer and it never failed to reproduce anything.
I make a REAL use of this.
Click to expand...
Click to collapse
The file problem is dependent on which files you use, for my file pool, I'm not as lucky. But anyway if you don't have something to post for your post in DEV section, this is not the right place for your post AFAIK.
bigeyes0x0 said:
The file problem is dependent on which files you use, for my file pool, I'm not as lucky. But anyway if you don't have something to post for your post in DEV section, this is not the right place for your post AFAIK.
Click to expand...
Click to collapse
I'm looking for some dev-infos. So the dev-section it's obviously the most logical choice.
Wing_Zero85 said:
I'm looking for some dev-infos. So the dev-section it's obviously the most logical choice.
Click to expand...
Click to collapse
Your thought is correct but he's right, you should post it in general.