User not logged in - login - register
Home Calendar Books School Tool Photo Gallery Message Boards Users Statistics Advertise Site Info
go to bottom | |
 Message Boards » » VLC streaming:Can I stream all videos in a folder? Page [1]  
ncsuapex
SpaceForRent
37776 Posts
user info
edit post

Ive set up a few VLC streams and can stream single videos. But I have not found any documentation on how to stream all videos in a certain directory. I'd like to either be able to play them randomly or in order by name. Although that doesn't matter, as long as it will move from one video to another, thats fine. Ideally I'd like to be able to add videos to the directory and have them move into the rotation without starting VLC everytime I add a new video. Anyone have experience doing this?

Running VLC on a linux box using the cli only.

11/12/2008 7:41:11 PM

tsavla
All American
6787 Posts
user info
edit post

playlist?

[Edited on November 12, 2008 at 11:53 PM. Reason : dunno if that option is on linux]

11/12/2008 11:52:36 PM

ncsuapex
SpaceForRent
37776 Posts
user info
edit post

would rather not use a play list as I will be adding videos often and was hoping there was a way to tell vlc to just stream all .avi in the folder. But it's not looking possible

11/13/2008 1:34:49 PM

smoothcrim
Universal Magnetic!
18955 Posts
user info
edit post

ls *.avi > playlist.txt; vlc -playlist playlist.txt

11/13/2008 5:57:45 PM

ncsuapex
SpaceForRent
37776 Posts
user info
edit post

^ admit it.. You didn't really read my posts..


This works but I can't add files and have them join the queue.

cvlc --playlist-tree ~/*.avi --sout "#transcode{vcodec=WMV2,vb=512,scale=1,acodec=mp3,ab=128}:std{access=mmsh,mux=asfh,dst=:1234" --loop

It only plays the avi's that are in the directory when vlc is started. close..

11/14/2008 7:06:29 PM

gs7
All American
2354 Posts
user info
edit post

cron job to kill and restart vlc

/solved?

11/14/2008 7:10:54 PM

ncsuapex
SpaceForRent
37776 Posts
user info
edit post

^ thats the plan if I cant figure out a way to get vlc to play nicely.

11/14/2008 7:13:53 PM

 Message Boards » Tech Talk » VLC streaming:Can I stream all videos in a folder? Page [1]  
go to top | |
Admin Options : move topic | lock topic

© 2024 by The Wolf Web - All Rights Reserved.
The material located at this site is not endorsed, sponsored or provided by or on behalf of North Carolina State University.
Powered by CrazyWeb v2.38 - our disclaimer.