// Creates the ending packets
v4gen.createEndingPartialBitstream(packets);
// 4. Create bitstream from the packets
// TODO: create a non header bitstream and see if it can be parsed
BitstreamHeader header = new BitstreamHeader("temp.ncd","4VSX550-pg125");
Bitstream bitstream = new Bitstream(header,spec.getSyncData(), packets);
// 5. Write the bitstream to a file
// TODO: create an Ostream
FileOutputStream fos = null;