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
176
votes
15 answers

ffprobe or avprobe not found. Please install one

I want to add tags to mp3 converted by youtube-dl & ffmpeg: youtube-dl -o '/Output/qpgTC9MDx1o.mp3' qpgTC9MDx1o -f bestaudio --extract-audio --metadata-from-title "%(artist)s - %(title)s" 2>&1 I have this error in the output result: [youtube]…
Anass
  • 2,101
  • 2
  • 15
  • 20
37
votes
8 answers

Getting video dimension / resolution / width x height from ffmpeg

How would I get the height and width of a video from ffmpeg's information output. For example, with the following output: $ ffmpeg -i video.mp4 ... Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'video.mp4': Metadata: major_brand : isom …
David542
  • 104,438
  • 178
  • 489
  • 842
36
votes
4 answers

Using FFMPEG: How to do a Scene Change Detection? with timecode?

Based on this article it seems that it is possible to use FFMPEG to detect scene change in videos: http://www.luckydinosaur.com/u/ffmpeg-scene-change-detector Now I have a video that displays a book text and when the text (word or sentence) is…
Mozart
  • 735
  • 2
  • 6
  • 10
32
votes
5 answers

Find if video file has audio present in it

I'm trying to figure out if a video has audio present in it so as to extract the mp3 using ffmpeg. When the video contains no audio channels, ffmpeg creates an empty mp3 file which I'm using to figure out if audio was present in the video in the…
Kartos
  • 749
  • 1
  • 7
  • 18
30
votes
5 answers

get video fps using FFProbe

I am new in ffprobe my aim is get video fps and store into java program. my code store xml files but i want store directly like int fps=30; ffprobe -v quiet -print_format xml -show_format -show_streams "/video/small/small.avi" >…
RDY
  • 613
  • 1
  • 9
  • 25
26
votes
1 answer

FFmpeg - What does non monotonically increasing dts mean?

Observations - Part - I I saw a suggestion elsewhere to run the following command to see if there's something wrong with my .mp4. ffmpeg -v error -i ~/Desktop/5_minute_sync_output_15mn.mp4 -f null - 2>error.log When I run the above command, I see…
Mukund Manikarnike
  • 387
  • 1
  • 4
  • 10
18
votes
1 answer

How to map ffmpeg formats to MIME types and file extensions?

Anyone know of a reference for mapping ffmpeg format values to MIME types and recommended file extension? My google attempt failed to turn up anything. I did manually put together a small list with guess-work and clues from Wikipedia, IANA, and the…
odigity
  • 7,568
  • 4
  • 37
  • 51
18
votes
1 answer

ffmpeg command line write output to a text file

I'm using this script for shot detection in ffmpeg. ffprobe -show_frames -of compact=p=0 -f lavfi "movie=test.mp4,select=gt(scene\,0.3)" I need to write the output into a text file in order to read the output from a c program. How can I do this?…
Asanka sanjaya
  • 1,461
  • 3
  • 17
  • 35
18
votes
5 answers

Getting metadata for MOV video

I' ve a .MOV video sent by a phone messanger app. Can I retrieve the real creation data of the file and the author? I tried with ffprobe, mediainfo and similar tool but give me only the date when I download it.
Manuel Castro
  • 1,633
  • 3
  • 24
  • 38
16
votes
7 answers

Getting FFProbe Information With Python

I've been attempting to figure this out for forever now (I'm new to programming) and I can't figure it out. I'm attempting to build a script that will test the file, and give me output from which I can get information like "Audio Format" that I can…
user
  • 555
  • 3
  • 6
  • 21
16
votes
2 answers

How does ffprobe determine duration?

I'm using ffprobe to analyze media files stored on a remote server. This seems to work well, but for some files the duration is missing or incorrect (usually longer than it should be). Other times it returns this information accurately, and it…
jasongullickson
  • 1,021
  • 1
  • 14
  • 28
16
votes
1 answer

What does "probe_score" mean in ffprobe output?

Given a media file, after running ffprobe -i input.mp4 -show_format -print_format json, I got something like this: { "format": { "filename": "ooxx.mp4", "nb_streams": 2, "nb_programs": 0, "format_name":…
Drake Guan
  • 14,514
  • 15
  • 67
  • 94
15
votes
3 answers

ffprobe select audio and video streams

I use this code for extracting video information by ffprobe : ffprobe -show_streams -of json -v quiet -i input.mp4 The information of all streams appears in the output while I need only the information of v:0 and a:0 streams. I know that there is…
Amin Fazlali
  • 1,209
  • 1
  • 9
  • 17
15
votes
5 answers

How to determine webm duration using ffprobe

My goal is simple , I have several webm files need to be concated, but first I need to determine their durations. It seems webm file are played as streams, so there is no way to tell the length of each file. I have been using ffprobe to do the job…
Lopakhin
  • 269
  • 1
  • 3
  • 16
15
votes
5 answers

Unable to load FFProbe driver for FFmpeg

Hi i am trying to install php-ffmpeg.Can someone guide me or correct me in my steps. I installed the composer on windows and then traversed to my folder i had created to run install ffmpeg cmd After running this command a composer.json,…
Kapil Ropalekar
  • 151
  • 1
  • 1
  • 7
1
2 3
29 30