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

How to get the offset of a video stream of a mp4 container with ffmpeg?

I can encode a video stream inside a mp4 container with a 1 second offset by running this command: ffmpeg -i input.mp3 -itsoffset 1 -t 3 -i input.mp4 -c:v copy output.mp4 How can I get back a stream's offset with ffmpeg? Using this command, I can…
Maxime Dupré
  • 5,319
  • 7
  • 38
  • 72
-1
votes
2 answers

FFmpeg check channels of a 7.1 audio for silence

This is a follow-up question from my previous question asked here, where I needed to look for silence within a specific audio track. Here is the ffmpeg life-saver solution where helps to get some metadata: ffmpeg -i file -map 0:a:1 -af astats -f…
Tina J
  • 4,983
  • 13
  • 59
  • 125
-1
votes
1 answer

Determine if video stream is a live stream

Is there a way to use ffprobe or ffmpeg to determine if a given stream (for instance http://server/stream or rtmp://server/stream...) is an on-going live stream or is fixed stream (i.e. recorded in the path with no live updates)?
David
  • 1,898
  • 2
  • 14
  • 32
-1
votes
1 answer

what is bcount in network tuple received

I am trying to analyse network traffic received from fprobe. Sample tuples Im receiving are like this- { "bcount": 52, "protocol": 6, "Timestamp": "2017-11-15 12:07:20.049+0530", "etime": 1048514968, "daddr":…
Yogesh Jilhawar
  • 5,605
  • 8
  • 44
  • 59
-1
votes
2 answers

Run a Linux shell script using a file inserted by the user in Python

I am trying to run a ffprobe command using a pre-defined by the user input file in Python. And then I will use the generated file by this command to report some parameters in a more organized view. My code is: import subprocess import json cmd =…
Georgi Stoyanov
  • 594
  • 1
  • 9
  • 26
-1
votes
1 answer

could use some help on ffprobe

I'm currently running the following command and it's giving me mostly what I need, but I would like to also have it include the file name. for %%A IN (%VAR0%\*.wav) DO "C:\program files (x86)\ffmpeg\bin\ffprobe" -i "%%A" -show_entries…
-2
votes
0 answers

Is there a way to get FFprobe to return codec_name from firs first video, audio, and subtitle stream in a video in a single call to FFprobe?

ffprobe -v error -select_streams v:0 -show_entries stream=codec_name -of default=noprint_wrappers=1:nokey=1 (filename) is how to retrieve the codec_name of the first video stream in a file via FFprobe. Replace v:0 with a:0 to get the first audio…
Chase Westlye
  • 381
  • 2
  • 6
  • 20
-2
votes
1 answer

Combining find -execdir with grep

I want to go through a bunch of files in various sub folders within a root directory quickly to get the video and audio format type. I can get the information I need from a single file using: ffprobe file.mp4 2>&1 >/dev/null | grep "Stream" I can…
pasan
  • 13
  • 1
-2
votes
1 answer

ffprobe | ShowFrames | Packet Size | Divide | Add

I am running this statement in shell for file in /path/to/files/*.mp4; do ffprobe -show_frames $file | grep "pkt_size" > ${file}.txt done It would be great if I could get this information too; When I grep pkt_size row with numbers then I want…
Ben
  • 91
  • 1
  • 2
  • 9
-2
votes
3 answers

What is the meaning of "return ret < 0"?

Functions can return a number, pointer, and most of the type you want, but what's the meaning of it? return ret < 0; (This code snippet is from the last line of the code, ffprobe.c.)
Kevin Dong
  • 5,001
  • 9
  • 29
  • 62
-3
votes
2 answers

How to use the information from ffprobe to use with ffmpeg. Is there a shortcut to the syntax?

Want to batch convert a bunch of different video files from cli instead of Rolands old-and-slow-drag-and-drop-one-file-at-a-time-software. I have used ffprobe in OS X Terminal here. This shows us what the software did to the file and I want to do…
1 2 3
29
30