class documentation
Transforms the videos in a dataset per the specified parameters.
Examples:
# Re-encode the videos in the dataset as H.264 MP4s fiftyone utils transform-videos <dataset-name> --reencode # Ensure that no videos in the dataset exceed 1920 x 1080 and 30fps fiftyone utils transform-videos <dataset-name> \ --max-size 1920,1080 --max-fps 30.0
Static Method | execute |
Executes the command on the given args. |
Static Method | setup |
Setup the command-line arguments for the command. |
overrides
fiftyone.core.cli.Command.execute
Executes the command on the given args.
Parameters | |
parser | the argparse.ArgumentParser instance for the command |
args | an argparse.Namespace instance containing the arguments
for the command |
overrides
fiftyone.core.cli.Command.setup
Setup the command-line arguments for the command.
Parameters | |
parser | an argparse.ArgumentParser instance |