cf_video_encoder_save¶
Category: video
GitHub: cute_video.h
Writes everything compressed so far as an .mp4 file.
| Parameters | Description |
|---|---|
encoder |
The encoder. |
virtual_path |
Where to write it. See Virtual File System. |
Return Value¶
Returns any error that stopped the file being written.
Remarks¶
The encoder is still usable afterwards; adding more frames and saving again writes a longer file. A path ending in .h264 or .264 writes the raw stream instead of an MP4, which is what a command line tool expects to be piped.
Related Pages¶
CF_VideoEncoder
cf_video_encoder_add_frame
cf_video_encoder_data
cf_make_video