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
4
votes
1 answer

Ffprobe with print json doesn't print anything

I am trying to get information about a movie (resolution, frame rate, bit rate, codecs, duration etc) in a human readable way. I found this commnad: ffprobe -v quiet -print_format json -show_format -show_streams somefile.asf In this Stack Overflow…
Richard Knop
  • 81,041
  • 149
  • 392
  • 552
3
votes
1 answer

Extract rotation data with ffprobe 5 and newer

ffprobe releases after 4.4 don't allow to read the video orientation via -select_streams v:0 -show_entries stream_tags=rotate. Apparently this is by design and the alternative is to read the display matrix side data, according to this ticket:…
Kajuna
  • 449
  • 5
  • 20
3
votes
4 answers

ffmpeg.probe not working when run from python on windows 10

I am relatively new to python, I am working on extracting some metadata from a video and I am trying to use ffmpeg.probe (or ffprobe) because it provides all the data I need. After many errors I went to the basic and tried: import ffmpeg import…
Skurian25
  • 31
  • 1
  • 3
3
votes
0 answers

Duration of wav file saved in S3 using AWS Lambda

Objective To calculate the duration of a wav file which is saved in S3 by AWS Lambda using node.js. I had to add ffmpeg and ffprobe executable inside a lambda layer (Downloaded linux-64 version from here). These files could be found in /opt folder…
Salim Shamim
  • 656
  • 10
  • 25
3
votes
1 answer

With CMD wrong output subprocess with ffmpeg/ffprobe

i have a problem with ffmpeg when i run it in the cmd i havethe correct output "ffprobe passionfruit.mp4 -show_streams" But when i use the same with subprocess : command = 'ffprobe "C:/Users/NMASLORZ/Downloads/passionfruit.mp4" -show_streams' p =…
3
votes
1 answer

FFmpeg doesn't recognize correct input height in hstack command

Having an issue with an hstack FFmpeg command that has stumped me. input1 and input2 are both vertical 360x640 videos. I am cropping input1 to a square, merging it vertically with input2, then cropping a vertical strip off each side of the resulting…
lach_codes
  • 45
  • 4
3
votes
0 answers

How to extract all audio start and end time from a video file using ffmpeg

I need to know from a video file, how do I extract all audio timestamp meaning start time and end time of each dialog. Having tried with multiple ffmpeg or ffprobe commands but not getting the desire result. My desire result would be like, {'text':…
user3699262
  • 387
  • 1
  • 2
  • 11
3
votes
0 answers

How to discard corrupted frames in FFMPEG

I'm running a command in FFMPEG that uses as input a stream video (Boroscope IP stream) and transform it to an .avi output. To do it, i ran the following command: ffmpeg -i tcp://192.168.10.123:7060 -c:v copy out.mov When i ran this command, some…
atokzz
  • 63
  • 3
3
votes
2 answers

FFProbe won't output result to a file

I am trying to extract the duration of a video (.MP4) using FFProbe and require that the result be output to a file. FFProbe works perfectly and creates the file with the duration information when I enter it using the Command Prompt, however, when I…
Duke
  • 31
  • 1
  • 3
3
votes
1 answer

How can I (or is it possible to) convert the AVC codec profile and level to the MIME codec definition?

In my use-case I have to provide codec specification within the HTML5 video source's MIME type. But even a type="video/mp4; codecs=avc1" is not detailed enough for Firefox. Firefox needs the extra detail of for example type="video/mp4;…
Csaba Toth
  • 10,021
  • 5
  • 75
  • 121
3
votes
2 answers

Is it possible to determine if a subtitle track is imaged based or text based with ffprobe

I'm writing a script that burns subtitles into video files to prepare them for a personal stream I'm hosting. I'm having a hard time finding which type of subtitle is used in the file. I use ffprobe to get the files' information, and I can get stuff…
Shex
  • 111
  • 8
3
votes
2 answers

ffprobe/ffmpeg reports different video duration when file given via stdin

I am trying to determine the duration of an MP4 video using ffmpeg, which is possible of course, except that when the data is streamed in via stdin (a requirement in my case) the duration is reported to be smaller than it actually is. I have the…
sdgluck
  • 24,894
  • 8
  • 75
  • 90
3
votes
1 answer

What does “has_b_frames” mean in FFprobe output?

I am checking a video file using ffprobe to findout if a video file has any b_frames or not, i can see ffprobe output shows “has_b_frames=0" , “has_b_frames=1" and “has_b_frames=2" when i check for different video…
Sunil Kumar
  • 367
  • 2
  • 5
  • 19
3
votes
1 answer

ffmpeg get orientation inverted

I getting the resolution for a video, but ffmpeg/ffprobe is getting inverted.. Always the biggest number is the width. I mean, it doesn't matter if I'm getting the resolution of a vertical or horizontal video, I'm always getting for example 640x480…
Faabass
  • 1,394
  • 8
  • 29
  • 58
3
votes
1 answer

Reporting duplicated frames with FFmpeg

I am looking for a method to report (not just detect and remove) duplicated frames of video detected by FFmpeg - similar to how you can print out blackdetect, cropdetect, silencedetect, etc. For example: ffmpeg -i input.mp4 -vf blackdetect -an -f…
Calculon
  • 33
  • 1
  • 5