Mobile Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - MoreMobile Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old September 3rd, 2007, 03:03 PM
homiLondon homiLondon is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2004
Posts: 23 homiLondon User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 8 h 24 m 35 sec
Reputation Power: 0
Smile Videostreaming

Hi I hope you can help me.
I have managed before to stream video from our server to mobile phone. but for last two weeks it has stooped streaming and what happens is when you log on to mobile web site with your mobile and click the url for see video it downloads to my notepad in my mobile phone and sees it as ASCII file instead of binary.
therefore it does not steam the video .
I have contacted my mobile operator and they say it is software problem which I don't think so.
As I say I was enable to click and see the video before but not any more.
I include the code for your attention and any help regarding this would be appreciated many thank
Homi

xml Code:
Original - xml Code
  1. <?xml version="1.0"?>
  2. <!DOCTYPE html PUBLIC "-//WARFORUM//DTD XHTML Mobile 1.0//EN"
  3. "http://www.wapforum.org/DTD/xhtml-mobile10.dtd">
  4. <html xmlns="http://www.w3.org/1999/xhtml">
  5. <head>
  6. <title>Homi Ghazavi</title>
  7. </head>
  8. <body bgcolor="#FFFFFF">
  9. <p>
  10. <a href="mailto:ghazavi@blueyonder.co.uk">Email Homi Click Here</a><br>
  11. </p>
  12. <a href="wtai://wp/mc;07950341362">Call Homi Click Here</a><br>
  13. <a href="http://www.videoshoot.co.uk/mobile/homi8.3gp">See My Video Click Here</a><br>
  14. <a href="http://www.videoshoot.co.uk/mobile/homi.amr">Hear Voice</a><br>
  15. <img src=homibcnew1.gif width="250px" height="200px" />
  16. </body>
  17. </html>

Last edited by jabba_29 : September 3rd, 2007 at 06:08 PM. Reason: fixed code tags

Reply With Quote
  #2  
Old September 3rd, 2007, 06:19 PM
jabba_29's Avatar
jabba_29 jabba_29 is offline
Back in HEL
Click here for more information.
 
Join Date: Feb 2002
Location: Finland
Posts: 8,912 jabba_29 User rank is General 11st Grade (Above 100000 Reputation Level)jabba_29 User rank is General 11st Grade (Above 100000 Reputation Level)jabba_29 User rank is General 11st Grade (Above 100000 Reputation Level)jabba_29 User rank is General 11st Grade (Above 100000 Reputation Level)jabba_29 User rank is General 11st Grade (Above 100000 Reputation Level)jabba_29 User rank is General 11st Grade (Above 100000 Reputation Level)jabba_29 User rank is General 11st Grade (Above 100000 Reputation Level)jabba_29 User rank is General 11st Grade (Above 100000 Reputation Level)jabba_29 User rank is General 11st Grade (Above 100000 Reputation Level)jabba_29 User rank is General 11st Grade (Above 100000 Reputation Level)jabba_29 User rank is General 11st Grade (Above 100000 Reputation Level)jabba_29 User rank is General 11st Grade (Above 100000 Reputation Level)jabba_29 User rank is General 11st Grade (Above 100000 Reputation Level)jabba_29 User rank is General 11st Grade (Above 100000 Reputation Level)jabba_29 User rank is General 11st Grade (Above 100000 Reputation Level)jabba_29 User rank is General 11st Grade (Above 100000 Reputation Level)  Folding Points: 57777 Folding Title: Beginner FolderFolding Points: 57777 Folding Title: Beginner FolderFolding Points: 57777 Folding Title: Beginner Folder
Time spent in forums: 3 Months 4 Weeks 1 Day 12 h 41 m 36 sec
Reputation Power: 1693
Send a message via ICQ to jabba_29 Send a message via AIM to jabba_29 Send a message via MSN to jabba_29 Send a message via Yahoo to jabba_29 Send a message via Google Talk to jabba_29 Send a message via Skype to jabba_29
Facebook
Hi,

I would reckon that your server has stop serving .3gp in the way you are expecting -
seems to be using default text type.

If you have apache, try uploading or amending your .htaccess to add something like the following.
apache Code:
Original - apache Code
  1. AddType video/3gpp .3gp


Note: Your <br> tags should be <br />!

HTH..
__________________
Cheers,

Jamie

# mdb4u | mobile movie database] | Please help to test and promote
# skiFFie | Home of the 'accessibility module' for Drupal
# Jamie Burns [me] Accessibility Module [drupal]
# guidelines | search | wap resources | not getting help | fold to cure

__________________

Let the might of your compassion arise to bring a quick end
to the flowing stream of the blood and tears .....
Please hear my anguished words of truth.



__________________

Reply With Quote
  #3  
Old September 3rd, 2007, 10:00 PM
franco190453 franco190453 is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2007
Posts: 47 franco190453 User rank is Corporal (100 - 500 Reputation Level)franco190453 User rank is Corporal (100 - 500 Reputation Level)franco190453 User rank is Corporal (100 - 500 Reputation Level)franco190453 User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 20 h 14 m 37 sec
Reputation Power: 3
homiLondon:
My question to you is:
Are you sure you have been using the same phone model?
I personally think is a problem of the player inside your phone!.
I have tested on a SonyEricssonk310i and I do not have problems with .amr (Audio)but I do have problems with .3gp (Video).
Regards
Franco

Reply With Quote
  #4  
Old September 4th, 2007, 11:37 AM
homiLondon homiLondon is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2004
Posts: 23 homiLondon User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 8 h 24 m 35 sec
Reputation Power: 0
videostreaming

Hi Jabba
Thanks for reply.
I would try to add AddType to apache server that is if my server provider allws me to do that.
If I run the same code on web browser that is when the page is saved as html the video runs perfect and I have a nokia emulater to run the 3gp video, what I am trying to say is that the server streams the video on web browser OK.
My dificulty is when I run the same page and access it from my mobile browser the video is received as a text file.
and also same for the sound file.
But it works on some mobile phone and that didn't happen before.
I can give you the full URL if Devshed allows me to do that.
Again I thank you for your help
Homi

Reply With Quote
  #5  
Old September 4th, 2007, 03:54 PM
homiLondon homiLondon is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2004
Posts: 23 homiLondon User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 8 h 24 m 35 sec
Reputation Power: 0
videostreaming

Hi Franco
Thanks for your reply
I am using same mobile to test as before.
You mentioned You have no problem with sound file but with video does not play in your sony ericson, This is another supprise.
My problem is if I take picture and include a sound file and video and then text it back to my mobile I can see the video and hear the sound file OK but the problem is when I try to stream the video and the sound file from the server back to my own mobile then it does not work and it opens it on my note book in my mobile.
So how is it possiable same video file and sound file accessed in the same mobile does not work?

Homi

Reply With Quote
  #6  
Old September 4th, 2007, 08:59 PM
franco190453 franco190453 is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2007
Posts: 47 franco190453 User rank is Corporal (100 - 500 Reputation Level)franco190453 User rank is Corporal (100 - 500 Reputation Level)franco190453 User rank is Corporal (100 - 500 Reputation Level)franco190453 User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 20 h 14 m 37 sec
Reputation Power: 3
homilondon:
I will say this to you:
1.- Have tested downloading a .mpeg (video) to my sonyericsson k310i (Note: The manual does not even mention this type of file) and the operating system of my phone answers that it can not play such file but gives me the option to download it, which I did and it downloaded fine then
I uploaded and sent it as a mail atachment from my phone to my server and it worked fine. This means that I can download files that are not compatible to my phone but I can upload or send same file to another phone which can handle this type of file.
2.- I think my apache server is doing a fine job of uploading and downloading binary files.
3.- The answer is at the Operating System of the phone and the characteristics of the player.
4.- Sometimes when you enter a site that manipulates the predetermined file types for your player, they, without you knowing it, can change the configuration of your player.
5.- Technology is changing rapidly and all new phones handle HTML. This means that you can forget about WML and good old html is about to take over!.
Regards
Hope it will help you a bit.
Franco

Reply With Quote
  #7  
Old September 5th, 2007, 01:34 PM
homiLondon homiLondon is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2004
Posts: 23 homiLondon User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 8 h 24 m 35 sec
Reputation Power: 0
videostreaming

Hi Franco.

Thanks for reply.
You mentioned that the problem for not be able to stream the video to my mobile could be with my mobile player.
I am using Nokia 6630 and it has a symbian operating system and for video and sound player it has real player pre installed.
If I log on to operator and download a video it runs OK and they are using real player server extension rstv. not HTTP.
And supposedly video files should be 3gp file format so when I download from mobile operators their video is in 3gp and it works fine as it is steaming from real server.
But when I stream same file format 3gp from my server it does not work lately, that is my question.
Thanks

Homi

Reply With Quote
  #8  
Old September 5th, 2007, 07:12 PM
jabba_29's Avatar
jabba_29 jabba_29 is offline
Back in HEL
Click here for more information.
 
Join Date: Feb 2002
Location: Finland
Posts: 8,912 jabba_29 User rank is General 11st Grade (Above 100000 Reputation Level)jabba_29 User rank is General 11st Grade (Above 100000 Reputation Level)jabba_29 User rank is General 11st Grade (Above 100000 Reputation Level)jabba_29 User rank is General 11st Grade (Above 100000 Reputation Level)jabba_29 User rank is General 11st Grade (Above 100000 Reputation Level)jabba_29 User rank is General 11st Grade (Above 100000 Reputation Level)jabba_29 User rank is General 11st Grade (Above 100000 Reputation Level)jabba_29 User rank is General 11st Grade (Above 100000 Reputation Level)jabba_29 User rank is General 11st Grade (Above 100000 Reputation Level)jabba_29 User rank is General 11st Grade (Above 100000 Reputation Level)jabba_29 User rank is General 11st Grade (Above 100000 Reputation Level)jabba_29 User rank is General 11st Grade (Above 100000 Reputation Level)jabba_29 User rank is General 11st Grade (Above 100000 Reputation Level)jabba_29 User rank is General 11st Grade (Above 100000 Reputation Level)jabba_29 User rank is General 11st Grade (Above 100000 Reputation Level)jabba_29 User rank is General 11st Grade (Above 100000 Reputation Level)  Folding Points: 57777 Folding Title: Beginner FolderFolding Points: 57777 Folding Title: Beginner FolderFolding Points: 57777 Folding Title: Beginner Folder
Time spent in forums: 3 Months 4 Weeks 1 Day 12 h 41 m 36 sec
Reputation Power: 1693
Send a message via ICQ to jabba_29 Send a message via AIM to jabba_29 Send a message via MSN to jabba_29 Send a message via Yahoo to jabba_29 Send a message via Google Talk to jabba_29 Send a message via Skype to jabba_29
Facebook
Quote:
But when I stream same file format 3gp from my server it does not work lately, that is my question.
Check with your host that there haven't been any server-wide changes.
If it has worked in the past, it sounds as if something has been corrupted somewhere -
ensure that you have uploaded the files in the correct format too....

Reply With Quote
  #9  
Old September 5th, 2007, 10:02 PM
franco190453 franco190453 is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2007
Posts: 47 franco190453 User rank is Corporal (100 - 500 Reputation Level)franco190453 User rank is Corporal (100 - 500 Reputation Level)franco190453 User rank is Corporal (100 - 500 Reputation Level)franco190453 User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 20 h 14 m 37 sec
Reputation Power: 3
jabba_29:
I just tried the addtype video/3gpp .3gp at my conf. file of my Apache and now my tiny SonyEercssonk310i is downloading 3gp files normally.
I have to point out that I first set up a .htaccess file and did not work.
Checking the MIME type at my Apache server, I could see audio/amr but could not see anything about .3gp so in order to work it must be added via de conf file.
I must thank jabba_29 for posting the addtype....

In your case homilondon, as jabba_29 said, if it worked once and if they use Apache server then addtype.... was properly configured. Probably they installed a new version of the Apache Server and forgot to add the addtype....
His recommendation is undoubtedly correct and that should be the way to solve your problem.

Thanks again jabba_29.
Regards
Franco
P.S. Learning is indeed a never ending process!.

Reply With Quote
  #10  
Old September 7th, 2007, 11:59 AM
homiLondon homiLondon is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2004
Posts: 23 homiLondon User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 8 h 24 m 35 sec
Reputation Power: 0
videostreaming

Hi Jabba

Just to let you know I added the MIME files for video and sound and everything is working OK now So many thanks for your help
Homi

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreMobile Programming > Videostreaming


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump