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

c# Process Arguments and Missing Output

I'm using an FFMPEG Process to gather some information on a file: private void GatherFrames() { Process process = new Process(); process.StartInfo.FileName = "ffmpeg"; process.StartInfo.Arguments = "-i \"" + filePath + "\""; …
Tawm
  • 535
  • 3
  • 12
  • 25
0
votes
2 answers

How to extract the line containg Duration only?

I want to extract the line Duration: 00:03:51.05, start: 0.025056, bitrate: 131 kb/s from output of ffprobe test.mp3. ffprobe test.mp3 |grep Duration All lines were output with my desired line, how to output my desired line only?
user7988893
0
votes
0 answers

ffmpeg / ffprobe gives creation_time 1970 but actual timestamp is correct

I'd gotten some video recorded from a surveillance cam, and in the recording itself, the correct timestamp is clearly shown in a corner. I wanted to extract the creation time from the video metadata, however ffmpeg (and ffprobe) both give me…
smian
  • 101
  • 1
  • 5
0
votes
5 answers

JSON Python check for data

So I am trying to write a script which is looking into a JSON file and check if stream with index 1 exists. Right now my program doesn't do that. Here is the program itself. I want to check if (data["streams"][1]) exists and in case it exists to…
Georgi Stoyanov
  • 594
  • 1
  • 9
  • 26
0
votes
1 answer

FFmpeg concatenates two m4a files incorrectly

Problem is, when i concatenate two m4a files with concat demuxer, ffmpeg produces files whose duration is incorrect. You can see that the duration of output file is very different from the duration of two input files combined. Please help me spot…
asad
  • 281
  • 4
  • 11
0
votes
0 answers

Check if a video have sound with ffprobe (for bash use)

I'm trying to detect if my videos has sound. At first I tried to make a 30s sample from it, and check the sizes, but the problem is those are encoded in CBR, which means the sizes are always going to be the same. But I've discovered ffprobe, which…
petaire
  • 495
  • 1
  • 10
  • 23
0
votes
1 answer

Container format of this RTSP stream

I would like to know the container format of the following stream: rtsp://8.15.251.47:1935/rtplive/FairfaxVideo3595 According to ffprobe, the container format is RTSP (format_long_name = RTSP input). I also looked through the debug messages in VLC…
spark
  • 1
  • 2
0
votes
0 answers

Unusual results extracting VP9 pkt_size with ffprobe as compared to H.264

I'm trying to graph the bitrate over time for H.264 and VP9 videos by extracting the frame size with ffprobe, but many of the VP9 videos are showing significantly lower bitrate and total size than both the file size would indicate and that ffprobe…
Jeff S.
  • 441
  • 3
  • 5
0
votes
0 answers

Wrong play video after trimmed with ffmpeg

After I cut a video with ffmpeg HTML5 video is not displayed video I trim this is the source code
0
votes
0 answers

How to display only SEI VUI Frames using ffmpeg or ffprobe tools or any other standard tool?

I tried ffprobe -show_format -show_streams -show_frames input_video , but this is not displaying exact sei vui frames information like their frame number length etc. what command can be used for the same
sk.
  • 103
  • 1
  • 1
  • 6
0
votes
1 answer

How to get YUV video info?

How can I get information from YUV video file format ? I need to know information about the stream (e.g codec, bitdepth). Using ffplay i can play the yuv video but how to get information about the stream ? I tried using ffprobe but it did not work.…
Farooq
  • 11
  • 4
0
votes
3 answers

Php ffmpeg get video duration

How can I get a video duration and print it out as an php output, like echo $duration. So far I used this command: ffprobe -i C:\FFMpeg\bunny.mp4 -show_format | findstr duration to looks for the video duration. I got some output plus…
utdev
  • 3,942
  • 8
  • 40
  • 70
0
votes
0 answers

Invoke ffprobe from resources: Bad IL format

I am trying to invoke the ffprobe.exe file from the resources in Visual Studio. I find this answer on SO and tried to apply it to ffprobe. But I cannot load the bytes to assembly. But my code throws an System.BadImageFormatException: Bad IL…
arne.z
  • 3,242
  • 3
  • 24
  • 46
0
votes
2 answers

Cannot retrieve duration of webm file using ffmpeg

I am trying to retrieve the duration of a .webm video file that I recorded using the the video.js plugin (https://github.com/collab-project/videojs-record). I am using ffmpeg to get the duration but it always return N/A: ffprobe version 3.0.2-static…
maximus 69
  • 1,388
  • 4
  • 22
  • 35
0
votes
0 answers

Python error in subprocess command for ffprobe

I am trying to use python for ffprobe. but i am getting error. i wish to create a file which will have all the data videofile=raw_input('What is the file path?') cmd = ['ffprobe', '-i', 'videofile', '>' 'file.txt'] response =…
user583088
  • 989
  • 1
  • 6
  • 10