Output Files
Output files in the Fetchmedia system are the direct result of executing FFmpeg Commands. Like input files, they are treated as File within the system, offering robust management and persistence.
Lifecycle and Management of Output Files
Output files, once generated by a FFmpeg Command, become persistent File objects with the following characteristics:
-
Output of Commands: The way output files are created is as the result of a successful Command execution. When a command specifies output file names (e.g.,
{"out_1": "output.mp4"}The system generates these files and stores them. -
Downloads: Generated output files can be securely downloaded using their respective File endpoints. This allows users to retrieve the processed results of their commands.
-
Status Monitoring: You can retrieve the status of any output file through its File endpoint. This is useful for confirming that the file has been successfully generated and is available.
-
Permanent Storage: Output files are stored permanently within the Fetchmedia system by default. They will remain accessible and downloadable until explicitly deleted by the user.
Relationship to Commands
When a Command is successfully executed, the system creates File objects for each specified output. These output files are associated with the Command that generated them. You can find references to these output files (e.g., their fm_ids) within the Command's details after its completion, in its output_files association. This linkage ensures traceability between the executed command and its resulting data.
Last updated Jan 22, 2026
Built with Documentation.AI