Video frame drop issues with inbuilt Amlogic(M201) AV player - Android Stick & Console AMLogic based Computers

Facing video frame drop issues with inbuilt Amlogic(M201) AV player on the box with the following configuration
Processor: ARM Cortex – A5, 1.5GHz quad core
Ram size: 1GB
Android version : 4.4.2
Kernel Version : 3.10.33
Board : M201
Our system gets the multicast UDP stream (AV content) from the network and decrypts the video content by software decrypter and fed to the video player. When 10mbps bitrate HD video content played, it is observed that the video frames are getting dropped and video pauses for a while and recovers back. AV player is not able to play higher bit rate video content but HD videos upto 6mbps played fine with the player. We would like to stop the video frame drops and wanted to play 10mbps video content smoothly on the player given by the Amlogic
Could anybody let us know similar issues are faced and solved this player issue?
Any help on this issue would be highly appreciated.

Related

[Q] Video Playback - Poor Performance

Disclaimer: only had a Droid phone for 3 days now so bare with me
Short version: No matter what player I use (stock, vplayer, QQplayer, Moboplayer) nor what video file I attempt to play (WMV, AVI, MP4, MPG, ASX) I get horrible fps....I mean like 1 frame a second....it stutters really bad.
Details:
I am running CM7's latest ROM (Android v2.3.4).
I have just about every option I can find set for performance (no animations, updating widgets, max CPU set to 710 MHz, all other programs closed).
SD card is a Class 4 rated 8 GB card.
Video files range from 5 MB to 100 MB and are not resized for mobile device play. They are native 800x400+ resolution.
Now, I am new to Android coming from a Windows Mobile device and I am used to TCPMP just playing whatever I threw at it without any issue or special conversion....and it was on a slower card and slower processor than what the Eris is.
Is there something I am missing to get this to work? Is it the ROM or do I need to down-convert all the video files for the native resolution of the phone?
Any help on this would be greatly appreciated.
the only way i get my videos to play smoothly on my phone is to convert them to 480x320 with a vid bitrate ~700kb, 25f/s, with an mp4 container and x264 codec, and regualr 128 aac audio... played with Meridian Media Player. kind of a hassle but im pleased with the results...
Thanks for the clarification and settings to shoot for conversions.
Does anyone know if the 1+ GHz Android phones work without converting videos to a more native resolution and frame rate? Ironically, it seems I was a little spoiled with Windows Mobile playing them without issue with TCPMP.

[Q] Video Playback Problem? happened on both 2.1 and 2.3 (WB TW GB)

Hi there, I was having some video lagness and playback problem since 2.1 stock rom. I though the incoming 2.3 will help in solving this problem but yet even the performance and speed is greatly improved in 2.3, this problem remains, so I try to seek for some helps regarding this problem here.
There is a weird problem during my video playback, I had put in several types of video ranging from 800*680 to 1920*1080, with different format (mp4, avi, wmv, rmvb) and had serious lagging on certain video. From here I am just going to list out 3 examples of video that have playback issue:
Player used to play these video: default mediascape (2.1), default media player (2.3), mobo player
Location of these video: SD Card (Class 4 16GB, write speed 5mb, read speed 11mb from SDTOOL)
Video A
Size: 1gb
Frame Rate: 23-25
Rate: 0??
Resolution: 1280*720
File Type: mkv
Problem: Heavily lagging and scene freezing as well as unsynchronised audio and video playback. The audio is always faster than the video. At 2.3 firmware, mobo player able to play the video but without audio. When choosing soft-decoding, the video start to lag and audio process faster than video
Video B
Size: 33mb
Frame Rate: 29-30
Rate: 3000
Resolution: 852*480
File Type: wmv
Problem: Lagging when playing video. Screen freezing and frame skipped as the video progress as the playing seems like to maintain video and audio synchronization, video back to normal at last 10 second
Video C
Size: 97mb
Frame Rate: 29-30
Rate (in mobo player): 2398
Resolution: 1280/720
File Type: f4v
Problem: Almost the same as above, video freezing and lagging behind the audio. In 2.1 mobo player able to play it directly but in 2.3 soft decoding is required before playing this video
Is this type of problem occurred due to hardware constraints or software problem? What is the actual constraint on video type/format that x10 can support? I heard from lot people saying their device able to play 720P HD video fine but it is not the case in my device? Please help me on this issue and do let me know if I miss out some informations
Sorry for bringing this post up, help is needed >.<
Or these video need to convert to suit in x10 spec to play smoothly?

MKV playback issues

Hey guys, just got a few 720p high profile mkv files which reviews claimed could be played with the stock video player. All 3 files currently do not. Dice player works in trial but when i try to buy it gives me not found in the market. I'd rather usethe built in player personally but has anyone else had any luck either way?
EDIT solved with bs player
Try moboplayer its free.
Sent from my Galaxy S2
or MXPlayer I have used that on many MKVs
compuw22c said:
Hey guys, just got a few 720p high profile mkv files which reviews claimed could be played with the stock video player. All 3 files currently do not. Dice player works in trial but when i try to buy it gives me not found in the market. I'd rather usethe built in player personally but has anyone else had any luck either way?
Click to expand...
Click to collapse
I got same problem,but i used mx player and upnp , works flawless
Sent from my Transformer Prime TF201 using Tapatalk
erick0423 said:
I got same problem,but i used mx player and upnp , works flawless
Sent from my Transformer Prime TF201 using Tapatalk
Click to expand...
Click to collapse
I use the exact same
mx player works well but there's no hardware decoding available in any of them. Very disappointed ( though I know the hardware is capable of it). I know anandtech? Or one of the reviews did a blu ray rip and it played great so I'm guessing I'm missing something, an update broke it or if will be fixed in ics. Is also possible they just need hardware drivers for tegra3. I'm optimistic, is launch week, well have awesome devs, it'll get sorted eventually. Even software decode stutters just a bit ( I'm a video perfectionist). Also peeved at xda app FCs but again, brand new device. Just let me know if anyone (particularly those who didn't update) has any better luck.
Unbelievable , this still not resolved after the Tegra 2 debacle.
i've played a couple mkv's just fine with the stock player and mx player. the only issue i've had with them is if i skip around, the video never picks back up, works fine in software though.
but if i just watch the movie through without skipping around, it plays perfectly.
as you can see here ICS has added support to the Matroska format, so hopefully the default player will be handling it smoothly in ICS.
hXXp://briefmobile.com/android-4-0-ice-cream-sandwich-announced-feature-list
replace hXXp with http in link.
That's good to know. Was thinking of cancelling my preorder once I heard people having problems with mkv's & diceplayer being unavailable
compuw22c said:
mx player works well but there's no hardware decoding available in any of them. Very disappointed ( though I know the hardware is capable of it). I know anandtech? Or one of the reviews did a blu ray rip and it played great so I'm guessing I'm missing something, an update broke it or if will be fixed in ics. Is also possible they just need hardware drivers for tegra3. I'm optimistic, is launch week, well have awesome devs, it'll get sorted eventually. Even software decode stutters just a bit ( I'm a video perfectionist). Also peeved at xda app FCs but again, brand new device. Just let me know if anyone (particularly those who didn't update) has any better luck.
Click to expand...
Click to collapse
How were these files encoded? Because in order to take advantage of hardware decoding a file has to meet a certain standard. If it deviates even a tiny bit, it will not work.
Go and Download BSPlayer lite from the market. It has the same funtionality like Diceplayer. Tegra 3 can nearly play all 1080p vids.
RussianMenace said:
How were these files encoded? Because in order to take advantage of hardware decoding a file has to meet a certain standard. If it deviates even a tiny bit, it will not work.
Click to expand...
Click to collapse
Well its h264 high profile, which tegra 3 plays. Tegra 3 isn't picky, as long as its less than a 42mbps bitrate the hardware will handle it. The only standard it must meet is 1080p and less and 42mbps or less in h264 anyways. For tegra 3, i'm sure software is the issue.
Files came from my media server which are also hw accelerated with an nvidia graphics card via vdpau. never even have to check, just always plays (h264 anyways)
Again, i'm sure they'll fix it eventually,I know the chip does it, still annoying., its why I never bought tegra 2. And for those suggesting software decode, battery life PLUMMETS and the performance we would have with hw decode would be as good or better than blu ray with no stutter.
http://www.anandtech.com/show/5163/asus-eee-pad-transformer-prime-nvidia-tegra-3-review/5
EDIT:BS player appears to work WITH hardware acceleration. Every other app told me "not supported by system player, using software device" including dice
Sent from my GT-I9100 using XDA App
Prime will handle highprofile mkv just fine if you use a other media player like mxplayer, diceplayer The problem when you can't play with the stock player is that it for the most times can't handle the audio.
Just give them some time to update there players to full Tegra3 support. The device have only been out some days and I think the developers also would like to have a device to test on.
I have posted this in a other thread, but I will repost it here to. From swedroid.se test, and translated into English.
"As is the case for the music player, Asus do net onclude their own video players, but instead uses default player that comes with Android. This is a rather rowdy players who only manages one of our clip in the table below (# 9), but without any sound, because support for AC3 missing."
"The third-party video player dice player or MX Video Player, both of which are available in the Android Market, it is however full marks. ASUS Prime plays everything we feed it with, whether it is DivX, XviD or MKV / h (x) 264-films with soundtracks in DTS or AC3 format."
Resolution / Codec / Profile / Container / Bitrate / Audio / Results (MX Video Player
640x352 XviD / [email protected] / AVI 1 Mbit/s MP3 2.0 OK
576x320 XviD / [email protected] / AVI 1,4 Mbit/s MP3 2.0 OK
720p h.264 / [email protected] / MKV 3 Mbit/s AC-3 5.1 OK
720p h.264 / [email protected] / MKV 9 Mbit/s AC3 5.1 OK
1080p h.264 / [email protected] / MKV 14 Mbit/s DTS 5.1 OK
1080p h.264 / [email protected] / MKV 19,2 Mbit/s AC3 5.1 OK
1080p h.264 / [email protected] / MKV 22,8 Mbit/s DTS 5.1 OK
1080p h.264 / [email protected] / MKV 25 Mbit/s DTS 5.1 OK
1080p h.264 / [email protected] / MKV 30 Mbit/s AC3 5.1 OK
1080p h.264 / [email protected] / MKV 42 Mbit/s AC3 5.1 OK
Sent from my GT-P7510 using xda premium
@OP
Have you tried a straight MP4 (H264/AAC) with standard Android player? You do realize that it's not just the video track that kicks the (3rd-party) player into HW or SW mode, right? Subtitles, for instance, will invoke SW mode. Chapter tracks will also probably cause SW.
As much as you sound you know, then you should also know that not every downloaded video is the same. If you have problems, SOP is first to provide specs (MediaInfo works), second is to provide a sample, third is to specify environment (which player you've tried, and their respective performance). Only noobs go "my vids don't work, now what?"
With the non-info you've provided, all you get is guesswork.
What do you mean by " files came from a media server"? If you are streaming to the device, expect skipping playback because WiFi can't handle hi-bitrate 1080p.
I have no issues running 720p or 1080p hi profile (locally) on my Transformer Prime in Dice player, even with DTS and multiple audio tracks.
people need to realise 3rd party players need to be optimised for tegra 3 for hardware acceleration. its not to do with type of file, as long as it does not have very high bitrate.
Everyone has to understand, that MKV is just a container. You can put almost anything into this container so therefore it is unlikely that the hardware can decode everything that can go into a MKV container.
The main thing about the Kal-El SoC, it is the first chip that can decode h.264 High Profile video. To see the supported codecs that Tegra 3 can decode in hardware see: http://www.nvidia.com/object/tegra-superchip.html
I've ripped hundreds of blu-rays. I've ended up using two sets of files.
Archive for playback on Samsung LED TV's and other high end DLNA devices:
Container: MKV
Video: H.264 High Profile 4.0 Constant Quality 18-20 1080p
Audio: AAC-LC 384 5.1 channel
Subtitles: sub format
Software: HD Decrypter, RipBot264 and Handbrake
Mobile Devices:
Container: m4v
Video: H.264 Base 3.0 Profile, 2-pass (1000kbps widescreen and 1200kbps for 16x9) qHD size (960x540),
Audio: AAC-LC 128 2 channel
Subtitles: Converted from the MKV
Software: Handbrake
I spend most of the time make the archive format looking as good as possible for it's size. Most files come out to 4-7GB per movie. There are exceptions depending on the quality of the movie. Movies with lots of noise in them come out to be much larger then one that is very clean. Computer Generated movies will come out to 3-4GB using CQ 18. The Prime should decode these just fine.
The mobile size I use for under powered devices and also to have as many movies as possible for it's size. qHD actually ends up looking very nice for it's size when down converted from blu-ray. A two hour movie comes out to be about 1GB. This way I can have on average 60-70 movies on 64B microsdxc card and about the same on the 64GB prime itself.
sorry, but I felt I provided all necessary info. The files are stored locally, mkv h264 high profile 20mbps streams with ac3 5.1 audio. They also have subtitles, though I don't need them.tpb was the source of all 3.
In any event, bs player works with hardware acceleration perfectly and I'm very happy. It also shows the hardware is fully capable of it, software will soon follow (ics)
compuw22c said:
sorry, but I felt I provided all necessary info. The files are stored locally, mkv h264 high profile 20mbps streams with ac3 5.1 audio. They also have subtitles, though I don't need them.tpb was the source of all 3.
In any event, bs player works with hardware acceleration perfectly and I'm very happy. It also shows the hardware is fully capable of it, software will soon follow (ics)
Click to expand...
Click to collapse
According to the Tegra 3 specs, AC3 is not supported in hardware.
http://www.nvidia.com/object/tegra-superchip.html

[Q] Regarding Android ARM Cortex A9 Hardware Acceleration

Hi all.
I have been testing some Android based TV boxes (basically Android box with HDMI output) for using as a Web TV player. The one I am most interested in is based on the Amlogic Cortex A9 processor with Mali400 GPU. However the video performance has been hit or miss.
Some players (like MXPlayer) the hardware acceleration works great. But some players (like VPlayer) the hardware acceleration does not work at all, and just shows a black screen while audio is playing.
I am hoping there is someone familiar with this chipset, or at least familiar enough with hardware acceleration, to answer a few questions:
- why does software decode have such terrible/choppy video playback compared to hardware acceleration; is that expected for all devices, or its just this device we're testing?
- is hardware acceleration possible for streaming video content (like RTMP, MMS) or only for local content? I have heard it won't work with streaming content but I have personally tested MXPlayer streaming RTMP and RTSP content which works fine with h/w acceleration but another player (BS Player) wont let me stream with H/W acceleration enabled.
- how do we find out which library the app developer needs to call in order to enable hardware decode? Is there a standard way to do this, or does tit vary by manufacturer? Any example would be great.
- in order to utilize a particular player in my own android application and have my own assets on the screen while the video is playing, what do I need from that video player app? is there any safe way to embed their player in my application without having their source?
Thanks.
Any ideas? Did I post this to the wrong forum perhaps?

The Official Nexus 10 Video Playback Specs

Does anybody have that?
For example Apple has listed for its Ipad4
Video formats supported: H.264 video up to 1080p, 30 frames per second, High Profile level 4.1 with AAC-LC audio up to 160 Kbps, 48kHz, stereo audio in .m4v, .mp4, and .mov file formats; MPEG‑4 video up to 2.5 Mbps, 640 by 480 pixels, 30 frames per second, Simple Profile with AAC-LC audio up to 160 Kbps per channel, 48kHz, stereo audio in .m4v, .mp4, and .mov file formats; Motion JPEG (M-JPEG) up to 35 Mbps, 1280 by 720 pixels, 30 frames per second, audio in ulaw, PCM stereo audio in .avi file format
Click to expand...
Click to collapse
Where are these specs from samsung or google? When I had my Ipad 4, this helped GREATLY with converting movies to the proper format.
Rinzler said:
Does anybody have that?
For example Apple has listed for its Ipad4
Where are these specs from samsung or google? When I had my Ipad 4, this helped GREATLY with converting movies to the proper format.
Click to expand...
Click to collapse
Sort of a moving target.
The Exynos 5250 has native support for: MPEG-4/H.263/H.264 decoding and encoding and decoding only for (MPEG-2/VC-1 and VP8)
Source:
http://www.samsung.com/global/busin...t/application/detail?productId=7668&iaId=2341
BUT
The actual wrapper formats supported nativley and in what players depend on software support. Everything will play on the processor in software mode through a cpu decoder like FFMPEG being used by MX Player or BS Player from the market place (free). But software mode is not the most efficient mode and will drain the battery at a faster rate than native HW playback.
Here is what I know seems to work so far in the native player: MP4/H.264.
If anyone else has had native support with something else sound off. As to a spec sheet that is the best I can show you, but as I said it is not representative.
MrGrimace said:
Sort of a moving target.
The Exynos 5250 has native support for: MPEG-4/H.263/H.264 decoding and encoding and decoding only for (MPEG-2/VC-1 and VP8)
Source:
http://www.samsung.com/global/busin...t/application/detail?productId=7668&iaId=2341
BUT
The actual wrapper formats supported nativley and in what players depend on software support. Everything will play on the processor in software mode through a cpu decoder like FFMPEG being used by MX Player or BS Player from the market place (free). But software mode is not the most efficient mode and will drain the battery at a faster rate than native HW playback.
Here is what I know seems to work so far in the native player: MP4/H.264.
If anyone else has had native support with something else sound off. As to a spec sheet that is the best I can show you, but as I said it is not representative.
Click to expand...
Click to collapse
Are you able to smoothly playback mp4's?
If you are..what frame rate and what avc works for you best?
Step 1: download MXplayer https://play.google.com/store/apps/details?id=com.mxtech.videoplayer.ad&hl=en
Step 2: make sure your content isn't 10-bit (hint: most likely it isnt)
Step 3: Your content will play. Basically 99% of regular content will work. To be honest, I cant think of anything that hasnt worked for me, and I play high-bitrate anime with advanced substitle scripts (ASS-subs). It works fine.
Rinzler said:
Are you able to smoothly playback mp4's?
If you are..what frame rate and what avc works for you best?
Click to expand...
Click to collapse
Yes. Most of the MP4s I have tried are H.264 standard 30fps and up to 1080P. All worked on the native player
For other's experiences with MP4s up to 60fps and 1440p see this thread:
http://forum.xda-developers.com/showthread.php?t=1995176
If you are using a player like MX Player and are trying to play an Mp4 Muxed into an MKV then the video will play with hardware and you can select software for the audio (right now. this may improve in the future).
As the other poster said. Almost everything will play with MX Player. It is just a question of whether it is played using HW codecs or SW Codecs. HW codecs use built in decoding capabilities on the chip to vastly reduce the workload on the processor. SW decodes everything on the processor and then pushes it to the screen. The only difference between the two from a user perspective is efficiency and battery usage. (and on super-res files there may sometimes be slowdown in SW mode)
To be honest I have tried everything from mkvs to rms to movs to wmvs on MX Player and ALL have played successfully in the SW player.

Categories

Resources