[FFmpeg-user] need help

Rhodri James rhodri at kynesim.co.uk
Thu Jan 19 17:47:17 CET 2012

On Thu, 19 Jan 2012 16:20:02 -0000, Abeer Awad <abeerawad at yahoo.com> wrote:

> i tried it but the output files are : outfile-00001.jpg,  
> outfile-00002.jpg ...., the type does not appear in the file name, so  
> what to do?

2. Please don't top-post; it's rude, and it reverses the flow of  

1. Those JPEGs are just images, they don't have frame types.  If you want  
know what type of frame the image was derived from, the ffprobe command
you were told earlier will do that.  I'm not sure how useful it will be to
you, since it's entirely unclear what you think you are achieving by this.
If you want to change the filenames, I suggest that you write a script that
takes the output of ffprobe and renames the files accordingly.

> ________________________________
>  From: Donald McLachlan <Donald.McLachlan at crc.ca>
> To: FFmpeg user questions and RTFMs <ffmpeg-user at ffmpeg.org>
> Sent: Thursday, January 19, 2012 4:35 PM
> Subject: Re: [FFmpeg-user] need help
> On 19/01/2012 9:26 AM, Carl Eugen Hoyos wrote:
>> Abeer Awad<abeerawad<at>  yahoo.com>  writes:
>>> hi, i need a ffmpeg command that extracts the I,P B frames as images  
>>> in the
>> "Images" is a vague term and it certainly contradicts "-f mp4".
>>> folder and i want to know the GOP pattern , and how to recognize them  
>>> as
>>> inages to which type they belong(I,P,or B)? can anyone help me? i  
>>> tried this
>>> ffmpeg -i video.mpg -vf "select='eq(pict_type,I)' " -acodec copy -f  
>>> mp4 -y /b
>> (What is "/b"?)
>> Why do you copy audio if you are only interested in video?
> I don't know how to do it, but it sounds like the original poster wants  
> a variation on "ffmpeg -i video.mpg -f image2 -qscale1  
> outfile-%05d.jpeg" such that the output contains the unadulterated I, P,  
> or B frames (not jpeg files) with the filenames indicate whether they  
> are I, P, or B frames.  Abeer, is that correct?

Rhodri James
Kynesim Ltd

More information about the ffmpeg-user mailing list