Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
35 views

Windows batch and ffprobe -- problem with filenames starting with "-"

If the file name (%F) starts with a "-" character, the file is not found by ffprobe.exe (the file name from the next character after "-" is passed to ffprobe). How to save this ...
rgr's user avatar
  • 73
2 votes
1 answer
83 views

FFprobe not reflecting MP4 dimension edits

I'm trying to edit MP4 width & height without scaling. I'm doing that by editing tkhd & stsd boxes of the MP4 header. exiftool will show the new width & height but ffprobe will not. ...
James W.'s user avatar
  • 3,025
0 votes
1 answer
54 views

golang ffprobe-ffmpeg command execution error

I want to get duration of hls. But when I run it gives me error: exit status 1 Here's my Go code func (i *ImageGenerationService) GenerateImages(movieID int) (models.FileResponse, error) { if _, ...
Nurmuhammet Täjimyradow's user avatar
1 vote
1 answer
104 views

Why is Node.js 20.x runtime in AWS Lambda not working with ffprobe?

I am trying to upgrade my lambda function from Node.js 16.x to 20.x. I am using ffprobe 6.1 in a lambda layer. The function returns the starting time code of a .ts video file. The function runs ...
Dustin Hales's user avatar
0 votes
0 answers
27 views

MPEG2-TS relate packet timestamp to video frame timestamp

I have a recording encoded as MPEG2-TS (audio and video). I have an absolute timestamping of each 188-byte packet: I known when each packet was encoded and stored. My problem is now how to relate ...
Buzz's user avatar
  • 1,334
0 votes
0 answers
105 views

Uncaught Exception: TypeError: Cannot read properties of undefined (reading 'format')

I've been having trouble with sending the video files to be read by ffprobe. I have fluent-ffmpeg and ffprobe installed but this error shows. I'm not sure what I'm missing index.js const electron = ...
gzhe1056's user avatar
1 vote
0 answers
38 views

ffmpeg doesn't generate a ISO/IEC 14496-17 (MPEG-4 text) track when ingesting WebVTT subtitles to produce MPEGTS

We are trying to create a mpegts with an ISO/IEC 14496-17 (MPEG-4 text) subtitles track, using WebVTT, but seems like ffmpeg creates a ISO 13818-1 PES private data instead. The following is the ffmpeg ...
Daniel Andres Pelaez Lopez's user avatar
0 votes
1 answer
125 views

Use `ffprobe` to display subtitle content like the `cat` command

How to use ffprobe to select a subtitle from an mkv file and display its content? I expect to have the subtitle content printed on the terminal like the command cat would do to a subtitle file. I know ...
Felipe9's user avatar
  • 125
0 votes
1 answer
76 views

DVBSubtitles/Teletext Descriptors of a stream (ts-file)

Can someone help me how to generate subtitles/teletext descriptor for according to paragraphs 6.2.41/6.2.43 (specification) , for my input ts-file? I tried to find something suitable in mediainfo/...
hlodismy's user avatar
1 vote
1 answer
225 views

Issue with ffprobe execution within Docker Environment

Here is my Dockerfile: FROM node:18-slim as builder WORKDIR /usr/src/ai_api_builder/ COPY package*.json tsconfig.json /usr/src/ai_api_builder/ RUN apt-get update && \ apt-get install ...
Khải Hồ Quang's user avatar
1 vote
0 answers
135 views

Find "Bit depth" from mediaInfo but with ffprobe?

I'm trying to figure out a way to get the video pixel bit depth as shown by MediaInfo(as "Bit depth") but using ffprobe and the information doesn't seem to be available directly and I don't ...
Sam Kook's user avatar
1 vote
0 answers
96 views

ffprobe different results video duration using pipe and reading a file from the file system

I have a method to convert a video file, after processing the file I use pipe to pass bytes to a method to get meta information about the file using pipe. But in this case I get wrong duration of ...
alex's user avatar
  • 608
-1 votes
1 answer
141 views

FileNotFoundError: [Errno 2] No such file or directory: 'ffprobe' when trying audio = AudioSegment.from_file() [duplicate]

Trying to convert an audio file to wav format file using: AudioSegment.from_file(input_audio_file). Functionality works fine on local machine, however when deployed on Heroku seeing a following error ...
Anand Singh's user avatar
0 votes
1 answer
414 views

How to define ffprobe on node.js

I am using ffmpeg.ffprobe to get the duration data of the video on Node JS, but I am getting the error: Cannot find ffprobe function video_control(video) { var path = video.path ffmpeg....
İlker Yasin Pehlivan's user avatar
0 votes
0 answers
29 views

how to get audio fromat name using nodeJS and ffProbeData

Hi I have the following data pulled using MediaInfo windows application: This is just a snippet of one audio channel: { ... { "@type": "Audio", "...
namesy's user avatar
  • 45
0 votes
0 answers
114 views

ffmpeg/ffprobe input as buffer stream, get an error always

Code to reproduce I attached the test.gif file on https://github.com/fluent-ffmpeg/node-fluent-ffmpeg/assets/122068264/e1f3aa31-5386-4dab-a409-9a224e0610fe const ffprobeInstaller = require('@ffprobe-...
hhk's user avatar
  • 161
0 votes
0 answers
111 views

How to embed ffmpeg and ffprobe to a python gui.exe file in Windows or Mac?

I prepared a Pyhton Gui script in Windows that gets a subtitle then converts an audio file. But at the end of the script I realized that the script uses the ffmpeg from my computer's local ffmpeg and ...
sburakc's user avatar
0 votes
0 answers
30 views

ffprobe seems to have strange tag outputs

I used id3tag to tag some MP3 files. Afterwards, ffprobe does not read them correctly. I'm not sure if this is an ffprobe issue, or otherwise. Anyone seen anything like this? $ id3v2 -l 01\ Trust\ ...
jgauthier's user avatar
  • 432
0 votes
1 answer
273 views

Use C# and FFProbe to get bit rate of a video but it returns null for some reason

I tried to use FFProbe to get video bit rate data from a video file in C#. However, the string it returned before I could parse it into an integer was for some reason, null. This made the int.Parse to ...
Sunny Leung's user avatar
1 vote
3 answers
866 views

Node 18 or Node 20 break ffmpeg (in google cloud functions -> ffprobe was killed with signal SIGSEGV)

Please see below, the code is working on node js 16, but not when upgrading to node 18 or 20. const ffmpeg = require("fluent-ffmpeg"); // Following is inside a .https.onRequest Google Cloud ...
user20206929's user avatar
-1 votes
1 answer
366 views

Extract all frames timestamps

My goal is to extract each frame timestamps of an video (it can be an mkv, mp4, avi, etc). I parse the result in python, so I can map the frame 1 to 42 ms, frame 2 to 83 ms, etc... I have tried these ...
jeremie bergeron's user avatar
0 votes
1 answer
318 views

Using NodeJS ReadStream or Buffer with ffmpeg and ffprobe hangs

I'm using ffmpeg to convert some audio files in NodeJS This function takes as input a ReadStream from a media file or a Buffer with the bytes of the media file and convert it: let convertStream = ...
loretoparisi's user avatar
  • 16.2k
-1 votes
1 answer
1k views

How to get accurate output video duration from ffmpeg? [closed]

Is there a way to get ffmpeg.exe to give the duration of the OUTPUT video? I know how to get a video duration from an input video from ffmpeg. Just look for "Duration: " and parse the HH:MM:...
Roy Harper's user avatar
1 vote
0 answers
220 views

Empty error object produced by ffprobe in Google Cloud Function

Update: After more digging I found an open GitHub issue where others appear to be encountering the same behavior. I have a Google Cloud Function (2nd gen) in which I am trying to use ffprobe to get ...
willbattel's user avatar
  • 1,110
0 votes
0 answers
175 views

ffmpeg when asked to map a .mov file's streams 0,1,3 actually maps streams 0,1,2

I'm trying the following: Start with in.mov which has 4 streams 0:0 - 0:3. Audio, Video, Data (unknown), and mJpeg. Trying to map 0:0, 0:1, and 0:3 into out013.mov. ffmpeg -i in.mov -map 0 -map -0:2 -...
user2258729's user avatar
1 vote
1 answer
137 views

Detecting the value scale of statistics returned from ffprobe

I'm using ffprobe to detect max and min levels for various audio files. An example of the command I'm using is: ffprobe -v error -f lavfi -i amovie=my_song.mp3,asetnsamples=n=4410,astats=metadata=1:...
Farski's user avatar
  • 1,770
-2 votes
1 answer
93 views

How to get keyframes of a video without using ffprobe?

I am trying to get the i-frames of a video using opencv. I have read that the header of a keyframe should look like this: b'\x00\x00\x01\xb0', but the problem I am facing is that I can not seem to ...
Sbstyn's user avatar
  • 11
0 votes
1 answer
1k views

Errno 2 No such file or directory: ffprobe

I run Spyder through the Anaconda menu below. ANACONDA.NAVIGATOR Then I run a .py file which converts .m4a files to .mp3. import os import pydub import glob m4a_files = glob.glob('./*.m4a') ...
neptuniumm's user avatar
1 vote
1 answer
378 views

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 ...
dzul.stellar's user avatar
2 votes
1 answer
82 views

Saving an audio file using Flask, then immediately printing it's duration gives incorrect duration

I'm using Flask for a web app. My frontend records some audio and sends it to a Flask route. In the route I am saving a wav audio file to an uploads folder: # Save the audio file to a unique file ...
Chris W's user avatar
  • 21
1 vote
1 answer
375 views

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 ...
Jiyeon Park's user avatar
0 votes
0 answers
76 views

How to get the duration of an HEVC video using Python?

I have tried this code, but it can't retrieve the frame rate and frame count. Please help me. import cv2 def with_opencv(filename): video = cv2.VideoCapture(filename) frame_count = video.get(...
AmirHossein Asa's user avatar
0 votes
2 answers
188 views

How to load ffprobe when deploying in streamlit

I am deploying streamlit app from my github repo. In my app.py ffprobe is required to run. When running locally I installed it and kept in my local directory. But the ffprobe.exe is 493MB hence I ...
Oven_pirate's user avatar
0 votes
0 answers
878 views

What is the best way to get duration of a video using ffprobe (ffmpeg)?

Most of the solutions to get duration revolves around parsing the output to get the duration. Even FFProbe official documentation here says that there is no duration stored for MKV, webm, etc. Take ...
promaxdev's user avatar
  • 495
0 votes
0 answers
114 views

FFprobe, python and Lambda: Unable to get dimensions of video using FFprobe [duplicate]

I am using ffprobe and python on Lambda and trying to get the dimensions of a video. I have the code that grabs the localized source file. # Download the source file from S3 source_object = s3....
user3324136's user avatar
1 vote
1 answer
965 views

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 ...
duruburak's user avatar
  • 231
0 votes
0 answers
206 views

Change keyframe interval losslessly to produce mpeg-dash content

I have a case where i have a mkv file encoded to a 2.5 GB file with x264/CRF settings, in this file group of pictures are not of equal duration (i.e 2,4 or 6 seconds ...). Now i want to create a mpeg-...
Eeel's user avatar
  • 117
-1 votes
1 answer
424 views

ffprobe for metadata - different output on Mac/Linux

I am trying to get the metadata from a live .m3u8 stream and I was testing this using Mac and it is working and I can get the data I need, but when putting it onto a Linux (Debian) box, it omits the ...
omega1's user avatar
  • 1,085
0 votes
1 answer
162 views

FFmpeg complex filter Invalid stream specifier: v2

I am new in ffmpeg, When i am trying the below ffmpeg command i got the Invalid stream specifier: v2 . What was the reason for this error? ffmpeg -i input.mp4 -filter_complex " \ [0:v]crop=100:...
Aji Aneesh's user avatar
1 vote
1 answer
213 views

ffprobe arguments not recognized in C#

I am executing the below command in cmd and works as expected: ffprobe -v quiet -loglevel repeat+level+verbose -print_format json -show_format -show_streams -show_optional_fields always "http://...
user46539's user avatar
3 votes
0 answers
3k views

Converting `webm` to `mov` format using ffmpeg loses transparency - how can I keep it?

I am trying to convert a webm video to mov format without losing quality and transparency using the following command: ffmpeg -c:v libvpx-vp9 -i input.webm ouput.mov The video gets converted, but it ...
M.A Shahbazi's user avatar
  • 1,071
0 votes
1 answer
284 views

Python: Prevent script from stopping or hanging when RTSP from application fails

I am streaming a video feed (RTSP) and doing analytics on it. The code works fine but it just hangs after a long streaming period. I put Wireshark on it and found, for the most part, that the server (...
riot12's user avatar
  • 73
0 votes
0 answers
67 views

Concat 3 videos, setting the output frame-rate based on one of the three videos

I have 3 videos that I would like to concat. An intro, a main video and an outro. All mp4s, all the same spec except the main video is a different frame rate to the other two video assets. I am trying ...
3EK's user avatar
  • 13
1 vote
1 answer
232 views

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 ...
Martin's user avatar
  • 1,598
0 votes
3 answers
666 views

conda python 3.8 ffmpeg【ffprobe: symbol lookup error: /anaconda3/envs/bin/../lib/./libgnutls.so.30: undefined symbol: mpn_add_1, version HOGWEED_4】

Dependencies: Ubuntu: 20.04 conda: 4.12.0 Python: 3.8 Pytorch: 1.7.1 ffmpjpe: 4.2.3 (conda-forge) I am facing a problem after installing FFmpeg from the conda-forge channel as follows command: $ ...
wen's user avatar
  • 905
0 votes
0 answers
139 views

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 -------------------------------------------------------------...
worstusername's user avatar
1 vote
0 answers
291 views

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 -...
Rems's user avatar
  • 141
-1 votes
1 answer
211 views

Per second frame count using ffmpeg

I need to count the number of frames in a video captured by a camera on a per-second basis. I haven't found a solution using ffmpeg or ffprobe (or something else) to output the number of frames per ...
citygoar's user avatar
0 votes
1 answer
572 views

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 ...
Pratik's user avatar
  • 1
12 votes
6 answers
53k views

"Couldn't find ffmpeg or avconv - defaulting to ffmpeg, but may not work", RuntimeWarning

For a captcha solver I need to use FFmpeg on Windows 10. Warning when running the code for the first time: C:\Users\user\AppData\Roaming\Python\Python310\site-packages\pydub\utils.py:170: ...
goldie's user avatar
  • 159

1
2 3 4 5
10