I am extracting a frame per every second using this below command,
ffmpeg -i input.ts -vf "select='if(eq(n\,0),1,floor(t)-floor(prev_selected_t))'" -vsync 0 output-%04d.png
I want to get the each extracted frame's offset byte into a file.
Also I have got a command to extract the offset byte for keyframes only using below command.
ffprobe -skip_frame nokey -select_streams v:0 -count_frames -show_entries frame=pkt_pos,best_effort_timestamp_time -of csv INPUT.ts > output.txt
The above command is only extracting the offset bytes for only keyframes, I want to get the offset byte posistions for every extracted frame's offset byte.
Are there any options to achieve this with ffmpeg or ffprobe?