In: Root » Electronics and communication » Mobile Phones » Stream Music and Videos from Your computer to Your iphone
Although the iphone’s multigigabyte capacity allows a signiicant amount of media to be stored on it, it probably isn’t big enough to hold your entire collection of music and videos. To still be able to access your computer’s vast media collection, you will have to stream it over the internet. The good thing is that you can access your desktop computer anywhere in the world from your iphone, as long as you have internet access. Whether you use a Mac or pc, setting up a media stream from your computer is very easy—and free! MacFor streaming on Macs, you will be using a system called Telekinesis that allows for (appropriately) remote control of your Mac using your iphone. Telekinesis uses applescript to manipulate your Mac in many ways, differently from Vnc. Download the iphone Remote application from http://code.google.com/p/telekinesis. The irst time you run it, it will ask you to set up a username and password for logging in to your computer. To stream videos over Telekinesis, go into iphone Remote’s conigurations. if you enable “share media insecurely,” you won’t need a password, but it also allows anyone who contacts that port and knows the direct path of your iles to download them. Make sure that iphone Remote is running. on your iphone, open up safari and type in the ip for your Mac, starting with https://. Accept the certiicate, and log in with the account that you created when you irst ran iphone Remote. This will bring you to the main screen. As you can see, there are many different applications that you can use with Telekinesis, but for now we will concern ourselves only with Media. Tap Media to open a browser of your ilesystem. Now that you have it all working on your local Lan, you need to get it working through your irewall. The basic procedure is to set a static ip on your Mac, use a dynamic Dns service so that you can attach a name to your home ip address, and then conigure your internet gateway for port forwarding. once you know the URL to your home pc, you can connect from anywhere has more information on this common but sometimes complicated task. If your media is elsewhere, it’s easy enough to ind with Telekinesis’s browser. now just tap to open the video or song, and it will begin streaming. it will continue to play if you go into another iphone app, but not if you switch safari pages. pcIf you’re a pc user, or you’d rather use a pc to set up your iphone media server, there’s an even easier solution to your remote-media needs. orb is a software + service that helps you access your media anywhere. and naturally, they’ve added support for the iphone. Go to http://corp.orb.com/download_orb, create a user account, download orb, and then install it. once it is installed on your computer, start the program and you’ll see a new icon for orb at the bottom right of your monitor. Right click the icon, and select coniguration. in the coniguration menu, click on the Media tab to select which media folders on your computer will be streamed by orb. Whenever the orb application is running on your computer, your media is being streamed, and is accessible from anywhere. The orb software and website handles all the complicated parts of irewalls and transcoding. once you have orb conigured correctly, you can access it from any browser, not just your iphone, via http://mycast.orb.com. Log into your account, and you now have access to all the media on your computer, even if you’re thousands of miles away from it! The orb application costs $10, but the good thing is that you can run the free version of their app store app and connect to your server to see whether the service works for you before you buy. Linux: MythtVThe Linux-based DVR project MythTV is a powerful system for viewing and recording TV. With a lot of hard work and a little luck, you can stream recorded shows from your MythTV computer to your iphone. For the purposes of this hack, we’ll assume that you have to get MythTV set up and running on a computer. if not, instructions can be found on the MythTV wiki (www.mythtv.org) and support pages for your speciic Linux distribution. 1. Make sure that you have the MythWeb package installed, and that you can view your MythTV web page from another computer. 2. The next step is to transcode the recordings into Mp4 format. Detailed instructions can be found on the MythTV wiki (http://mythtv.org/wiki/index.php/streaming_to_ipod_touch_ or_iphone). The basic process is to create a script that uses ffmpeg to transcode into an ipod-friendly format. Make sure to test this on your MythTV system before continuing. From a terminal, run the script on a recording, and conirm that the output can be played by mplayer, or any other media player. lib-faac is a common source of issues, and depending on the Linux distribution you’re using, you may need to compile lib-faac from its source. 3. after conirming that transcoding works, load mythtv-setup and create a user job to call the transcoding script that you created. in this case, the user job is named “ipod transcoding.” 4. enter MythTV frontend, and set the user job to run automatically after a recording is inished. 5. conirm that MythTV can run the user job correctly by selecting a recording, then click “run ipod transcoding.” 6. Wait a few seconds, then open a terminal and enter ps -ef|grep ffmpeg. conirm that ffmpeg is running. if the only output is only “grep ffmpeg” or blank, go back to the “system information” screen in MythTV, and conirm that the user job status is “running” and not “queued.” if MythTV lists it as running, and there is still no ffmpeg process, then the syntax of the user job is probably incorrect. Double-check it in mythtv-setup and conirm that it is correct. 7. Because MythTV can’t manage the transcoded iles, you will need to create a cron job to delete the Mp4 iles after the associated recording has been deleted. 8. The MythTV-for-iphone project is available on Google code, (http://code.google.com/p/ mythtv-for-iphone/wiki/installationGuide) and provides an iphone-formatted web interface to the recorded MythTV programs. 9. Download the MythTV-for-iphone iles, and install smarty and php-curl. The smarty directories should go in the root web folder. For example, if the mythweb folder is under /var/www/ mythweb, then the smarty folders would go into /var/www/smarty. smarty templates would be installed into /var/www/smarty/templates. 10. create a mythiphone directory (/var/www/mythiphone) and copy the MythTV-for-iphone php iles into it. copy i_settings.php.dist to i_settings.php and edit it based on the settings of your MythTV server. 11. Update apache2.conf and add the line: Alias /recordings <mythtv recording folder> at the end of the ile. The MythTV-for-iphone project references the /recordings folder, and without this alias, the recordings won’t show up. At this point, everything should be installed. on the iphone, open safari and navigate to the iPhone folder on your MythTV server. For example, 192.168.2.101/mythiphone. any recordings that are green should be viewable on the iphone. If you want to access the recordings from a remote location, you will need to assign your MythTV server a static ip. if you want to password protect the mythiphone folder, you should conigure apache’s basic authentication feature (see http://httpd.apache.org/docs/2.0/howto/auth.html). |
legal disclaimer
Our website is not responsible for the information contained by this article. Web-articles is a free articles resource.
Suggestion: If you need fresh, daily updated content for your website, feel free to use our service. Click here for more information.
related articles
Although this article attempts to address as many issues as possible, it is still likely that you may encounter a completely new and unique situation with your iphone. Luckily, the internet is full of great resources that can help you determine a solution to the problem. The big problem is that iphone hacking is, by deinition, unoficial and mostly unauthorized. and even when hacking is tolerated, or even privately encouraged, it is unreasonable to expect a large corporation to support not only its own software, but the ...
Sure, the iphone is a “computer in the palm of your hand.” But it lacks a few key features that desktops have. The iphone has a tiny keyboard, making it dificult to enter long URLs. Frustratingly, the iphone still lacks (as of this writing) copy-and-paste functionality, making the manipulation of URLs a key part of internet power suring a dificult task. and the iphone has resisted the urge to provide system-wide ilesystem access, preferring to keep data (pictures, videos, podcasts, and notes) in their own applicati...
3. Go beyond apples barebones SMS application
The Mobile sMs application that comes on the iphone is functional, but it lacks many of the text messaging features that people have grown used to on other phones. an initial lack of multiplerecipient texting was remedied in irmware Version 1.1.3, but some serious limitations remained. Multimedia Messaging service (MMs), also known as picture messaging, provided by every mobile carrier and supported by most camera phones, is completely missing from the iphone. There are other reasons the built-in sMs just doesn&r...
4. Enable MMS picture Messagingon Your iphone
A little change to your iphone’s messaging plan lets you send and receive MMs messages with swirlyMMs on jailbroken phones. The iphone does so many things quite well, making it all the more frustrating when the iphone fails to perform some normal task. Tethering, copy-and-paste, forwarding sMs...the list goes on. and sending and receiving MMs picture messages, just like on any normal phone, is another one of those frustrations. Some people don’t want to work around their phone’s inability to rece...
5. Use instant Messaging on Your iphone
Instant messaging is a very common and quick way for people to communicate. Many people “live” in their iM client. Most smartphones have third-party applications that enable you to use iM, and many if not most internet-connected phones have added aoL instant Messenger (aiM) support as a standard function. every Macintosh computer comes with the aiM-compatible ichat program, so the lack of ichat on the iphone was somewhat surprising. Thankfully, the iphone developer community has produced a number of solutions for thi...
6. Read news rSS and Websites Quickly on Iphone
One of the most interesting evolutions over the last decade of the Web has been syndicated content. although not everyone is a “news junkie,” almost everyone has a daily ration of information that they need to get. however, the excessive load times experienced on even the fastest devices and networks can make accessing this content dificult. There are dozens of ways to get concise, cleanly formatted, and edited information to your device, and more app store apps are appearing all the time. This hack will cover a few of ...
7. How to Read eBooks on Your iphone
The term “e-book” in the general sense describes any method by which one could read something approximating a physical book (sequential chapters of text) on an electronic device (hence the “e”). The problem is that due to the vagaries of reader devices and the unproven inancial and security models, no single dominant e-book standard has emerged. (You can look at a laundry list of e-book formats here: http://en.wikipedia.org/wiki/comparison_of_e-book_formats.) Nonetheless, a number of workable standards have emerged. You may...
8. Take panoramas and nightshots with Your Builtin camera
The iphone’s built-in camera is unable to compete with dedicated cameras for image quality. however, you have it with you everywhere you go, and chances are good that you don’t carry your camera except to special events. Therefore, there are many times when you want to milk the last bit of image quality out of your camera. Two areas where you may want to enhance your iphone camera are: 1. Low light conditions (night shots) 2. Resolution and ield of view Resolution and Field of View enhancemen...