yashsingh1/xdaforums huggingface dataset:
[Windows Mobile Apps and Games] frmariam:
non-HTC devices... Headphone control!

It seems there are many apps to control media players using the wired headphone button but they all fail in the Samsung Omnia (and all other non-HTC devices AFAIK).

I recently came up with a concept idea of how to control a music player using the headphone button in non-HTC devices. I coupled supbro's GreenButton and made some small scripts to add the ability to detect the number of button presses (my headset always acts the same).

Instructions:

1- Install Mortscript

2- Install the TCPMP Headphone.cab in the phone memory

3- Restart your phone

4- When TCPMP is running:

a) 1 press = play/pause

b) 2 presses = next

c) 3 presses = previous

Notes:

1- The device can't be locked

2- The device can't be on standby (you can however turn off the screen)

3- The timing is a bit quirky (this is because of the time the scripts take to load).

PS: If someone could use the sources of GreenButton and mod it to be able to recognize different kinds of presses (1, 2, 3... maybe long-press) and trigger different actions (3 command in the lnk) it would be a better solution. This would correct the timing issues. It'd also be nice if it could run any file type (not just exe files).
[Windows Mobile Apps and Games] dainar:
I use TCPMP on htc hd2. it is fantastic.

However, I would simplify the task of closing the program.

as shown here:

io uso tcpmp su htc hd2. esso è fantastico.

tuttavia vorrei semplificare la operazione di chiusura del programma.

come si vede da qui:

when I press the mask does not show files directly "exit"

you can move the word go out, maybe inverted "Information ..."?

quando premo file la maschera non evidenzia direttamente "esci"

è possibile spostare la scritta esci, magari invertendola con "Informazioni ..."?
[Windows Mobile Apps and Games] Cweord:
Great software, it was just what I was looking for.

Is there anyway to get it to use .f4v - I have several files in this format, and it doesn't detect or play them.

I know this may well have been mentioned before, but I didn't have time to read 42 pages of comments . . . .

Also, if anybody wants photo shop help with skins, tell me what pictures you need and in what dimensions and I can help - I'll need someone else to make it work in a format for the software though.

Again thanks for the software, it's great even with out .f4v

Cweord
[Windows Mobile Apps and Games] frmariam:
Never seen that file type but it sounds like flash video... Try changing the file extention to flv and give it another go.
[Windows Mobile Apps and Games] dfererer:
Can't see the picture.
[Windows Mobile Apps and Games] frmariam:
Please don't post (or quote) such huge pictures (these are really bad if you're using your mobile to browse the forum... the thumbnail versions of the image are better suit for forums).

EDIT:

Attached a size optimized image (used RIOT). dfererer please remove the last part of the quotes (images).
[Windows Mobile Apps and Games] dfererer:
Sorry,my bad.(But I haven't see any pictures however red crosses instead,I suggest the author or any kindly person post it as a inline attachment.)
[Windows Mobile Apps and Games] dainar:
sorry, I hope it is ok now
[Windows Mobile Apps and Games] Destiny凯:
Thank you:D
[Windows Mobile Apps and Games] frmariam:
Hey bimbam how are you? Currently working... or following the World Cup :D

Don't know if you noticed this new web video streaming app called mVu Mobile Viewer. Currently doesn't support many sites but it doesn't seem to like TCPMP very much:

1- Youtube links are passed in "YOUTUBE" protocol (?)

2- One of the sites has flv with aac and h264...

3- The other site has only flv in onvp6

I'm no coder but could the issue of the flv with h264 and aac be because of the splitter? I get the feeling the current splitter doesn't even detect these streams and only tries to use ffmpeg.plg for flv files...

Anyway hope you give us some news on what your doing next (besides this components I was also hoping for some UI improvement and library by artist/album... and also my requests relating the today theme). Keep us posted!

PS: Still no luck with a possible GreenButton mod (it's hard to find devs willing devs here especially since this is a non-HTC issue).
[Windows Mobile Apps and Games] frotna:
Greetings.

Did you try this app to control wired headset:

http://headsetbutton.com/

I know Omnia is not listed as supported device, but you could try it...
[Windows Mobile Apps and Games] frmariam:
Thanks but that's also a no-go...

I had tried just about every app of this sort before trying to find my own solution. All failed... Kind of disappointing.

That app seems to have also been written for HTC machines. The cab refuses to install (setup says the device/firmware is unsupported) and I can't even extract the files with MSCEInf (header is reported as invalid). Plus it's not free...
[Windows Mobile Apps and Games] bimbam69:
Hi I'm on wacation now and found my self a bit lazy :D also had some problems which messed up my plans, so unfortunately haven't done any progress...

About mVu Mobile Viewer:

1. youtube:// protocol, at first I was confused, I've never heard about it :confused: but later found that it is coreplayer's feature. and the question is why not use direct http:// links? if app offers a download feature then it must know a direct link to a flv file. To implemet youtube protocol into TCPMP would'nt be a very practical idea instead i would go to much more general approach.

2. h264 and aac in flv is a big problem for TCPMP, but if its youtube site I know that it still has videos in flv1 format see here.And yes such problem is splitter related problem, current flv splitter knows only how to parse flv1 and flv4(on2vp6) videos. In fact i've played with this problem but unsuccesfully. :mad:

About green button app: I'm not sure but I've heard that htc devices dosent invoke key press events when headset button is pressed they are using sound driver instead, the fact that u can use green button app while using headset on your omnia it could mean that your headset produces key press events. And those are godd/bad news :D The good news is that key presses on omnia headset can be detected easily, the bad news is that to implement e.g. double press functionality would be to measure time between presses and usualy time between double press is in milliseconds and here comes a problem milliseconds in wince are a headache, since there is no standart way to get such value programicaly. I can look into sources of that app and see whats under the hood an will post if there is something i can do.

Your request regarding today plugin seems easy implementable, I can prommise to make such changes soon enough.

Not much of a news but still something....
[Windows Mobile Apps and Games] bik2000:
1. YouTube doesn't actually provide .flv links. The links it provides just result in the response header indicating that it is flv (or mp4). This is good enough for dowloading the file from the response, but neither TCPMP nor Coreplayer will play a file from those links. I'm not sure why they won't take it.

2. I could add the old formats to mVu if they play better on TCPMP. I didn't include them in the app because there were similar resolutions in the new formats.

-- bik2000
[Windows Mobile Apps and Games] frmariam:
Good to hear from you. I can relate with being lazy at the moment :)

mVu author also wrote something similar... Seems like he couldn't get Youtube to work in TCPMP using either rtsp or http. I tried to pass different sorts of Youtube links to TCPMP but none worked:

1-http://www.youtube.com/watch?v=<video_id>

2-http://youtube.com/get_video_info?video_id=<video_id>

3-http://youtube.com/v/<video_id>

4-http://www.youtube.com/get_video?video_id=<video_id>&t=<token>&fmt=<format>

I don't believe I tested point 4 properly... I tried the link with a token I got from my laptop browser. bik2000 wrote that he can't pass these links to an external player (something could have change with some Youtube update)... Seems like TCPMP has to be the one requesting the link (I think this is what he meant).

The flv with h264/aac issue isn't that big a deal since there's no current decent site that uses it supported by any app I know. It would still be a nice addition. Is this issue similar with the h264 in mkv. The only thing I can think of is that the code of the mp4 splitter may be of help.

Yes HTC headphone button works in a different way (it's actually easy to create a remote controller for HTC using VJPoOf concept). It's other brand devices (like mine) that are the problem. GreenButton provides a good solution but my Mortscript press-timer approach is not that great... Kind of hoping supbro reads my post in that thread while in a generous mood :o

EDIT:

:p looks like bik was also posting while I was writing!
[Windows Mobile Apps and Games] bik2000:
Link 4 is the one used for download, but using that link actually redirects you to a different link, and it is that one that where the response type is flv or mp4. I can post an example of what that link would look like later. I can't access YouTube right now.

-- bik2000
[Windows Mobile Apps and Games] Nodens:
I would like to ask something regarding the ffmpeg pack since there is not much clarification inside the readme.

The Samsung SGH-i900 features a Marvell PXA312, this cpu is an intel xscale core cpu with armv5te compatible instruction set. The ffmpeg pack includes both an xscale and an armv5te plugin without any detail on what features are enabled/included or performance etc..which one is suitable for the PXA312 and if they're different in features or performance, please elaborate:)
[Windows Mobile Apps and Games] frmariam:
I also have an i900 and I use armv5te version. I came to the conclusion that it was the faster version by doing benchmarks of the same test flv using all the different version.
[Windows Mobile Apps and Games] Nodens:
That answers my performance question (although there could be a different story on other formats), still I would like to know what cpu features/optimizations are used in each :)
[Windows Mobile Apps and Games] bimbam69:
Ok a bit more info on ffmpeg plugins for differrent cpus:

the plugin form xscale folder was compiled for generic arm architecture and tunned for xscale cpu core, the similar was done with the plugins in strongaram and iwmmxt folders this means that user who has cpu which supports either xscale, iwmmxt or strongarm would benefit from those plugins and those who haven't wont suffer much either. Those plugins are highly compatible ones.

the plugin from armv5te forlder was compiled for armv5te architecture and also tuned for xscale cpu core. Since ffmpeg sourcecode features optimizations for armv5te architecture, users that have such cpu's might gain an extra perfomance increase. So this one should be the best for omnia.

and the one in armv6 was compiled for armv6 architecture the ffmpeg sources also features optimizations for that architecture. So if you have qualcomm cpu you might wanna use this one.

Also ffmpeg sources provides some other optimizations like neon technology (Snapdragon processors) but I havent succeded to compile this one. So if someone has experience in cegcc or knows a way how to compile ffmpeg ompitmized for Snapdargon cpus please let me know.

Personnaly i can only guess which plugin would be best for your cpu, so you might wanna run benchmark with several versions and find the best.
[Windows Mobile Apps and Games] bimbam69:
Here it is. Use those components and check for key HKLM\Software\TCPMP\Remote

there you'll find two values PlayStatus - is player playing: 1 for yes and 0 for no, and Title - the current title
[Windows Mobile Apps and Games] Cweord:
Does anyone know how I can receive a streaming feed (usually udp) from win VLC?

I use a VLC stream so my wife an I can watch the same movie in different rooms and move between them, being able to receive it on my phone would enable me to do it while cooking.

Thanks
[Windows Mobile Apps and Games] frmariam:
Thanks :) Just found the new "Remote" reg key. It'll do just what I needed.
[Windows Mobile Apps and Games] bimbam69:
TCPMP does'nt suport udp protocol but yoy can try http instead. Chose the media you want to stream and then on the last step paste this command line:

:sout=#transcode{vcodec=DIV3,vb=800,scale=1,acodec=mp3,ab=128,channels=2,samplerate=44100}:duplicate{dst= display,dst=std{access=http,mux=asf,dst=:8080}}

then using tcpmp open url: http://ip_of_streaming_source:8080, for example http://192.168.1.101:8080

Here is vlc streaming how to for further reading http://www.videolan.org/doc/streaming-howto/en/streaming-howto-en.html
[Windows Mobile Apps and Games] frmariam:
uZard is leeching of TCPMP!

Just found this by accident. I decided to try uZard but because I have a habit of seeing the contents of any cab before I install it I noticed how similar the media player structure/filenames was to TCPMP. It was a real surprise to find that the media player that accompanies uZard is none other than TCPMP (uZard Media Player work in TCPMP)!!!

I have some questions now... Being the most important: what changes were done to TCPMP and did the company release the sources? They are obliged to release them and I even believe that this is the sort of situation where Core will enforce the sources license.

EDIT:

Just did a bit of testing and it looks like a fairly old build... Doesn't even support flv. Doesn't seem like anything was developed besides the GUI. Seems like they intend this to stream just 3gp. The devs were actually lazy to the point of leaving the lang files unmodified (they even have the origianl GNU reference and old TCPMP website address :p).
[Windows Mobile Apps and Games] bimbam69:
Interesting find frmariam, havent't tested that app alot but it seems that player part is based on official TCPMP sources. Maybe devs of this app contacted corecodec and agreed with other licensing options if not one can ask them to provide sourcecode.

Also speaking of TCPMP based players I've foun another one :p its called WEPOP its not impressived but has nice playback of RMVB video. Visit this link
[Windows Mobile Apps and Games] bimbam69:
TCPMP updated

Ok another update of TCPMP, and noticeble changes are:

Alow playback when device suspended (ofcourse audio only :D)

Softkey based menu across all screens.

Added back button in file open dialog, also Select recursively option which allows to select all files in current directory even if it has other directories with only one press. Those options has only english translation the users who want other translation can modify langpack or contact me for furteh details.

P.S. Select recursively option is a bit buggy :p
[Windows Mobile Apps and Games] frmariam:
Nice updates. The new play music in standby is most welcome :)

Since you implemented the softkey based menu in the rest of the player why not also do it for the classic interface (would "fix" the skin load issue... there'll also be space to add a next and previous button to the control bar).

About selection can you implement some more generic filters: media files, video files, audio files, image files, extension (this last one would bring the current filter list). An "Invert" selection option may also be useful. Another thing I noticed is that the files that play using ffmpeg (and the rmvb plugin for that matter) never had an icon in the browser.

Another small suggestion is to open the folder of the currently used skin (or the TCPMP folder if no skin is used) when you select the "Choose skin option" instead of the folder of the last open media file.

About WEPOP I had no idea there was such a project (seems like binaries are from 2008). No source to be found... Also funny how they say they won't release the source for some of the most interesting codecs (real, wma and wmv).

Wonder how h264 performs (don't have sample supported by WEPOP since it doesn't support mp4). They didn't say they wouldn't release the source for this one.

Noticed you started a GoogleCode project page :D
[Windows Mobile Apps and Games] stathis95194:
Thanks a lot for this. I have a question. Is there a skin that supports landscape?
[Windows Mobile Apps and Games] bimbam69:
frmariam, as always full of ideas :D, thanks I will consider your sugestions.
[Windows Mobile Apps and Games] bimbam69:
Yes there is, for example the ones that are attached in first post.
[Windows Mobile Apps and Games] stathis95194:
OK got it now. Thanks a lot bimbam
[Windows Mobile Apps and Games] frmariam:
That pretty much the only "helpful" thing I can do. And if you decide to spruce-up the interface even more here's another one :p
[Windows Mobile Apps and Games] Ham3r:
Hi

Do you can add playlist to main window as optional feature (like GSPlayer)?

Thanks in advance.
[Windows Mobile Apps and Games] Nodens:
Exactly the information I was looking for. Thanks:) I recently acquired an Omnia 2 and the Mrs got herself an Omnia so...I'm just getting started on the windows mobile platform (currently studying the SDKs and arm asm)...I certainly can't help with crosscompiling ffmpeg with snap optimization...at least not yet;)

I'd also like to report a bug that I've noticed on the omnia2 device running the latest build+armv6 ffmpeg. The subtitles flicker constantly with the GAPI renderer, GDI works fine. The subtitles are in the subrip format, haven't tested other formats due to lack of samples.
[Windows Mobile Apps and Games] jcmm:
Hello,

I have a HTC Touch Pro (VGA) and I tried your skin WMP12 (VGA). I would like to use but I get very small on the screen is unusable so ... Is there a solution?.

Greetings,
[Windows Mobile Apps and Games] jcmm:
Hello,

Is this skin for VGA? ... I really like. If available, from where I can download it. Thank you.

Greetings,
[Windows Mobile Apps and Games] lzythebest:
good

good jobs!!!!!!!!!!!!!!!!!!!!!
[Windows Mobile Apps and Games] MrGoodtunes:
Yes, there is a version of this nice skin by Osprey00 for VGA, but the one shown in <Bug1.png> is screenshot from my Vogue with QVGA.

It's on page 29 of this same thread, here:

http://xdaforums.com/showthread.php?p=6071639#post6071639
[Windows Mobile Apps and Games] jcmm:
Hello,

Thanks, as I found and tested, but the trouble is that I have very small entire bottom, and I find this skin inoperative, but I like ... pity. Not if its author could be corrected and increase the size.

Greetings,
[Windows Mobile Apps and Games] jcmm:
Hello,

I installed the TCPMP on the first page, because it seems that a whole is the most current (sets that are updated on 22/06/2010). "Is that so?. What are the differences from the version of the first page and the ones in your signature "TCPMP_bimba69_rmvb.cab?. Thank you.

Greetings,
[Windows Mobile Apps and Games] jcmm:
Hello,

As some of you are experts in this wonderful program TCPMP, it would be interesting to post, the collection of the best skins, it is so huge this item skins TCPMP and lost one in this website, despite using the form. Thank you.

Greetings,
[Windows Mobile Apps and Games] frmariam:
The version in my signature is older... The main difference was that I packed it with a different version of the ffmpeg.plg and with this rmvb plugin. Been forgetting to update it (you should use the version from the first post) :p

About the skins bimbam has recently created a GoogleCode page so I guess he'll upload the skins there.
[Windows Mobile Apps and Games] jcmm:
Hello,

Fine, then I have the latest version of TCPMP as I have previously uninstalled the previous ones, and assuming I installed clean on the first page.

We thank you for your kindness, and if possible let us know with a post when the new page with the skins ... perfect.

Greetings,
[Windows Mobile Apps and Games] bimbam69:
jcmm,

If you have device with VGA screen and looking for skins you can look into this post

frmariam is right about google code page I will upload stuff there, eventually :), but in a meantime use of search is needed ;)
[Windows Mobile Apps and Games] jcmm:
Hello,

Thank you very much for answering, and congratulations for your great work with TCPMP.

He had seen these skins reviewing this page, but some (Anastasia and Elegance) give me problems of adjustment to the screen of my HTC Touch Pro (VGA) ... is a pity, because they are very good.

I look forward to seeing your page compilation of skins for TCPMP.

Greetings,
[Windows Mobile Apps and Games] jcmm:
Hello,

Although I bought CorePlayer (and I have PocketMusic), use this version you made with TCPMP, because it gives me more sound quality for listening to my MP3 music ... is curious, but true. By simply adjusting the equalizer but with this I managed TCPMP better sound than the other two programs, however much I tried to adjust.

He wanted to know if this version of TCPMP is the codecs needed to play well the most popular videos, and if you would support the AVCHD HD cameras ("mts", "mov", "avi"...) and is installed in the version of the first page of this website updated (6/22/2010).

As for sound I am delighted with this TCPMP, but wanted to know the opinion on the video. In video I have not tried so far, as I installed the program this weekend, they've been properly calibrated sound.

Only I would find, as I indicated, an interesting skin for TCPMP because I've seen on this website for VGA is good but are better designed for WGA ... pity that there is a VGA version of them.

Once again I thank you for your good work, and the attention they give all of you.

Sincerely,
[Windows Mobile Apps and Games] bimbam69:
jcmm,

About sound quality you are right. I'm using TCPMP+SRS WOW HD and getting very nice listening experience while using headphones.

About video codecs. Playback of HD videos is poor, have'nt tried mts format but i think its not supported by TCPMP. If you have mp4 HD video file you better play it with OEM player such as Windows Media or what ever is built in (which will better utilize your hardware) also you could try Coreplayer but it has its own weaknesses for example maximum 1008 pixels video width is supported, so no 720p(1280x720) playback on Coreplayer. TCPMP is capable of playing avi files, and if video has ac3 audio codec TCPMP is your only choise.

About skins. I agree that those for WVGA are better looking, it's a pity that creators of those skins only aims to HD2 users and don't bother to create a skin adapted to other screens (its funny that they don't even bother to create a landscape skin :) )