Questions tagged [ffprobe]

ffprobe is the file analyzer of ffmpeg. Post at least the command used and the result of your command. Explain what was expected.

85 questions
13
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…
11
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
  • 325
11
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…
8
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
  • 183
  • 1
  • 1
  • 4
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
  • 369
5
votes
1 answer

How to convert heic format to jpeg format

The ffmpeg master branch already supports the heic format. How do I pass parameters using the ffmpeg command to convert heic images to jpeg images of other resolutions? ffmpeg -i test.heic output.jpg, this command only transcodes part of the heic…
5
votes
1 answer

ffprobe count video and audio streams / tracks

So I have the following video example Stream #0:0(jpn): Video: h264 (High 10), yuv420p10le(progressive), 1920x1036 [SAR 1:1 DAR 480:259], 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default) Stream #0:1(eng): Audio: ac3, 48000 Hz, 5.0(side),…
YTZ
  • 325
5
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…
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
  • 61
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…
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…
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
2
votes
0 answers

How can I get resolution, bit rate, and codec from a video file that has missing metadata?

I have thousands of videos with metadata missing. Tools like ffprobe and mediainfo rely on that metadata, and even using filebot has't resolved this problem. How can I process thousands of video files, all in different folders, and get the actual…
2
votes
1 answer

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 was nothing happend: ffmpeg -i 0.ts -vf…
Aven
  • 21
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
  • 263
1
2 3 4 5 6