'Creates a single reader thread for pre-aggregated YouTube 8M Examples.
Args:
filename_queue: A tensorflow queue of filename locations.
Returns:
A tuple of video indexes, features, labels, and padding data.'

def prepare_reader(self, filename_queue, batch_size=1024):

    reader = tf.TFRecordReader()
    (_, serialized_examples) = reader.read_up_to(filename_queue, batch_size)
    tf.add_to_collection('serialized_examples', serialized_examples)
    return self.prepare_serialized_examples(serialized_examples)
