[Q] HD Video Playback and Framerate - EVO 4G Q&A, Help & Troubleshooting

Before I start, let me clarify that this is about playback of stored videos files (avi, mp4, wmv, mov, etc), not recording frame rate or the playback of recorded videos from the phone. Searching yielded hundreds of results, but none of them fit the scope of my question as far as I could tell. If there is something out there, please link and excuse this question.
So, my question and issue is pretty straight forward: whenever I try to play video files I have (IE: downloaded mp4 files), I get really really poor frame rates. Poor meaning 7-13 frames per second.
So the video sucks, and plays in a fairly smooth slow motion. The sound is fine, causing the video to go out of sync, and once the audio timeline ends the video file closes. The built-in player won't even load them, but RockPlayer does. I think I tried xyplayer as well. I figure this is just a codec / software issue, but all lower resolution video files (same format) play fine, so it seems to be unrelated to the applications I'm using. 800x640 video files, no problem; 1280x720 video files, not gonna happen. The videos play fine on a computer, obviously, and my buddy's Windows Phone 7 plays them fine as well (Zune software).
Any ideas?

what bitrate are the videos that skip?

I don't have many on my phone right now, but one of them is 741Kbps, about one third larger than another video that plays perfectly fine, albeit at a lower resolution. Admittedly I know very little about video encoding and all of that.

What rom are you using?

Currently Burnt Droid (1.4), but I've had the same problem on other roms (sense). I recall having this issue on an AOSP rom once, but I can't say that with complete confidence.

Bump; is this really not an issue for people? I can try and grab a sample video if that helps? I figured this would be a more global thing, not just me. The main reason I need (or want) this to work is because all of my online class lectures are recorded in this format and being able to watch the lectures on the go would be extremely beneficial.

I can play a 4gb hd rip of avatar on my phone in rockplayer (hardware mode) with no skipping
please post a link to a vid your having problems with

NewZJ said:
I can play a 4gb hd rip of avatar on my phone in rockplayer (hardware mode) with no skipping.
Click to expand...
Click to collapse
Hmm, ok, so it took that sentence for me to realize I'm an idiot. I've tried hardware mode with every video file I have put on my phone (avi, mp4, wmv), but wasn't surprised when they didn't play-- if they did, couldn't I just use the stock video player?-- but my school files for example are .mp4, which should play, but I guess the system player doesn't support whatever encoding/bitrate these videos are made with? Does this mean I won't get this to work unless I re-encode / convert the files I have into a new mp4 the phone will support natively?
Excuse my ignorance on the issue; I guess my understanding of the application and android system is more limited than I initially thought.

Related

Video codec issues? playback.

Hi everyone,
Just to a couple of questions.
When I record a wide screen 800x480 video with the phone it plays back fine on the phone. When I copy it to my PC it won't play the audio. I have tried using VLC player, and Windows Media player. No sound.
The file is a .3gp type file (I chose mp4 encoding). I think a missing codec called samr is required to get sound on the clips on the PC. Anyone know a way around this?
Secondly, I have lots of clips I would like to look at on the phone. I tried uploading a H.264 file (mp4 file) and it won't playback. plays fine on my PC obviously. Tried using a conversion program to resize it to the exact 800x480 in H.264. Still won't play on the phone. what conversion tool do you use and what codec must the file be to play on the desire. H.264 doesn't seem to work?
the tool that works for me is "Convert Any to DVD Professional 4.0.5). It has an option for Nexus one H.264 and you can also crop the conversion etc. Oter conversion programs did not work for me even though I chose H.264. strange.
I use Any Video Converter Pro.
Also used it for my Magic without problems.
Winmenc works nicely with h264 encodes, someone posted a profile on these boards. However there is a lipsync issue.
I cant seem to get handbrake working with h264 which is a pain because that is what I normally use.

[Q] ROM with working h.264 playback

Can anyone tell me which ROM out there has working h.264 playback other than the original AT&T Tilt 2 ROM? Depending on the encoding program I use, I either get no audio or no video.
I've posted on this a dozen times, but no one has a fix. I've tried the latest Energy ROMs (start menu up top) and the new AT&T ROM, but no go. I've even put a trouble ticket in with HTC (they say it's not a known issue, but are looking into it).
Before you blame my phone or my videos, I've got a Tilt 2 and a T-Mobile Touch Pro 2. Both show the same problem. If I take the very same videos, that don't work on my Tilt 2 with Energy or the latest AT&T ROM, and downgrade to the original ROM, they work! Also, the videos play with
I'm hoping someone knows of a ROM based on a working ROM that I can load on both my AT&T Tilt 2 and T-Mobile Touch Pro 2.
You need 3 .dll files from the original Tilt2 ROM to make it work.
qccmquery.dll
QTV.dll
qtv_mp4_decoder.dll
I don't know for sure that you have to have all 3 of the files, but I do know it works if you do have all 3.
rgb-rgb said:
You need 3 .dll files from the original Tilt2 ROM to make it work.
qccmquery.dll
QTV.dll
qtv_mp4_decoder.dll
I don't know for sure that you have to have all 3 of the files, but I do know it works if you do have all 3.
Click to expand...
Click to collapse
Where should they be placed (in what folder)?
Edit:
I tried placing them in the \Windows folder. I rebooted and now I have audio, but no video. So close, but yet so far. Any other suggestions?
Nautme said:
Where should they be placed (in what folder)?
Edit:
I tried placing them in the \Windows folder. I rebooted and now I have audio, but no video. So close, but yet so far. Any other suggestions?
Click to expand...
Click to collapse
Yes, they go in the Windows folder. You may have to use Total Comander or something like that in order to actually overwite the ROM files and you will probably have to do a soft reset after placing the files on the device.
Also, I just use the Full screen player to view the videos. I don't use WPM or anything like that, but the other players should work also.
Yup. I used Total Commander and did a Soft Rest. I'm just using the HTC player, and now no video on any of the h.264 videos, but sound. Before I had some with video and no sound and some with sound and no video.
I've looked around and found a few different versions of those files, also some references to htcmdp.dll, so I'll try swapping a couple of them in.
Also, what ROM are you using. I like the Energy ROMs, but I'm not married to them, so if yours works...
It's my own home brew.
All the ROMs that I have used so far, from the original Telstra stock ROM to the my current Energy 21907 ROM all played mp4 (H.264 and AAC) video files correctly. Frame rate may not be ideal depending on the bitrate and file sizes. But at least they play without me having to do anything.
bchau said:
All the ROMs that I have used so far, from the original Telstra stock ROM to the my current Energy 21907 ROM all played mp4 (H.264 and AAC) video files correctly. Frame rate may not be ideal depending on the bitrate and file sizes. But at least they play without me having to do anything.
Click to expand...
Click to collapse
Which ROM specifically? I'll load it today. I'm currently using the August 25th, 21914 Sense 2.5 ROM. I'm not a big fan of the Cookie Home Tab, but if it works, I'll give it a shot.
Also, what player are you using? TCPMP works for the h.264 videos, but really jerky. Windows Mobile and the HTC player used to be perfectly smooth on the h.264 videos, but now no video at all, or at least not in any newer ROM I've tried.
bchau said:
All the ROMs that I have used so far, from the original Telstra stock ROM to the my current Energy 21907 ROM all played mp4 (H.264 and AAC) video files correctly. Frame rate may not be ideal depending on the bitrate and file sizes. But at least they play without me having to do anything.
Click to expand...
Click to collapse
Assuming your signature means Energy Cookie Home Tab 21907, I just did a Task 29 and loaded the latest Energy CHT 21914 from August 28th. I opened Total Commander and clicked on a MP4 file that was h.264 and AAC encoded (which launches HTC Player). Videos from MP4forHD and the Video Encoding GUI have no audio (video plays smooth). Videos from AVS, Nero, and Xilisoft have audio, but no video.
So the search continues...
Why don't you try a mediaplayer alternative like TCPMP ?
http://forum.xda-developers.com/showpost.php?p=5685536&postcount=1
PNut said:
Why don't you try a mediaplayer alternative like TCPMP ?
http://forum.xda-developers.com/showpost.php?p=5685536&postcount=1
Click to expand...
Click to collapse
I do and have. TCPMP cannot keep up with the frame rates of h.264 files unless you severely reduce the bit rate. I've tested frame rates of 23.97 and 29.97 at bit rates of 500k to 2000k and they don't play smoothly in TCPMP, or CorePlayer (which I've purchased). If you take a look at the Video Encoding GUI http://forum.xda-developers.com/showthread.php?t=467112 it will tell you not to use CorePlayer as it does not support hardware acceleration.
The fun thing is I have a bunch of videos that I converted to h.264 so that my 2 1/2 year old son can watch videos upon request. On my Fuze, everything worked fine. He dropped my Fuze, so AT&T replaced it with a Tilt2. I didn't like the ROM, so I upgraded to an Energy ROM (which are great). Unfortunately, I have not found a ROM other than the original AT&T TilT2 ROM to play h.264 videos. Having to re-encode them is a ridiculous solution.
Nautme said:
Assuming your signature means Energy Cookie Home Tab 21907, I just did a Task 29 and loaded the latest Energy CHT 21914 from August 28th. I opened Total Commander and clicked on a MP4 file that was h.264 and AAC encoded (which launches HTC Player). Videos from MP4forHD and the Video Encoding GUI have no audio (video plays smooth). Videos from AVS, Nero, and Xilisoft have audio, but no video.
So the search continues...
Click to expand...
Click to collapse
I simply have the mp4 video at my SD card. The HTC Album recognises that and I can play from there. Again, it depends on the file size and bitrate. I have a 640x480 video with a data bitrate of 1 Mbps and it plays well on TP2. I have other that are 1280x720 and bitrate of 9 Mbps and it would be a few sec per frame. But then you really need a laptop to play that kind of video.
Now I think you need to make sure the video is encoded properly. I use Adobe Media Encoder to encode my videos. The 1280x720 video I refer to above, however was straight from my Sanyo Xacti camcorder as it captures H.264 AAC video directly.
Just one more thing you can try. The TP2 camera can captue H.264 video. (You would need to set the format at the advanced video camera settings there.) Then try playback the capture video. If it doesn't play back that video, then there definitely is something wrong with the ROM you have.
bchau said:
Just one more thing you can try. The TP2 camera can captue H.264 video. (You would need to set the format at the advanced video camera settings there.) Then try playback the capture video. If it doesn't play back that video, then there definitely is something wrong with the ROM you have.
Click to expand...
Click to collapse
How could there be something wrong with just about every ROM I've tried, on two different phones. Also, I've put in a support incident with HTC and they've verified it's an issue. Below is a list of ROMs I've tried.
These ROMs will play h.264 videos made with Video encoding GUI or Mp4ForHD apps here on XDA:
AT&T Stock Tilt2 ROM
Josh's Black 1.8b_Sense_2.5_2012_Norm
These ROMs don't correctly play h.264 videos. When playing video encoded with Video Encoding GUI or Mp4ForHD, there's video, but no sound. When playing videos from AVS, Nero, or Xilisoft, there's audio, but no video:
Jackos_S2_ROM_ManilaRUSH1.6
TP2 WM6.5 ROM (COM2) V45 (Core 21908) OS 2.07 SENSE 2.5_2016 (UPDATE 07-07)
[11Aug10]CORE CELL EVO V3.1 & PRO V31 [23127 & 21911] [Sense 2016]
Energy.RHODIUM.23569.Sense2.1.Jun.02
Energy.RHODIUM.21905.Sense2.1.Jun.02
Energy.RHODIUM.21911.Sense2.1.Jul.14
Energy.RHODIUM.23569.Sense2.1.Jul.14
Energy.RHODIUM.23673.Sense2.5.Cookie.Aug.04
Energy.RHODIUM.21911.Sense2.5.Aug.04
Energy.RHODIUM.21914.Sense2.5.Aug.25
Energy.RHODIUM.21914.Sense2.1.Aug.18
Energy.RHODIUM.21914.Sense2.5.Cookie.Aug.28
Energy.RHODIUM.23127.Sense2.5.Aug.28
Energy.RHODIUM.21914.Sense2.5.Aug.28
I've downloaded a couple videos from the web that do play with video and sound, but there's no rhyme or reason. I can't determine what is different about the one or two that work out of 50 that don't.
Hi,
This is something I too am actually searching for...
I have discovered that agent47's Valkyrie Roms do play, with sound and video, the mp4s that I had encoded for my Touch HD. Link is http://forum.xda-developers.com/showthread.php?t=569507
Now why they do, and what makes them different, are some extra drivers present, that I would love to know...
Do try them ou and let me know your experience.
And, for those that suggest always to try TCPMP or Core player, these two great softwares do not, however, take advantage of the machine's hardware, unlike Album or Media Player. By using the two latter ones to play the mp4 files, the experience is much more fluid and with correct fps...
Regards,
P.
pdc4 said:
Hi,
This is something I too am actually searching for...
I have discovered that agent47's Valkyrie Roms do play, with sound and video, the mp4s that I had encoded for my Touch HD. Link is http://forum.xda-developers.com/showthread.php?t=569507
Now why they do, and what makes them different, are some extra drivers present, that I would love to know...
Do try them ou and let me know your experience.
And, for those that suggest always to try TCPMP or Core player, these two great softwares do not, however, take advantage of the machine's hardware, unlike Album or Media Player. By using the two latter ones to play the mp4 files, the experience is much more fluid and with correct fps...
Regards,
P.
Click to expand...
Click to collapse
Sorry to say, that after doing Task 29 and loading tp2_firestorm_v7.3.21914-FX that it's actually worse than all the others I've tried. Using the HTC Player, it freezes upon loading the video. Using Media Player, the program loads and as soon as it stops loading, it closes. I'll add it to my list of the non-workings.
Now that is strange...
I have not yet tried the new version 7.3 of the rom, as my previous tryout was with version 7.0.23123-xt, link here http://valkyrie.htc-files.com/downl...restormLEO/v7.0/tp2_firestorm_v7.0.23123XT.7z
With this one, after task 29, I had perfect results, both sound and video, of mp4s encoded with projection's video encoding gui (link http://forum.xda-developers.com/showthread.php?t=467112 )...
I wonder if the new rom version has somehow broken the previous mp4 compatibility... and this would not be pleasant at all.
I will have to try the new version, after I finish with the energy rom (so far also not compatible, sound wise...)
In the meantime, do try the previous version mentioned, and let me know if it works for you.
Regards,
P
Just one more thing you may want to try. The way your phone is connected to PC (USB to PC setting):
1. ActiveSync
2. Disk Drive
Try the disk drive option. It won't modify the file as it get copied onto the phone.
pdc4 said:
Now that is strange...
I have not yet tried the new version 7.3 of the rom, as my previous tryout was with version 7.0.23123-xt, link here http://valkyrie.htc-files.com/downl...restormLEO/v7.0/tp2_firestorm_v7.0.23123XT.7z
With this one, after task 29, I had perfect results, both sound and video, of mp4s encoded with projection's video encoding gui (link http://forum.xda-developers.com/showthread.php?t=467112 )...
I wonder if the new rom version has somehow broken the previous mp4 compatibility... and this would not be pleasant at all.
I will have to try the new version, after I finish with the energy rom (so far also not compatible, sound wise...)
In the meantime, do try the previous version mentioned, and let me know if it works for you.
Regards,
P
Click to expand...
Click to collapse
Okay... I've tried the following Valkyrie ROMS-
tp2_firestorm_v7.0.23123XT
tp2_firestorm_v7.3.21914-FX
tp2_firestorm_v7.3.23134-FX
The 7.0.23123XT version plays h.264 videos that were encoded with MP4ForHD or the Video Encoding GUI just fine. It only plays audio from h.264 videos encoded with AVS, Nero, or Xilisoft.
The two 7.3 versions don't work at all. They crash when trying to load any h.264 video.
At least I've got a few ROMs now that work. I'll try and take a look at the files to see what's different.
bchau said:
Just one more thing you may want to try. The way your phone is connected to PC (USB to PC setting):
1. ActiveSync
2. Disk Drive
Try the disk drive option. It won't modify the file as it get copied onto the phone.
Click to expand...
Click to collapse
I either use the Disk Drive mode to transfer videos, or I pop the MicroSD car into an SD adapter and put it right in my laptop. I don't believe there's a setting issue at play as that wouldn't explain why different ROMs work and don't work.

I want to be able to play all movie types.

I dont want to have to worry about decoding, or converting, or anything at all. I just want to click on a movie file, and play it. Is there any player out there(free) that can do that?
Vplayer is like that, and WAS free until about 3 days ago. you can give rockplayer a try, it isnt bad.
It really depends on the type of file you are trying to play (there are tons of video formats/containers out there). If you use some obscure format, you should search for it (try either directly in the market or on this site).
For the more commonly-used types though, popular choices on this forum include RockPlayer and VPlayer (not as popular now because it has become a paid app). Some people also like arcMedia. I believe there is also a ported version of mPlayer in the main app forum. Supposedly, VLC for Android will be coming out soon as well.
I've been using VPlayer without any issues, though I'm interested to try VLC once it comes out. RockPlayer also worked well for me before VPlayer came out.
okay well i found a 4 day old vplayer.apk online. we'll see what that does.
Edit: it flickers, a lot. Is it always like that?
I heard VLC is coming out soon for Android (sometime this month). If so and if it's anything like the PC version it should play pretty much anything.
Not sure about ISO (not sure if you need that), but for common formats like AVI, WMV, MP4, I find Rockplayer to be the best. It handles every video I've thrown at it. Although sometimes I need to pick either hardware decoding off/on depending on the video. With it off, some WMV videos lag. With it on, some AVI videos FC the program.
Vplayer lags into slow-motion on some WMV movies, and also has some pixelation for a few seconds while scanning through a few AVI videos. But otherwise a pretty decent player also.
ArcMedia was a very poor player, to me. It lagged on WMV videos. Interface needed lots of work (displayed file names too short, no landscape browsing). Inferior to both Rockplayer and vPlayer. Similarly, I tried mPlayer, file compatibility was not great, and the interface was really clunky. It takes too much time to navigate and find the desired video.
yeah when i said all formats, i really meant all the like, common ones. but more than just mpeg, and wmv. so divx and h264 is about as much as i need. I got vplayer installed now, the beta. the beta is pretty good, i wouldnt mind paying for it. I mean i would mind, because its just a damn video player, but i also wouldnt mind it. but it flickers a lot. is that normal?
I haven't noticed any flickering on vPlayer, that's odd. Is it evident just watching a video for a couple minutes (I mostly use Rockplayer)?
I have never had any flickering with vplayer. Try setting the lum at a level. Move your finger up on the left half of the screen while watching a video.
Video playback on android is a bit of a problem still. Problem is that the built-in player only recognizes a few containers, and these containers are very restricted in the content they can carry.
There are some other players that are more universal, but a design limitation of android makes it impossible for them to use the integrated video decoder to accelerate decode. As a result, these players will have a very low performance and drain your battery fast due to running the CPU hard.

[Q] Choppy video - used to work okay. No video in native player, either

I've been experiencing some choppy video problems on my myTouch Slide. I know phones are somewhat notorious for this, but the weird thing in my case is that it used to work just fine and now it won't. Same video file (a movie in WMV format), same media player (arcMedia), now it won't work.
So I thought "it's probably a problem with arcMedia." So I tried RockPlayer. Same problem. Then I tried streaming flash video on Dolphin HD (which also used to work provided the video was buffered). Same problem.
So I grabbed an MP4 off of NASA's website and tried it on the native player. I don't get any video, just sound. From what I can tell this video should play just fine: H264 video codec and everything.
I'm new to Android but not new to computers and tech.
Any ideas?
Well what changed? Did you install any new apps that may be running in the background? Did you flash another rom or something since the last time you played this wmv file?
What was the resolution of the MP4 off the NASA site? If it was HD that is probably the reason why you get no video.

Video not playing back full quality/buffering needed

so i am wondering if it's my SD card, but it should be a good quality sony one. anyways. I am trying to play either a 720 or 1080 video file and at least in the stock video app the phone studders/stops and it can't keep up. anyone else have this issue?
Is it uhd card?
What type of HD video is it (what container does it use)?
Have you checked for an excess of processes running in backround eating resources?
Have you tried running from the device storage? If so does it work?
xxxtncxxx said:
Is it uhd card?
What type of HD video is it (what container does it use)?
Have you checked for an excess of processes running in backround eating resources?
Have you tried running from the device storage? If so does it work?
Click to expand...
Click to collapse
thanks will copy it over to the phone's storage. one is an h264 [email protected] 1080p. the other is h264 mp4 at 720p... Phones recent apps have been cleared. i think it's a UHD card but need to double check
laughingcolors said:
thanks will copy it over to the phone's storage. one is an h264 [email protected] 1080p. the other is h264 mp4 at 720p... Phones recent apps have been cleared. i think it's a UHD card but need to double check
Click to expand...
Click to collapse
OK well it could be so many different things...
Just to clarification UHD card is needed to record in full HD and certain other modes (I believe it is required to use the full HD settings and should automatically detect if it is, and not allow you to choose certain settings if it is not). Obviously if you can record in full hd should have no issue viewing in full hd. Again I am not 100% sure about that, I believe I read something about that in documentation, but I may be confusing that with something else. So you may want to do some research on it yourself.
I have no issues playing x264 1080p movies from device, currently I don't have a SD card installed. they play fine in stock player (except some of the videos I have the audio stream isn't supported by stock video player but plays video stream fine) but I use MX or xbmc I prefer those players.
xxxtncxxx said:
OK well it could be so many different things...
Just to clarification UHD card is needed to record in full HD and certain other modes (I believe it is required to use the full HD settings and should automatically detect if it is, and not allow you to choose certain settings if it is not). Obviously if you can record in full hd should have no issue viewing in full hd. Again I am not 100% sure about that, I believe I read something about that in documentation, but I may be confusing that with something else. So you may want to do some research on it yourself.
I have no issues playing x264 1080p movies from device, currently I don't have a SD card installed. they play fine in stock player (except some of the videos I have the audio stream isn't supported by stock video player but plays video stream fine) but I use MX or xbmc I prefer those players.
Click to expand...
Click to collapse
so i copied some files to the phones storage, and the issue's still happening. files that played fine on my note 2 do it as well too. if i just tape the screen while the video's playing it unfreezes the video (while audio playing) it still happening . haven't tried another video player app yet, just stock.
urgggghh. but watching video on the phone while flying this week has been incredible.
Are u sure the video files are ok?
Did you checksum files after xfering or moving files?
You sure it has nothing to do with the settings on your phone, running apps, system resources or lack thereof? Maybe they were encoded with abnormal settings, causing higher player resources.
Other than that there is really nothing else I can think of atm to help you out sorry.
I have not had any issues watching Full HD mkv's on stock player, MX Player, or XBMC/KODI. From device storage, sdcard, or network.

Categories

Resources