ffprobe is the file analyzer of ffmpeg. Post at least the command used and the result of your command. Explain what was expected.
Questions tagged [ffprobe]
65 questions
10
votes
1 answer
What's the difference between coded width and width in FFprobe
Pretty much the title, what's the difference between coded width (or coded height) and width (or height) in FFprobe, why are they sometimes different and which is the right one?
width=1920
height=1080
coded_width=1920
coded_height=1088
Fr3ddyDev
- 285
- 2
- 9
10
votes
2 answers
How to determine video stream size
I want to determine stream size(not the video size) and using the following ffprobe command to make this work
ffprobe -v error -count_packets -select_streams a:0 -show_entries stream=size my_input_file_name
But this is not working, and producing no…
user2528012
- 387
- 1
- 6
- 11
8
votes
1 answer
How do I check if a h264 video contains b-frames?
I'm using ffprobe right now but I don't if it supports showing whether the video contains b-frames and what could be the syntax. Can I do this with ffprobe and so, how, or is there any other free alternative that could do this?
Asik
- 349
- 2
- 9
6
votes
1 answer
ffprobe show_entries with an entry name that uses a semicolon
I'm probing a video file to get some basic information. For example, the following uses the show_entries flag to specify the necessary data.
> ffprobe -v error -show_entries format=size,duration:stream=codec_name,bit_rate video.mp4
I also need to…
Benjamin
- 163
- 1
- 1
- 4
4
votes
2 answers
ffmpeg : Extract metadata
I would like to extract meta data from a MP3 file. This is going into a script, and I therefore want to do it from the command line. Since I have already installed ffmpeg, I thought I could use it for this purpose. I found here the following…
user1934428
- 551
- 4
- 6
- 16
4
votes
2 answers
ffprobe returns codec_type=video for images and text files
I have a directory with many files of different types and want to find out the codec of each video file. This works well with this command:
$ ffprobe -v error -select_streams v -show_entries stream=codec_name,codec_type -of…
Alexander Bösecke
- 43
- 1
- 5
3
votes
1 answer
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: Video: msmpeg4v3 (MP43 / 0x3334504D), yuv420p,…
Skeeve
- 31
- 1
- 2
- 7
3
votes
1 answer
FFprobe - Is it possible to get the "seeked position" of a video stream without re-encoding it?
I have the following command:
ffmpeg -f f32le -ar 44100 -channels 2 -i pipe:0 -ss 3 -i input.mp4 -y -f mp4 -map 0:a -map 1:v -c:v copy -use_editlist 0 output.mp4
When copying the video stream instead of re-encoding it, I can't get any useful…
Maxime Dupré
- 79
- 1
- 1
- 14
3
votes
0 answers
Why is the first frame timestamp 0.066667 and not 0?
I have a stream of TGA files created on disk and I programmaticaly build a h264 video using the x264vfw codec. Options CRT 23, medium preset, Fast Decode, keyint 30 (video is 60 fps), no cut scenes, yuv 4 2 0...
When i examine the video I notice…
Proviste
- 43
- 4
2
votes
1 answer
How to frame accurately cut a video with ffmpeg?
I have a video. Here is it's ffprobe output:
> ffprobe 7347-00009\ kliksa.mp4
ffprobe version 2.6.1 Copyright (c) 2007-2015 the FFmpeg developers
built with Apple LLVM version 6.1.0 (clang-602.0.49) (based on LLVM 3.6.0svn)
configuration:…
scaryguy
- 121
- 1
- 4
2
votes
0 answers
ffprobe reading wrong frame rate, any workarounds besides MediaInfo?
I want to check the frame rate of many videos to double it. I use ffprobe to get r_frame_rate which is evaluated to a decimal, then fed into ffmpeg as rscale -r {2*fps}, or into mkvmerge as 0:{2*fps}fps.
And so, I start with:
ffprobe -v error…
Minty
- 149
- 1
- 12
2
votes
0 answers
Retrieving per-frame time difference from ffmpeg/ffprobe
I am attempting to reconstruct velocity information of an object from iPhone videos, and so I am interested in determining the time difference between frames. From what I understand, iPhone (HEVC encoding, .mov files) shoots in variable frame rate.…
ereastin
- 21
- 1
2
votes
1 answer
How to get duration of webm video file when duration is not explicitly defined
I have a segment of a webm file with an incomplete header, I want to cut this segment down to 10 seconds by trimming x seconds off the front of the file, however I am unable to use the -sseof tag because the end of the file isn't defined. I have…
Neil Hutcheon
- 21
- 2
2
votes
2 answers
ffprobe OCR of a subtitle stream
I have some video files containing HDMV PGS subtitles, and I need to convert them to subrip (or other text subtitles). I know that I can ffmpeg demux the video file to extract .sup and on the fly convert it to VobSub, then subtitleedit /convert that…
Minty
- 149
- 1
- 12
2
votes
1 answer
How to quickly determine positions in video?
How can I quickly determine positions in a video? For example, I have a video file and it looks like this.
I want to crop the video and get the part in the black box as a new video using ffmpeg. But first I need to get the upper left corner…
Just a learner
- 481
- 1
- 6
- 20