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
1
vote
1 answer

How many bytes does ffprobe need?

I would like to use ffprobe to look at the information of media files. However, the files are not on my local disk, and I have to read from a remote storage. I can read the first n bytes, write them to a temporary file and use ffprobe to read the…
W. Zhu
  • 755
  • 6
  • 16
1
vote
1 answer

ffprobe - shuffled frame metadata

I'm using mkvmerge to combine a mp4 CFR video with a text file containing VFR timestamps. The command used was mkvmerge --timestamps 0:timestamps.txt input_video.mp4 -o output_video.mkv Where the textfile timestamps.txt was of a v2 timestamp…
Jaka
  • 130
  • 7
1
vote
0 answers

PHP FFMpeg error ffprobe failed to execute command "D:/ffmpeg/bin/ffprobe.exe" a.mov -show_streams -print_format json

Fatal error: Uncaught Alchemy\BinaryDriver\Exception\ExecutionFailureException: ffprobe failed to execute command "D:/ffmpeg/bin/ffprobe.exe" a.mov -show_streams -print_format json: Error Output: ffprobe version n4.3.1-30-g666d2fc6e2 Copyright (c)…
Liang Wu
  • 11
  • 2
1
vote
1 answer

What's the difference between ffprobe level and H.264 level?

ffprobe -show_streams input.mp4 [STREAM] index=0 codec_name=hevc codec_long_name=H.265 / HEVC (High Efficiency Video Coding) profile=Main codec_type=video ... level=120 ... https://en.wikipedia.org/wiki/Advanced_Video_Coding
Honng
  • 55
  • 2
  • 7
1
vote
0 answers

What's the start field mean in ffprobe output?

ffprobe videopath will output below info, what's the start mean here. I've searched a lot, but find nothing. Why it's so big here, the video has only 1hour length. Duration: 01:00:10.01, start: 87930.830889, bitrate: 803 kb/s
LF00
  • 27,015
  • 29
  • 156
  • 295
1
vote
1 answer

How to omit error messages in JSON output in ffprobe?

While fetching the stream details with ffprobe getting Input buffer exhausted before END element found error. ffprobe gives the requested info but the error is included in the output and creates invalid JSON. ffprobe -loglevel error -select_streams…
1
vote
0 answers

Flutter | Retrieve ffprobe data

I'm using flutter_ffmpeg package, specifically I'm trying to retrieve information regarding the chapter marks from a .m4b file which is an audiobook. By using this method: _flutterFFmpeg.executeWithArguments(['-i', widget.book.path, '-print_format',…
1
vote
0 answers

how can i detect fps=4.5 for a video?

I write a video using cv2.VideoWriter with fps=5; VLC plays it back at 5fps; and ffprobe reports tbr=5. I write it with fps=4.5; VLC plays it back at 4.5fps; but ffprobe reports tbr=9. How can I detect 4.5 fps? EDIT: BTW the metadata shown in…
simon
  • 2,561
  • 16
  • 26
1
vote
1 answer

FileNotFoundError: No such file or directory: 'ffprobe' FileNotFoundError: No such file or directory: 'ffmpeg'

from os import path from pydub import AudioSegment input_file = "audio.mp3" output_file = "result.wav" sound = AudioSegment.from_mp3(input_file) sound.export(output_file, format="wav") When i run the above code. It show below…
Sharath B Naik
  • 1,016
  • 7
  • 14
1
vote
0 answers

youtube_dl.utils.DownloadError: ERROR: ffprobe/avprobe and ffmpeg/avconv not found. Please install one. Error with installed

I have installed ffprobe as well as added it to path and got this test file code: import youtube_dl import ffmpeg ydl_opts = { 'format': 'bestaudio/best', 'outtmpl': "P:/DscMusic/testfile.wav", 'noplaylist': True, 'postprocessors':…
FileX
  • 773
  • 2
  • 7
  • 19
1
vote
1 answer

Android Chaquopy No such file or directory: 'ffprobe'

I'm trying to use Chaquopy in Android to convert a 3gpp audio file into a WAV format. The 3gpp files are stored in the external memory (Download folder and permission are granted for read+write operation). I'm using Ubuntu 18.04 and I've already…
Avijoy Chakma
  • 147
  • 3
  • 14
1
vote
1 answer

Get the video and audio PIDs for streams with ffprobe

It seems easy to SET the video/audio PIDs when transcoding with ffprobe, or to get only streams with a specific PID - all that is in the manual. But I want to GET them from the stream. You can see them if you have text output, it is the hex code in…
kpollock
  • 3,899
  • 9
  • 42
  • 61
1
vote
1 answer

Getting video duration with ffmpeg null muxer. With or without stream copy?

Because ffprobe is sometimes reporting invalid values for video duration, one recommanded way to get accurate video duration we often find on the web for this specific problem is to decode the file with ffmpeg null muxer and parse the "time=..."…
AoEmaster
  • 139
  • 1
  • 2
  • 7
1
vote
0 answers

ffmpeg read video height and width is not correct?

I find the ffprobe read video info is not correct. The command is: ffprobe -loglevel error -print_format json -show_format -show_streams xx.mp4 But The video real info is 405x720 size. That is in my computer infomation:
Stephen.lin
  • 166
  • 1
  • 12
1
vote
1 answer

What is the difference between "location" and "location-eng" metadata of a MP4 file?

I am trying to retrieve GPS information from media files using ffprobe, for example: $ ffprobe -v quiet -show_format sample.mp4 [FORMAT] filename=sample.mp4 nb_streams=2 nb_programs=0 format_name=mov,mp4,m4a,3gp,3g2,mj2 format_long_name=QuickTime /…
Weihang Jian
  • 7,826
  • 4
  • 44
  • 55