[Q] h.265? - One (M9) Q&A, Help & Troubleshooting

Hey. So I understand that HTC isn't using h.265 encoding despite it being one of the potentially killer features of the 810 (hopefully they do in a future update).
But what really disappoints me is that I can't seem to get h.265 hardware decoding to work...
Has anybody else gotten it to work somehow? It'd be great as software decoding doesn't seem to cut the mustard...

h.265 hardware decoding works now using MX Player HW+ mode on the latest firmware (1.40.709.8). Here's hoping that encode becomes available sometime in the future (either via a third party app or from HTC themselves as an advanced setting in the camera settings).

Related

Is H.264 supported or not?

I installed coreplayer on my AT&T Tilt2, and it says, for a video I want to play, that AVC aka H.264 is not supported by the player. I have seen sites that say it is, and it isn't supported. What is the story, and is there any way to have coreplayer play this video or do I have to convert it?
thanks!
as far as i know all usa phones support h.264 streaming but as for the playback you'll need to use a new media player (try vplayer).
There are several different profiles of H.264. The hardware only supports Baseline profile, many sites are using Main or High profile for their streams. Hardware acceleration won't work for those, and the CPU is too slow to play them back reasonably without acceleration.

.mkv audio problems

my .mkv videos dont play sound . unless i use softwere decoding on mobo but the the video is a lag fest. anyone know of a good way to convert them for one x friendly viewing
DicePlayer is working flawlessly for me with my 720p .mkv files. Buttery smooth video and audio is perfectly in sync.
Try Avidemux its free.
Just copy the video and re-encode the audio.
Works spot on for me.
mishmac said:
Try Avidemux its free.
Just copy the video and re-encode the audio.
Works spot on for me.
Click to expand...
Click to collapse
thanks works great changing it to aac
and its fast
Theres also bs player lite if you don't like the menu bar in diceplayer.
On MX Player you can set it to use the hardware decoder to decode video (H.264), software decoder to decode audio (Dolby 5.1/DTS) and enable fast mode.
720p and 1080p .mkv's tested here working perfectly.
Yeah currently using MX Player. But you gotta set the decoders away from HW every time you start playing an .mkv file.
What does Avidemux do exactly? Is mkv not really supported by ICS?
Thanks
Your audio is probably DTS or AC3 encoded, Dice Player can handle those and use hardware decoding. Best video player for any Android it supports IMO. No dirty transcoding or anything, just drag n drop and everything works.
NZtechfreak said:
Your audio is probably DTS or AC3 encoded, Dice Player can handle those and use hardware decoding. Best video player for any Android it supports IMO. No dirty transcoding or anything, just drag n drop and everything works.
Click to expand...
Click to collapse
Ah, gonna try Dice and do some experiments, like, see if it can play my mkv files with hardware acceleration instead of software.
kythor said:
Ah, gonna try Dice and do some experiments, like, see if it can play my mkv files with hardware acceleration instead of software.
Click to expand...
Click to collapse
Try MX Player. You can try HW video and SW audio and see how that goes. Decoding isn't locked to the same type between video and audio on MX
I just tried Dice Player and it can play the mkv's audio with HW.
I don't think my ears are sensitive enough to hear the difference, but I read that HW acceleration uses lesser battery juice than SW?
kythor said:
I just tried Dice Player and it can play the mkv's audio with HW.
I don't think my ears are sensitive enough to hear the difference, but I read that HW acceleration uses lesser battery juice than SW?
Click to expand...
Click to collapse
Yes it does cos most SoC's come with a built in decoder. SW decode would mean you're using your CPU power to convert audio/video on the fly as you watch/listen, causing more battery drain.
Here is a comparison on what I have tried so far, for playing .mkv files:
Default HTC player: No audio at all and you cannot setup decoding to play audio whatsoever.
Mobo player: The same as HTC player.
Dice player: Audio works and videos play using hardware acceleration, but if you have stock rom, you cannot watch videos in full screen because of the menu bar, which is a huge deal breaker for me.
BS player: ICS friendly (menu button and all), plays videos with audio fine on software decoding mode or hardware decoding mode (BSPlayer engine). But on hardware decoding mode (system), the video is really bad, it has some corrupted squares all over it. I reckon that "HW decoding mode (system)" should be utilizing Tegra 3, right?
MX player: Also ICS friendly. Plays videos with audio fine on software decoding mode, but on hardware decoding mode, there is no sound. There is, however, an option to software decode audio when playing hardware decoded video, but, when I select that, the video completely stops and it's unplayable.
So, the final conclusion is this:
In MX player, currently the only way to watch videos is by software decoding. BS player can use hardware decoding using its own engine, but actually I don't know what "BSPlayer engine" utilizes for hw decoding. So the winner should be BS player, but the problem is that I really much more prefer MX over BS, due to other functions that it has and the overall appearance and experience.
My question to you guys is this: are there any negative effects if I use MX player with software decoding? Will my battery last shorter if CPU does all the decoding instead of the Tegra 3? I guess it will in theory, but has anyone tried and actually seen the difference with HW over SW decoding?
I sure hope that all of these app devs will soon follow ICS standards and new phones with graphics accelerations.
Also, if anyone can suggest a video player that hasn't been mentioned here, please do so!
xaeder said:
Here is a comparison on what I have tried so far, for playing .mkv files:
So, the final conclusion is this:
In MX player, currently the only way to watch videos is by software decoding. BS player can use hardware decoding using its own engine, but actually I don't know what "BSPlayer engine" utilizes for hw decoding. So the winner should be BS player, but the problem is that I really much more prefer MX over BS, due to other functions that it has and the overall appearance and experience.
My question to you guys is this: are there any negative effects if I use MX player with software decoding? Will my battery last shorter if CPU does all the decoding instead of the Tegra 3? I guess it will in theory, but has anyone tried and actually seen the difference with HW over SW decoding?
I sure hope that all of these app devs will soon follow ICS standards and new phones with graphics accelerations.
Also, if anyone can suggest a video player that hasn't been mentioned here, please do so!
Click to expand...
Click to collapse
Software decoding will always consume more power. How much more I do not know. Also, Tegra 3 IS the CPU. Hardware decode means that there is a specific chip in the SoC that is there specifically to encode/decode video/audio and hence CPU resources are minimal. When that chip does not support a certain format, it's forced to render it in software.
Also, .mkv is just a container, there are many audio and video formats that can be encoded into .mkv
Thank you for your answer! I understand now what Tegra 3 actually is.
Oh, and for the format, sorry I forgot to mention. You are right, .mkv is just a container
The format of my files tested is:
Video: MPEG4 Video (H264) 1280x720 23.98fps [Video]
Audio: Dolby AC3 48000Hz stereo [Audio]
Click to expand...
Click to collapse
As mentioned in other posts... If you have to use S/W in MX, it's because you have a 5.1 audio track.
Use something like mkv2mp4, and that will convert the audio stream to 2ch
Then MX will play the video & audio with H/W
adamsweeting said:
As mentioned in other posts... If you have to use S/W in MX, it's because you have a 5.1 audio track.
Use something like mkv2mp4, and that will convert the audio stream to 2ch
Then MX will play the video & audio with H/W
Click to expand...
Click to collapse
This is helpful. Thanks
I think BSplayer is best. Sure, it uses it's own HW engine(if you want), but it shouldn't be any big differences I hope. It sure as hell uses alot less battery then SW anyway. And also, BSplayer can play straight from .rar's and stream from a windows share in HW-mode (with it's own engine ofc)! Most players switch back to SW when you play through network but not bsplayer. And BSplayer also downloads subs automatically. The only downside is that it's kind of ugly. Haha
Now, it they only would port XBMC to android..
---------- Post added at 10:54 PM ---------- Previous post was at 10:46 PM ----------
adamsweeting said:
As mentioned in other posts... If you have to use S/W in MX, it's because you have a 5.1 audio track.
Use something like mkv2mp4, and that will convert the audio stream to 2ch
Then MX will play the video & audio with H/W
Click to expand...
Click to collapse
The whole idea with these media players is to not have to convert every video you've want to see. BSPlayer is the best player, period. It can play everything I've tried as of yet anyhow.
There it however one thing I hate, but thats probably the phone (or drivers) and not bsplayer. If you play say 720p over network with a bluetooth headset, it will lag. It's if they haven't given enough bandwidth to the wifi/bluetooth chip. Don't think I had this problem on my old phone.
just tried Dice player there, i must say it is really good. no lag what so ever, and the sound was perfect, and the menu bar didn't bother me at all.
some of them might work in whatever app you want to use, but i can tell you that some of them will never work right. i bought a Cowon D2 (what a mistake!) and ended up selling it. some mkvs didn't show video and a lot of them didn't have audio. it depends on the codecs that were used. it's the same on PS3. there are certain videos and audios that you need better hardware to play. i've seen people say that the audio has to be "AC3" for it to work on PS3. i wouldn't waste too much time with it and you should just convert it lower or use a computer with mid to high level AMD/Nvidia and some $100+ sound card. if you're trying to watch bluray disc rips that keep some of the quality, then it most likely won't work.

H.264 decode/encode hardware acceleration on Surface RT

Hi guys,
Since Tegra 3 chip has H264 hardware encoder and decoder, just curious how I can use them to do H.264 decoding and encoding in my Metro app or desktop app. Any documents or sample are welcomed. Thank you very much.
Assuming it's similar to WP7 (which I would hope so, but I haven't done any work with codecs in WinRT yet), just use the built-in encoder/decoder libraries and they will be run through the hardware acceleration. For example, if you attempt to record video from the camera, it should automatically encode using the hardware.
Yes. Hardware accelerator is already implemented in drivers. And not only for H264, audio decoding is also accelerated.
If you'll use MS official API and not try to decode data yourself - you'll automatically get accelerated.

[Q] Is it possible to use H/W decoding to watch *.mkv in nexus 7(2013)

Have any one tried it.
Or will it be done by flashing a custom rom(may be cm10)
mahoihei said:
Have any one tried it.
Click to expand...
Click to collapse
Yes. My sat-box records in .mkv and it is viewable (streamed from sat-box) without changing anything. I use vplayer.
I use diceplayer, works great.
Sent from my Nexus 7 using Tapatalk HD
MX Player with custom codec.
Sent from my Nexus 10 using Tapatalk 4
sidthegreatest said:
MX Player with custom codec.
Sent from my Nexus 10 using Tapatalk 4
Click to expand...
Click to collapse
+1. You can even boost the volume level to upto 30 if you use HW+ decoding, works amazing on AC3/DTS audio
serviio and diceplayer. Makes a great DNLC network that can stream any file to your Nexus. As for playing it on the nexus, I personally dont like putting movie files on mine since the memory gets used up rather quickly.
MX Player and the VLC Beta both work fine with .mkvs for me. I've even played some pretty hefty 1080p files with no issues.
you don't need to do anything. just open the file with MX player, be player or similar. sorry I'm not understanding why this is an issue for you
You can use HW decoding for video in players such as MX Player but you can't do audio HW decoding for some codecs since Dolby is suing everybody for supporting their formats without permission and is also refusing to license them.
MX Player works great in HW+ mode. I have had no problem with normal HD mkv files or 10 bit anime mkv
Tony_YYZ said:
You can use HW decoding for video in players such as MX Player but you can't do audio HW decoding for some codecs since Dolby is suing everybody for supporting their formats without permission and is also refusing to license them.
Click to expand...
Click to collapse
Actually you can, custom codec option in mx player Worked wonders for me, there's threads about this. Stock rom, locked.
Yes, it can for both 8-bits 720p and 1080p, but 10-bits sorry, can't....
Can anyone point me to the right codec to download? All videos I try are using S/W instead of H/W in MxPlayer (except MP4). WMV and MKV are playing in S/W. Thanks a bunch
joey4321 said:
Can anyone point me to the right codec to download? All videos I try are using S/W instead of H/W in MxPlayer (except MP4). WMV and MKV are playing in S/W. Thanks a bunch
Click to expand...
Click to collapse
ya, where do i download the latest HW codecs? my s/w works fine but HW mode doesnt work too well in mxplayer pro/ lags and stutters
Some education is needed
MKV is not a codec, it's a container format much like DVD .... The problem is not the MKV container but what it contains. Generally the biggest problems are MKV's made from US OTA (Over the air) and cable TV recordings which all have the audio in AC3 format and usually in Dolby encoding. (And as someone mentioned Dolby doesn't like it when they don't get their Cut, even if the software is free and no one is actually profiting from it except the Consumer)
I've recorded and archived several TV series since 2006 and some of my first MKV's kept the AC3 audio format (but converted the video to h.264) because I was having sound sync problems (Not sure if it was an x264 or the cable company's fault but the issue eventually went away) and for those I have to use software decoding for the audio but the video is still hardware accel .... The ones I've made in the last 3-4 years have the audio converted to AAC format and those have full hardware accel video and audio and play flawlessly and effortlessly even on my lowly Rockchip dual core TV Stick (720p and in the process of being embedded in a Motorola Lapdock)
Point being it's not the MKV container that is the problem, what counts is the formats it contains .... And in the case of us North Americans we need to convert the audio (AAC is the best bet IMO) so you may as well convert the video (Much of it is interlaced and that's another issue conversion fixes, Handbrakes default Decomb filter does it well) .... For that I would recommend x264 and Handbrake (x264 is included in Handbrake) which should not only take care of compatibility issues it also makes for a smaller file (Better transfer/streaming over wifi) without any loss of playback quality .... Also I would recommend stripping off any extra audio feeds (Languages) if you aren't going to use them, ditto for subtitles ... In other words keep it simple and convert to formats with known/best compatibility
SPAM.
http://forum.xda-developers.com/showthread.php?t=2156254
MX player > settings > decoder > download custom codec
what about the mpeg2 decode ,not h/w decode?
no hardware acceleration for 1080i dvb-s2 recordings or streams
My nexus 7 with stock Rom plays 1080p h264 content in MKV containers flawlessly with h/w acceleration with various players. Except for either streams or recordings from my tvheadend server. If they are 1080i (no German station broadcasts in 1080p) none of the players gets h/w working. SD and 720p do work though. The only difference I can see between my recorded files and the ones that do play is that the recordings have 25 fps whereas the other mkvs have about 24.
In the attachments there are two screenshots of two mkvs' properties. The 25 fps one is the one that won't work.
Anyone's got an idea? Thanks
from what i know,snapdragon still don't support 10bit decoding perfectly,thats why u can't use hw+ mode for 10bit video.
When I tried with my HTC One X,it can play 10bit video in hw+ mode though.Its likely for now Tegra and Exynos only support 10bit decoding in hw+ mode,even not perfectly.
u can refer to this thread ->
https://groups.google.com/forum/#!topic/mx-videoplayer/WKv1LNeUTSI

troubleshooting choppy xvid playback in gotham xbmc

xbmc gotham 13.1 release - I have been trying to eliminate choppy playback with xvid encoded files. ( jitter stutter whatever you want to call it ) The file I am looking at is not using packed bitstream and does not matter whether it is in avi or mkv container. A good measure of this symptom is the opening studio logos or scenes which have panning or gliding objects. In my limited test divx encoded videos did not have this problem.
If you have hardware acceleration applied, go into settings, video settings, acceleration, disable libstagefright, disable mediacodec, and try and see if that works, otherwise choose software acceleration without choosing multi-threaded decoding.
the key to get this to work is to not have libstagefright or medicodec applied in hardware decoding. If you have to, then apply software decoding without multi-threaded decoding. It might take a reboot for this to work, or simply play a file with hardware decoding and then choose the above settings.
Let me know if that works for you. This also works on the xbmc for ouya application.
after turning off hardware acceleration you will need to re-enable it when playing anything larger than 720p.
I was looking at advancesettings.xml options to see if I could disable hardware for xvid only but I don't see that option, and trying to enable it only for avc, etc did not work. If I could figure out a way to play said files with xbmc for ouya automatically from gotham then I would do that.
hmagoo said:
xbmc gotham 13.1 release - I have been trying to eliminate choppy playback with xvid encoded files. ( jitter stutter whatever you want to call it ) The file I am looking at is not using packed bitstream and does not matter whether it is in avi or mkv container. A good measure of this symptom is the opening studio logos or scenes which have panning or gliding objects. In my limited test divx encoded videos did not have this problem.
If you have hardware acceleration applied, go into settings, video settings, acceleration, disable libstagefright, disable mediacodec, and try and see if that works, otherwise choose software acceleration without choosing multi-threaded decoding.
the key to get this to work is to not have libstagefright or medicodec applied in hardware decoding. If you have to, then apply software decoding without multi-threaded decoding. It might take a reboot for this to work, or simply play a file with hardware decoding and then choose the above settings.
Let me know if that works for you. This also works on the xbmc for ouya application.
after turning off hardware acceleration you will need to re-enable it when playing anything larger than 720p.
I was looking at advancesettings.xml options to see if I could disable hardware for xvid only but I don't see that option, and trying to enable it only for avc, etc did not work. If I could figure out a way to play said files with xbmc for ouya automatically from gotham then I would do that.
Click to expand...
Click to collapse
I know this is a pretty old thread, but wanted to just chime in here. I'm having these exact issues in my Ouya, but my AFTV plays the xvid/dvix (at 480p) files just fine (no stutter). I have my hardware decoding turned ON when i see the stuttering. As you mentioned, if/when I disable hardware decoding, the xvid/divx SD files play smoother (as smooth as i'd want). Wondering if ANYONE here knows anything about a way to disable hardware decoding on xvid/divx files, leaving it on for all else, without having to manually disable/re-enable it for each file? That is super wife-unfriendly (though it's fine for me).
I've been searching for over an hour so far, so if anyone has a quick link for me on how to do it, don't flame me for not finding it on my own please
Use spmc problem solved. Changes decode settings automatically.

Categories

Resources