octave_ffmpeg_free可以通过Octave软件源安装。
>> pkg install -forge octave_ffmpeg_free
octave_ffmpeg_free可以在线安装。
>> pkg install 'https://github.com/CNOCTAVE/octave_ffmpeg_free/releases/download/1.1.0/octave_ffmpeg_free.tar.gz'
octave_ffmpeg_free可以直接使用tar包安装。
>> pkg install octave_ffmpeg_free.tar.gz -local
>> pkg load octave_ffmpeg_free
$ sudo dnf install libavutil-free libavutil-free-devel libavformat-free libavformat-free-devel libavcodec-free libavcodec-free-devel libswresample-free libswresample-free-devel
Loadable Function: 0 = zstd_compress(FILENAME, COMPRESSED_FILENAME)
输入文件名FILENAME和压缩后的文件名COMPRESSED_FILENAME。
总是返回0。
Loadable Function: 0 = zstd_decompress(COMPRESSED_FILENAME,
DECOMPRESSED_FILENAME)
输入压缩文件名COMPRESSED_FILENAME和解压缩后的文件名
DECOMPRESSED_FILENAME。总是返回0。
Loadable Function: ret = tar_zstd_compress(SOURCE1, SOURCE2, ... , TAR_ZSTD_FILENAME)
输入一个或多个文件或文件夹名SOURCE1, SOURCE2, ...和压缩后的文件名TAR_ZSTD_FILENAME。
如果返回0,则代表压缩成功;否则代表压缩失败。
Loadable Function: 0 = tar_zstd_decompress(TAR_ZSTD_FILENAME, DESTINATION_DIR)
输入压缩文件名TAR_ZSTD_FILENAME和解压缩后的文件名DESTINATION_DIR。
如果返回0,则代表解压缩成功;否则代表解压缩失败。
Loadable Function: COMPRESSED_STRING = zstd_compress_string(STRING)
输入字符串STRING,返回压缩后的字符串COMPRESSED_STRING。
Loadable Function: DECOMPRESSED_STRING =
zstd_decompress_string(COMPRESSED_STRING)
输入压缩后的字符串COMPRESSED_STRING,返回解压缩后的字符串
DECOMPRESSED_STRING。
>> zstd_compress("file", "file.zst")
>> zstd_decompress("file.zst", "new_file")
>> compressed_string = zstd_compress_string("abcdefg")
>> decompressed_string = zstd_decompress_string(compressed_string)
@misc{CNOCTAVE2024, author = {Yu Hongbo, }, title = {octave_ffmpeg_free}, year = {2024}, howpublished = {\url{https://github.com/CNOCTAVE/octave_ffmpeg_free}}, }
@techreport{CNOCTAVE2024, author = {Yu Hongbo, }, title = {octave_ffmpeg_free Document}, institution = {BA DU XIN SHANG}, year = {2024}, number = {1}, month = {10}, url = {https://cnoctave.github.io/octave_ffmpeg_free/index.html}, urldate = {2024-10-07}, }
@article{https://engrxiv.org/preprint/view/4192, doi = {10.31224/4192}, url = {https://engrxiv.org/preprint/view/4192}, author = {Yu Hongbo, }, keywords = {CNOCTAVE, GNU, FFmpeg, multimedia processing, audio analysis, video processing, signal processing, open-source software, creative tools}, title = {octave_ffmpeg_free: A Comprehensive Multimedia Processing Package for GNU Octave}, publisher = {engrxiv}, year = {2024}, copyright = {Creative Commons Attribution 4.0 International}, }