Using the information provided in this thread:
http://forum.xda-developers.com/showthread.php?t=500574
I've made some benchmarks using Coreplayer, and what a surprise when I saw that this wasn't just a placebo effect:
On my Blackstone, used some divx encoded movie (container is avi, not mp4, so not playable with wmp), and a movie acquired with the camera, so .mp4.
I did a benchmark and the result is the following:
Methods
HTC Touch HD, latest Dutty's V3 rom, freshly flashed.
No Additional program installed.
Coreplayer 1.3.0 build 6213
1st movie is a DVDrip, avi, xvid.
2nd movie has been acquired with the HD's camera, so it's MP4.
Results are presented as following:AVI movie / MP4 Movie / MP4 Video paused in WMP in backgroundDriver QTV117 % / 135% / without wmp running a mp4 vid.
115 % / 197% / with wmp runninga mp4 vid.Driver DirectDraw92 % / 142% / without wmp running a mp4 vid.
86 % / 186% / with wmp runninga mp4 vid.
Analysis:
The avi movie suffers from the additional memory used by WMP in the background, and there is no improvement.
The MP4 movie benchmark improves dramatically when a MP4 vid is paused in the background with WMP.
QTv still provides better results than DirectDraw.
Conclusion
There is some kind of acceleration with WMP in the background, but only with MP4 movies !
You may notice that it doesn't seem to be directdraw dependant. Neet, I love more confusion.
I want to thank zerocool159 for this nice finding.
Edit: doesn't seem to work with all the MP4 !Will try to find the right settings.
Impressive, I want to try it first
It's not working for me, but I think I must have missed something because my benchmarking gives 43%, it's the first time I try to play a movie on my HD.
Well, you need several things, and I don't know if it's related to the Rom version I use.
Take a quick movie of whatever with your camera. Use Windows media player to play it. Put it in pause.
Without closing WMP, launch Coreplayer (the latest version I assume), and play a .MP4 movie. You can convert almost anything with the movie encoder GUI found on here.
Bump. No one interested ? Really ?
I am very interested, this is in fact very funny. Since there is special dll - qtv-mp4-"something" . Actually this is very strange. I first thought that WMP is somehow modified to use acceleration, than i have been told I am wrong. Later, there were some qtv dll´s found, as mentioned before one especially for mp4, so this acceleration is abviously not coused JUST by directdraw support of WMP. Anyway, I hope that CP will release CP 2.0 sooon. Also, if it it true, than Topaz drivers can boost video playback.
Dredd67 said:
Well, you need several things, and I don't know if it's related to the Rom version I use.
Take a quick movie of whatever with your camera. Use Windows media player to play it. Put it in pause.
Without closing WMP, launch Coreplayer (the latest version I assume), and play a .MP4 movie. You can convert almost anything with the movie encoder GUI found on here.
Click to expand...
Click to collapse
That's exactly what I did, nothing special happened, with or without wmp running, i got between 40 and 43%... the divx was encoded using an encoder found on this forum ^^
Ok, try with a video you've recorded with your HD's camera. I think there's something really weird going on. I've tried with a video compressed with badaboom and it doesn't work either.
I think the file format is very specific. Will ty to see if I can find the settings used by the camera to generate those files.
When I benchmark a camera video, I get 196%, and wmp still doesn't change anything...
There is definitely something weird going on, here's what I've posted in Manilla 2d speed boost thread:
This might be interesting to some people with more knowledge.
Tried this just now and it did make things run faster and smoother however, I noticed that on my homescreen the background I'm using had several white spots dotted about all over the screen (several hundred in fact) - as though the image had suffered from it's compression.
So, thinking I'd have to restart the device I just closed everything to first make sure I didn't have too many things running and noticed when closing HTC's Album the spots disappeared in front of my eyes!!
Tried it again with JUST Album running and the same thing happened.
Don't know if it will give anyone any clue as to what's going on but I'll try and grab some pictures if you think it would help
BTW: using the stock rom from Orange v1.19
Click to expand...
Click to collapse
Just saw that also, really weird.
Using MyMobiler can't get a proper picture of the white dots, but they are still there.
Will try with pocket screen.
Edit : WEIRD: I can see them but impossible to capture them !
Click to expand...
Click to collapse
i can confirm the graphical artefact displaying photos in the touchflo3d thumbview (white, blue, green smears and spots) while wmp is paused on a mp4 thingie...
having the picture thumbs scrolling is quite revealing : the dots on the pictures are part of the paused video !
theory : wmp loads some qualcomm dll for mp4 playback. said dll then does some stuff of its own that turns 2d overlay/framebuffering hw acceleration on.
meanwhile manila is doing the same thing througth some htc dll.
both apps access the framebuffer through 2d hardware, hilarity ensues !
draxredd said:
i can confirm the graphical artefact displaying photos in the touchflo3d thumbview (white, blue, green smears and spots) while wmp is paused on a mp4 thingie...
having the picture thumbs scrolling is quite revealing : the dots on the pictures are part of the paused video !
theory : wmp loads some qualcomm dll for mp4 playback. said dll then does some stuff of its own that turns 2d overlay/framebuffering hw acceleration on.
meanwhile manila is doing the same thing througth some htc dll.
both apps access the framebuffer through 2d hardware, hilarity ensues !
Click to expand...
Click to collapse
Jup, I have encountered the same effect on my Laptop/PC with certain programs with video on pause, a application video overlay boxing match, so to speak...
It really isn't working for me, when I start playing the camera movie on wmp, and then i pause it and i start playing another camera video on coreplayer, wmp won't be showing the video anymore, i mean that when i get back to wmp and press play, i have sound but not picture... So maybe am I doing something wrong?
I found this branch in registry... maybe help?! I don`t know what is this...
[HKEY_LOCAL_MACHINE\Software\Microsoft\DirectX\DirectShow\Video Renderer]
"KeyIndex"=hex:fd,00,00,00
"KeyColor"=hex:09,09,09,00
"MaxBackBuffers"=dword:00000001
"UseOverlayStretch"=dword:00000001
"UseScanLine"=dword:00000000
"SurfaceTypes"=dword:000000ff
no updates?
That's what I'm wondering...
Guys, the update is the app developed by Chainfire called GfxBoost a while ago, what's stated in this thread was preliminary observations that finaly lead to GfxBoost...
Mods you can lock this thread I think.
hello everybody,
I'd try this solution on my TP2 and it's work perfectly.
Without WMP i have 70% of speed
with it grow to 115 %.
Thank you for this solution.
Ps: I'd just start wmp with a mp3
I modify my post because this solution had work only one time.
I'd try to test with/without wmp but the speed stay at 70%, mystery, mystery !!
Hi - I am new to Android and am struggling with some fairly basic concepts:
1. Unloading images, and video: I have Win7 and using the built in Windows image importer - it tries to unload all other images - not just camera. So I get lots of bookmark thumbnails etc; etc; I have also tried doubleTwist but that seemed overly complicated?
2. Sharing recorded video with others: The Desire seems to record to a format that no one can play. Well the video does but the sound does not. I have read that there is no way round this and you can only play it on your phone!!?? Surely thats not right? I just want to email friends some videos - surely thats not tricky!?
3. Multiple calendar reminders: When I get a reminder I get the option to Snooze All or Dismiss All - but I cant seem to dismiss just one reminder. Any ideas?
Thanks in advance for any help
vilbs said:
Hi - I am new to Android and am struggling with some fairly basic concepts:
1. Unloading images, and video: I have Win7 and using the built in Windows image importer - it tries to unload all other images - not just camera. So I get lots of bookmark thumbnails etc; etc; I have also tried doubleTwist but that seemed overly complicated?
2. Sharing recorded video with others: The Desire seems to record to a format that no one can play. Well the video does but the sound does not. I have read that there is no way round this and you can only play it on your phone!!?? Surely thats not right? I just want to email friends some videos - surely thats not tricky!?
3. Multiple calendar reminders: When I get a reminder I get the option to Snooze All or Dismiss All - but I cant seem to dismiss just one reminder. Any ideas?
Thanks in advance for any help
Click to expand...
Click to collapse
1. The beauty of using a non-Apple smartphone is that you don't have to use a special application to manage your files. Just connect your device to your PC as a disk drive. Browse to it with your file explorer and just drag&drop.
2. Not sure what you mean here. Windows Media Player on Windows can play the videos recorded with the Desire. And Quicktime on OSX can as well.
3. Yeah, there's no way around this one. Bummer...
In terms of photos, why don't you just drag and drop...you don't really need to use an importing tool. That seems overly complicated for what you want.
On the video side of things, you have two formats to choose from. 3gp and Mp4. When you're shooting video there's a tab on the left. Pull it out and at the bottom is the settings. You can then choose "Encoding type" and switch. I believe you'll get the best compatibility with Mp4.
The reminders thing? I have no clue.
1. Issue with sync - OK I will drag and drop. The importer utility is normally quite handy as it only unloads images that havent already been unloaded etc; etc;
2.
Aitese said:
On the video side of things, you have two formats to choose from. 3gp and Mp4. When you're shooting video there's a tab on the left. Pull it out and at the bottom is the settings. You can then choose "Encoding type" and switch. I believe you'll get the best compatibility with Mp4.
Click to expand...
Click to collapse
I have the choice out of H.263 and MPEG4. Both options output a .3gp file (I presumed that MPEG4 should output a .MP4). Both .3gp give the following message in VLC player "No suitable decoder module: VLC does not support the audio or video format "samr". Unfortunately there is no way for you to fix this." Media player doesnt give me a message it just doesnt give audio. Google this tells me that there is no easy way to solve this. So how come it works for you?
3. "...Yeah, there's no way around this one. Bummer..." Bummer indeed
Oh well - thanks for your answers guys but I would really love to try and sort this video issue. Incidentally its the same with sound recordings - they use the same samr codec which basically cant be used
Ah, well it seems both RealPlayer and Quicktime can play back the videos encoded with the mp4 or H.263 format.
EDIT - And also Windows Media player. I have read that VLC can't play them due to licensing issues for the AMR sound format.
download and install the k-lite codec pack it will include the classic player which is more than capable of playing these videos. I did have an issue with my vids i was recording when i was making a recording that lasted longer than 10 minutes, it was almost as if the card was too full record properly however the recorder still carried on going, this can be recognised when you press stop on the video recording and it goes straight back to the desktop instead of the camera. when this occurs nothing will play the file as it is corrupt. it must have been a third party program i had installed as when i defaulted the device the problem stopped and it would record as normal.
Hi everyone.
I am not able to reproduce local video files, using video tag of Html5 in an Android application, even developing an Android cross walk application, the video Html5 tag only works fine with videos located in a http server, with local files includes in the application only works in full screen mode, otherwise only the audio is played, the video is showed as a black screen.
I think the issue could be related to the Web browser for Android, I tested the application in the latest version of the chrome Mobile browser and the behaviour is exactly the same.
Anyone know how to solve this issue?
By the way, the Android version where I am trying is 4.1
Thanks a lot in advance.
Regards
David
the issue is not with browser.its with the video. i too had the same issue when playing mp4 videos locally in webview. i tried different versions/ encoders when converting video and it worked without any code changes. just try converting the mp4 to different encoder or better try with a 3gp format. it will work
Thanks si much, I did some tests just related to you mean, but it doesn't work for me, may be if you could me the encoder, format, bitrate, etc. I will able to solve as you did.
Do you remember the combination you used.
Thanks a lot
Regards
David
I was able to execute correctly the app in other device, with mp4 and with webM video format, but in the initial device doesn't work fine, there, the video only works in full screen mode or if the video is located in Internet, if the video is located locally it only is reproduced if I tap the full screen icon of the Html5 video tag controls.
For this reason, I am not sure that the problem is related to the video, but with the Web browser, or may be with the device, the app works fine in other device with Android 4.2 and Android 4.4.
Any idea about how to try to solve for Android 4.1?
Thanks a lot in advance.
Regards
David
The problem is that the local files have "file://" protocol so they can't be played by just using the video tag, you need to use a video cordova plugin like:
https://github.com/moust/cordova-plugin-videoplayer
https://github.com/nchutchind/Streaming-Media-Cordova-Plugin
Hope I helped
Suggestion
I would suggest checking that the local file exists.
Perhaps a popup-box or console log that displays the url, and manually navigate to the URL.
This is almost always the issue for me -- other than file corruption it's self.
Does anyone else have sync issues with longer videos? I've tried different players, hardware and software decoding.... Cyan OS, cyanogenmod 12 and 13.
Pfffftttt confused
How long is the videos that's out of sync? You could try downloading a different player, like BSPlayer or MXPlayer that allows you to correct the audio sync if it the video that's not coded properly.
Maxsteel9 said:
How long is the videos that's out of sync? You could try downloading a different player, like BSPlayer or MXPlayer that allows you to correct the audio sync if it the video that's not coded properly.
Click to expand...
Click to collapse
'Any' video I've have tried over 15 mins long, I have tested the source videos on multiple platforms and they are solid
the only device and platform with an issue is my Swift, and yup as mentioned I've tried plenty of players etc.... A workaround video by video aint really the answer
I can't blame the ROM either as all available ROMS have suffered with the same issue
I just put 42min 1080p mkv video inside the SDcard to check. Doesn't open with the pre-installed video player/Google photos but runs as a champ with VLC on standard settings. In power saving mode takes more time to seek but nothing else. I'm running CyanogenOS - 12.1.1-YOG7DAS2FI
What videos have you tried? Format, encoding, something out of the ordinary as I can't reproduce the issue. Is the audio out of sync after hitting the 15 min mark or straight from the beginning?
Hi,
In chrome, audio is not playing automatically.
Following solutions I tried but no use.
1) In video tag, muted the player and run it off.
2) In iframe src tag, played the audio.
But none of the above options working in chrome.
If anyone knows about this solution, kindly let me know
Thank You.
shobana_chandrasekar said:
Hi,
In chrome, audio is not playing automatically.
Following solutions I tried but no use.
1) In video tag, muted the player and run it off.
2) In iframe src tag, played the audio.
But none of the above options working in chrome.
If anyone knows about this solution, kindly let me know
Thank You.
Click to expand...
Click to collapse
There is also another workaround for this according to @leonard
Create an iframe that doesn't play anything just to trigger the autoplay in the first load.
<iframe src="silence.mp3" allow="autoplay" id="audio" style="display:none"></iframe>
good source for the mp3 file silence.mp3
Then play your real audio file at ease.
<audio id="player" autoplay loop>
<source src="audio/source.mp3" type="audio/mp3">
</audio>
Personally I prefer solution #2 because it is cleaner approach for not relying so much in JavaScript.