ffmpeg-extract-frames icon indicating copy to clipboard operation
ffmpeg-extract-frames copied to clipboard

ffmpeg exited with code 1: av_interleaved_write_frame()

Open kingstar1227 opened this issue 4 years ago • 2 comments

I'm using windows 10 and ffmpeg-extract-frames version 2.0.2

after I run this script,

await extractFrames({
                input: "https://...",
                output: "./tmp/" + name.replace('mp4', 'jpg'),
                numFrames: 1,
                fps: 1,
                ffmpegPath: ffmpegPath,
            }).

I'm getting following issue.

ffmpeg exited with code 1: av_interleaved_write_frame(): Invalid argument\nframe=    2 fps=0.0 q=3.5 Lsize=N/A time=00:00:02.00 bitrate=N/A speed=74.2x    \nvideo:41kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown\nConversion failed!

kingstar1227 avatar Jun 04 '20 13:06 kingstar1227

I received this issue too. Have you found a fix?

hartytech avatar Aug 16 '20 10:08 hartytech

Remove the fps argument -- it's resulting in an invalid parameter to ffmpeg.

transitive-bullshit avatar Aug 31 '20 15:08 transitive-bullshit