-
Extracting position from ffplay in real time
Hope someone can help, I am wanting to make a simple trimmer using ffmpeg / ffplay (in windows), and I am stuck on how to get the position in seconds programmatically in real time whilst the video is running in ffplay, so I can use it to edit later. I know how to send stdout to a file, which can then be parsed, but that can only be done after the play finishes, so I guess i need to be able to send the stdout to a variable. Ideally I would like to do this in a command line, but open to other ideas!