Skip to main content

All Questions

Tagged with
2 votes
1 answer
661 views

How to extract the timestamp (PTS) from the specific frame?

My input is a ts file. And I'm trying to use FFmpeg to extract the timestamp (PTS) from the specific frame index. I have tried the following command ( I have replaced the [FRAME_INDEX] with 5), but it ...
Aven's user avatar
  • 21
1 vote
1 answer
521 views

Escape % for ffprobe in batch (-read_intervals)

Maybe it will be a ridiculous question... I've been looking around for 3 hours how to get the batch to run the ffprobe command without randomly expanding % inside the -read_intervals command. Batch: ...
Geass's user avatar
  • 31
0 votes
2 answers
2k views

Windows: Batch Recurse Directories for Media File Durations Using FFmpeg

I have various kinds of media files (e.g., .wav, .mp4) in various folders. I would like to use a batch file to produce a listing of their durations, like this: D:\Some Folder 1\Movie File.mp4 | 2:15:...
Ray Woodcock's user avatar
1 vote
1 answer
448 views

Offset ffprobe when outputting frame data

I've successfully managed to extract OCR data from frames using ffprobe with the following command: ffprobe -loglevel quiet -hide_banner -select_streams v:0 -show_entries frame_tags=lavfi.ocr.text -f ...
d1che's user avatar
  • 11
0 votes
1 answer
675 views

Commandline probe for video bitrate per GOP

Is there a way to use ffprobe or similar commandline tools to probe for the video bitrate per GOP? ffprobe only seems to output the overall bitrate for the whole video but not packets. ffprobe -i ...
secondplace's user avatar
3 votes
1 answer
3k views

Why does ffprobe report an incorrect number of frames?

I have a small video file which ffprobe describes as:- Input #0, avi, from 'sample.avi': Metadata: encoder : Lavf55.12.100 Duration: 00:00:35.00, start: 0.000000, bitrate: 546 kb/s Stream #0:0: ...
Skeeve's user avatar
  • 61