Home/News | About | Download | Documentation | Forum | Bug Reports | Contact | Donations | Consulting | Projects | Legal | Security | FATE


Playlist Support

Discussions about problems encountered using ffserver.
Forum rules
FFmpeg is in a state of perpetual development and we do not currently have the person power to backport fixes to official releases. As such, if you wish to query or report a bug, you must try with the latest development branch revision of FFmpeg to confirm the issue still exists. The latest FFmpeg can be downloaded from here: http://www.ffmpeg.org/download.html

Playlist Support

Postby johnny13 » Thu Jun 28, 2012 12:14 am

I would like to set a playlist (or even a directory) of videos to transcode and stream using ffmpeg, is this possible?
johnny13
 
Posts: 1
Joined: Thu Jun 28, 2012 12:07 am

Re: Playlist Support

Postby burek » Thu Jun 28, 2012 8:12 am

not right now, but it is very easy to implement it using shell script (batch script)
read more on for/while loops in batch scripts (BAT files for windows or shell scripts for linux)
the most likely solution will be something like this:

Linux (script.sh):
Code: Select all
for f in *.avi
do
   ffmpeg -i $f ... (options) ... $f.out.avi
done


Windows (script.bat):
Code: Select all
for %%f in (*.avi) do ffmpeg -i %%f ... (options) ... %%f.out.avi
burek
 
Posts: 868
Joined: Mon May 09, 2011 10:16 pm
Location: Serbia


Return to ffserver

Who is online

Users browsing this forum: Google [Bot] and 1 guest