Re: [FFmpeg-user] Output image sequence duplicate first image

2020-04-21 Thread adam smith via ffmpeg-user
> On 21 Apr 2020, at 09:27, adam smith via ffmpeg-user > wrote: > > > Thanks for the information. I will give it a whirl using the fps filter and > see what happens. > Good news…for me anyway. Carls suggestion appears to be a solution. The new command is... ffmpeg -y -i /data/vod-storage-d

Re: [FFmpeg-user] Output image sequence duplicate first image

2020-04-21 Thread adam smith via ffmpeg-user
> On 20 Apr 2020, at 23:10, Mark Filipak > wrote: > May I suggest the following workaround? > > Remove the 1st (duplicate) frame with a select filter: > > ffmpeg -y -i /data/vod-storage-dev/source/testfile.mxf -vf > select='not(eq(n\,0))' -r 20/60 -s 283x159 -frames:v 10 -pix_fmt yuvj420p

Re: [FFmpeg-user] Output image sequence duplicate first image

2020-04-21 Thread adam smith via ffmpeg-user
> On 20 Apr 2020, at 22:51, Carl Eugen Hoyos wrote: > > Am Mo., 20. Apr. 2020 um 19:32 Uhr schrieb Edward Park > mailto:kumowoon1...@gmail.com>>: >> >>> Use the output option -r or the fps filter to control the frequency of the >>> image grabs. >>> They will show different behaviour wrt the

Re: [FFmpeg-user] Output image sequence duplicate first image

2020-04-20 Thread Mark Filipak
Hi, Adam, On 04/20/2020 10:28 AM, adam smith via ffmpeg-user wrote: Hi you lovely people, I am trying to output a sequence of jpeg images from a video file. The command does indeed output a sequence of images, but the first and second are always duplicates, while the rest run in sequence unti

Re: [FFmpeg-user] Output image sequence duplicate first image

2020-04-20 Thread Carl Eugen Hoyos
Am Mo., 20. Apr. 2020 um 19:32 Uhr schrieb Edward Park : > > > Use the output option -r or the fps filter to control the frequency of the > > image grabs. > > They will show different behaviour wrt the beginning of the grab cycle. > > The identical frames at the start is surprising for me, why wou

Re: [FFmpeg-user] Output image sequence duplicate first image

2020-04-20 Thread Edward Park
Hi, > Use the output option -r or the fps filter to control the frequency of the > image grabs. They will show different behaviour wrt the beginning of the grab > cycle. The identical frames at the start is surprising for me, why would that happen and not be counted as a duplicate? Does it hap

Re: [FFmpeg-user] Output image sequence duplicate first image

2020-04-20 Thread adam smith via ffmpeg-user
> On 20 Apr 2020, at 15:38, Edward Park wrote: > > If this is accurate, it looks like you have asked it to produce 20 frames in > 60 seconds, or 1/3 fps, or 1 frame every 3 seconds regardless of input > framerate, whatever. It will drop frames, duplicate frames, do what is needed > to keep 1

Re: [FFmpeg-user] Output image sequence duplicate first image

2020-04-20 Thread Carl Eugen Hoyos
> Am 20.04.2020 um 18:16 schrieb adam smith via ffmpeg-user > : > > >> On 20 Apr 2020, at 16:03, Carl Eugen Hoyos wrote: >> Use -vsync 0 and remove -r. > > Thanks for your help Carl. > Adding the -vsync 0 and removing -r did resolve the issue duplicate image > output but did not allow me t

Re: [FFmpeg-user] Output image sequence duplicate first image

2020-04-20 Thread adam smith via ffmpeg-user
> On 20 Apr 2020, at 16:03, Carl Eugen Hoyos wrote: > Use -vsync 0 and remove -r. Thanks for your help Carl. Adding the -vsync 0 and removing -r did resolve the issue duplicate image output but did not allow me to specify the frequency of the image grabs. I will search about for something to

Re: [FFmpeg-user] Output image sequence duplicate first image

2020-04-20 Thread Carl Eugen Hoyos
> Am 20.04.2020 um 16:28 schrieb adam smith via ffmpeg-user > : > > Any ideas how to stop the duplicate being created? Use -vsync 0 and remove -r. Carl Eugen ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/f

Re: [FFmpeg-user] Output image sequence duplicate first image

2020-04-20 Thread Edward Park
Hi, > /usr/src/app # ffmpeg -y -i /data/vod-storage-dev/source/testfile.mxf -r > 20/60 -s 283x159 -frames:v 10 -pix_fmt yuvj420p -c:v mjpeg > /data/vod-storage-dev/temp_out/1cq8tq69tkumv1es0zxeb0ty4qa_%03d.jpeg ... >Stream #0:0: Video: mpeg2video, yuv422p(tv, top first), 1920x1080 [SAR 1:1

[FFmpeg-user] Output image sequence duplicate first image

2020-04-20 Thread adam smith via ffmpeg-user
Hi you lovely people, I am trying to output a sequence of jpeg images from a video file. The command does indeed output a sequence of images, but the first and second are always duplicates, while the rest run in sequence until the maximum is reached or the file runs out. I am not sure what I ha