Re: [FFmpeg-user] How to extract the very starting frame for every second on a live videi input?

2020-04-14 Thread Nicolas George
emb-pro (12020-04-14): > Hi Nicolas, If you want help, start by helping yourself. Use the advice I gave you in the previous mails or don't, but it is there. -- Nicolas George signature.asc Description: PGP signature ___ ffmpeg-user mailing list

Re: [FFmpeg-user] How to extract the very starting frame for every second on a live videi input?

2020-04-14 Thread emb-pro
Hi Nicolas, I have used the pts the pts options like below, ffmpeg -i input.ts -vf "select='if(eq(n\,0),1,floor(t)-floor(prev_selected_t))" -vsync 0 output-%04d.png But it is not extracting properly. Regards. -- Sent from: http://www.ffmpeg-archive.org/

Re: [FFmpeg-user] How to extract the very starting frame for every second on a live videi input?

2020-04-13 Thread Nicolas George
emb-pro (12020-04-13): > This is also one of my trials to get the output. That's not the fps filter. What have you tried to get the fps filter to work? Have you read the its documentation and that of setpts? Regards, -- Nicolas George signature.asc Description: PGP signature

Re: [FFmpeg-user] How to extract the very starting frame for every second on a live videi input?

2020-04-13 Thread emb-pro
HI Nicolas, This is also one of my trials to get the output. -vf "select='if(not(floor(mod(t,1)))*lt(ld(1),1),st(1,1)+st(2,n)+st(3,t));if(eq(ld(1),1)*lt(n,ld(2)+1),1,if(trunc(t-ld(3)),st(1,0)))'" -vsync 0 The above command is extracting the frames, but they are not in the sync. Regards. --

Re: [FFmpeg-user] How to extract the very starting frame for every second on a live videi input?

2020-04-13 Thread emb-pro
Hi Nicolas George, I have tried using the select filter option. -vf "select=not(mod(n\,25))" -vsync 0 The frames extracted are not in sync. I checked this on a tcr time code video. Regards. -- Sent from: http://www.ffmpeg-archive.org/ ___

Re: [FFmpeg-user] How to extract the very starting frame for every second on a live videi input?

2020-04-13 Thread Nicolas George
emb-pro (12020-04-13): > Thanks for your response, when I use -vf fps=1 option, ffmpeg is extracting > the 12th frame of every second. Could you tell me how can we use those > setpts and rounding options and phase in the command, How can I make use of > them properly? Any pseudo example would be

Re: [FFmpeg-user] How to extract the very starting frame for every second on a live videi input?

2020-04-13 Thread emb-pro
HI Nicolas George, Thanks for your response, when I use -vf fps=1 option, ffmpeg is extracting the 12th frame of every second. Could you tell me how can we use those setpts and rounding options and phase in the command, How can I make use of them properly? Any pseudo example would be fine.

Re: [FFmpeg-user] How to extract the very starting frame for every second on a live videi input?

2020-04-13 Thread emb-pro
Hi Carl, I am very beginner to ffmpeg. I usually get the commands from the browsing from online blogs. I don't know how to set those options clearly. Could you send me an example to use this pts and prev_pts options in the command? Also I tried the below command to extract. ffmpeg -i INPUT.ts

Re: [FFmpeg-user] How to extract the very starting frame for every second on a live videi input?

2020-04-13 Thread Nicolas George
Ramana (12020-04-13): > I am trying yo select select the very starting frame of every second on a > live input video. Input is a .ts file. I have a command to select the 0th > frame of every second on a non-live video. -vf fps=1 If necessary, play with the rounding option, or use setpts to

Re: [FFmpeg-user] How to extract the very starting frame for every second on a live videi input?

2020-04-13 Thread Carl Eugen Hoyos
Am Mo., 13. Apr. 2020 um 15:29 Uhr schrieb Ramana : > I don't know, it is extracting the more and more number of frames, I have > scheduled the live input feed as 1 hour video for 24x7. currently I am using > the ffmpeg -i input.ts -vf fps=1 output_%d.jpg command to extract the > frames for

Re: [FFmpeg-user] How to extract the very starting frame for every second on a live videi input?

2020-04-13 Thread Ramana
Okay, is there any way to extract the first frame of each and every second for this live input stream. I tried with the below command also, but they are not in the sync. ffmpeg -i INPUT.ts -vf

Re: [FFmpeg-user] How to extract the very starting frame for every second on a live videi input?

2020-04-13 Thread Carl Eugen Hoyos
Am Mo., 13. Apr. 2020 um 15:29 Uhr schrieb Ramana : > ffmpeg -i INPUT.ts -vf "select=between(mod(n\, 25)\, 0\, 0), setpts=N/24/TB" > output-%04d.jpg > > The above command is extracting the zero-th frame on every second total > number of extracted frames are 3600. But, it is not working on live

Re: [FFmpeg-user] How to extract the very starting frame for every second on a live videi input?

2020-04-13 Thread Ramana
Hi Carl, Thanks for your response. I don't know, it is extracting the more and more number of frames, I have scheduled the live input feed as 1 hour video for 24x7. currently I am using the ffmpeg -i input.ts -vf fps=1 output_%d.jpg command to extract the frames for every second. When I

Re: [FFmpeg-user] How to extract the very starting frame for every second on a live videi input?

2020-04-13 Thread Carl Eugen Hoyos
Am Mo., 13. Apr. 2020 um 15:12 Uhr schrieb Ramana : > I am trying yo select select the very starting frame of every second on a > live input video. Input is a .ts file. I have a command to select the 0th > frame of every second on a non-live video. > > ffmpeg -i INPUT.ts -vf

[FFmpeg-user] How to extract the very starting frame for every second on a live videi input?

2020-04-13 Thread Ramana
Hi everyone, I am trying yo select select the very starting frame of every second on a live input video. Input is a .ts file. I have a command to select the 0th frame of every second on a non-live video. ffmpeg -i INPUT.ts -vf "select=between(mod(n\, 25)\, 0\, 0), setpts=N/24/TB"