ffmpeg version 2.5.4 Copyright (c) 2000-2015 the FFmpeg developers
built on May 2 2018 08:52:19 with gcc 4.8.5 (GCC) 20150623 (Red Hat 4.8.5-16)
configuration: --prefix=/opt/build/TMP/ffmpeg-2.5.4-3.x86_64//opt/apps/ffmpeg/2.5.4 --enable-shared
libavutil 54. 15.100 / 54. 15.100
libavcodec 56. 13.100 / 56. 13.100
libavformat 56. 15.102 / 56. 15.102
libavdevice 56. 3.100 / 56. 3.100
libavfilter 5. 2.103 / 5. 2.103
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 1.100 / 1. 1.100
Unrecognized option 'preset'.
Error splitting the argument list: Option not found ./configure --enable-shared --enable-gpl --enable-libx264 --prefix=/home/hui/path/ffmpeg/ event movie(i++)
{
static FILE * fp = popen ("ppm2mp4 f.mp4","w");
output_ppm (f, fp, n = 1024, min = 0, max = 1, linear = true);
}ffmpeg version 2.5.4 Copyright (c) 2000-2015 the FFmpeg developers
built on May 2 2018 08:52:19 with gcc 4.8.5 (GCC) 20150623 (Red Hat 4.8.5-16)
configuration: --prefix=/opt/build/TMP/ffmpeg-2.5.4-3.x86_64//opt/apps/ffmpeg/2.5.4 --enable-shared
libavutil 54. 15.100 / 54. 15.100
libavcodec 56. 13.100 / 56. 13.100
libavformat 56. 15.102 / 56. 15.102
libavdevice 56. 3.100 / 56. 3.100
libavfilter 5. 2.103 / 5. 2.103
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 1.100 / 1. 1.100
Unrecognized option 'preset'.
Error splitting the argument list: Option not found
srun: error: ca185: task 0: Broken pipe
srun: Terminating job step 412816.0
slurmstepd: error: *** STEP 412816.0 ON ca185 CANCELLED AT 2020-07-05T09:34:56 ***
srun: error: ca185: task 1: Terminated
srun: error: ca185: task 6: Terminated
srun: error: ca185: tasks 2-5,7-31: Terminated
srun: Force Terminated job step 412816.0event movie(i++)
{
static FILE * fp = popen ("ppm2mp4 f.mp4","w");
output_ppm (f, fp, n = 1024, min = 0, max = 1, linear = true);
}
Change n=256 or smaller.
Also I believe it is "ppm2mpeg > f.mp4". You might be missing >
Pranav