| Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
07-27-2008, 08:54 AM
|
#1
|
|
LQ Newbie
Registered: Jul 2008
Posts: 2
Rep:
|
is there a way to stream avi, mpg files
im currently using gnump3d to stream audio files
what it does is simple. it list all audio files and stream them over the
net without downloading first.
im looking for a program that can do the same / similar as above but with movie clips like avi, mpeg files.
ie when someone in china click on my "clip.mpeg" link here in sweden
that he/she can watch all the movie clip without downloading it first.
help me out
thanks
|
|
|
|
07-27-2008, 10:32 AM
|
#2
|
|
Member
Registered: Oct 2007
Location: UK
Distribution: Ubuntu
Posts: 63
Rep:
|
hey, i use VLC media player for streaming video, though it isnt exactly intuitive but does the job well an is cross platform. For audio, I use firefly (an open source itunes compatible media server).
|
|
|
|
07-27-2008, 12:18 PM
|
#3
|
|
LQ Newbie
Registered: Jul 2008
Posts: 2
Original Poster
Rep:
|
thanks for the reply explodingzebras
i had a look on streaming my vids with vlc
but cannot get my head around it.
if there is a tuts on how to get this done
then let me know untill then ill see if i can
figure it out
thanks again
Tuxulin
|
|
|
|
08-19-2008, 02:30 PM
|
#4
|
|
LQ Newbie
Registered: Aug 2008
Posts: 2
Rep:
|
Sorry if this is a few days too old, and if you have already figured it out!
There are a few ways I have discovered to stream avi's in Linux, and with VLC.
The most simple is to change the web server's mime type for avi (or other) movies, e.g. for lighttpd, edit the config file to include:
mimetype.assign = (
".html" => "text/html",
".txt" => "text/plain",
".jpg" => "image/jpeg",
".avi" => "application/x-vlc-plugin"
)
This is assuming that you are using Firefox with the VLC plugin installed (not installed by default when installing VLC). This method will stream the avi, but also has the drawback that there are no controls, and the movie just plays in fullscreen when you click on it (no way to pause--all you can do is click 'back' in Firefox).
You can also write html with properly formatted links to the files, using the same mime type "application/x-vlc-plugin" or equivalent IE ActiveX control. This method is illustrated in great detail by a website I am not allowed to post on this forum until I have made one post-- see next post. This site shows how to deal with both IE and Firefox.
The third method (that has nothing to do with Linux) is to just open the URL of the movie in VLC. Goto "File"->"Open Network Stream...", click on "HTTP/HTTPS/FTP/MMS", then enter the URL to the right. Optional caching is available below, before you click on "OK" and open file for streaming.
The fourth method is to install Jinzora on your web server. It requires LAMP, and transcodes your files for streaming if needed. Probably has a lot more overhead than the previous methods. I don't know how easy it is to set up...but probably works with a lot more than just VLC.
Take care,
--Fritz
|
|
|
|
08-19-2008, 02:31 PM
|
#5
|
|
LQ Newbie
Registered: Aug 2008
Posts: 2
Rep:
|
The site I was not allowed to post in my first post was <http://altair.videolan.org/~dionoea/vlc-plugin-demo/>.
--Fritz
|
|
|
|
08-21-2008, 03:31 PM
|
#6
|
|
Member
Registered: Aug 2005
Location: Solihull, UK
Distribution: Fedora 9
Posts: 119
Rep:
|
Maybe you'll prove me wrong - but I understood that an AVI file has vital file information at the end of the file. This makes it very difficult to play such a file in a 'streaming manner' because the player does not know enough about the file until it has read it all.
If you can prove me wrong, I don't mind.
Ian
|
|
|
|
| Thread Tools |
Search 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
HTML code is Off
|
|
|
All times are GMT -5. The time now is 02:39 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|