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
0 answers

How to make use of data field from ffprobe's show_packets show_data

I have this ffprobe command reading from rtsp feed. My aim is to extract video frame and audio frame from the feed along with their associated pts_time. My rtsp feed has h265 video format and aac audio format. I need to pass the video data to OpenCV…
Cee Wee
  • 11
  • 1
0
votes
0 answers

Unable to install library in jupyter notebook getting [WinError 2]

I am unable to use pip install to install a library in jupyter notebook. I tried running pip install ffprobe and I received the error below --------------------------------------------------------------------------- FileNotFoundError …
0
votes
0 answers

Add a sample "CAMM" data to specific PTS in a MP4 file

For testing purpose, I need to add programatically some samples to an existing MP4 video file but I can't understand how. My goal is to add some CAMM1 records (exposure data) associated to each PTS multiple of 33366, that's to say : PTS=0,…
Cheloute
  • 783
  • 2
  • 11
  • 27
0
votes
0 answers

PHP ffmpeg having problem extracting Image as a thumbnail

I am using a below repo via composer everything works well but i have a problem extracting the image as a poster ( thumbnail ) https://github.com/aminyazdanpanah/PHP-FFmpeg-video-streaming#extracting-image I used below code. $video =…
Sarotobi
  • 707
  • 1
  • 9
  • 28
0
votes
1 answer

How to get duration of H265 video file

My device is recording video in H265 format. I want to find out duration of recorded video file using command or C code. But I didn't get any command to get duration for H265 video format. I have seen ffmpeg and ffprobe tool to get duration for mp4…
0
votes
0 answers

How do I get the correct play length for this file?

I have a file that I created myself using "abcde". It is 11500Khz monaural mp3. No matter what I've tried, I can't find anything that gives me the correct play length. Except mplayer, but even then only while playing. Unfortunately, I have since…
John Gilmore
  • 426
  • 3
  • 5
  • 13
0
votes
0 answers

FFMPEG Outputs gets blurry when scaled

I'm trying to scale my input video to standard 1280x720 resolution, but my output looks blurred when compared to the input. FFMPEG CMD ffmpeg -i input.webm -filter_complex "[0:v] scale=1280.0:720.0 [v0]" -map [v0] output.webm Input File…
Ps Sarvna
  • 1
  • 4
0
votes
0 answers

How to find video time by using FFProbe in java?

I have used the below logic to get the duration but how can i convert to time using any library? net.bramp.ffmpeg ffmpeg 0.7.0
0
votes
1 answer

How to specify multiple images as source to signalstats filter with FFProbe?

The signalstats of a single image can be calculated via ffprobe with this command: ffprobe -f lavfi -i "movie=0000002110.jpg,signalstats,metadata=print" I'd like to do this in a folder with sequential file numbers. In ffmpeg I'm able to achieve…
troppoli
  • 558
  • 6
  • 13
0
votes
1 answer

Pass image to STDIN for ffprobe to read in Ruby

I have a script that is currently using wget to grab an image from a url then passing that image to ffprobe. I'd like to remove the wget dependancy. What is the best way to download this image from the URL into STDIN so that ffprobe can read…
halorrr
  • 1
  • 1
0
votes
0 answers

ffprobe Error "Could not find codec parameters..."

My MP4 file issue is a bit complicated, so I have created a very simple scenario to help me diagnose it step by step. I can create a working MP4 file that works flawlessly. The following is its structure shown by Mp4Explorer: For debugging purpose,…
Hong
  • 17,643
  • 21
  • 81
  • 142
0
votes
0 answers

youtube_dl error ffprobe and ffmpeg not found

I've been using youtube_dl for a while now without any problems. Since maybe around a week I am always getting the following error when trying to download something and don't know how to fix it: ERROR: ffprobe/avprobe and ffmpeg/avconv not found.…
0
votes
0 answers

FFprobe command showing no output result

import subprocess filename = input('name of the file: ') class trial: def __init__(self): self.filename =filename def buildFFprobe(self): self.commandlist = ["ffprobe", "show_entries", "stream=codec_type",…
0
votes
2 answers

subprocess.check_output fails with CalledProcessError but error is empty string. Command works in terminal

I want to run the command ffprobe -i test.m4a -show_entries format=duration -v quiet -of csv="p=0". It works in the terminal and returns output code 0, but running it with subprocess, i.e. subprocess.check_output(['ffprobe', '-i', 'test.m4a',…
0
votes
0 answers

Trimming videos with 'ffmpeg and ffprobe'

I am working on an ETL process, and I'm now in the final stage of preprocessing my videos. I used the script below (reference: @FarisHijazi) to first auto detected black-screen frames using ffprobe and trim them out using ffmpeg. The script worked…