I need to run BumfGenerator from a servlet. Is it posible to make
private Manifest constructManifest(String idFile, String bdmvDir, File outputDir,
String progressives) throws Exception
if yes, then writeXml() has to be also public.
By the way, in the progressive playlist example build.xml file, one has to list all the m2ts files:
By looking at the BumfGenerator code it just needs a file listing that can be easily done with:
String progressives = new File(inputDir, "STREAM").list();
Yes, these requests make sense. I filed issue 218 on this and should be able to work on it within a couple of days.
In case sombody finds it useful, I use this class to join 7 progressive playlists into one vfs-playlist.jar file (my vfs-playlist.jar file does not contain m2ts files):
I committed back some changes to the BUMFGenerator. It does expose the two methods you've asked for. The tool's main(String) part is backward compatible, but the methods that got exposed now have slightly different parameters from the time that they were private; please see the method comments for what they are now.
Also, I've threw in a few other improvements while I was at it, including better mapping of the 8.3 file name and the ability to specify sub-directory name for the BUFile path in manifest.xml so that files can be downloaded into a sub-directory in BUDA. (See issue 218 for the list of changes).
Please let me know how it goes or if you have other thoughts.
Your use of this web site or any of its content or software indicates your agreement to be bound by these Terms of Participation.
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.