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

Extract Quantization Parameter for individual frames of h.26x video using ffmpeg

If I execute a command like this: $ ffmpeg -i video.mp4 -qphist -vf codecview=qp=true video_qp.mp4 I get the QP histogram of averages across frame types, like so: [libx264 @ 0x7f8386803c00] frame I:5 Avg QP:21.65 size: 5960 [libx264 @…
ndtreviv
  • 3,473
  • 1
  • 31
  • 45
0
votes
1 answer

Can't execute ffprobe command

I try to get video file duration with ffprobe. When I run this code I get error: exit status 1: var out bytes.Buffer var stderr bytes.Buffer cmdArgs := []string{"-i", "bunny.mp4", "-show_entries", "format=duration", "-v", "quiet", "-of",…
Klimbo
  • 1,308
  • 3
  • 15
  • 34
0
votes
0 answers

ffprobe exec on video files causes error - not caught in tests

I've created a cmd exec to be run from an input video file (mov+mp4 tried), that's being created as a temporary file: cmd := exec.Command(ffprobe, "-v", "error", "-print_format", "json", "-show_format", "-show_streams", "-hide_banner",…
blixenkrone
  • 388
  • 2
  • 7
  • 20
0
votes
1 answer

ffprobe throws SegFault on Ubuntu but not Windows

I'm trying to run the VideoPose3D model on a compute cluster at my university, but I've run into an issue where the infer_video.py script (run inside Detectron) breaks due to ffprobe. The command in question is: ffprobe -v error -select_streams v:0…
ROODAY
  • 756
  • 1
  • 6
  • 23
0
votes
1 answer

Howto extract blackframes and volumes info from video at the same time with ffmpeg/ffprobe

I'm extracting astats info with: ffprobe -f lavfi -i "amovie=video.flv,astats=metadata=1:reset=1" -show_entries frame=pkt_pts_time:frame_tags -print_format json Blackframes info with: ffprobe -f lavfi -i "movie=video.flv,blackframe=1" -show_entries…
0
votes
2 answers

Metadata Extraction of mpegdash file

We use ffprobe, I want to know if mpegdash is supported by ffprobe. I wnt to extract technical metadata of the .mpd file for example bitrate. I do not want to stream or encode. I just want to read the data When I run the command ffprobe -formats.I…
user11955823
0
votes
1 answer

repeating process twice with different arguments each time

I'm still quite new to coding and Swift. Forgive my doubtlessly clumsy code. I am trying to run a process with ffprobe from the main resource bundle. Actually, I need to run it twice, each time with different arguments, once to get the duration of…
NCrusher
  • 93
  • 1
  • 10
0
votes
1 answer

the same audio have different length using different tools (librosa,ffprobe)

I want to measure an audio file's duration. I'm using two different tools and got different values. ffprobe: I'm using this line to get duration using ffprobe ffprobe -i audio.m4a -show_entries format=duration -v quiet -of csv="p=0" result…
0
votes
4 answers

Grep Result filter double result

i need to extract only the first Ita audio from grep : ffprobe -i La.casa.nera.1991.FULL.HD.1080p.DTS+AC3.ITAENG.SUB.LFi.mkv 2>&1 | grep "Stream" | grep -v "Video" | grep -v "Subtitle" | grep "ac3" | egrep…
michel
  • 11
  • 3
0
votes
1 answer

Laradock FFMpeg in php-fpm container

Followed the docs to install FFMpeg in laradock. Seems to work fine with the workspace, however following the instructions for php-fpm does not. At first I thought it was permission thing however when I looked in the container it had not been…
Dean Collins
  • 233
  • 4
  • 13
0
votes
1 answer

Unable to get output from ffprobe within Azure Function

Within an Azure Function App I am trigger a Function by a blob upload, using ffprobe to retrieve the metadata of the uploaded blob (video files). Somehow I am not getting the desired output. The ffprobe executable is recognized (I get { } as a…
JJuice
  • 1,015
  • 2
  • 12
  • 21
0
votes
1 answer

FFMPEG -f segment and FFPROBE keyframes are different

I have a online video editor. And i want fast strip and concat mp4 files. For this i use code like this: For get keyframes: exe_ffprobe("-select_streams v -skip_frame nokey -show_frames -show_entries frame=pkt_pts_time,pict_type…
user2190197
  • 19
  • 1
  • 1
  • 6
0
votes
0 answers

Actual duration of video and aufio files

At the moment I am working on an application that enables to record video files. In parallel with a video file, an audio file is recorded. Eventually, there are two files: .mp4 and .wav. My purpose is to merge those two files. To do so the files…
Liidia
  • 55
  • 8
0
votes
1 answer

How to split a video that has weird keyframes "pkt_pts_time=N/A"?

I can run a command like this on normal videos (h264 on mkv): avconv -i videofile.avi -c copy -flags +global_header -segment_time 60 -f segment "videofile-part."%03d".mp4" but on videos with this format and container (the ones I have at least) it…
Aquarius Power
  • 3,729
  • 5
  • 32
  • 67
0
votes
1 answer

How come ffprobe packet's size is bigger than MTU and it is mapped as one frame per packet?

I am trying to check the packets coming from a twitch stream. So, I am using ffprobe to probe on it using the m3u8 playlist link for the video. the source url for the twitch stream I notice that the video packets I recieve are bigger in size than…