metaDataGen.buildOnLastSecond();
metaDataGen.buildOnMetaData();
FileEmbedder fileEmbedder = new FileEmbedder(metaDataGen.getMetaData());
if("".equals(metaAuthor)) metaAuthor = "MediaCentre";
fileEmbedder.embedVar("metacreator", metaAuthor);
if(addedEmbedParameters.length > -1 && !"".equals(addedEmbedParameters[0])) fileEmbedder.embedVars(addedEmbedParameters);
metaDataGen.sealMetaData();
tagBroker.writeTags();
ioHelper.closeAll();
tempOutFile.renameTo(flvFile);
response.sendRedirect("../list/index.html");