Not sure if this is badly worded or what, but certainly doesn't work. Tried putting paths to all the files one by one, a path to the folder that holds the videos or even just a full path to one video in all known playlist formats or a plain txt - no go.No. You make a plain text file that lists the full path to all the files and then add that file as the media source.
ffconcat version 1.0
file my_file01.flv
file myfile-02.flv
file myfile.flv
ffconcat version 1.0
Gridfeed_01_divx.avi
Gridfeed_02_divx.avi
Gridfeed_03_divx.avi
Gridfeed_04_divx.avi
You forgot to add "file" before filename.Doesn't work for me at all :/ Can't we have a "normal" way of doing this, please?
This is my playlist file btw:
Code:ffconcat version 1.0 Gridfeed_01_divx.avi Gridfeed_02_divx.avi Gridfeed_03_divx.avi Gridfeed_04_divx.avi
Ah yes, true ;) Is there a way to somehow randomize the list using this method?You forgot to add "file" before filename.
var fso, fso2, f1, ts, s;
var ForReading = 1;
var fullList = []; //empty array
fso = new ActiveXObject("Scripting.FileSystemObject");
fso2 = new ActiveXObject("Scripting.FileSystemObject");
//open files input "ts" and otput "f1"
ts = fso2.OpenTextFile("studio-playlist.txt", ForReading);
f1 = fso.CreateTextFile("studio-playlist.tmp", true);
//read input file and write all strings without string "file " to output, other strings went to array
do
{
s = ts.ReadLine( );
if (s.substring(0,5) == 'file ')
{
//ts.SkipLine();
//f1.WriteLine();
fullList.push(s);
}
else
f1.WriteLine(s);
}
while (!ts.AtEndOfStream);
//shuffle array
if (fullList.length != 0)
{
fullList.sort(function(){return Math.floor(Math.random()*10-5)});
}
//add to output file strings from randomized array
if (fullList.length != 0)
{
for (i = 0; i < fullList.length; i++)
{
f1.WriteLine(fullList[i]);
}
}
//close all opened
f1.Close();
ts.Close();
//overwrite studio-playlist.txt
fso.CopyFile("studio-playlist.tmp","studio-playlist.txt",true);
ffconcat version 1.0
file 05. League of Legends Music_ Quinn And Valor.mp4
file 03. League of Legends Music_ Tiny Masterpiece of Evil.mp4
file 02. League of Legends Music_ Tidecaller.mp4