Hi Everyone,
Im currently working on a small personal project which i hope will come together nicely in the future and ive come to a point in the development where i thought id ask other experienced users for help.
Im basically trying to stream audio using TCPIP on the android MediaPlayer object. Becuase streaming is only currently supported for http public files, what i am doing is instead using a Thread to download and store the data on the sd card. What i would like to do is WHILE the data is being downloaded/written to the sd card, the Media Player will access the same file and begin reading the data for playback.
Is this possible? Ive managed to open a file for asychronous reading and writing before but i cant seem to make this work with the Media Player object. Could someone give me an idea about how this could be done?
PS: i tried posting this on the Android software development forums but it seems that i need 10 posts or more to do that.
Related
im sorry if im not posting in the correct forum for this but i am extremely frustrated. i would very much like to watch videos on my wing. however i cannot find a solution on how to get the damned things on the device. i have searched the internet and looked at the htc website all to no avail. if anyone can help me that would be awesome.
thanks to all who contribute
look for TCPMP on www.google.com
ok, i downloaded the cab file for my wing. i dled the one that says for pocketpc. is this correct? also i downloaded battery status but im unsure on how to use this. if you could help it would be greatly appreciated.
the only other question is how do i get the media oon my wing? ive tried syncing it with wmp and that fails. i tried drag and drop onto the micro sd card and that also does not work. what am i doing wrong?
anyone that can answer these questions please! it would be a great help
media is a broad term maybe you should state what files you are trying to get to it
never synced with wmp myself but have many many many of my cd's on my 2GB microSD card and it works just fine
both as mp3 and wma
also have ogg, mpg, avi(divx) and such on it
i am trying to get avi's mp4's.... basically any type of movie file on my wing and never can do it. always get an error.
dezos112: what player are you using? what error do you get?
i dled the player you suggested. the player is fine. the problem is getting the movies on my card. nothing seems to work.
what do you mean by "the problem is getting the movies on my card. nothing seems to work."
Explain more clearly please.
i mean getting the movies files from my computer onto my 2gb micro sd card.
so freaking frustrating! sorry for *****ing but this is the only thing that annoys me about this phone
if i need to be anymore specific let me know.
using total commander and marking the mp4 files and clicking copy would prob do the trick
What exactly are you using for copying the files over to the phone? If you're doing it over the standard ActiveSync USB sync, it's going to take ages and you may be pulling the phone out of its cradle before the file is fully done copying. If you don't have one already, I'd highly reccomend getting a USB 2.0 MiniSD card reader to speed up the transfer of movies and music.
ok... ive solved the issue on how to get the movie files on my phone. now i try to open them with the program, the first time i tried it worked like a charm. now when i open a movie file it crashes to the today screen. do i need a different media player?????
by the way. i opened the movie file with tcpmp. thats the program that crashes to the today screen. is there any other media player i should use?
bump..................
hi guys, I've had decided to (try to) code an app simular to what I used on an old Sony Ericsson (t68 and s700i) which could remote control Windows Media player via Bluetooth, and and download which I had that done the same for winamp and would also list the playlist.
At the moment this is in the idea stage, as far as I have worked out, its going to need to be a server/client app.
Being new to Qt this may take some time lol but always found deep end is best place to learn lol. does anyone have any pointers in direction to look for info on something like this, or how to pass information, commands rather than files via bluetooth?
soon as I get anywhere I'll post updates.
thanks for any info thrown my way.
_frosty_
having just purchased an HTC media link for less than half the release price at £44 my next step was to check xda to see what type of hacks are available. unfortunately, repeated searching throws up little beyond the codec/filetype issues i'm likely to encounter.
is anybody working on the DG H100 firmware? am a little surprised to discover an htc product without any dev interest.
would be nice to see a minimal b+w gui & a more robust set of codecs - or is that a phone/pc problem? i'm just dipping my toes into DLNA so apologies if this is a stupid question.
any media link tips, links or suggestions welcome.
related : http://forum.xda-developers.com/showthread.php?t=1469769
DG H100 on Desire Bravo
How are you getting on with the media link?
Your signature says that you have a Desire Bravo, are you using it with that?
The HTC site lists a load of phones that it is compatible with and the Bravo isn't on that list.
Would I be right in thinking that this just means that that phone wont work straight out of the box as it is missing the required native programs and I need to install an app to make the bravo a DLNA media server - e.g. iMediaShare Lite and that then i can *push* photos etc to my TV via the Media Link?
Any tips that you have will be appreciated, thinking of getting a media link, they look like a great gadget.
received it today and it works perfectly out of the box with my win7 pc & desire (same setup as sig).
the hotspot it sets up initially can be logged into through the pc - from where you can enter the ssid, encryption type & password for the home network. that's it.
watching a movie as i type. file is sat on the pc in the next room. selected on my desire with skifta, playing on the big telly.
in answer to your question, i've been using skifta to watch pc based files on my mobile for a few weeks, i'd suggest that if you can view things successfully using that method then it'd be worth adding the media link to your set up. from what i've read imediashare & twonky do much the same thing.
update
after a few weeks use, im considering an alternative NAS hd solution to wireless streaming to tv.
when the DG H100 works it's faultless. unfortunately around half of the media files i'm looking to view show up as unrecognised despite numerous attempts at converting to a media link friendly codec using http://www.freemake.com/free_video_converter/ - which allows hard coding of subtitles
I asked in a few forums now and got no answer for this:
I wonder if it is possible to get IPTV which i have in bundle of my network provider, to my Android phone.
The story so far:
I got a Fritzbox 3370 and changed the Box the way that it is possible to watch my IPTV without that stupid TV-Box that you can get from your provider. For this i use VLC-Player on my Pc and got a .m3u Playlist to switch to all available channels. Inside that m3u there are all rtp adresses for all different channels: ie. rtp://@233.51.128.25:1234.
Now i searched for an app that can handle those Adresses or even better handle that m3u. But i found nothing! I tried many different apps (ie. VPlayer, VLC Player (alpha), MXPlayer, MoboPlayer,VLC S&C....) but non of them worked. All of them got an error when i tried to open a link or m3u. Another Problem with that m3u is that they are deleted instantly on any Android phone which is a known issue (But WHY??) So i tried to open them on my Fritzbox NAS.Didnt work.
What i don't understand is, where the problem is hiding? If i can stream the channels on my PC why i can't on my Galaxy S2? Is that a hardware problem or a network protocol issue or has just noone ever thought about it?
I just want to get free (because i already pay for it when using it on PC) and fast and reliable IPTV on my Smartphone over Wlan and not that crappy IPTV that can be viewed over internet.
So my question now:
Is it possible to get that working? I know that there are many capable people in this good forum who have the knowledge to perhaps program a new app for this or just know in which way it can be done (I can't program otherwise i would have done that instantly because i think many people want to have that app).
Many thanks for your help in advance
Please use the Q&A Forum for questions &
Read the Forum Rules Ref Posting
Moving to Q&A
There is a great program IPTV. You can find it on Android Market.
Thats not what i asked for...
I know all iptv apps
I'm the author of IPTV app mentioned by Molodoj, here is the link https://play.google.com/store/apps/details?id=ru.iptvremote.android.iptv
You wasn't able to find it on Google Play before because it's currently available not for all countries, just Russia, exUSSR, and few European countries. I want to add more icons for local channels before sharing it for other countries. Just tell me were you are and I'll add icons and share it for your country.
Many Android devices doesn't support multicast, so I'm suggesting to use UDP proxy in your LAN to workaround this. From what I know, Samsung Galaxy S2 does support multicast, so this should work without proxy. You can use Daroon Player to play rtp streams, or try to fix the link to udp://@233.51.128.25:1234 and open it with MX Video Player or VPlayer (but I'm not 100% sure that this will work). You will be able to watch it with many other streaming players with use of proxy.
About deleting m3u playlist from sd-card. This happens because Android scans sd-card, reads m3u playlists and fixes them by deleting the links to files which could not be found on your sd-card. Since you have URLs instead of files in your playlist, Android thinks that playlist is empty and deletes it. To avoid this just create some folder, place there empty ".nomedia" file and your m3u playlist. After that Android will exclude that folder from scanning and won't touch the playlist.
Hey many thanks you are my hero!
I downloaded your program IPTV (which was available indeed but i hadnt found it I'm in Germany btw) and used Daroon Player (which isnt available here via GooglePlay but i got it from internet). And it WORKS!
I only have one problem. If i use your proxy (which is hard to configure because of all the bad letters which arent supported by my german windows ) i get get only colored screen and no sound when starting a channel.
But if i use no proxy i get mostly good pictures and sound!. But the picture keeps hanging a little with overlapping pictures for 1sec ie. its ok but i think its because of the WLAN IPTV issue? But i wonder why udp proxy gives me no result ? Or wouldnt that bring me any advantage because my S2 can handle rtp directly anyway?
UDP-to-HTTP proxy is not developed by me, this is a third party software. Possibly it has only Russian localization, I'm not sure. From what I know, it was tested a lot, including rtp streams, and you are the first who reports the issue with sound.
I can guess that this happens because it was developed to support plain udp streams. Since rtp is extension over udp, in most cases the proxy works fine with rtp streams also. However there could be some variations of rtp which are not properly supported by the proxy.
There could be some data loss with udp multicast over Wi-Fi, so some hangs are possible, proxy should help to avoid this, but it doesn't work for you
You can also try to install udpxy on your WLAN router, it has better rtp support. But installing this might be not trivial and may require flashing your router.
Also, I'm interesting if it is possible to watch rtp streams with MX Video Player. From what I know, it won't play rtp://@... URLs, but would play udp://@... Could you please try to open this URL udp://@233.51.128.25:1234 by manually input URL in MX Video Player?
Yes i think i don't want to install upd on my router. I already changed my firmware to get this IPTV working.
But i tried MX Player and with the change to udp://@ it works!
Hope that helps you, too
yalders said:
I'm the author of IPTV app mentioned by Molodoj, here is the link https://play.google.com/store/apps/details?id=ru.iptvremote.android.iptv
Click to expand...
Click to collapse
Great software! I've tried it on Samsung Galaxy S. Works good with m3u playlists.
Hi,
I know I'm reopening an old thread but it's the one that seems to fit most my problem.
I'm trying to play a multicast rtp stream on my openhour chameleon (rk3288 device)device. the stream is like this rtp://239.186.64.192:10000
I have tried installing IPTV pro app, Dragoon player, MX, VLC, all other players I could try, it does not work.
I also tried to change to rtp://@ or udp://@ and enter it manually in MX or VLC, no chance.
I don't want to install the proxy on my router as it is my ISP router.
The strange thing is that this rtp://239.186.64.192:10000 works on all my other android devices, Sony android TV, Minix, Openhour Gecko
I have asked Openhour but they have no idea, should I ask Rockchip the builder of the motherboard.
I really would love to get access to my local iptv.
Hope someone can help me
P.
I just go my hands on a Rikomagic MKIII, and I'm looking to set up some sort of media server on my pc so I can stream all my videos on my tv easily. I've googled and tried a lot of solutions, since they're not in the same LAN the easiest one didn't really work for me (shared folder), so I started with an FTP-server on my PC, connecting to it in ES File Explorer and streaming the videos one by one. It was a working solution, but not really a good one. So I searched some more, found out about XBMC and Serviio. I have XBMC on my PC now, but I can't figure out how to share the files properly, if that's even possible, and the XBMC-app doesn't seem to work so I've put that idea on ice for now. Then I tried Serviio, set everything up, downloaded an app on the Rikomagic and that worked great, for 15 days, after which the server software requires a 25USD purchase.
My question then is, are there any better solutions for my problem? Serviio was the best one I've tried, but I'd prefer a free feature tbh, I'd rather not pay 25USD for a program that doesn't actually support Android, since the player-apps are fan-made.. I'm sure you realize what I'm looking for, just a solution where I can use my PC as a media server and play it on my android with ease. Doesn't have to be pretty, but I'd prefer if I could make a playlist on the android device (couldn't figure that out with the FTP server and MX player).