organize_encoded_bitstreams
Author: Leonardo de Sousa Marques Affiliation: Embedded Computing Lab (ECL), Federal University of Santa Catarina (UFSC)
Description: Organize encoded light fields files (JPL, x265, …) in the correct folders.
- log_bundle_copy(lf_folder, bitstream_file)[source]
Create a log entry for a copied bitstream file.
Generates a log file documenting that a bitstream was copied from the bundle folder to the light field results folder.
- Parameters:
lf_folder (Path) – Path to the light field folder where bitstream was copied
bitstream_file (Path) – Path to the original bitstream file in bundle
- Returns:
None
- Return type:
None
- organize_encoded_bitstreams(configuration)[source]
Organize encoded bitstream files into the correct directory structure.
Copies encoded bitstreams from a bundle folder into per-codec, per-lightfield results directories, creating appropriate folder structure and log entries.
- Parameters:
configuration (ConfigurationReader) – Configuration reader with bundle and codec paths
- Returns:
None
- Return type:
None
- Raises:
Exception – If bundle path, codecs, or results paths are not configured
- main()[source]
Entry point for organizing encoded bitstreams.
Reads configuration from command line arguments and orchestrates the organization of encoded bitstream files into the correct folder structure.
Usage: python organize_encoded_bitstreams.py <configuration.json>
- Returns:
None
- Return type:
None
- Raises:
Exception – If configuration file is not provided