Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Video Encoding > MPEG-4 AVC / H.264

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old 10th February 2014, 16:17   #1  |  Link
Nozdrum
Registered User
 
Join Date: May 2013
Posts: 31
Extracting frames from mp4 clip using ffmpeg

Hi, I'm using ffmpeg to extract all frames contained in a 10 seconds mp4 file (avc/no audio), this is the syntax of the bat file (name: "extract-frames.bat"):

Code:
ffmpeg -i input.mp4 -r 1 output%05d.png
pause
But only the first frame is extracted correctly, then it returns this error:

Code:
[image2 @ 022fcce0] Could not open file : outputC:\Jan2014\01\extract-frames.bat5d.png
av_interleaved_write_frame(): Input/output error
I think the batch syntax "%0" causes the conflict within the output file name, do you know an alternative to this syntax that could work correctly for ffmpeg?

I was following this example:
http://www.alecjacobson.com/weblog/?p=2102
Nozdrum is offline   Reply With Quote
 

Tags
batch, extract, ffmpeg, frames, mp4

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 11:05.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.