[Q] Streaming from Youtube? - Windows Phone 7 Software Development

Hi, guys. Technical question, I wanted to try making a quick application that streams from YouTube first, then I'll try other video sites.
I thought, since apps like SuperTube e LazyTube are out there, it must be possibile.
First thing, the player, currently I'm using SMFPlayer (Silverlight Media Framework Player), downloadable here: http://smf.codeplex.com/documentation, but there's one thing I can't understand, does it support only WMV9 clips? What about the mp4 you can get from Youtube?
So, here is my code, that doesn't work.
Code:
namespace WindowsPhoneApplication1
{
public partial class MainPage : PhoneApplicationPage
{
// Constructor
public MainPage()
{
InitializeComponent();
try
{
WebClient client = new WebClient();
client.DownloadStringCompleted += new DownloadStringCompletedEventHandler(client_DownloadStringCompleted);
client.AllowReadStreamBuffering = true;
client.DownloadStringAsync(new Uri("http://youtube.com/get_video_info?video_id=QjTKLFASeSI&fmt=18"));
}
catch (Exception ex)
{
// handle error
MessageBox.Show( ex.Message );
}
}
void client_DownloadStringCompleted(object sender, DownloadStringCompletedEventArgs e)
{
PlaylistItem pli = new PlaylistItem();
// an exception, display the resource.
string token = "";
if (!e.Cancelled && e.Error == null)
{
string risultato = (string) e.Result;
int pos1 = risultato.LastIndexOf("&token=");
//int pos1 = risultato.IndexOf("&token=");
pos1 += 7;
int pos2 = risultato.IndexOf("&", pos1);
token = risultato.Substring(pos1, pos2 - pos1);
ApplicationTitle.Text = token;
}
else
{
ApplicationTitle.Text = "ERRORE";
}
pli.DeliveryMethod = DeliveryMethods.AdaptiveStreaming;
//pli.MediaSource = new Uri("http://ecn.channel9.msdn.com/o9/content/smf/smoothcontent/bbbwp7/big buck bunny.ism/manifest");
string mioPath = "http://youtube.com/get_video.php?video_id=QjTKLFASeSI&t=" + token + "&fmt=18";
pli.MediaSource = new Uri(mioPath);
Lettore.Playlist.Add(pli);
Lettore.Play();
}
}
}
I've tried:
1) using all the DeliveryMethods out there.
2) using both & and &, in the Uri's.
3) remove the &fmt=18 from the Uri's.
What is wrong? Am I using the wrong player? Is there some problem with the URL's? YouTube blocked them?
Thank you so much guys.
DT84.

To play YouTube videos you should research what is the MediaStreamSource is, and how to implement your own mss plus mp4 parser.
You may start learning things here: http://mediastreamsources.codeplex.com/

Try adding &ext=.mp4 at the end of the link. It works sometimes, kind of hacky but sometimes needed for the media player to understand the link is infact and mp4 file.
Than add this link to the mediaElement.source or someting like that. Its really not that hard

sensboston said:
To play YouTube videos you should research what is the MediaStreamSource is, and how to implement your own mss plus mp4 parser.
You may start learning things here: http://mediastreamsources.codeplex.com/
Click to expand...
Click to collapse
Thank you so much, too bad the parsers need a Stream object, and currently I can't find a way to get a Stream object from my FLV/MP4 streaming clip. Any clue?
Marvin_S said:
Try adding &ext=.mp4 at the end of the link. It works sometimes, kind of hacky but sometimes needed for the media player to understand the link is infact and mp4 file.
Than add this link to the mediaElement.source or someting like that. Its really not that hard
Click to expand...
Click to collapse
It doesn't work, it looks like the player I was using just can't play mp4's, thank you anyway.

DT84 said:
Thank you so much, too bad the parsers need a Stream object, and currently I can't find a way to get a Stream object from my FLV/MP4 streaming clip. Any clue?
It doesn't work, it looks like the player I was using just can't play mp4's, thank you anyway.
Click to expand...
Click to collapse
mediaElement can play mp4s, or just redirect it to the zune player. That also works. Note that playing vids does not work at all in the emulator, so its a PITA to debug it (pluggin/unpluggin constantly)

Marvin_S said:
mediaElement can play mp4s, or just redirect it to the zune player. That also works. Note that playing vids does not work at all in the emulator, so its a PITA to debug it (pluggin/unpluggin constantly)
Click to expand...
Click to collapse
Let's say I don't want to play just mp4s, but also... uhm... flvs. Is this totally impossible? I heard the video playback sucks in the emulator, but at least you can hear the video's audio. Just to say, damn, it's playing.
So... I think I have to dev unlock my phone, paying 100$ or whatsoever, just to debug my app?
Jeez...
Thanks for your help.

Great idea OP
i was thinking about this, but an idea is all i have
So the app plays flash video, but outside the browser, you get a button instead of the video in the browser which takes you to the player
and downloading would be great

mariu$ said:
Great idea OP
i was thinking about this, but an idea is all i have
So the app plays flash video, but outside the browser, you get a button instead of the video in the browser which takes you to the player
and downloading would be great
Click to expand...
Click to collapse
Ahem... that isn't what I'm planning to do. ^^'

what are you trying to do
another youtube client?
im pretty sure that the flash failure is one of the biggest, close to multitasking, but someone is working on it
so you can correct that

mariu$ said:
what are you trying to do
another youtube client?
im pretty sure that the flash failure is one of the biggest, close to multitasking, but someone is working on it
so you can correct that
Click to expand...
Click to collapse
Nope, neither.
It would be stupid to make another YouTube client, since the ones currently on marketplace are really good.
Streaming from YouTube is just for practicing.

Now I understand why few streaming apps are out there, it is a pain to try making one with that emulator, it just doesn't work, and I don't wanna dev unlock my phone before I even get my app to work flawlessy.
I guess that I have to develop something else first... >_>

You're wrong. It's not a rocket science of course; for experienced, professional software engineer the HLS implementation, 4 example, will take not longer than 1.5-2 month. But problem is: who will invest at least $30K (2 mo salary) and how investor will get money back? (I don't know, actually).
For newbie, I agree, it's kinda complicated project; much better to start from something simpler. BTW, I'm strongly recommending you to learn Silverlight/XNA before start coding for WP7, at least some basis.

Related

................................

Two weeks ago I made a little application to convert any input video to MP4 compatible with our HD Touch HD.
At the beginning it was only for spanish people. It has been grown and now it's a big aplication and I want to share it with english spoken people.
Its main features are:
- Support for avi, mp4, wmv, mkv, mpg, m2v, mov, vob, flv. Dvd directly rip included.
- Adjust bitrate to resolution output video (from 250 to 800)
- Lets crop to our HD ratio aspect (5/3), and change the input video aspect ratio
- You can add, change order, or delete videos of the video pending queue in any time.
- Supports srt subtítles (if a srt file with same name is present)
- If heigth is greater than 480, it scales video
- Shows complete information of the video to convert (resolution, framerate, duration, etc)
- If input video includes multilanguage (Dvd, vod, mkv), you can select audio language, and subtitles language.
- You can select for each video the start and end position, and preview the video.
- You can join Mp4 of same resolution (if a video is splited in two videos, you can convert each one, and after join them)
- You can select if computer hibernate/suspends or shoot down after converting process.
- If application is minimized you see actual progress.
- Multilanguage interface support (actually English, Spanish and Catalan)
If you want to traslate interface to your language, copy the english.lng file to the name desired, and then edit with notepad, changing each input for the traslated one. Please send me this file if you want it will be present in the next version.
The link to the setup file is here:
http://www.mediafire.com/?sharekey=938060f0b669aea5931c7453395df0253b8a2def81d84139ce018c8114394287
I hope you enjoy it.
Regards.
Nobody has tested?
Great work!
I have a feeling most others probbably use some other application...
But don't let this stop you. Please keep us informed of updates.
I will try this when I get a free moment
Thanks
Dark Knight said:
Great work!
I have a feeling most others probbably use some other application...
But don't let this stop you. Please keep us informed of updates.
I will try this when I get a free moment
Thanks
Click to expand...
Click to collapse
It makes the same as 'the other' and much more,
and absolutly freeware.
Sorry, but where is the option to switch the bitrate for video?
Cupra TDI said:
Sorry, but where is the option to switch the bitrate for video?
Click to expand...
Click to collapse
It's automatic. It's calculated depending the size of the output video.
Looks great would love to give it a try... could someone attach it locally.. or post it to somewhere other than mediafire? I live in China... Mediafire is blocked. Although i can view the page using Firefox and the Gladder plugin to proxy it the php download gets screwed up. BTW just off hand anyone know a plugin or app for WM that can handle multi public proxies? the Great firewall blocks most free web site pages, more than half download pages Wikipedia on and off depending on moon phase <sigh> most blog pages ect.
If someone could relink it that'd be great, if you can advise on a proxy setup for china on WM please Private message me. Thanks
Psyberd said:
Looks great would love to give it a try... could someone attach it locally.. or post it to somewhere other than mediafire? I live in China... Mediafire is blocked. Although i can view the page using Firefox and the Gladder plugin to proxy it the php download gets screwed up. BTW just off hand anyone know a plugin or app for WM that can handle multi public proxies? the Great firewall blocks most free web site pages, more than half download pages Wikipedia on and off depending on moon phase <sigh> most blog pages ect.
If someone could relink it that'd be great, if you can advise on a proxy setup for china on WM please Private message me. Thanks
Click to expand...
Click to collapse
Tell me in what server must I attach it.
Regards.
Thread Moved to Blackstone Forum
alternative video converter for me
gona try this one
hey, Psyberd
Duplicate thread
Thread duplicated here: http://forum.xda-developers.com/showthread.php?t=478050 which also contains a rapidshare mirror.
..................
Sounds good
I'll try it tonight when I get home. I have tried almost all dvd converter softwares from Handango and none of them work with Omnia, I can't get full video screen. The only one that works is DVD catalyst 3.
Luego te digo como fue con este. I'll let you know later
Thanks Gracias
Omnia device and DVD convertion
I just tried tonight converting a DVD to mp4 and when I play movie in Omnia device I get message file format not supported even though the movie plays with a good full video resolution screen which is very hard to get with most of the softwares out there but in slow motion, it keeps stopping during the play.
Also how can I get subtitles from DVD? I can only see support for srt .
Thanks a lot

coreplayer best settings to watch video

hey what is the best settings to watch a video on coreplayer. My player seems to lag alot when i watch something, any ideas as to what i should do?
play at open in fullscreen, unchecked enable network access, changed video output to QTv Display, High Video Quality and smooth on, and add some preamp
I never be able to watch video at full speed using coreplayer (always a little bit laggy)
I think we must wait a new version...
it is because coreplayer doesnt support hardware acceleration
we all want that coreplayer adds this option...
if you guys are talking about movies, try downloading one of axxo's movies (google axxo) i promise you, you wont regret it you may even show off your x1 even more like i do lol
avi format and no lag on the x1 with coreplayer, actually i prefer to watch axxo conversions on my x1 than on my tv or laptop
btw, his full movies are about 700mb
Even if you do use downloaded videos (whether they're from axxo or not) you always seem to get lag. The only time I've got anywhere close to watching a full movie problem-free is when I've switched airplane mode on. I think by doing so you're stopping any additional software/hardware from running, leaving coreplayer to effectively run on its own.
I've messed about with some of the settings but never got anything that was noticably better than another. Guess we need to wait for software that uses the hardware acceleration
badger mushroom, try one of axxo's videos and prove me wrong, axxo's uploads play exceptionally well with coreplayer, and i am sure many many people can testify of this, try it and see for yourself dude.
i have tried all and i mean all conversion settings using 3 of the best converters, its true u do get a lag, but i promise you if you try axxo vidz, you will eat your own words checkmate
I watch videos without lag quite fast I'd say, I just convert the videos to flv and 800x480 and it flies
hey
i think this would be best.....try it n plz let me know
Select Page ---
BUFFERING:
Normal buffer size = 992 KB
Preload at underrun = 70.0 %
Preload for audio = 0 KB
Microdrive mode = checked
Microdriver buffer size = 16000 KB
Microdriver starts at 1472 KB
VIDEO:
Video output = QTv Display
Video quality = High
Smooth Zoom = On
Dither = Uncheck
ADVANCE:
Slow video memory = Check
Feel free to give your opinion, especially on the ADVANCE PAGE Setting
buzz83 said:
play at open in fullscreen, unchecked enable network access, changed video output to QTv Display, High Video Quality and smooth on, and add some preamp
Click to expand...
Click to collapse
Are these settings stored in the registry, or in a file?
working pretty good now with the new settings thanks again
Angelusz said:
Are these settings stored in the registry, or in a file?
Click to expand...
Click to collapse
stored in a file:
\Application Data\CorePlayer\config.xml
Hello my friend, I had your previous UC-Lite image and now I switched to this new one.
Everything is ok but Xperia Tweak still does not work (like old image), please see pic below.
Any other way to disable screen turning off during call ?
Thanks
S

The three major problems with android music player

First of all, for fix one of my problems (yes, code!) scroll to bottom!
Okay, coming from an iphone, I really like my Desire, better battery life, easy to install apps, better coverage and what not more. One thing that really stings me is how buggy and ****ed up the music player is. A smartphone should have a good music player, but this one is just ridden. Three of the major annoyances:
1. (FIXED WITH FROYO!)
Genre tags are not read. Even with my perfect tagging, genre tags are not read. iTunes reads them, Zune reads them, iPhone reads them, foobar reads them, the only one screwing up is the android player, so please do not tell me its just because tags aren't stored universal. This is a bug that must be fixed ASAP.
2.
Album Artists are not even read.
Music should be sorted by album artist, rather than artist. I know the fix was in the CyanogenMod one time, but i believe its removed now. You might wonder why this is such a big problem, but now I have albums scattered over THIRTY artists. Its a 4CD rap compilation with lots of ft. blah blah, so instead of
Celph Titled -> The Gatalog: A collection of chaos
It now is
Celph Titled ft. Chinook XL -> The Gatalog: A collection of chaos
Celph Titled ft. Apathy -> The Gatalog: A collection of chaos
etc. etc.
This is another prime bug that must be fixed!
Equalizer is not really important, despite what people say. Focus on these bugs instead!
3.
The 3rd annoyance is having no search function in the music player, but this is somewhat covered by 3rd party apps. It should functionality of the stock player though.
Just had to get that off my chest. Besides the OS and having a good SMS/Call functionality, the the third priority of a smartphone should be the music player, in tie with the browser. It is really really really important.
Peace out
P.S. The Code:
h ttp://code.google.com/p/android/issues/detail?id=3679
and
h ttp://code.google.com/p/android/issues/detail?id=2397 (less relevant)
Here is some of the fixes posted on google code by a guy named rainwoodman:
Further study shows it is more complicated than a few lines of changes.
The definition of MediaStore will be relevant. They are putting all stuff into one
database during scanning.
I wasn't able to find the source code for MediaStore. But I suppose the change would
be in where they build the database and determine 'ArtistID' from ArtistName.
This is where they refer to the database:
h ttp://android.git.kernel.org/?p=platform/packages/apps/Music.git;a=blob;f=src/com/android/music/MediaPlaybackService.java;h=09edf522e7cdd0ecddc2bbe0ced213a6241ce091;hb=HEAD
The column names are declared in MediaStore, imported on line 46. No clue where to
find it. The class is also imported in
h ttp://android.git.kernel.org/?p=platform/packages/providers/MediaProvider.git;a=blob;f=src/com/android/providers/media/MediaProvider.java;h=cbc4f9411e48fd725bd245172e81d55633e370fd;hb=HEAD
Then:
Tracked down to this line:
h ttp://android.git.kernel.org/?p=platform/packages/providers/MediaProvider.git;a=blob;f=src/com/android/providers/media/MediaProvider.java;h=cbc4f9411e48fd725bd245172e81d55633e370fd;hb=HEAD#l1454
Who the hell is calling MediaProvider.insert ?
Then:
(THIS IS THE COMMENT 9 FIX. IT IS USEFUL TO SEE WHAT TO DO, BUT DO NOT IMPLENT IT!)
The problem is on the following line of MediaScanner.java(link in comment 6).
Simply replace these lines
Code:
680 // use album artist if artist is missing
681 if (mArtist == null || mArtist.length() == 0) {
682 mArtist = mAlbumArtist;
683 }
----replace with ----
681 if(mAlbumArtist != null && mAlbumArtist.length() != 0) {
682 mArtist = mAlbumArtist;
683 }
Click to expand...
Click to collapse
will solve the problem.
I do not have the 6GB free space to build and test the changes.
Someone look at this issue; at least merge it to Cyanogen Mod!
then he gets to:
h ttp://android.git.kernel.org/p=platform/packages/providers/MediaProvider.git;a=blob;f=src/com/android/providers/media
/MediaProvider.java;h=cbc4f9411e48fd725bd245172e81d55633e370fd;hb=HEAD
Around line 2410, the same-album heuristic is wrong.
Then he concludes to:
Further traces down to these lines:
Code:
1477 synchronized(albumCache) {
1478 int albumhash = path.substring(0, path.lastIndexOf('/')).hashCode();
1479 String cacheName = s + albumhash;
1480 Long temp = albumCache.get(cacheName);
1481 if (temp == null) {
1482
albumRowId = getKeyIdForName(db, "albums", "album_key", "album",
1483 s, cacheName, path, albumhash, artist, albumCache, uri);
1484 } else {
1485 albumRowId = temp;
1486 }
1487 }
Folder name is definintely not the right rehash key to use. Shall use Album artist & year
& number of tracks & release & cd number here.
His final fix is:
Two modifications towards a full fix:
0. revert the temperory fix on comment 9.
1. put albumartist (default = artist) to values in mediascanner
2. int albumhash = values.getAsString("albumartist") + values.getAsString("year") +
values.getAsString(".......")...... in media provider
Cyanogen already had these implented in 5.8, I do not know if its in Cyanogenmod 6.
Also, check out this post for a full explanation, its on modaco:
h ttp://android.modaco.com/content/htc-desire-desire-modaco-com/310583/music-players-fix-yes-all/
I hope on Froyo this music app will be better and support Lyrics and rating system then sync with iTunes ... Yahoo.....
Yeah, the Android music player is pretty broken, and no third party replacement can provide the essential feature that is a lockscreen widget. The problems you outline are probably the main ones. I also really want lyric support and a more solid album artwork implementation. Lack of in-app music-specific search when I can choose search for music systemwide is just odd. Also (and this is bloody infuriating), there isn't always an option to go up the artist-album-song hierarchy. Overall a really half-baked player.
I really would have thought google would focus on a *solid* media player with integrated search, podcast + audiobook support. The Apple implementation of the music player is pretty damn tight (itunes syncing notwithstanding) - it's something google needs to compete with.
DashingGentleman said:
and no third party replacement can provide the essential feature that is a lockscreen widget
Click to expand...
Click to collapse
Cubed (a.k.a. 3) has a lockscreen widget. It's a fantastic player as well. I know this doesn't solve the problems with the stock player, but you might want to take a look
MrBadgerMilk said:
Cubed (a.k.a. 3) has a lockscreen widget. It's a fantastic player as well. I know this doesn't solve the problems with the stock player, but you might want to take a look
Click to expand...
Click to collapse
Full version of Mixzing media player supports this as well. I do not know about TuneWiki or Meridian media player. and yes, ALL of those players do not support genres nor album artists.
Also, as I mentioned, this fix seems to have been implented in the 4.2.0 Cyanogenmod, but has been taken out ever since (?)
MrBadgerMilk, The_limit thanks a lot! I will definitely check these out (when my phone is back from repair ). I saw that TuneWiki, BeyondPod and a couple of other players I tried didn't have lockscreen controls, so I assumed it wasn't possible with Sense.
i believe lock 2.0 support lock screen MP controls
I hope HTC will fix this themselves in the upcoming FroYo, otherwise can we get an update.zip to fix ourselves. but i really dont wanna root my phone and void my warranty just for the sake of this.

Rockplayerbase AVI DIVX & XVID Player!

Finally!!!
Mod. edit: Warez link removed. This is a beta, the developer didn't consent it's distribution. Consider this 1st warning!
Thread CLOSEDhttp://forum.xda-developers.com/showthread.php?p=6805512#post6805512http://forum.xda-developers.com/showthread.php?p=6805512#post6805512
Two things!
a) This should've been posted in the Applications subforum.
b) If you'd searched these forums you'd have found that someone had already posted about this in the Applications subforum.
Regards,
Dave
foxmeister said:
Two things!
a) This should've been posted in the Applications subforum.
b) If you'd searched these forums you'd have found that someone had already posted about this in the Applications subforum.
Regards,
Dave
Click to expand...
Click to collapse
True it's an app, but for many people out there, it's basic functionality. I know that just like missing tasks and reminders as well as the lack of full Outlook synchronisation in Android, this lack of functionality has been a huge bone of contention for many who have taken the leap to Android only to find that they have been left up the creek without a paddle. For all it's hyped up "amazingness" how on earth can anybody release an OS with so many gaping holes, the lack of basic functionality which other OS's have as standard??
Anyway, I'm trying to spread the word. Especially because I see many people/admins have this strange idea of trying to censor this news (because it's a closed beta. - Who cares?).
Strange how there were some cryptic messages by a sysadmin on the Coreplayer forums about people keeping to the forum rules when there were no posts showing which appeared to have broken any rules! Check out pages five and six here http: // forum.corecodec .com/viewtopic.php?f=22&t=2885
We're here to help each other are we not?
What happens on other forums is immaterial! There are subforums here for a reason, and this news has already been posted there, which leads me to rule 1 of the XDA rules:
1. Search before posting.
Use one of our search functions before posting, whether you have a question or something new to share, it's very likely someone already asked that question or shared that news.
Click to expand...
Click to collapse
And I can understand why some might want to censor this "news" because it borders on warez! Yes, I'm being hypocritical because I've downloaded and installed this player, but the moment it gets onto the market I will buy it.
Regards,
Dave
foxmeister said:
What happens on other forums is immaterial! There are subforums here for a reason, and this news has already been posted there, which leads me to rule 1 of the XDA rules:
And I can understand why some might want to censor this "news" because it borders on warez! Yes, I'm being hypocritical because I've downloaded and installed this player, but the moment it gets onto the market I will buy it.
Regards,
Dave
Click to expand...
Click to collapse
At the risk of repeating myself, I, and I am certain many others out there, consider AVI playback to be basic functionality, it's not just "another app" to do some silly thing which the world managed perfectly well without before it came along. Therefore I posted it in the general subforum and pointed to another subforum which had decent info.
As to the goings on on other forums, I was referring to a good number here on XDA too! As you said, search.
And I will buy it too!! This program ROCKS!
Well I for one am glad you posted this here, cos now there is an unwatermarked version available and I didn't know that.
Thanks OP, and thanks anonymous Dev for letting it slip
Will happily buy this from the market when the code is tightened
well, this thread is the 1st i heard of it and i just played an ep of tds perfectly.
is this a divx product? or someone elses?
agreed with others.. we shouldnt be told we are not allowed to know that ROCKPlayer exists. im fine with the link/attached file being removed.. but the WHOLE thread being deleted... ?
Thanks for posting it. The app is very buggy yet, certainly not fit for anything past Alpha. It does not even play 3GP and MP4 vids that the stock player does with ease. Not even what the phone itself records. Massive frame drops, stuttering and audio out of sync on even 600Kbps vids. It does play low bitrate DivX AVIs successfully though. I'll try MKVs and XviD soon. Currently, the latest Yxplayer is far ahead, yet.
-------------------------------------
- Sent via my HTC Desire -
th3 said:
Thanks for posting it. The app is very buggy yet, certainly not fit for anything past Alpha. It does not even play 3GP and MP4 vids that the stock player does with ease. Not even what the phone itself records. Massive frame drops, stuttering and audio out of sync on even 600Kbps vids. It does play low bitrate DivX AVIs successfully though. I'll try MKVs and XviD soon. Currently, the latest Yxplayer is far ahead, yet.
-------------------------------------
- Sent via my HTC Desire -
Click to expand...
Click to collapse
Huh?
I am using it for playing AVI Xvid files of TV episodes etc (from you know where) and it plays them all without a hitch.
No bugs, no nothing. It just works!
Perhaps they could allow it to remember the last folder you opened though!
BTW, does anybody know why it needs access rights to the internet when all it does is play video files?
david_inuk said:
Huh?
I am using it for playing AVI Xvid files of TV episodes etc (from you know where) and it plays them all without a hitch.
No bugs, no nothing. It just works!
Perhaps they could allow it to remember the last folder you opened though!
BTW, does anybody know why it needs access rights to the internet when all it does is play video files?
Click to expand...
Click to collapse
Agreed i was confused aswell. I've played standard HDTV avis fine with ROCK, and if i used YXPLAYER it would play with lots of stuttering
I happy for ROCK to only play DIVX i dont mind it cant do MP4s has i only ever use DIVX.
It plays flv files perfectly too.. I tested it with a bunch of stuff I ripped from xvideos with downloadhelper for firefox
It also plays Xvid just the same as divX.. I've not tried mkv yet
If you want to play mp4/3gp then use the stock player you strange person <rolleyes>
Thanks op for posting this. I say that because when I get home of an evening I have about half an hour to check my emails, news, and about 3 or 4 forums including this one. A post in the apps forum may well have got missed. My fault entirely I hasten to add. The fact remains though I would have missed it.
Huh?
I am using it for playing AVI Xvid files of TV episodes etc (from you know where) and it plays them all without a hitch.
No bugs, no nothing. It just works!
Click to expand...
Click to collapse
So you've only tested XviD AVIs?
What bitrate, resolution, FPS, ratio, audio format are those files using?
Stock ROM?
To be really honest, you'd need to post more details on the files you've played. That's why I mentioned the vid properties. That's exactly how it is with any +650Kbps vid that has action/movement on mine after comparing it to how they play in Act 1.
-------------------------------------
- Sent via my HTC Desire -
th3 said:
So you've only tested XviD AVIs?
What bitrate, resolution, FPS, ratio, audio format are those files using?
Stock ROM?
To be really honest, you'd need to post more details on the files you've played. That's why I mentioned the vid properties. That's exactly how it is with any +650Kbps vid that has action/movement on mine after comparing it to how they play in Act 1.
-------------------------------------
- Sent via my HTC Desire -
Click to expand...
Click to collapse
Hi I am using a stock Orange Rom.
Video properties:
624 x 352
Bit rate 124kbs
Audio MPEG Layer-3
23 fps
Data 1127kbs
Video sample size 12 bit
video compression FFDS
I have tested several .avis which I get from you know where. 350MB Tv shows. They all worked flawlessly.
Thanks fellas.
I can confirm two aspects of what they are saying. It plays ~640*270 ~1,100Kbps XviD and DivX movies using the AVI container, with MP3 and PCM audio, flawlessly. I've just finished two full movies, one of which is 1.7GB, no problem at all. I haven't tried bigger, better resolutions and bitrates yet.
It can also play low bitrate/resolution MPEG-1, MPEG-2 and WMV vids properly.
However, it cannot run H.264 vids above ~400Kbps at such resolutions and greater without the earlier mentioned problems.
Test these .MP4 and .3GP container H.264 and MPEG-4 vids for yourself. Thanks goes to those who have uploaded them, only one is my own.
Run them on your choice of vid apps, the stock app and the Rock player. Do they play and sound perfect on the Rock player? Do they run at the correct frame rates?
Vid 1: http://db.tt/gWzJ5I
Vid 2: http://db.tt/CRx6pb
Vid 3: http://www.megaupload.com/?d=JSXE2BTR
One is a 720p vid shot by the Desire itself. All of them play flawlessly on Meridian, Act 1, etc, but not so in this app. It's missing H.264 acceleration by the looks of it.
-------------------------------------
- Sent via my HTC Desire -
Thanks for starting this thread, had no idea about this app. Works great!!
going to try and see if this plays 800xwhatever divx after work today.
IT's NoT A BloOdy h264 player!!
jeez ffs

The Youtube WebM Dilemma

So I was on SuperTube (paid version) trying to play a music video uploaded yesterday.
This specific video had up to 1080p quality, and I decided to stream the 720p version on SuperTube. Five seconds later I received a "Open Video Error!".
After using Keepvid.com to download this specific video, it turns out the video was part of the new wave of WebM encoded videos on YouTube.
To further confirm this issue, I specifically looked for WebM encoded videos on YouTube, sent it to my WP7, and copy-pasted the video name into SuperTube to try. Same error.
We all know that Microsoft is not going to support the codec, and SuperTube depends on Zune to play the .MP4 contained videos from YouTube.
Also, in some cases, the native YouTube app is unable to play the videos.
It is important to note that YouTube still encodes 360p videos using H264 and not WebM, as I was able to play those fine on SuperTube. LazyTube tends to play most of my test cases, with exceptions.
So, here I am presenting this potential problem (as YouTube will completely more to WebM soon) with WP7 YouTube and Video codec problem. What are you thoughts?
Any Ideas?
PS: To further confirm that 360p videos work and 720p videos do not, I downloaded the videos and uploaded them to my phone directly through Explorer (using the registry hack to make the device appear) and the 360p worked, while the 720p did not.
I've read and heard from my friends reports that there are problems with HD videos on Android devices, too. Whether this is due to WebM or not I don't know.
The whole world must bend over backwards now because Google doesn't like paying. No single SoC supports decoding WebM at this time, so it's not even up to Microsoft. Whether we will see hardware support for this new codec is questionable because it's not at all clear whether it's clean in terms of IP and patents. With open source stuff, the one who implements something is sued, not the one who wrote stuff.
Serriously I dont see the need for Google to push WebM, H.264 is well supported, it's funny that google make a webM plugin for IE9 and MS make a H.264 plugin for chrome
DMAND said:
Serriously I dont see the need for Google to push WebM, H.264 is well supported, it's funny that google make a webM plugin for IE9 and MS make a H.264 plugin for chrome
Click to expand...
Click to collapse
native app on iphone is "missing" a lot of videos, many cant be played on mobile devices anymore. Also the copyrighted stuff or blocked in your country is getting worse. Its time for a good alternative to come up and all just switch away from youtube, unfortunately there is none and its a great service.
vangrieg said:
I've read and heard from my friends reports that there are problems with HD videos on Android devices, too. Whether this is due to WebM or not I don't know.
The whole world must bend over backwards now because Google doesn't like paying. No single SoC supports decoding WebM at this time, so it's not even up to Microsoft. Whether we will see hardware support for this new codec is questionable because it's not at all clear whether it's clean in terms of IP and patents. With open source stuff, the one who implements something is sued, not the one who wrote stuff.
Click to expand...
Click to collapse
Only Andorid 2.3.2 (or 3) and above support WebM. Lower versions do not.
You can decode in software, but LOL on a mobile device that is kind of laughable. Say bye bye to your battery as this overworks your processor...
Marvin_S said:
native app on iphone is "missing" a lot of videos, many cant be played on mobile devices anymore. Also the copyrighted stuff or blocked in your country is getting worse. Its time for a good alternative to come up and all just switch away from youtube, unfortunately there is none and its a great service.
Click to expand...
Click to collapse
don't blame youtube for these issues. blame coyrights, drm, and people that think nothing should ever be redistributed. youtube is following what the lawyers say they have to.
ohgood said:
don't blame youtube for these issues. blame coyrights, drm, and people that think nothing should ever be redistributed. youtube is following what the lawyers say they have to.
Click to expand...
Click to collapse
I understand why. Its just stupid it has never been like this but as of recently there are a ton of videos being blocked. Even though the rights to broadcast have been always there and now they are just gone. So yeah no wonder people blame youtube if the exact same vids could always be watched trough officials channels then all of a sudden not supported in your country.
N8ter said:
Only Andorid 2.3.2 (or 3) and above support WebM. Lower versions do not.
Click to expand...
Click to collapse
Android 2.3.3 cannot add hardware support for a new codec if it's missing in the device SoC. Or can it?
I can't imagine hardware support for WebM appearing overnight unless it's the same thing as MPEG4 Part 10 (which is what MPEG-LA will be happy to sue the hell out of everyone over).
^ wow
http://m.engadget.com/default/artic...-it-webm-support/&category=classic&postPage=1
vetvito said:
^ wow
Click to expand...
Click to collapse
Wow what exactly? Is it true hardware support or software decoding?
It's probably software, but does it matter? Future SoCs may (most likely will) start supporting it in hardware because Google has the means to force feed it down consumers' throats. Once they finish transcoding all the YouTube content and switch to an HTML5 interface by default this can severely limit non-Android devices, especially if you don't want a device with Adobe Flash, since the site will stream WebM to your device.
Unless they keep H.264 versions as well, in which case I don't care.
But I don't like the way they are trying to force feed an inferior media codec down everyone's throats...
N8ter said:
It's probably software, but does it matter?
Click to expand...
Click to collapse
You answered your question yourself a few posts ago:
N8ter said:
You can decode in software, but LOL on a mobile device that is kind of laughable. Say bye bye to your battery as this overworks your processor...
Click to expand...
Click to collapse
N8ter said:
Future SoCs may (most likely will) start supporting it in hardware because Google has the means to force feed it down consumers' throats. Once they finish transcoding all the YouTube content and switch to an HTML5 interface by default this can severely limit non-Android devices, especially if you don't want a device with Adobe Flash, since the site will stream WebM to your device.
Click to expand...
Click to collapse
I'm not at all sure about it. Judging by how they are treating their own Android customers, the majority of whom aren't using 2.3.whatever with WebM support, they just don't give a damn. It'll be up to OEMs and chip makers. And those guys may get in trouble with WebM because of possible lawsuits, not Google. So it'll most probably end with software decoding as supplied by Google (although even that won't save them because Google doesn't protect their OEMs in patent and other IP issues).
But that's just my guess.
N8ter said:
But I don't like the way they are trying to force feed an inferior media codec down everyone's throats...
Click to expand...
Click to collapse
Exactly. I find this uber annoying. But not at all surprising.
vangrieg said:
Wow what exactly? Is it true hardware support or software decoding?
Click to expand...
Click to collapse
read the article, you'll understand the wow. Google sux
Sent from my SGH-i917 using XDA Windows Phone 7 App
vangrieg said:
You answered your question yourself a few posts ago:
Click to expand...
Click to collapse
I meant does it matter in the grand scheme of things. Android phone users have gotten so used to poor battery life that most of them don't care. They'll just not use their phone for a couple days to post standby times on a forum and be happy.
What the underlying "what's it matter" meant (quite vaguely, I admit) what... Does it matter if it's software or hardware? Google's point is to promote their own codec by using their YouTube muscle, and they're going to make sure their own Browsers and Mobile platform are there first, which could potentially give consumers a reason to pick an Android phone over a competitor's...
So, does it matter if it's software or hardware if they are still accomplishing their goals (pushing WebM via YouTube down our throats and making sure Android is the first mobile OS to support it)?
Can you give a URL of a video that is not available? I think it's a bug in the software. YouTube is NOT going to encode videos in WebM exclusively. All videos in every resolution should be available in H264 and WebM.
This might change as soon as Adobe release a WebM capable Flash Player (10.4 maybe)...
Hades32 said:
Can you give a URL of a video that is not available? I think it's a bug in the software. YouTube is NOT going to encode videos in WebM exclusively. All videos in every resolution should be available in H264 and WebM.
This might change as soon as Adobe release a WebM capable Flash Player (10.4 maybe)...
Click to expand...
Click to collapse
I can't give you a URL, but as of two days ago, my colleagues with DHD couldn't view a single newly uploaded HD video on YouTube with the built in client.
This may be because of a different problem though, that WebM is at fault is just my guess.
Hades32 said:
Can you give a URL of a video that is not available? I think it's a bug in the software. YouTube is NOT going to encode videos in WebM exclusively. All videos in every resolution should be available in H264 and WebM.
This might change as soon as Adobe release a WebM capable Flash Player (10.4 maybe)...
Click to expand...
Click to collapse
YouTube is encoding all new videos in WebM, and transcoding a lot of others. I think most HD videos are being encoded to WebM.
Who are are you to say what they should be available as? You don't own YouTube, Google does...
N8ter said:
YouTube is encoding all new videos in WebM, and transcoding a lot of others. I think most HD videos are being encoded to WebM.
Who are are you to say what they should be available as? You don't own YouTube, Google does...
Click to expand...
Click to collapse
I think he meant they should be, as in "if you check, you should find that they are encoded as both" not that he was stating what policies Google should be using. Whether he is right concerning the availability of both formats, I can't say.
Sent from my SGH-i917 using XDA Windows Phone 7 App
I have just confirmed this further with many more recent HD updates (from 25th of April and onwards), as well as a couple of my own videos uploaded.
The 720p and 1080p versions ARE being encoded in WebM, while the rest of the formats are still in their older forms...
Leave it up to google to fragment the hell out of something.......
Here is what Ive noticed with youtube as of late...
"Vevo" videos(music videos by signed artists that are sponsored or something by Vevo) do not show up when searched for on my ipod touch or my girlfriend's iphone<<<< This is stupid and is recent. Maybe because of the no ads thing on ipod's or iphone...I dont really know. They do however work with fastcode's Supertube app which is great. I dont know how long this will last with Supertube but Im hoping it doesnt change. Somehow fastcode is able to write a workaround with their code I guess. Again I dont know. All the while Microsoft is having some sort of issue with getting a proper youtube app out there for some other dumb reason probably to blame on Google. However Microsoft does allow Supertube to break rules by allowing the download feature to keep going. Again this is weird.
Now Youtube is encoding all hd videos in some new format "WebM" which Im certain will further complicate things on the developer side of things. This is just confusing.
Im not saying Google should allow people to just use their service for free or without any restrictions but I do not like the fact that Google sucks everyone in by leaving everything open at the beginning and then closes it up once they establish dominance in the market subsequently leaving people stranded and with no other choices.

Categories

Resources