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

Concat mpeg-ts files to mp4 missing keyframe data

I have written custom code to concat multiple mpeg-ts files into an mp4 video file. I've used as reference the remuxing code sample. I'm having issues where the final output is unable to fast-forward or rewind as the video loses its information and…
Jona
  • 13,325
  • 15
  • 86
  • 129
0
votes
0 answers

Get average FPS for video with variable frame rate

I am using ffprobe to extract frame rate as follows: ffprobe -show_streams rgbok.mp4 which on 99% of my videos gives: Stream #0:00x1: Video: h264 (High) (avc1 / 0x31637661), yuvj420p(pc), 1920x1440, 37471 kb/s, 30 fps, 30 tbr, 19200 tbn…
danday74
  • 52,471
  • 49
  • 232
  • 283
0
votes
1 answer

the output of subprocess is different from the ffprob outptu

I am trying the find the bitrate of each video and for this I used the following python command: subprocess.call(['ffprobe', '-i',pname1,'-v', 'quiet', '-show_entries', 'format=bit_rate', '-hide_banner', '-of',…
david
  • 1,255
  • 4
  • 13
  • 26
0
votes
0 answers

finding the bitrate value of mkv file

I am trying to find the bitrate value of a video using ffprobe as follows: ffprobe -i sample_5.mkv -v quiet -show_entries stream=bit_rate -hide_banner -of default=noprint_wrappers=1:nokey=1 but all files have Mkv format and this command returns…
david
  • 1,255
  • 4
  • 13
  • 26
0
votes
1 answer

Use of ffprobe in kivy 'File not Found'

i am trying to convert audio from webm to mp3 using pudub module in android using kivy. I've included pydub,ffprobe-python,ffmpeg-python in buildozer.spec file but when i run the app i get the following error ! FileNotFoundError: [Errno 2] No such…
Pranzal360
  • 60
  • 1
  • 5
0
votes
1 answer

How do I use ffmpeg to extract the total time of a video slice without actually producing the video slice?

I have a video named 'ev.mp4'. Slice the video into segments: # COMMAND 1 ffmpeg -i "ev.mp4" -c copy -map 0 -segment_time 15 -g 9 \ -sc_threshold 0 -force_key_frames "expr:gte(t,n_forced*9)" \ -reset_timestamps 1 -f segment…
iChux
  • 2,266
  • 22
  • 37
0
votes
1 answer

PermissionError: [Errno 13] Permission denied: 'ffprobe' (AudioSegment)

I am trying to get AudioSegment working on my local computer. After resolving some issues, I am stuck on a permission error that I cannot seem to resolve. Let me detail what I have done so far (so that the error is easy to detect): I pip installed…
AYA
  • 21
  • 6
0
votes
1 answer

KeyError getting metadata from video file

I'm trying to use ffmpeg to get the resolution height and the audio bitrate from a video file, but I'm getting the following error that doesn't tell me much: File "/home/user/code/python/reduce_video_size/main.py", line 94, in get_metadata …
user19199210
0
votes
1 answer

Problem with invalid metadata of a FLAC file

i need to upload audio files (mainly WAV/FLAC) to an API. I validate these files by checking the output of ffprobe. I have a media file at hand that seemingly fulfills all requirements of the API (Sample rate, bitrate, etc.) but has one anomaly that…
0
votes
3 answers

using powershell inside batch file to add floating numbers from text file

i have a text file logging timestamps from ffprobe on video durations of some video files, which that text file looks like this: 14.068700 5.043011 84.071967 5.043011 104.058600 5.043011 134.055234 5.056000 .... I am trying to add these up, since…
Dynamite Media
  • 159
  • 2
  • 10
0
votes
1 answer

FFMPEG take 3 minutes to generate thumbanils

I am generating the sprite image (combined thumbnails/screenshots) using FLUENT-FFMPEG and node js, the image looks like this. Here is my node js script for generating sprite images/thumbnails. const ffmpegPath =…
The Dead Man
  • 6,258
  • 28
  • 111
  • 193
0
votes
0 answers

AudioSegment unable to find ffmepg and ffprobe

I am attempting to load an mp3 file in jupyter notebooks using AudioSegment in python. I have already tried following the instructions from this link and this link but I am still running into the following problems. Here is my code and the…
Airdish
  • 149
  • 9
0
votes
1 answer

fluent-ffmpeg display_aspect_ratio not changing

Hi everyone i'm trying to resize width and height of certain input with fluent ffmpeg to 768x1366 (basically to show it in vertical mode), so i have to also change its display_aspect_ratio which i happen to know is 0.562225476. The issue here is…
juanmac
  • 121
  • 1
  • 12
0
votes
1 answer

How to select main stream with ffprobe

When doing automated work with ffmpeg/ffprobe, I tend to just select the first stream of video and ignore the rest. Today I bumped into a file where the first video stream has no frames, but the second one does. Is there a way to reliably know which…
Kajuna
  • 449
  • 5
  • 20
0
votes
1 answer

How to get video info using ffmpeg?

I want that when user uplaods a video it should be passed through various checkpoints like resolution, frame rate, bit rate and FOV . So i want to know how can i get all these information about video using ffmpeg in php and store it in array to use…