[DEV] Hardware h264 Video Playback - Galaxy S Plus I9001 Android Development

Our device don't support in the h264 codec the avc level 4.1 hw decoding.
This thread said that the HTC Flyer (same MSM8255T chipset) support it.
It's possible to import that codec?
I give you these sample so you can try it with MX Player.
Sample avc 4.1
Sample avc 3.2

AW: [DEV] Hardware h264 Video Playback
No offence, but, does it really worth the work? I haven't really missed hat codec in my nearly 2 years of S+.
Send From my iStone using xda-developers app

R: [DEV] Hardware h264 Video Playback
Yes, why not if the implementing is simple?
Sent from my GT-I9001 using xda premium

AW: [DEV] Hardware h264 Video Playback
I don't think that it would be easy, but let the devs decide what to do
Send From my iStone using xda-developers app

power96 said:
Our device don't support in the h264 codec the avc level 4.1 hw decoding.
This thread said that the HTC Flyer (same MSM8255T chipset) support it.
It's possible to import that codec?
I give you these sample so you can try it with MX Player.
Sample avc 4.1
Sample avc 3.2
Click to expand...
Click to collapse
First of all sorry for spaming this thread, but what about updating your nice rom with the latest arcos RC5 ICS????

Related

Video Player software/hardware

Is there any combo video player?
For solve problem with Tegra 2 unsupported codecs.
PS. Video - hardware decode, audio - software decode
dimon222 said:
Is there any combo video player?
For solve problem with Tegra 2 unsupported codecs.
PS. Video - hardware decode, audio - software decode
Click to expand...
Click to collapse
Im not sure if it's what you are looking for but MoboPlayer is the best video player I have found and I have tried ALOT.
It's free on the Market and works very well both visually and for compatability with all file types.
Mark.
mskip
Tegra 2 doesn't support hardware decoding AC3/DTS.
I want to decode sound via software. But video via hardware.
You didn't answered mine question
dimon222 said:
mskip
Tegra 2 doesn't support hardware decoding AC3/DTS.
I want to decode sound via software. But video via hardware.
You didn't answered mine question
Click to expand...
Click to collapse
To my mind this is a sort of one-or-the-other situation when it comes to decoding a video 'container' with video and audio 'streams', I don't think there is anything that will do a mixture of both hardware and software decoding depending on what 'streams' can or can't be decoded by the hardware. This would probably create all sorts of complications from a developer's perspective to try and implement such a feature. Even if only one of the 'streams' can't be processed by the hardware the software will kick in and take over processing of both 'streams'. The video 'container' is treated as a single entity as far as I can see, therefore only one decoding method (whichever it is that can decode both 'streams') can be used at any one time.
[EDIT]: Come to think of it, why do you want this kind of hybrid processing in the first place ?
jonitfcfan
Coz lazy to compress each video for just watching on Asus (due "AC3" sound decoder by standard in about every video)
dimon222 said:
jonitfcfan
Coz lazy to compress each video for just watching on Asus (due "AC3" sound decoder by standard in about every video)
Click to expand...
Click to collapse
You can use one of the "MKV -> MP4" converter, like gotsent, XeonMKV...
They are only encoding the ac3 stream to aac put them and the video stream into mp4 container.
dimon222 said:
jonitfcfan
Coz lazy to compress each video for just watching on Asus (due "AC3" sound decoder by standard in about every video)
Click to expand...
Click to collapse
Sometimes you've gotta put extra work into getting more out of things .

Hot to view MTS files (1080/50p) on TF??

Hello everyone. I would like to see the footage shot by my camera (Panasonic TM700) directly on the TF in order to get a larger preview of that offered by the display of the camera. The problem is that I have not found any player that would display the correct file type MTS shot in 1080/50p. I think this isn't a problem of processor (I have a media player with a sigma 800mhz and movies run fine), but a problem of proper codec ....... Do I have some hope that there is a codec for the development of this TF?
Maybe you could contact the developers of those video applications? Does ffmpeg read those files (does mplayer?) - if so, it should be easily doable. Does VLC read those files? There is supposed to be a version of VLC for Android one day but no one know when. Also keep in mind that decoding on your media player could be hardware accelerated and idependend of the processor while TF has to use software decoding.
MTS is part of the AVCHD video format.
I'm not sure if moboplayer will play this, and even if it does,
i doubt it will be without stuttering like crazy, but thats pretty much dependant
on the bitrate of your MTS files.
you could try to remux the audio and video streams from the MTS to an MP4 container or an mkv even.
Google for MTS2MP4 which might be of help.
Try XenonMKV or GOTSent for any mkv remuxing.
Or reencode the whole thing alltogether (which you are likely trying to avoid)
goodluck
Android 3.0+ supports mpeg transport streams with AAC audio only...
The native media player object of Android (hardware accelerated) does _not_ even play fluidly TS files. So you're out of luck for out-of-the-box playback.
I use Handbrake to reencode to MP4 container with AAC audio. Works fine on my TF, but a lot has to be lost in terms of quality to make it playable. Search the forums for the Handbrake 3.1 guide.
any news about an app that can play MTS files?
thnkx, Danilo
not for me
dice player with the tegra plugin works for me. mts m2ts
Sent from my Transformer TF101 using xda premium
TGA_Gunnman said:
dice player with the tegra plugin works for me. mts m2ts
Sent from my Transformer TF101 using xda premium
Click to expand...
Click to collapse
already talk with the developer about iisue of MTS h.264 720p files. these files will not work on dice player. he said it take some time to enable that...
...and i was searching for h264 mts 1080p!!!???....but tegra2 doesn't support it
kukky said:
...and i was searching for h264 mts 1080p!!!???....but tegra2 doesn't support it
Click to expand...
Click to collapse
its an Mkv right??
if im not wrong you can use some mkv player, but those are also hard to get

Big question about videos

Video 10bits mkv 720p: I can play in GB without any problem and using hardware decoder+. (MX Videoplayer)
Same video 10bits mkv 720:Is impossible to reproduce in ICS, only using software decoding, but looks worse than powerpoint presentation (MX video plaery)
Any idea why?
Saludos
Have you tried to disable hw overlays, its found in developer options
Sent from my Desire HD using xda premium

[Feature Request] AC3/DTS Passthrough

Hi !
In France , an ISP called FREE released a new TV BOX which is called the Freebox Mini 4K.
This box runs Android TV .
It has a Broadcom BCM7252 Brahma15 dual-core 1.5Ghz SOC .
Many users have installed Kodi but there have some problems .
Many users use MXPlayer because it is the best player on this Android Box, it is on the AndroidTV Play Store and it has the best video quality. But however KODI works with HDMI and S/PDIF passtrough in AC3 / DTS .
Is it possible to have this option with MxPlayer ?
Can anyone assist in the French community? = D
hi, i have the same problem here:
with the new Sony Android TV, i think that MX Player it's the only way to play videos on that tv (VLC actually sucks), but there's that problem with DTS encoding!
Can mx player developers fix it? :good:
Same here in the US. The default plex player does not support mkv, so I have to use mx player pro. Unfortunately MX player pro does not give me the ability to pass through audio! My receiver can decode DTS, Dolby, etc I just need the player to do audio passthrough!
v 1.7.40 can do this. My device have native support for ac3/dts but with 1.8.1 MX refuse to play ac3. Damn it
Hmm @sumantaadk I assume that when it previously worked, you were using HW, and not HW+ ?
@ everyone else, I assume you have already tried the custom audio codec? MX by itself does not support DTS.
CDB-Man said:
Hmm @sumantaadk I assume that when it previously worked, you were using HW, and not HW+ ?
@ everyone else, I assume you have already tried the custom audio codec? MX by itself does not support DTS.
Click to expand...
Click to collapse
My device only support sw decoder for the video I have. I still can play ac3/dts with previous version but the beta completely remove the possibility. I think developer removed support due to copyright issue. So the current issue is bug or because of copyright?
AC3/DTS was support was removed by default due to copyright, yes; that's one of the main reasons to use the custom codec.
I would have thought that if you use HW and passthru to Android media framework to use the device's native render, that this method would have allowed for DTS...
sumantaadk said:
v 1.7.40 can do this. My device have native support for ac3/dts but with 1.8.1 MX refuse to play ac3. Damn it
Click to expand...
Click to collapse
sumantaadk said:
My device only support sw decoder for the video I have. I still can play ac3/dts with previous version but the beta completely remove the possibility. I think developer removed support due to copyright issue. So the current issue is bug or because of copyright?
Click to expand...
Click to collapse
Beacuse, you are using old custom codecs. If you want to play dts or ac3 you must use the custom codec compiled for the specific version of the player. After the update, if the old codec is found as incompatible it will be automatically unloaded. MX Player 1.8.x needs custom codec version 1.8.0.
Sent from my SM-G900H using Tapatalk
ktsamy said:
Beacuse, you are using old custom codecs. If you want to play dts or ac3 you must use the custom codec compiled for the specific version of the player. After the update, if the old codec is found as incompatible it will be automatically unloaded. MX Player 1.8.x needs custom codec version 1.8.0.
Sent from my SM-G900H using Tapatalk
Click to expand...
Click to collapse
Sorry but I am not using any custom codec. I am using unofficial cm11 which have inbuilt support for ac3/dts. I have clean MX player. Current market version support both ac3/dts.
sumantaadk said:
Sorry but I am not using any custom codec. I am using unofficial cm11 which have inbuilt support for ac3/dts. I have clean MX player. Current market version support both ac3/dts.
Click to expand...
Click to collapse
Can you play videos with dts/ac3 tracks in HW decoder?
Sent from my SM-G900H using Tapatalk
---------- Post added at 06:32 PM ---------- Previous post was at 06:29 PM ----------
Make sure that you have enabled HW+ audio on SW video.
HW+ is broken in 1.8.x on some devices according the beta page. If HW+ is broken in your device, you may not be get the audio.
Sent from my SM-G900H using Tapatalk
ktsamy said:
Can you play videos with dts/ac3 tracks in HW decoder?
Sent from my SM-G900H using Tapatalk
---------- Post added at 06:32 PM ---------- Previous post was at 06:29 PM ----------
Make sure that you have enabled HW+ audio on SW video.
HW+ is broken in 1.8.x on some devices according the beta page. If HW+ is broken in your device, you may not be get the audio.
Sent from my SM-G900H using Tapatalk
Click to expand...
Click to collapse
Yes. MX Play ac3 with hw decoder. I rarely use ac3 content so that's not the big deal for me. All other formats are suppoted with hw+ or sw.
sumantaadk said:
Yes. MX Play ac3 with hw decoder. I rarely use ac3 content so that's not the big deal for me. All other formats are suppoted with hw+ or sw.
Click to expand...
Click to collapse
Can you upload logs..?
Sent from my SM-G900H using Tapatalk
ktsamy said:
Can you upload logs..?
Sent from my SM-G900H using Tapatalk
Click to expand...
Click to collapse
Audio is auto disabled by MX in HW+
Hi, I found this old thread by searching DTS / AC3 Passthrough. So is this feature active in Mx Player pro. I have the 1.7 version with custom codec, and when I play DTS or AC3 file, the audio is automaticly converted by MX player into a 5.1 output, if I select a 5.1 preset on my AVR I can here 5.1 sound, but I would like to have the audio be direct stream to my AVR, and AC3/DTS be converted by my AVR.
virtual_francky said:
Hi, I found this old thread by searching DTS / AC3 Passthrough. So is this feature active in Mx Player pro. I have the 1.7 version with custom codec, and when I play DTS or AC3 file, the audio is automaticly converted by MX player into a 5.1 output, if I select a 5.1 preset on my AVR I can here 5.1 sound, but I would like to have the audio be direct stream to my AVR, and AC3/DTS be converted by my AVR.
Click to expand...
Click to collapse
Use HW decoder without custom codec. It will pass the audio stream to the audio receiver. If your receiver has dts/ac3 decoder, it will play true 5.1 channel (or whatever) present in the audio stream.
Sent from my SM-G900H using Tapatalk
Thank you for your answer it seems to work perfectly with HW, I have to try with HW+ to see if it works too.
virtual_francky said:
Thank you for your answer it seems to work perfectly with HW, I have to try with HW+ to see if it works too.
Click to expand...
Click to collapse
It won't work with HW+ or SW currently. Probably it may be possible in the next version 1.9.0
Sent from my SM-G900H using Tapatalk
Ok, thank you for your help, and lets wait for the next version.
hello, i found the info in this thread very useful thanks. However i wasnt able to quite get everything working so i was hoping someone might confirm i am doing everything right.
i'm using mx player on a nvidia shield to play a stream of h.264 video and Dolby Digital audio, its from my tv server. i want to pass through the audio to my avr which can handle this and looking at posts above i need to use the hw decoder without the custom codec. unfortunately i get no video with the hw decoder. with both the software and hw+ decoders i get video and then with a custom codec i get audio but its downmixed.
is the hd+ decoder with custom codec and downmixed audio the best i can expect for now and is it likely that the 1.9 release mentioned may fix this?
thanks!

[BUG] Impossible to change audio stream

Hello,
I use MX player on MXQ S85 Android TV Box. It is working very well except audio stream changing, even I can click on the other language audio available, it keeps playing sound in first language when movie started...
I have tried with different files, it is always same problem. Other video players doesn't meet this issue. I would like continue use MX player because H265 files are well played.
Thank you
Duponte7878 said:
Hello,
I use MX player on MXQ S85 Android TV Box. It is working very well except audio stream changing, even I can click on the other language audio available, it keeps playing sound in first language when movie started...
I have tried with different files, it is always same problem. Other video players doesn't meet this issue. I would like continue use MX player because H265 files are well played.
Thank you
Click to expand...
Click to collapse
Probably it's due to unsupported audio codec...!
Can you post the mediainfo....?
Sent from my SM-G900H using Tapatalk
ktsamy said:
Probably it's due to unsupported audio codec...!
Can you post the mediainfo....?
Sent from my SM-G900H using Tapatalk
Click to expand...
Click to collapse
Sorry I did not put infos about it... apparently it is due to DTS ... The first stream is played well but it seems dual channel DTS makes troubles:
Video is Codec : H264 - MPEG-4 AVC (part 10) (avc1) RĂ©solution : 1920x1058
Two streams are DTS and the second can't be played is DTS 1509 Kbps
Is it enough info ?
Thanks !
Duponte7878 said:
Sorry I did not put infos about it... apparently it is due to DTS ... The first stream is played well but it seems dual channel DTS makes troubles:
Video is Codec : H264 - MPEG-4 AVC (part 10) (avc1) RĂ©solution : 1920x1058
Two streams are DTS and the second can't be played is DTS 1509 Kbps
Is it enough info ?
Thanks !
Click to expand...
Click to collapse
Probably your device may not have native dts decoder. Kindly use custom codec from the sticky post. When you use custom codecs you can play ac3 or dts tracks even if it's not natively supported by your device. But, the disadvantage is the 5.1 audio will be downmixed to stereo
Sent from my SM-G900H using Tapatalk
ktsamy said:
Probably your device may not have native dts decoder. Kindly use custom codec from the sticky post. When you use custom codecs you can play ac3 or dts tracks even if it's not natively supported by your device. But, the disadvantage is the 5.1 audio will be downmixed to stereo
Sent from my SM-G900H using Tapatalk
Click to expand...
Click to collapse
But the first stream is in DTS and is well played and detected on my speakers system so it is not the device. I have found another video player who can also play both stream in DTS but I would prefer use MXplayer... :silly:

Categories

Resources