HOWTO: Autolaunch method for TCPMP (MMS)

General Discussion about Windows Mobile / Pocket PC Smartphones and PDAs

Moderators: mikepaul, hroo772, ronenmiz

HOWTO: Autolaunch method for TCPMP (MMS)

Postby Fmstrat » Fri Sep 19, 2008 8:55 am

While I eagerly await true TVersity Windows Mobile support (IE an option in config that autodetects PIE and TCPMP), I got tired of having to "Add to Favorites", "Copy", "Cancel", open TCPMP, "Open File", "Cntrl-V", "Go". If you don't know what I'm talking about, read all the other posts on setting up for Windows Mobile. So, I busted out a HEX editor, and made this little mod which will make files listed in the browser execute TCPMP natively.

What you'll need:


TVersity
I recommend installing the Vista Codec Pack (http://www.free-codecs.com/download/vista_codec_package.htm) or K-Lite Codec Pack (http://www.free-codecs.com/download/K_lite_codec_pack.htm) before installing TVersity, then install TVersity without it's codecs. There is some minor setup for these codec packs, but there are other guides on doing that with TVersity so that will not be covered here.

Use the following settings, set the others to whatever you like. These settings work well for streaming over EVDO Rev-A.
    General -> Media Playback Device: Xbox 360 (this will allow us to select video codec in Transcoder settings)
    Media Library -> Media Library Menus: File System (this may not be necessary, but I use it)
    Transcoder -> When to transcode: Always
    Transcoder -> When to transcode, Decrease the bitrate: Checked
    Transcoder -> Maximum Video resolution: 320x240
    Transcoder -> Windows Media Encoder, Use DirectShow: Checked
    Transcoder -> Windows Media Encoder: Windows Media 7
    Transcoder -> Optimization: Quality
    Transcoder -> Connection Speed and Quality: Wired (100Mbps), Low
    Transcoder -> Compression: Maximum


TCPMP Settings
These settings were for my Sprint PPC-6800 (Mogul), you're settings may differ slightly based on your device. These settings also work well for the Flash Bundle Cab for watching YouTube videos.
    Options -> Video: Raw FrameBuffer
    Options -> Quality: Normal
    Options -> Settings -> File Associations -> MMS protocol: Checked
    Options -> Settings -> Buffering -> Normal buffer size: 2976KB
    Options -> Settings -> Buffering -> Preload at underrun: 50%
    Options -> Settings -> Buffering -> Preload for audio: 128KB


HEX Editing
Now you should be at a point where you can do the usual "Add to favorites" trick to play your streams. To add the auto-launch capabilities, first stop TVersity's streaming.

Backup the C:\Program Files\TVersity\Media Server\MediaServer.exe file, start up XVI32, and open the file C:\Program Files\TVersity\Media Server\MediaServer.exe.

Go to Adr. Dec: 587,748 as seen in the screenshot below. If things look different (I.E. TVersity changes something), search the EXE for the first occurance of _file_ and then go to the second http:// after it. Your screen should look like this:

Image

Now, replace: http://%s/get%s/%s/%s.%s
with: mms://%s/get%s/%s/%s.%s"

Notice the quote at the end of the replacement string. This must be put in to keep the string at the correct length. Your file should now look like this:

Image

Hit Save, then start TVersity's streaming back up. Now tapping the links in Pocket IE will fire up TCPMP with the video. As a side benefit, if you go in with a PC it will also autolaunch Windows Media Player (or whatever your media player is).

Thanks,
Ben
Fmstrat
 
Posts: 3
Joined: Fri Sep 19, 2008 1:30 am

Re: HOWTO: Autolaunch method for TCPMP (MMS)

Postby Fmstrat » Fri Sep 19, 2008 8:56 am

*reserved for future comments*

Comment 1: This methodology has been proven to also work with Opera Mobile 9.5 Beta, a web browser with full click and zoom + tabbed browsing capabilities.
Last edited by Fmstrat on Sun Sep 28, 2008 3:10 pm, edited 1 time in total.
Fmstrat
 
Posts: 3
Joined: Fri Sep 19, 2008 1:30 am

Re: HOWTO: Autolaunch method for TCPMP (MMS)

Postby $incere » Sun Sep 21, 2008 3:25 am

Instructions worked great, thanks Fmstrat
$incere
 
Posts: 8
Joined: Mon Nov 26, 2007 4:33 pm
Location: Los Angeles, Ca

Re: HOWTO: Autolaunch method for TCPMP (MMS)

Postby korens » Wed Oct 01, 2008 6:25 am

work great. but where do i change if i want to keep the "AUTO DETECT" setting for the device (or in worst case change it to PS3) ?
10x
korens
 
Posts: 5
Joined: Fri Jun 13, 2008 9:13 am

Re: HOWTO: Autolaunch method for TCPMP (MMS)

Postby korens » Thu Oct 02, 2008 1:12 pm

be aware that by fallowing this instructions you will not be able to stream to a ps3.
any solutions that will not interupt other devices?
korens
 
Posts: 5
Joined: Fri Jun 13, 2008 9:13 am

Re: HOWTO: Autolaunch method for TCPMP (MMS)

Postby dancarter » Wed Oct 08, 2008 10:08 am

I can't get any files to stream from my tversity server, even just using copy and paste.
I have this link as an example: http://127.0.0.1:41952/geturl/family%2b ... pisode%2b1).mp4.mp4%3ftype%3dvideo%252fMP4V-ES%26url%3dfile%253a%252f%252fc%253a%252fdocuments%2band%2bsettings%252fuser%252fmy%2bdocuments%252fazureus%2bdownloads%252ffamily%2bguy%2bseason%2b6%252f%26title%3dFamily%2bGuy%2b(Season%2b6%2bEpisode%2b1)%26ext%3d.mp4
but when I copy this and paste it into TCPMP,it won't start to play.

If anyone has any ideas I'd be grateful. I'm using a HTC Diamond with Windows Mobile 6.1.

Thanks,
Dan
dancarter
 
Posts: 2
Joined: Tue Oct 07, 2008 2:57 pm

Re: HOWTO: Autolaunch method for TCPMP (MMS)

Postby Chicago Fire » Sun Jun 14, 2009 7:40 am

Thank you for these great instructions!
I searched for _file_ and I found I had to also change the first occurance of http: to mms: where it said geturl, and then it worked!

Chicago Fire
Chicago Fire
 
Posts: 18
Joined: Sat Sep 16, 2006 6:50 pm


Return to Windows Mobile / Pocket PC Smartphones and PDAs

Who is online

Users browsing this forum: No registered users and 2 guests