-4

is there any way I can show an ISO image (from a DVD movie I burned) on my local server. I want to watch my ISO images from my local server on any of my tablets and such.

Any ideas on the best way to proceed?

simian
  • 116
  • 3
  • 14
  • Am seeing this kind of request for the first time in my life ... PHP & Movie are not friends ... the are better DVD sharing applications online .. `use Google` – Baba Apr 14 '12 at 22:20
  • worlds first real programming problem – Dejan Marjanović Apr 14 '12 at 22:25
  • PHP is **NOT** the answer to all of life's programming problems. Far from it. It's more offten the start of life's programming questions. – Marc B Apr 14 '12 at 22:25

3 Answers3

1

Your tackling this wrong. Convert your dvd's to MP4 (if you want to use on most devices, xVid works better) then host them. ISO's aren't gonna do you much good.

Adam Fowler
  • 1,750
  • 1
  • 17
  • 18
1

I'm not sure what your objective is, but with HTTP ranges, and disabling gzip compression (both achievable through .htaccess files) you can make videos 'stream'. It's not really related to PHP, unless you want to have PHP to behave like an HTTP server...

Christian
  • 27,509
  • 17
  • 111
  • 155
  • Ok... way out of my league. I have never streamed videos before... so this is foreign to me. Any links or suggestions on a good tutorial? – simian Apr 14 '12 at 22:34
0

You need a video playing application that can play partially downloaded files. This has nothing to do with PHP.

Jonatan
  • 2,734
  • 2
  • 22
  • 33
  • Any suggestions? on the type of application – simian Apr 14 '12 at 22:36
  • I'm not sure which players have this capability, but maybe you could have a look at VLC or MPlayer (Windows/Linux/maybe Mac as well?). A better option is using SMB or NFS to share the ISO with the playback device, then you would just mount the directory containing the ISO and play it using your normal video player. – Jonatan Apr 14 '12 at 22:38
  • I have the "mount" option a couple times, but not sure how to go about this. VLC plays ISO just fine... great in fact, but I need to serve the ISO on one of my server pages on my localhost so that any of my tablets or other computers can view the movie at any point. – simian Apr 14 '12 at 23:29
  • If this is a linux server, have a look at Samba. If this is a windows server you should have a look at the built-in "file sharing" capabilities of windows. For macs there are similar things. When the directory containing the ISO has been shared, it can be mounted (thereby making it look like it is a part of the local filesystem) on the client. In windows, this would mean assigning it a drive letter (Z:\ for example). In Linux you can mount it using smbmount on, say, /mnt/isos/. Hope this helps. – Jonatan Apr 15 '12 at 09:34