From: Mark K. <mar...@gm...> - 2011-11-13 20:48:07
|
Hi, I've used xine on Gentoo for years to play DVDs. I really enjoy the program. Recently I started messing around with ripping my DVDs and then serving them around my house. Using Firefox I can click on a link, open xine and then it plays these mp4 files on all of our computers just fine. However the mode of operation seems to be to first copy the whole file into /tmp and then play it. I'd like to know if there's a way to use xine such that it would simply buffer some amount of data before it starts playing, and then either it deletes what it has already played, or else when it finishes playing the movie it cleans up /tmp by removing the file. Thanks in advance for any pointers to instructions on how to do this. Cheers, Mark |
From: Daniel J. S. <da...@dj...> - 2011-11-14 01:56:05
|
On Sun, Nov 13, 2011 at 1:48 PM, Mark Knecht <mar...@gm...> wrote: > > I'd like to know if there's a way to use xine such that it would > > simply buffer some amount of data before it starts playing, and then > either it deletes what it has already played, or else when it finishes > playing the movie it cleans up /tmp by removing the file. AFAIK, xine does streaming fine. How are you "serving" the files? I've never used it, but there is an "h264 streaming" module for Apache; this might cause xine to see it as a stream rather than a file. -- Daniel J. Summers Owner, DJS Consulting GEEKCODE 3.12 GCS/IT d s-:+ a C++ P--- L++ E--- W++ N++ o? K- w !O M-- V PS+ PE++ Y? PGP- t+ 5? X+ R* tv b+ DI++ D+ G- e<++ h---- r+++ y++++ |
From: Mark K. <mar...@gm...> - 2011-11-14 20:14:23
|
On Sun, Nov 13, 2011 at 5:55 PM, Daniel J. Summers <da...@dj...> wrote: > On Sun, Nov 13, 2011 at 1:48 PM, Mark Knecht <mar...@gm...> wrote: >> >> I'd like to know if there's a way to use xine such that it would >> >> simply buffer some amount of data before it starts playing, and then >> either it deletes what it has already played, or else when it finishes >> playing the movie it cleans up /tmp by removing the file. > > AFAIK, xine does streaming fine. How are you "serving" the files? > I've never used it, but there is an "h264 streaming" module for > Apache; this might cause xine to see it as a stream rather than a > file. > > -- > Daniel J. Summers > Owner, DJS Consulting Thanks Daniel. Since you answered I tried using URLs at the command line (I.e. - xine http://Some_Address) and indeed it works, but much of the time I get messages about the format not being supported. No big deal. I have not determined how to do this very easily within xine-ui. On my Gentoo machine here the interfaces are not accepting cut-and-paste operations so I'll have to look into that later. Thanks, Mark |