Questions tagged [ffprobe]

ffprobe gathers information from multimedia streams and prints it in human- and machine-readable fashion.

ffprobe gathers information from multimedia streams and prints it in human- and machine-readable fashion.

See http://ffmpeg.org/ffprobe.html

446 questions
2
votes
0 answers

React Native + FFProbe + FFMpeg

Is it possible to use FFmpeg or FFprobe inside a react native app for interacting with a video stream? I see an FFprobe package published to npm but it's only Node.js compatible: https://www.npmjs.com/package/ffprobe
Adam Soffer
  • 1,614
  • 5
  • 20
  • 36
2
votes
0 answers

C++ RTSP Stream recording timebase wrong ffmpeg

We fetch a camera stream over RTSP (Axis Q1755 H264). And after a random time we a start recording the stream to a file. I check the video file with ffprobe and realise the start time is not the start time of the recording it is the start time of…
Tom Baires
  • 381
  • 3
  • 16
2
votes
2 answers

FFprobe, how to get frame rate of animated gif as a decimal in JSON format

When I used ffprobe against an animated gif, I get, among other things, this: > ffprobe.exe foo.gif . . . Stream #0:0: Video: gif, bgra, 500x372, 6.67 fps, 6.67 tbr, 100 tbn, 100 tbc Great; this tells me the frame rate is 6.67 frames per second.…
codingatty
  • 2,026
  • 1
  • 23
  • 32
2
votes
1 answer

What does "level" mean in FFprobe output?

I do not understand some attributes in the output by FFprobe For a sample file $ ffprobe -v error -show_format -show_streams input.mp4 [STREAM] index=0 codec_name=h264 codec_long_name=H.264 / AVC / MPEG-4 AVC / MPEG-4 part…
shintaroid
  • 1,556
  • 3
  • 20
  • 34
2
votes
0 answers

FFProbe not sending custom Headers

I am trying to use FFprobe with a custom header that enables me to access the multimedia information such as frame-rate, bit-rates and etc of an URL. Custom Headers (-headers) were set based on the ffmpeg documentation and tutorials examples.…
2
votes
1 answer

Using FFProbe within a Python script

I am fairly new to python, this is my first real project and I have come to a roadblock. What I have here is a .wmv file, I am using FFprobe to extract the duration in seconds from the .wmv file. When I run the following command in the CMD: ffprobe…
mattp341
  • 241
  • 1
  • 3
  • 12
2
votes
2 answers

How to extract key-frames closest to given frame numbers from H264 video with ffmpeg

I know how to extract a set of frames as jpg files from a video using ffmpeg if you know the frame numbers (given below) Extracting Frames: [40, 59, 73, 110] /usr/bin/ffmpeg -y -hide_banner -nostats -loglevel error -i /home/pi/movie.mp4 -vf…
John Allard
  • 3,564
  • 5
  • 23
  • 42
2
votes
1 answer

Getting the length of video using ffmpeg/ffprobe is not working

I am struggling to the get the length/duration of a video using FFMPEG. Below is the code which I got from Google, but when I run the method it returns empty string. Did whatever tweaks I could but no success. Can anybody please guide me what is…
Jitender Kumar
  • 2,439
  • 4
  • 29
  • 43
2
votes
1 answer

Faster way of getting number of key frames than "show_frames" in ffprobe?

I'm making a little in-house utility using ffmpg and ffprobe. Works fine and does what is needed: give a count of the number of key frames in a video file plus some other details. Alas, with the large video files this will be used on it can take…
spring
  • 18,009
  • 15
  • 80
  • 160
2
votes
1 answer

ffprobe does not show packet size of a mpeg transport stream as 188 bytes

I created a transport stream from a H.264 encoded file using the following ffmpeg command: ffmpeg -i encoded.mp4 -c copy -map 0 -vbsf h264_mp4toannexb mpegts sample.ts Now I want to check the frames and packets within the transport stream. I used…
CompNet
  • 77
  • 1
  • 7
2
votes
0 answers

ffmpeg how to get start_time and start_pst to 0

ffprobe showed that one of our videos has a start time that is incorrect, 2.1 (it has to be 0). Does anybody know hot go get start_pst and start_time to 0? I have been searching for hours and i did not yet find a way to force that to become 0.
R.P. da Costa
  • 109
  • 1
  • 15
2
votes
0 answers

FFprobe reading incorrect resolution value despite players rendering it correctly

I'm creating a video from a stream with the help of FFMPEG and I also use FFPROBE to gather information for use on a status page like resolution, codecs et cetera. When FFProbe parses my video for information, I get a resolution value of 544x576…
Boehmi
  • 951
  • 3
  • 9
  • 20
2
votes
2 answers

using ffmpeg/ffprobe to create a waveform json using php

I have many ogg & opus files on my server and need to generate json-waveform numeric arrays on an as-needed basis (example below). recently i discovered the node based waveform-util which uses ffmpeg/ffprobe for rendering a JSON waveform and it…
edwardsmarkf
  • 1,387
  • 2
  • 16
  • 31
2
votes
1 answer

FFmpeg error code 254

I try to get file informations via ffprobe in a java-application. I am using the following command: /usr/bin/ffprobe -v quiet -print_format json -show_format -show_streams TESTVIDEOPATH Running that command in bash, it works like a charm: It…
Akerus
  • 363
  • 2
  • 16
2
votes
2 answers

Passing options to ffprobe

I'm having problem with the ffprobe syntax, getting print format to output default with no keys. There is a nokey option, so I pass in something like this ffprobe -print_format default nokey but I get nothing back, not even an error. Is there…
Seamus Foley
  • 123
  • 1
  • 9