[Q] Hardware decoding capabilites and codec ? - Defy Q&A, Help & Troubleshooting

Hello everyone,
I can't find any way to have a video decoded using H/W Decoding with any player, video, nor custom roms.
With official Roms, I used WMP to transcode and send videos to my MB526 via MTP mode, which resulted in wmv files. This way, MX Player was able to play videos using hardware decoding (how ever, as far as I remember, the quality was sloppy).
But of course, that solution does not work anymore with custom roms, as MTP, wma and wmv are gone.
Right now I send .avi or .mp4 files using ftp; but I can't figure out a way to make them play using hardware decoding. All I got are insults like "can't play using H/W Decoder" (S/W works just fine, as long as I simplify the work for the chip : lower quality and mpeg2; but even then I think that HW decoding would spare the battery)
I tried :
- Different ROMs : Quark's CM10 roms, and White Rabbit (CM7) roms (among others)
- Different Codecs : MP4 (h264), Mpeg2, aac audio, mp3 audio, etc.
- Different Resolutions and Qualities : 854x480, 320x240, 25fps, 15fps, etc.
- Different Transcoders : vlc, ffmpeg, ...
- Different Players : MX Player (with or without armv7 codec), VLC, stock
Even in software mode, I have to decrease quality of the video to (150Mb for 20 minutes in mpeg2) to be able to run videos smoothly.
I searched everywhere in the forum but couldn't find any answer (I saw people complaining they can't play 720p with HW decoding, but I can't even play anything with HW decoding).
Do anyone knows what I did wrong ? Or how I could get a workaround ?
Regards

Related

HTC Videos vs RockPlayer

I just noticed for the first time that HTC Video supports AVI files. I have been using RockPlayer in Software mode with success, but it kills battery like crazy.
RockPlayer is smoother, but I wonder how HTC's battery use compares.
I will of course find out for myself, but I wonder what other people have experienced
SRS enhancement is a plus
how about vplayer
That will also be software based, so probably the same. The native player should be hardware mode, but is pretty choppy with standard "scene" video files. I'll do a test run this week to see how the battery usage compares
well the native player is hardware accelerated or at least it is for .mp4 with x254 video i havnt tried avi but i would assume that it would also be hardware accelerated or at least the renderer would be. alternative players are usless cause they dont support hardware on the adreno 205 yet
Hardware accelerated yes, but software players are still smoother!
just used "power tutor" to compare power used during one Simpson episode using two players.
According to "power tutor" the Internal video player used about half the power that RockPlayer did (with HW acc enabled)
Yes, I know this is not the perfect comparison.
The total power used should be measured, in case one offloads much more to the hardware than the other one.
An perfect comparison should be:
-boot
-radio off
-start measuring total power consumption
-play video for xx minutes
-stop measuring power consumption.
Guys, how do you manage to play xvid with built in video player?
When I put a video on my SD card, it appears in stock player but with no screenshot, only some weird small icon. Selecting the video does nothing at all.
Eddie1506 said:
Guys, how do you manage to play xvid with built in video player?.
Click to expand...
Click to collapse
Who plays Xvid ? - the simpsons episodes are H264 with MPEG4 AAC audio -both preview & playback work fine.
what we need - is players like VLC, core-player or tcpmp for Android. - VLC - being open-source & up-to-date - would be absolutely best.
I think Vplayer.beta is the best so far however it doesn't allow me to change audio channels but it was a lot smoother than rock player when playing a dual audio track; also seems to eat battery life. otherwise rock player is great.
AlCapone said:
Who plays Xvid ? - the simpsons episodes are H264 with MPEG4 AAC audio -both preview & playback work fine.
what we need - is players like VLC, core-player or tcpmp for Android. - VLC - being open-source & up-to-date - would be absolutely best.
Click to expand...
Click to collapse
Sorry, my bad

[Q] About video playback...

Anyone manages to play most 480p/576p.H264.mp4 files in blackstone via windows media player? in what rom and how to? Thanks...(I have great trouble playing mp4 files. The wmp which exclusively supports H264 acceleration always gets nothing but sound, coreplayer simply cannot play the aka files, and TCPMP skips too many frames.)
Or can an adroid system solve this problem? I've tried a lot, none of them is able to play video files.
I have the same problem, too. I cannot watch videos any player skips so many frames what resolution, player and video format should i use to watch videos ??
Use Touch HD encoder guyz. Nothing is better than it for our HD. 800*480 resolution, h264 mp4 format and no frame skipping problem-or other-.

MKV HD Movie, no sound, video perfect

Hi guys,
I can play normal SD avi's etc perfectly. 720p MKV's video also clean, but no sound.
Tried Moboplayer - no sound
VPlayer - sound, video laggy
mVideoPlayer - doesnt play the 720p mkv
Running 10.1v on Android 3.0.1
I recently came across BUZZPlayer on the market and I've been in contact with them via email, where they claim its plays any file without conversion, and can also play from a smb share...
Havent tried it yet.....has anyone had any experience with this?
rockplayer?
Do you know what audiocodec is used in the mkv?
zaphyr said:
rockplayer?
Do you know what audiocodec is used in the mkv?
Click to expand...
Click to collapse
Hi, vlc reports:
Type: Audio
Codec: A52 Audio (aka AC3) (a52 )
Sample rate: 48000 Hz
Bitrate: 384 kb/s
I have no sound too when i use Hardware Decoding, when i use software i have sound but the frame rate drops and is unwatchable, i`m using rockplayer
I've tried all kinds of video players. I just don't think Android 3.0.1 or 3.1 and Tegra 2 are capable of playing 720P MKV files.
Ravynmagi said:
I've tried all kinds of video players. I just don't think Android 3.0.1 or 3.1 and Tegra 2 are capable of playing 720P MKV files.
Click to expand...
Click to collapse
you cannot be serious! lol
on a more somber note, i'm new to this game but i hope your statement is untrue.
if not, this is an epic fail.
The main reason I bought the tab for my dad was so he could freely sync between multiple computers without the help of iTunes and could stream/play most xvid and divx media
I can play some 720P AVI and MP4 files, but 720 MKV's have all been a no-go.
Either video is laggy/freezes. Audio is out of sync. Or no audio.
On Tegra 2 there are no hardware decoder for AC3 sound track (thanks to NVidia/Google/Dolby Licensing org etc. ), so when MKV uses Dolby sound - there is no hardware support so it has to be played in software.
Unfortunately, non of android players can play video with hardware decoder and sound with software (or they just not implemented that way).
Bottom line, 720p and up video is problematic on current Tegra2 devices.
You have couple options:
Sometimes, this issue may be lessen by overclocking Tegra2 from standard 1Ghz to 1.5Ghz - hefty 50% increase in performance, so it kind of manage to play 720p mkv files using software decoder...
Or just re-encode sound track into WMA or something which has hardware driver for Tegra2.
Vlad_z said:
On Tegra 2 there are no hardware decoder for AC3 sound track (thanks to NVidia/Google/Dolby Licensing org etc. ), so when MKV uses Dolby sound - there is no hardware support so it has to be played in software.
Unfortunately, non of android players can play video with hardware decoder and sound with software (or they just not implemented that way).
Bottom line, 720p and up video is problematic on current Tegra2 devices.
You have couple options:
Sometimes, this issue may be lessen by overclocking Tegra2 from standard 1Ghz to 1.5Ghz - hefty 50% increase in performance, so it kind of manage to play 720p mkv files using software decoder...
Or just re-encode sound track into WMA or something which has hardware driver for Tegra2.
Click to expand...
Click to collapse
On the sticker covering the tablet screen, it clearly states it can play and record 720p and 1080p. Bastards! I suppose we will get HD playback when the device is obsolete? The point of getting the device when it comes out is so that we can enjoy features we never had before. Turns out, after they taken our money, that Samsung just lied to the world and their piece of crap cant actually play 720/1080p. There must be a codec out there that can do something, I mean come on, WTF.
What the hell is that dual core, Nvidia Tegra gpu device doing with all its hardware? !!!!!
EDIT: Ok, I've been in contact with the developers of BUZZPlayer on Android market. Apparently they claim it can play 720/1080, and that their player is one of the best. Its not free, but its cheap. I am going to give it a try this evening, but I am a bit skeptical. So far the only 2 apps I did buy were both non functional and I got refunded. The issue with Android market is theres loads of crap mixed in with the good stuff. I even see theres an app that filters out all the garbage apps from the market.
Will give an update after I've tested BuzzPlayer.
Apart from Buzzplayer, theres only VLC, which isnt finished yet, which we can hope plays everything. I specifically got this device cause it has the hardware so u dont have to convert stuff. I dont want to convert!
All of you pulling your hair out about thinking the GT10.1 cannot play HD video need to step away from the keyboard, make yourself a cocktail and take a deep breath. It will be okay, I promise. The GT10.1 can and does record and play HD video. For those of you trying to play .mkv files please understand that Matroska (.mkv) is nothing more than a container (think of it like a wrapper around your favorite candy). Inside that container are files for audio, video, subtitles, metadata, etc. The audio and video files are compressed into some format (codec) that can only be played correctly if the device doing the playing has the decoder to read said codec. Tons of people are having no issues playing 720p .mkv files simply because the audio and video codecs in that particular file are supported by their player. The most frequent video codec in .mkv containers is H-264. Audio on the other is typically found in AC3 (as this supports full Dolby Digital surround sound) but can be found in many different codecs. So, if your .mkv video file has H-264 video and AC3 audio but your player does not support either (or both) of these.... then your options are to transcode the audio or video to a supported format (which can be done while maintaining the .mkv wrapper mind you) or find a player that supports the code in your original file. Now, be aware that if you transcode, this results in exponential data compression and thus loss of data. So, audio loses its fidelity and video loses its clarity. Think what happens to the quality of an orginal letter or document when you make a photocopy of a photocopy of photocopy. In order to avoid this you must create the encodings from an uncompressed wave form (directly from the DVD or BluRay) and then place those in wrapper (like .avi or .mkv etc). This is the process of ripping a DVD.
None of this is new. It has been the case LONG before the GT10.1 was released. The perceived problem is exacerbated by people thinking (at no fault of their own) that .mkv (Matroska video) is simply some magical file format that delivers movies in full HD goodness. Its like everything else in the audio/video world on computers, it is always a function of codecs and decoders. E.g. just because I can speak German does not mean you understand me simply because we are having a conversation. You must also understand German.
Sorry for the diatribe, just wanted to clear the air on where the issue lies here. I do think that VLC will be solution for most everyone out there not knowing how to or not willing to play around with encoding audio and video. I know how to do this and I don't even want to do it. VLC should offer support for the popular .mkv file components out there and (most of) our woes will be over. Lets just hope VLC drops there app sooner rather than later!
Sent from my GT-P7510 using Tapatalk
Please do a easy search on google or on xda on Tegra2 video or Tegra2 mkv. Or go to forums about Asus Transformer and Motorola Xoom and you will find answers on all your video questions.
Its a known issue that Tegra cannot handle "high profile" video in .mkv container. Thats way some people wanted Exynos instead of Tegra.
All most every x264 video you download is high profile and need to
Galaxy tab can handle 720/1080 without problem if the video is coded in the right way.
A great program for converting video is DVDCATALYST and use the XOOM preset setting.
Or you can use this easy program that just change the container and audio so kt can be played on Tegra devices
http://forum.xda-developers.com/showthread.php?t=1092965&highlight=video
Sent from my MZ604 using XDA Premium App
bd85 said:
Please do a easy search on google or on xda on Tegra2 video or Tegra2 mkv.
Its a known issue that Tegra can handle "high profile" video in .mkv container. Thats way some people wanted Exynos instead of Tegra.
Galaxy tab can handle 720/1080 without problem if the video have the right format.
A great program for converting video is DVDCATALYST and use the XOOM preset setting.
Sent from my MZ604 using XDA Premium App
Click to expand...
Click to collapse
First off, the GT10.1 can play HD mkv files, one is playing in the background as I am writing this. I will post some pictures and more info on the mkv file later.
second, like I said before, be aware that simply transcoding your audio and/or video to a different format results in exponential compression of the original wave form and thus data loss. If you are truly wanting to watch and listen to your movie in HD you must keep this in mind.
Sent from my GT-P7510 using Tapatalk
it'll play hd fine. you just have to follow the strict specs to make sure you have a playable file.
no ac3, no mkv container (you can transcode to .mp4 if it's not over high profile 3.1), and may struggle with multichannel audio if you're over SD resolution.
there are plenty of posts on how to transcode or reencode your files for playback on a tegra 2 device in the xoom and transformer forums.
RnFstRuckHrd said:
First off, the GT10.1 can play HD mkv files, one is playing in the background as I am writing this. I will post some pictures and more info on the mkv file later.
second, like I said before, be aware that simply transcoding your audio and/or video to a different format results in exponential compression of the original wave form and thus data loss. If you are truly wanting to watch and listen to your movie in HD you must keep this in mind.
Sent from my GT-P7510 using Tapatalk
Click to expand...
Click to collapse
Were in my previously post did i say that it wont play mkv?
The "problem" and that i was pointing at is that it cannot play mkv with "high profile". And 90% off all videos and series episodes that people download is just HP.
And HD is a wide word and can means many things for different users.
Is HD a video with bitrate ~4000kbps and resolution 1280*720? Or is it a video with bitrate ~30000kbps and 1280*720?
A video can have high resolution and still look really bad on screen and some videos have lower res and looks good.
Have had a Xoom for some months and i have found that DVDCATALYST is the easiest way to make your videos play fine on Tegra devices.
http://www.tools4movies.com/
Sent from my MZ604 using XDA Premium App
Like I mention before, there is no Tegra2 AC3 nvidia decoder/driver available.
I can see only AAC, DTS, MP3, WAV, WMA and WMA pro formats have some kind of hardware acceleration.
There is no way 3-party media player developers can write nvidia's hardware codecs ot its own, they just used them if available in corresponding media player (RockPlayer, VLC etc.)...
If hardware codec is not accessible then most of them use GPL software decoding libs.
So, I would not expect VLC or any other player can do any better then another one.
then how on earth does rockplayer manage to play AC3 sound when I choose Software decoding, but then the video is laggy. Switch to Hardware decoding and video is perfect, no sound....????
Really confused...
dudleygb said:
then how on earth does rockplayer manage to play AC3 sound when I choose Software decoding, but then the video is laggy. Switch to Hardware decoding and video is perfect, no sound....????
Really confused...
Click to expand...
Click to collapse
Because software decoding uses more resources and is not the ideal decoding solution (can be laggy). The software supports both the audio and video codecs, so they work.
The hardware doesn't support the audio codec, so no sound when in hardware mode.
That's why I love the Original Samsung Galaxy Tab 7. it has 720p/1080p high profile .mkv (no lag) playback, AC3, divx, xvid, .srt subtitle support. All with just a single core hummingbird SOC. (I just wish it were 10.1 inches)
I had high hopes for the Galaxy Tab 10.1, but Samsung didn't put as much effort into the movie player as they did with the 7.
Hopefully, now that Toshiba has issued a challenge with their new AT200 tablet, a Samsung Exynos tablet is just around the corner.
Not sure what people are confused about. MKV is dead, obsolete, and unsupported by current and all future devices. Stop using MKV and you wont have issues. No reason to be using MKV to begin with, no reason at all.
Ravynmagi said:
I've tried all kinds of video players. I just don't think Android 3.0.1 or 3.1 and Tegra 2 are capable of playing 720P MKV files.
Click to expand...
Click to collapse
Can you make me a favor and test this 720p MKV sample I made, in all mkv supported players?
I just want to know if you have any lag or audio issues, thanks.
Code:
General
Unique ID : 252531305559327787326636083115925852923 (0xBDFBC2A4CD848FEAB63D58675A9A52FB)
Format : Matroska
Format version : Version 2
File size : 36.7 MiB
Duration : 1mn 49s
Overall bit rate : 2 826 Kbps
Encoded date : UTC 2011-09-02 17:28:55
Writing application : mkvmerge v4.9.1 ('Ich will') built on Jul 11 2011 23:53:15
Writing library : libebml v1.2.1 + libmatroska v1.1.1
Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : [email protected]
Format settings, CABAC : No
Format settings, ReFrames : 3 frames
Codec ID : V_MPEG4/ISO/AVC
Duration : 1mn 49s
Width : 1 280 pixels
Height : 528 pixels
Display aspect ratio : 2.40:1
Frame rate : 23.976 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Writing library : x264 core 116 r2074 2641b9e
Encoding settings : cabac=0 / ref=3 / deblock=1:-1:-1 / analyse=0x1:0x111 / me=hex / subme=7 / psy=1 / psy_rd=1.00:0.15 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=0 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-3 / threads=12 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=0 / weightp=0 / keyint=250 / keyint_min=23 / scenecut=40 / intra_refresh=0 / rc_lookahead=40 / rc=crf / mbtree=1 / crf=18.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / vbv_maxrate=2500 / vbv_bufsize=2500 / crf_max=0.0 / nal_hrd=none / ip_ratio=1.40 / aq=1:1.00
Audio
ID : 2
Format : AAC
Format/Info : Advanced Audio Codec
Format profile : LC
Codec ID : A_AAC
Duration : 1mn 49s
Channel(s) : 6 channels
Channel positions : Front: L C R, Side: L R, LFE
Sampling rate : 48.0 KHz
Compression mode : Lossy
Language : English
Use dice player and be happy. It will handle most of the videos and audio without any issues. There's a thread in the app and theme section. You will dind most of ur questions answered.
Sent from my SAMSUNG-SGH-I897 using xda premium

Divx playback support through hardware decoding on devices without native support.

As the title says, it is to discuss whether can we add divx playback support through hardware decoding on devices without native support.
The video playback by hardware decoding will be much better than the video playback of the same file by software decoding. Check it on RockPlayer. Our ZTE BLADE can handle pretty decent MP4 files (within WVGA resolution) whereas it cannot handle decent AVI/divx files. These files other than those supported by system player are played with software decoding which is not that good as the same specs files played with hardware decoding. That's where this question arises. Is is possible to support many file types and codecs (AVI, flv, mkv) for system player.
And I think some devices are having same hardware configuration but differences in divx playback support by system player. I think ZTE blade and LG optimus p500 have all the hardware identical except for the screen resolution. And LG optimus has native divx playback support whereas zte blade doesn't. (Correct me if I'm wrong). So i believe it is a software related thing.
And for 1GHz devices without divx support it might not make a big difference because they have a good processor which can play decent files even with software decoding. But for devices like ZTE blade, it matters because it cannot play most of the decent file types available in the internet.
What do you people say ??? Is it possible.
Give MX Video a Try
I download TV shows and movies in various formats all the time (just about all the popular formats).
The free MX Video Player plays them all on the ZTE Blade wonderfully. Even lets me stretch, crop, and full screen any video. And it remembers where I left off which is great because I can resume playback anytime right where I left off.
Just thought to mention as it solved all my video issues.
I also use MX video player on my blade, handles divx avi files with no problems.

[Q] iconia video player

Hi
I'm new to this and wanted to ask do you know any videoplayer to use on taboonay 2.2 + an 3.7 kernel. Because I use mx player for now and it's great but every movie I play in HW just lags. And in SW works great. Anyone have this issues also?
macia10 said:
Hi
I'm new to this and wanted to ask do you know any videoplayer to use on taboonay 2.2 + an 3.7 kernel. Because I use mx player for now and it's great but every movie I play in HW just lags. And in SW works great. Anyone have this issues also?
Click to expand...
Click to collapse
No problems with MX on my ROM, depends on the video, and how it's encoded though. Most will play on HW encode on mine, but every once in awhile I'll d/l one that forces through SW, but still plays fine, no lag.
I use Taboonay 2.2 and Richardtrip 3.7 and MX Video Player is by far my faviourite video player. I OC to 1.5 GHZ with the interactive governor. MX plays 90% of my files without flaw or lag, playing 100% of SD files or Baseline - profile MP4's (720p, havent tried 1080p). It does however, force the use of software when decoding 720p MKV Files, forcing me to convert them to Baseline or High profile MP4's. When playing those MKV files, there is severe lag and HW Decoding is grayed out. However, using Dice Player, i have managed to play some of those 720p MKV's, but the other features of MX are simply too wonderful for me to make the switch. However, after the damage of my USB port and the inability to use my 16 GB flash drive, i found myself streaming videos from my home computer using Plex, which is hell to set up but is very rewarding! It is remarkable although i still use MX Video Player for when I'm not at home to play files stored locally. Try OC'ing to 1.5 GHZ ONLY if you feel comfortable doing so. Otherwise, check out Dice Player, it has a free 3-day trial app!
Well it does not lag but feels not quite smooth. But on SW it's totally smooth. And those are xvid files:
Video: Xvid 624x352 23.98fps 1012kbps [Video 0]
Audio: MPEG Audio Layer 3 48000Hz stereo 152kbps [Audio 1]

Categories

Resources