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
2
votes
2 answers

Program hangs while using ffprobe on file with teletext subtitles

Having a problem running ffprobe on an MKV file that contains teletext subtitles. Code is in a C# library and works fine for other MKV files. Running the latest: ffprobe -v ffprobe version N-42347-g299387e Copyright (c) 2007-2012 the FFmpeg…
Jon
  • 1,675
  • 26
  • 57
2
votes
2 answers

How to mock an .mpg file for unit tests?

Ok. I have a class which runs this command: ffmpeg_command = "ffprobe -v quiet -print_format json -show_format -show_streams %s" % self.absolute_path Where self.absolute_path is a path to a movie, let's say .mpg file. The file I am using for…
Richard Knop
  • 81,041
  • 149
  • 392
  • 552
1
vote
1 answer

Trouble Executing ffprobe Binary in Node.js on Local Machine

I'm facing an issue executing the ffprobe binary within a Node.js script on my local machine. I have a Node.js script that uses the fluent-ffmpeg library to extract video metadata using ffprobe. While I can execute the ffprobe binary directly from…
1
vote
1 answer

Difference between duration from mvhd box and ffprobe for mp4 file

I need to determine the duration of the video without relying on ffmpeg/ffprobe. To accomplish this, I created a program that searches for the mvhd box, reads its timescale and duration, and calculates the duration in seconds by dividing the…
Jiyeon Park
  • 163
  • 1
  • 6
1
vote
1 answer

How to gracefully terminate ffmpeg process alongside with ffprobe process?

I was able to terminate ffmpeg process gracefully when it's the only ongoing process. Now I also have ffprobe process alongside with ffmpeg process that tracks the progress of the ffmpeg process. It throws the following exception when I try to…
duruburak
  • 181
  • 14
1
vote
1 answer

ffmpeg command exports flac with wrong 'length' metadata, works fine for mp3

I have some audio recorded in Audacity 3.2.3 that I have exported as an mp3 and a flac. Then I have this file split_by_silence.sh Which has hardcoded input path values that take an input file, split it by detecting silence, and then finally run an…
Martin
  • 1,336
  • 4
  • 32
  • 69
1
vote
0 answers

FFmpeg concat demuxer and keyframes

I am trying to use to the concat protocol but I have troubles with keyframes I use this ffprobe command to visualize the keyframes pts of my videos: ffprobe -loglevel error -select_streams v:0 -show_entries packet=pts_time,flags -of…
Rems
  • 106
  • 7
1
vote
0 answers

How do I get an InputStream out of a Mono?

Bear with my noobness, I am learning web-flux. I had this simple application that takes a video and extract the audio using FFprobe and FFmpeg, so I thought of redoing it reactively, but I am failing…
1
vote
1 answer

How to install and use ffmpeg in Laravel 9 with laradock?

I have been spending hours figuring out why I always get an error "Unable to load FFProbe" after installing the FFmpeg package. 1/ I read that I need to add the following line in the .env file PHP_FPM_FFMPEG=true 2/ I restarted apache and run the…
Paul Godard
  • 1,055
  • 1
  • 14
  • 30
1
vote
0 answers

FFmpeg throwing error during video render process using Remotion

I'm using a tool called Remotion, which allows you to create videos using javascript (node & react). I have the server-side rendering process working, unless I try to include an mp3. Per their docs, I have my audio imported like this: import…
Vince
  • 3,207
  • 1
  • 17
  • 28
1
vote
1 answer

ffmpeg: What is the best practice to keep a live connection/socket with a camera, and save time on ffprobe

Today... I used the following command: with subprocess.PIPE and subprocess.Popen in python 3: ffmpeg -i udp://{address_of_camera} \ -vf select='if(eq(pict_type,I),st(1,t),gt(t,ld(1)))' setpts=N/FRAME_RATE/TB \ -f rawvideo -an -vframes…
1
vote
1 answer

How To Asynchronously Check Video File size During Transcoding Process In fluent-ffmpeg

Is there a way during the ffmpeg compression process to determine over various intervals the exact filesize that a video is at? Such as a method to get current filesize during the process to use when comparing against the videos original…
twominds
  • 1,084
  • 5
  • 20
1
vote
1 answer

FFProbe XML XPath

I'm stuck trying to use XPath and pull the variables out of this XML provided by FFProbe. /ffprobe/streams/codec_type
1
vote
3 answers

Difficulty with ffprobe in Python 3.10

I'm very new So this getLength function will run fine in python 2.7 but I can't get it to work in 3.10. Was wondering if anyone could suggest what may need to be changed because I am at a loss. When I try to print the return there is nothing there.…
animelovah
  • 33
  • 3
1
vote
2 answers

Get the size of ID3v2 tags for an audio file

ffmpeg is the defacto tool for getting audio information from a file/URL. But I am a bit stumped on how to get the size of the ID3v2 tags for the same. Example of what information ffmpeg gives when we use ffprobe: Input #0, mp3, from 'FILENAME': …
checkmate101
  • 89
  • 2
  • 12