Windows Media Player ActiveX for Internet Explorer Mobile JavaScript issue - General Questions and Answers

Hi,
I am trying to get the ActiveX plugin for the Windows Media Player to work in PocketIE, or rather Internet Explorer Mobile on an O2 XDA Orbit 2 (Windows Mobile 6). The objective is to play a wma file from a URL, but using javascript to control the player, which will sit in a display:none; styled div.
I dont want to post walls of code, so I have setup this simple page to illustrate and test it:
http://lukas.xcomms.ie/cblproof/Default.aspx
I am able to display this fine in PocketIE, and I am able to play the audio file, just as in the desktop browser. However, with the new version of this plugin (i.e. using classid "clsid:6BF52A52-394A-11D3-B153-00C04F79FAA6" instead of the old "CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95"), I am no longer able to use the javascript calls for .Play() and .Stop() on the player object.
When I switch the code back to use the old plugin, I can successfully use javascript to control the player in the desktop version of IE, but since the plugin is not installed on the WinMo6 device, I cannot bring the page to load the player in PocketIE.
Has anyone come across this before, or is there any reference documentation for the new ActiveX plugin, similar to the old Windows Media Player for PocketPC SDK that Microsoft had for PocketPC 2002 way back when?
Any input here would be much appreciated, I have trawled this forum and the internet for two days now, but unfortunately information is very sparse. I am stuck with PocketIE because of other requirements for the project, so switching to Opera or SkiFire is not an option I am afraid.
Thank you very much in advance for any pointers!
Mike

Other options
Hi again,
since no-one seem to have an idea to circumvent this particular challenge, can anyone suggest an alternative? I would be willing to skin the plugin, or use any other means of controlling audio in a web page through JavaScript.
I hate the fact that we have to work with Pocket IE on this, but at least it means that whatever solution we go for will need to work only on this platform and not across a variety of handsets / browsers.
Very grateful for any thoughts, opinions, advice,
Thanks again!
Mike

Related

[APP] Youtube got Mobile

Youtube got mobile (http://m.youtube.com) and now streams 3gp files via rtsp. Unfortunately WM10 cannot play these streams, but there exists a HTC Streaming Mediaplayer which plays it just fine. The app is posted here:
http://forum.xda-developers.com/showpost.php?p=1315644&postcount=553
I copied it to my Vox and it works, except my browser still opens WM10 when I click on a video.
Does anyone know how to associate HTC streaming media player with urls of type rtsp:// ??
EDIT: See http://forum.xda-developers.com/showpost.php?p=1322849&postcount=20 for getting this to work on S710
EDIT2: Try installing this cab here first, before trying the manual install procedure
HTC Streaming Media Player Older Version Works Best
The HTC streaming media player,the older version v2.10 build 1025.621 works best. This version is found in "Core 2.0" and Faria's "Real Thing". That's the application we all need! Now I do have it on my MDA running the Core 2.0, it connects to http://m.youtube.com very fast, works great, but I want to put the app on another device. That Touch streaming media player,looks good on the T-Mobile Dash, it tries to connect to rtsp://ect.....!, BUT THE SAME PROBLEM YOU ARE HAVING, WHEN YOU TRY TO CONNECT TO THE YOUTUBE VIDEOS WMP10 COMES UP, WILL NOT PLAY THE CLIP!
The link I posted above V2.10 Build 518.700
Don't know if yours is newer.
I just tried it with this link: rtsp://rtsp.youtube.com/youtube/videos/JBWbJLYfrgs/video.3gp
and it just quits the player.
Where do I find "Core 2.0" and Faria's "Real Thing"?
Wizard Wm6 Threads
Look in the wizard wm6 section or do a search, it should be easy to find! The 1.7 reload has that streaming media player also!
Thx! Have u tried the rtsp link above? does it work for you?
I think I found the reg keys for handling rtsp.
Should be something like this:
Code:
[HKEY_CLASSES_ROOT\RTSP]
(Default)=URL:Windows Media Streaming Protocol
URL Protocol=
[HKEY_CLASSES_ROOT\RTSP\DefaultIcon]
(Default)=\Program Files\PacketVideo\PVPlayer\PVPlayer.exe, 0
[HKEY_CLASSES_ROOT\RTSP\Shell]
[HKEY_CLASSES_ROOT\RTSP\Shell\Open]
[HKEY_CLASSES_ROOT\RTSP\Shell\Open\Command]
(Default)=""\Program Files\PacketVideo\PVPlayer\PVPlayer.exe" %1
I found that here: http://www.hkppc.com/bbs/viewthread.php?tid=2422
The funny thing is that there seems also to be a PVPlayer (PacketVideo) which can do rtsp ??
Missing Complete Link Data
All the rtsp url info is not there, but I can connect to mobile youtube easy and fast and watch all the videos! I'm watching the Paris Hilton jail video via wifi!
The Pvplayer Will Work Also
A major breakthrough, but where do I find the download. I do not speak Chinese. The registry stuff find is awesome guy! Will the pvplayer just work on Nokia phones, but the above registry data is for a windows devices!
I just improved the link where I found it:
http://www.hkppc.com/bbs/viewthread.php?tid=2422
I think you must register to be able to dl it
The Hack Makes The Pvplayer The Primary Player
I've use the above hack before to make the TCPMP/player the primary player over wmp10 to watch Orb on the TCPMP/player, it works!
I'm glad I could help you, but so far I haven't got anything to work
Perhaps you can reply on the PM I just sent to you. Also you say you are running TCPMP. Which version? And can it do RTSP?
I'm using Coreplayer which works great, but can't do RTSP yet
The Hong Kong PPC site which has the registry tweak talks about the Pvplayer platform4. Seems hard to find too. See:
http://forum.xda-developers.com/showthread.php?t=286803
Í found it and attached it to this post.
Maybe it's the same as this Philips Platform4 player for PPC (doesn't install on SP, prolly need manual install or cloning from PPC emu):
http://www.pdagold.com/software/detail.asp?s=513
Would be nice if someone manages to install and test these apps on S710
Below are the registry settings for HTC Streaming Media Player.
Ýou find it in the distro which I linked at the top, it's in a68b298c-c2c5-409c-a145-3113bcf2baa1.rgu
I'm a bit worried that there are keys missing, in particular MIME settings for .3gp files
PS: Who knows a good registry tool which can import files?
Code:
REGEDIT4
[HKEY_CLASSES_ROOT\.sdp]
@="sdpfile"
[HKEY_CLASSES_ROOT\sdpfile]
"EditFlags"=dword:10010000
[HKEY_CLASSES_ROOT\sdpfile\DefaultIcon]
@="StreamingPlayer.exe,0"
[HKEY_CLASSES_ROOT\sdpfile\Shell]
[HKEY_CLASSES_ROOT\sdpfile\Shell\Open]
[HKEY_CLASSES_ROOT\sdpfile\Shell\Open\Command]
@="StreamingPlayer.exe %1"
[HKEY_CLASSES_ROOT\PROTOCOLS\Handler\rtsp]
"CLSID"="{EA48DF9C-1362-41F2-BD83-B97507F9484B}"
[HKEY_CLASSES_ROOT\CLSID\{EA48DF9C-1362-41F2-BD83-B97507F9484B}]
[HKEY_CLASSES_ROOT\CLSID\{EA48DF9C-1362-41F2-BD83-B97507F9484B}\InprocServer32]
@="RtspHandler.dll"
"ThreadingModel"="Free"
[HKEY_CLASSES_ROOT\MIME\Database\Content Type\application/sdp]
"Extension"=".sdp"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shell\URLProtocols\rtsp]
@=""
[HKEY_CLASSES_ROOT\rtsp\Shell\Open\Command]
@="StreamingPlayer.exe %1"
[HKEY_LOCAL_MACHINE\System\Inbox\SICInt\SIPProtocols]
"rtsp"=dword:00000000
[HKEY_LOCAL_MACHINE\SOFTWARE\HTC]
"SliderOutRotateAngle"=dword:0000010E
[HKEY_LOCAL_MACHINE\SOFTWARE\HTC\Streaming]
"DefaultUDPPortMin"=dword:00000400
"DefaultUDPPortMax"=dword:0000FFFF
"NormalModeBKColor"=dword:00AA0000
"FullScreenBKColor"=dword:00000000
"InfoBarBKColor"=dword:00AA0000
"OverlayerColorKey"=dword:00100010
"DefaultBufferTime"=dword:00000007
"MinBufferTime"=dword:00000004
"MaxBufferTime"=dword:00000019
"SupportSeek"=dword:00000001
"BackToPIE"=dword:00000001
"ShowConfirmMsg"=dword:00000000
"SupportFavorites"=dword:00000000
"ShowHistory"=dword:00000000
"ForceLiveSupportPAUSE"=dword:00000000
"SupportReplay"=dword:00000001
"KeepSDP"=dword:00000000
"LandscapeInFullScreen"=dword:00000001
"ShowRotateUI"=dword:00000001
"BandWidth"=dword:00000000
"GuaranteedBandWidth"=dword:00000000
"MaxBandWidth"=dword:00000000
"MaxTransferDelay"=dword:00000000
"KeepAliveInterval"=dword:00000000
"KeepAliveMethod"=dword:00000000
"RTCPReportInterval"=dword:000009C4
"RTPDataTimeOut"=dword:0000000F
"RTSPTimeOut"=dword:00003A98
"EnableExtraRTPPackets"=dword:00000001
"EnableSDKLog"=dword:00000000
"SDKLogFlag"=dword:00000000
"EnableHWCodec"=dword:00000000
"DumpBitStream"=dword:00000000
"ShowMeters"=dword:00000000
"RefreshDuration"=dword:000003E8
"SupportPd"=dword:00000000
"MissMBRate"=dword:00000000
"PlayState"=dword:00000000
"Volume"=dword:00000046
"NetworkErrorCanReplay"=dword:00000000
"CodecType"=dword:00000000
[HKEY_LOCAL_MACHINE\SOFTWARE\OEM\MASD]
"Streaming_Media_Player"="2_10_518700_00"
A Major Breakthrough Again
Do we still need to do the wmp10 registry hack?
That hack from hkppc was actually intended for Pvplayer.
In fact you see similar keys in a68b298c-c2c5-409c-a145-3113bcf2baa1.rgu
For example
Code:
[HKEY_CLASSES_ROOT\PROTOCOLS\Handler\rtsp]
"CLSID"="{EA48DF9C-1362-41F2-BD83-B97507F9484B}"
[HKEY_CLASSES_ROOT\CLSID\{EA48DF9C-1362-41F2-BD83-B97507F9484B}]
[HKEY_CLASSES_ROOT\CLSID\{EA48DF9C-1362-41F2-BD83-B97507F9484B}\InprocServer32]
@="RtspHandler.dll"
"ThreadingModel"="Free"
[HKEY_CLASSES_ROOT\MIME\Database\Content Type\application/sdp]
"Extension"=".sdp"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shell\URLProtocols\rtsp]
@=""
[HKEY_CLASSES_ROOT\rtsp\Shell\Open\Command]
@="StreamingPlayer.exe %1"
But I haven't been able to test it, because I'm looking for a registry editor which can import files. Do you know one?
Total Commander
Do a Google search for total commander for ppc. I believe that's what you need!
I've got TC, never knew I can import reg files Thx for that!
EDIT: Import doesn't work when I copy a .reg file to \\\registry it says "function not supported"
I'm using TC/CE V.2.5PB
Btw: did you already try Pvplayer and Philips Platform4 player ?
PvPlayer Opens At Youtube Mobile
The Player open when I click on video, but no video will play, but I believe we can get this to work. It's just a matter of time, because it picks up the rtsp url. I will have to take a brake, maybe one for hr. I will be back later! We will get this player to work! I have this player install on a Dell Axim X51v, connection, wifi. The Playr is beautiful!
Pvplayer Trying To Connect
Something is blocking this player from connecting to the Youtubue videos!
I'll try them in the M$ PPC emu t'morrow.
Enough for 2day
PvPlayer Smartphone Version
Do you have the pvplayer smartphone version? The ppc pvplayer version is suppose to work with YouTube mobile, but for some unknown reason it will not connect!
I managed to install the HTC Streaming Media for Smartphone Version 2.10 (Build 518.700) Copyright 2005-2007 on my S710
When I start IE and go to m.youtube.com and start a video, the HTC player is correctly started and plays the videos
I must say I'm not so impressed by the quality but alas it works fine
Okay, here are the steps to install the player on your S710
1. Download the HTC player from here. Unpack it and copy all files to \Windows
2. Install Resco Explorer 5.32 (it's the registry editor you need)
3. Download the registry key which I attach to this message and import it with Resco reg editor
Have fun!
EDIT:
1. also works fine from Opera Mobile 8.65b
2. you can operate the player buttons with Fakecursor (altho via menus it also works perfect)
3. you may want to reduce the pre-buffer time (default 7 sec)

ActiveX

i'm using HTC touch cruise cell phone,
i want to d/l ActiveX file, which file is suitable for
ActiveX -pocket PC? pls comments.
thank you
activex was a browser plugin tech that ms made and was rather unsecure and never really supported by other browsers
if any browser support activeX these days as even ms seem to be moving away from it
i would be Pocket internet explore

Streaming videos on HTC Fuze

Good Evening,
I recently seen an advertisement for www.joost.com, where you can stream some full length movies to a mobile phone. It was tested with an AT&T Tilt using skyfire. Well...I downloaded skyfire, just to find out there is no support for vga screens just yet.
Are there any mobile browsers that will allow streaming video, or maybe a plugin for opera mobile??
Thanks gang!
Two side notes,
I had heard Opera was capable of playing music built into a myspace page, etc with an included flash player. Mine does not however, am I missing anything?
I had also heard the Fuze was supposed to have a dedicated You-tube application. I also have not found this. Again, am I missing something?
Thanks!
TazMan1688 said:
Good Evening,
I recently seen an advertisement for www.joost.com, where you can stream some full length movies to a mobile phone. It was tested with an AT&T Tilt using skyfire. Well...I downloaded skyfire, just to find out there is no support for vga screens just yet.
Are there any mobile browsers that will allow streaming video, or maybe a plugin for opera mobile??
Thanks gang!
Two side notes,
I had heard Opera was capable of playing music built into a myspace page, etc with an included flash player. Mine does not however, am I missing anything?
I had also heard the Fuze was supposed to have a dedicated You-tube application. I also have not found this. Again, am I missing something?
Thanks!
Click to expand...
Click to collapse
skyfire does work on vga it just messes up when you rotate the screen so start it in wichever direction u want the screen to be
use orb you can stream any media from your computer to your phone its free
and you can download the youtube app search on here
Skyfire will load, but how would I manage to get to a website without an OSB or the physical keyboard(which would mess up the screen)
I only want it for that one website...opera is fine for everything else
As soon as i enter in a website with the osd...it messes up the screen.
Any ideas?

iPhone gets iheartradio for Clear Channel radio. What can WM users do?

Long time WM user that can appreciate the iPhone and iPod Touch ability to listen to ClearChannel radio stations "online". But I don't understand why Windows Mobile is being left out.
If we can watch YouTube videos, certainly we have the horsepower for radio. Does anyone else have this problem? Better yet, have a solution that works? Would love to get my local Sports Radio station on my Touch Cruise, but not even Skyfire works for me.
Well, still no luck. I found a website that tracks radio stations around the US and even internationally, but there is no link to Sports Radio 950 KJR (www.kjram.com) and I can't find a link anywhere else but their own home page, which won't work with Opera or Skyfire.
Currently running one of c_s rom's, which doesn't come with IE. Thought maybe adding IE 6.1 would help, but haven't found a link yet. Anyone know how I can add that to an existing rom?
Off to do more searching, but pretty soon I suppose I should just break down and buy an iPod Touch.
from your Touch Cruise:
www.theStreamCenter.com/pda/
Works in pIE, Opera 8.65 and Opera Mini. Not sure if it needs pIE to actually open the radio station's link though, since it's built into the ROM on my Polaris.
I searched for your station 950 kjr and found it if it's located in Seattle (did not find it when I searched kjr 950 - go figure). However, never got it to connect. Immediately tried a ClearChannel station I listen to and it connected perfectly. Don't know if 950 kjr link is bad or if the station was not broadcasting. Perhaps, it was a blackout due to a game or something like that? Give it a try and see if you have better luck.
ps...
Tried to stream the station on my laptop via the kjram.com website (NOT through streamcenter.com) and it did not work either. Looks like maybe they are having problems at the moment and hopefully it'll work when you try.
Good luck!
Still looking for pIE I can add to my current WM6 rom. The author didn't include pIE as part of the "image". I also tried your link, and in Opera I couldn't find any part of the KJR AM page I could "click" on. So I'm wondering what I'm doing wrong if not just using the wrong browser.
Not having ANY luck and not sure what else to try.
Wunder radio was supposed to come out on January 15th. It supposedly has 50,000 radio stations. I'm hoping clear channel will be part of that.
I can stream clear channel stations through IE on my PC but PIE says it can't do it. Opera Mobile gets close but won't actually play the music.
I can stream some stations that aren't clear channel using Opera, and I can stream NPR after downloading the .asx link and selecting it with TCPMP.
Can't help with how to get pIE on your phone since you are using a ROM without it. All I can tell you is I stream Clear Channel stations (all others too) by going to:
www.thestreamcenter.com/pda
Then searching for the station. Once you find your station you can save it as a favorite and access it much easier.
On the front page of www.thestreamcenter.com/pda it says...
"Clear Channel Stream Announcement:
PDA users can now exclusively access Clear Channel live streams directly from the Mobile Stream Center! (Thanks Bret!). The streams and this announcement are not displayed on desktop PCs."
Clear Channel stations stream via Windows Media Player by default.
No jumping through hoops. Nothing needed that doesn't come built into Windows Mobile by default.
FYI, I am sitting here streaming/listening to your KJR 950 on my phone as I'm typing. Costas is interviewing Matt Cheney regarding drug testing in the NFL...
Good luck!
Okay, so I'm a dork. Had pIE installed and didn't know it, as it was only under the menu and nowhere else.
Started that up, found it's in mobile mode instead of "look like a PC mode" like I think Opera does, and finally saw the links like you mention! Thought I was home free until...
Had some funny language prompting me. Hit one side, and ended up with a save screen. The file saved made a .php file I think, and I can't figure out how to get Window Mobile's Media Player to open it. The other options all didn't seem to do much of anything, and Pocket Streamer on my phone didn't do a .php either!
I'll play some more, as I *think* I'm close... but I'm not there yet.
Got it!
Turned off automatic language detection in pIE, then when I went back to the link, it prompted me to save a .wma file that DOES stream in Windows Media Player. And I've saved the link as a Playlist as well!
Thanks for all the help!!!!
Glad you got something to work!
Just to clarify, the browser needs to be in mobile mode, otherwise the Clear Channel "WMP PDA only" links will not show up. I noticed when I click on a link for a station that streams via mp3, it saves a .pls file to the "My Device\My Documents" folder - but, it happens automatically. I am not prompted and don't have to approve the save. It just saves itself, then starts playing using the TCPMP player. I have not noticed any file - of any type - like that when I play a Clear Channel station. However, it's totally possible it may just save a file of some type somewhere that I have not come across. After clicking the Clear Channel "PDA Only" link, Windows Media Player opens automatically, the stream buffers and then plays. I have not come across any .wma streams to see how that kind works on my phone.
Clearchannel Streaming Utility for Windows Mobile Devices.. Works in IE.. Doesn't seem to work in Opera, though it may be the link I'm providing.. I may possibly work on this and see if I can get it to work in Opera.
http://www.verrigan.net/cchannel.php
[edit]
This utility scans the website for the clearchannel stream.. It then gives you the then-current stream URL for that radio station. It should open the stream in Windows Media Player. (in IE.. Not with Opera)
BTW, the utility is not strictly for use on Windows Mobile, but not many other phones use mms URLs for streaming as far as I could tell. It does, however, stream on regular PCs running Windows or Linux (with a MMS stream media player).
if you want most uk radio stations use coreplayer or the htc stream app , head over to www.musicradio.com and choose your favorite radio , note down the url and you get perfect streaming eg for GWR Bristol its http://media-ice.musicradio.com/GWRBristolMP3 LBC is the same address but ends with LBC973MP3Low , if you have an ipod touch or an iphone you can download an app called radio which is poor in visuals but shows the url to the stations which you can type into your streaming app , or in pie head over to pdatuner.com this has all the stations as well but in lower 64 quality
Clear Channel is now blocking themediastream.com from streaming their radio stations?
yup, stay tuned to see if they work it out
just came across this old post, appears to be worked out
Did we ever get this figured out? Most of the Local Stations I listen to are Clear Channel Stations....Do they just not care that there are probably many more WM users out here then Iphone users? Or did they make some sort of exclusive deal with Iphone? I was using the http://www.thestreamcenter.com/pda method for a while and then nothing...it seems like they intentionally don't want WM users to have access to there online stream!
I just fired this email off to the Communications / Media Relations contact at ClearChannel
"To Whom it may concern,
I am just wondering why, it seems, that Clear Channel seems to have abandoned Millions of Windows Mobile users and Welcomed the "Trendy" but yet less used IPhone/Blackberry users? You have embraced and are Pushing the use of "IHeart Radio" on all your radio stations, Yet this program only works on IPhone's and I think Blackberry Phones, So us Window Mobile users are left "Swinging in the Breeze"!
Then when we find a way around your "Lack of Support" by using a website like http://www.thestreamcenter.com/pda and You slap us in the face again and shut down your stream to such websites....What Gives?
I am a loyal listener of at least two of your stations in the Cleveland Area, One FM and one AM station, and when I am not near a radio it would be really nice to be able to hear your show on my PDA, but I am forced to listen to other stations sub-standard programming because you at ClearChannel seem to have an "Issue" with Windows Mobile for some reason! I just read an online news report that stated that IPhone users have up'd your listener base by 15%....I think you will up it much more then that if you included support for Windows Mobile Users!
I apologise for the Rant if I have just missed something and am totally off base about your support for WM, If so please advise me of a program that you know of that does allow us access to your online programming.
If I have to keep going out and finding other Radio Stations that support WM online, then I might find programming that I like and abandon ClearChannel all together, after all why have loyalty to a company that has no loyalty to a large group of it's listeners!"
Well see if I get a response!
2+ months later... no response?
gkenny said:
2+ months later... no response?
Click to expand...
Click to collapse
Yea...They responded, Life just got hectic for me and forgot to post their responce here....To sum it up they basically gave me a couple good strokes by saying that they are always looking to improve their product and that the Windows Mobile Platform would definately be in "Consideration" for future versions...blah....blah...blah!
Sorry I did not follow up sooner!
0Grav
Never mind... Streamcenter works once again.
Good to know....I'll have to give it a try again!

Dreambox Remote Control

Hi,
The Dreambox is a series of Linux-powered DVB satellite, terrestrial and cable digital television receivers (set-top box), produced by German multimedia vendor Dream Multimedia.
I'm getting tired to see all these Iphone apps capable of managing the Dreambox and nothing in our WIMo environment
I'm sure one of our contrubutor should be able to build one app such as this one for exemple : Idream Remote fot Iphone
Interesting - I wasn't aware of the existence of these kind of applications for the Dreambox.
Well, when I find some sparetime, in a week or two, I might have a look at it. I don't know how the iPhone communicates with the dreambox (I don't think it uses infrared or similar) but my guess would be that it uses the WebIf of the Dreambox to change channel, volume-control and so on.
In order to use WebIf (or telnet), please be aware that your Dreambox must be connected to your network which at the same time is accessabile by your phone.
I don't have a Dreambox (I had one but it broke) but I do have an IpBox which is also running Enigma 1 so if it works on my IpBox, it should also work on your Dreambox running Enigma 1. I don't know about Enigma 2 but I think the WebIf is the same so it should work as well.
If you're still interested, please let me know.
You're exactly right, it uses the WebInf and has nothing to do with infrared type connectivity.
I can reach the WebInf from the Internet with my HD2 but I guess there's probably an issue between Opera and the way they have coded their interface.
You're help will be much appreciated ...$$
Which dreambox (enigma) do you have?
I made a windows mobile remote for my dreambox but I suck bigtime at GUI I don't remember how far I got on the .dll that controls the box but I did manage to send most of the keys you find on the normal remote control and zap between channels by browsing your bouquets and channels in a listview on the phone.
As I've switched to the iPhone I stopped the development but If you guys need help remote controlling the box by posting http queries to webif please let me know and I'll help you!
Øystein
I own a DreamBox 8000 HD running enigma 2.
It is a truly fantastic piece of technology!
Hej!!
I am currently having a look at the source-code of Enigma http://cvs.tuxbox.org/tuxbox/tuxbox/apps/tuxbox/enigma/src/ to see if I can trace the syntax of common http-queries needed, at least for the most basic operations such as zapping and so on. What regards Enigma2, I found a nice wiki for the Enigma2-webinterface.
I am also trying to figure out if I can do common operations also by telnet.
I very much appreciate your offer for help and if I get stuck, I will definetely get back to you (screaming for help)
Tack ska du ha. Nu ska jag sova
t0flus said:
I made a windows mobile remote for my dreambox but I suck bigtime at GUI I don't remember how far I got on the .dll that controls the box but I did manage to send most of the keys you find on the normal remote control and zap between channels by browsing your bouquets and channels in a listview on the phone.
As I've switched to the iPhone I stopped the development but If you guys need help remote controlling the box by posting http queries to webif please let me know and I'll help you!
Øystein
Click to expand...
Click to collapse
Send me a DM 8000 and I'll send you a remote control
As far as I know my application only works for Enigma 1.....
Øystein
Well you see I personally think, watching TV on such a small screen is probably not priority one but rather being able to set recording timer, EPG ..etc all these options which are available on webinf would be much welcome.
This would be great app. I have DM7000 (Enigma1) and DM800 (Enigma2) and HTC HD2 ready to test out. My dream application would be possibility to change bouquets and channels using mobile device and also be able receive streaming video to the mobile device. This is all possible and I use a PC with VLC to reduce the size of video stream , but I need to do all of this manually today. Log on to Webif ofdreambox, change channel, then log on to the 24/7 PC that runs VLC (via remote of course) stop the stream, open new stream from dreambox. Then catch that stream with coreplayer on mobile phone. As you can see it is very difficult. But result is great, I am really satisfied with video quality.
What kind of parameters do you start vlc with to transcode the signal to a format that the Window Phone can handle? And which player do you use on the phone?
Øystein
Will respond when at home on the vlc parameters.
I watch video with CorePlayer. Here is the preview:
http://www.youtube.com/watch?v=Ts4QCfFzYPA
Video is taken while watching through WiFi. DM stream is reduced to 2Mbs, works great, video quality is really good. Didn't try through 3G or similar. But just imagine once 4G kicks in ( I see you might be from Norway, I am in Norway too), you can basically watch good quality video wherever you are (if it does not cost to much to use network )
I'm from Norway. When it comes to streaming to the internet my ADSL upload bandwidth is the biggest problem. I've ordered fiber and hope to have it installed this summer
So you start VLC manually each time you need to stream? And if you switch channel you need to restart VLC with different paramters since the stream from the dreambox has changed? Am I right? Which OS is your VLC transcoder running on?
Øystein
I am running VLC on Windows Server 2003. Same can be done on XP.
Yes, I need to stop VLC manually. I do that by logging in remotely into my server and clicking stop button. If I want to switch channel, I need to log to DM Webif and change channel there, then on Server stoP VLC and open new stream from DM. Basically, due to this complexity, I rarely watch tv on mobile. In fact I set up Discovery channel (since I watch it most) and when I want to watch it on mobile, I log on to DM Webif , change channel to Discovery and then just open stream on Coreplayer on mobile.
All of these steps in theory can be on mobile device. Ideally, there would be functionality to read channel list (only when needed) from Dreambox into WM device memory. Then there are command lines that can be executed to change channel on DM. At least I have at some point did it from my Win XP PC. Then there are command lines to stop VLC and reopen new stream with all parameters. And then there should be a way to stop and restart coreplayer stream...
Same setup as me....
I already developed a remote to my WM device that can zap channels based on the bouquets. You get a list of your bouqets and you switch to whatever channel you want. This is done by connecting directly to WebIf by HTTP queries. It's not ready to be released but it works...most of the time
About watching video I'm thinking of a solution where the mobile client contacts an Asp.Net server by either webservice og regular http to start the stream. The server will close any instances of VLC that's already running, fetch the current stream from the dreambox and start VLC again with the proper transcode parameters.
Fetching the stream from the dreambox is easy and already implemented.
Stopping and starting VLC works is OK.
The only thing missing on the server is the transcoding part....
On the mobile client:
Expanding the GUI with a "Watch" button.
Store additinal settings for server ip/host and credentials....
Starting Coreplayer with the server path once a confirmation has been received from the server.
/Ø
Anything I can do to help? testing? donation? I am not a programmer, so can't add much help with improving the program...
Not sure what transcoding difficulties you have met. Doing it manually is quite straightforward. There is a command line description of commands here:
http://www.videolan.org/doc/play-howto/en/ch04.html
There are some projects that kind of works, but just on PC platform. Can some ideas be taken from them? I have in mind m4rtin solution, or some other.
By the way, I see that success of this project also depends on having right Enigma version, DM image, VLC version, unless somebody can make a flexible app allowing to select all these parameters.
I have DM7000 (Enigma 1) and DM800 (Enigma 2), both running Gemini image (do not remember version number now). VLC version is 0,86. Changing VLC version is absolutely not a problem, of course.
By the way, if you plan to invest your time into this project, it would be great to have profiles to select, that would contain different streaming settings. Let say when you are home, IP address to the server might be 192.168.1.1 for exemple and you can aford 2Mbs stream size (although I am not sure it makes sense to have more than 800 X 480 around 400kbs). Once you are outside home, you but have good Wifi connection, you can select another profile, where IP of server is *****.dyndns.org and stream is set to 3-400 kbs (depending on up speed of your line). When you have week signal, you might want to lower bitrate further.
So profiles would be great!
I'm running a DM7020 Gemini 4.6 (Enigma 1). When the remote is working on it I can flash it with a Enigma 2 firmware. Which of your boxes one are you streaming from?
I know VLC changed alot on their streaming GUI recently.. don't know if the command line has changed.....
Øystein
if you could help me with VLC that would be fine When you start the stream in VLC it should display the arguments when configuring the stream.....If I remember correctly (the 0.8.6 version) the command line arguments can be found at the bottom of the screen in the last step when configuring the stream inside VLC. It should look something like:
":sout=#transcode{vcodec=mp1v,vb=1024,acodec=mpga,ab=192}:standard{mux=ps,dst=,access=http}:sout-transcode-soverlay=0"
As you can see both codecs and bitrate can be altered directly in this stream so it should be possible to make high/medium/low streams for different networks.
I haven´t got a license on Coreplayer. Is it possible to use TCMP or do I have to buy one?
Øystein

Categories

Resources