Skip to main content

Questions tagged [ffprobe]

ffprobe is the file analyzer of ffmpeg. Post at least the command used and the result of your command. Explain what was expected.

0 votes
1 answer
14 views

Is there a fast way to get the timestamp of a keyframe near an offset?

I've found many solutions to find the location of keyframes in videos using ffprobe, but all of them are slow, like roughly 0.1x real time on an 8k video. While this is fine for finding a keyframe ...
Nobody's user avatar
  • 3
0 votes
0 answers
35 views

Video width&height is horizontal but video frames are vertical. How to fix it with ffmpeg?

I have a video, that when checked with ffmpeg/ffprobe shows a horizontal aspect ratio. ffprobe.exe my_video.mp4 -show_streams -of json Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'my_video.mp4': ...
sthlm58's user avatar
  • 113
0 votes
0 answers
37 views

Use cropdetect to check blanking errors

cropdetect outputs the crop area for every frame. I would like cropdetect with either ffprobe or ffmpeg to output only the frame where the crop is less than actual size of the video. So for 1920x1080 ...
moi's user avatar
  • 291
0 votes
0 answers
1k views

How to convert heic format to jpeg format

The ffmpeg master branch already supports the heic format. How do I pass parameters using the ffmpeg command to convert heic images to jpeg images of other resolutions? ffmpeg -i test.heic output.jpg, ...
zejia lin's user avatar
1 vote
0 answers
106 views

How to extract subtitle timestamps using ffprobe (not working as expected)?

I am trying to extract subtitle timestamps from a M2TS file using ffprobe. This does not work as expected. The M2TS file is known to contain 1001 subtitles in track 4, but I am getting about 4000 ...
Binarus's user avatar
  • 1,835
0 votes
0 answers
50 views

Find out the audio channel that has LTC

I need to be able to check a video file for any audio channels that have LTC (Linear Timecode) I tried using ffmpeg and ffprobe but I am only getting general info about the audio stream (like number ...
Catalin Morosan's user avatar
1 vote
0 answers
33 views

Determine format of uncompressed ZIP file with ffprobe

I am working on a project where I need to handle ZIP archives that contain media files. Specifically, I have two files, video1.hevc and video2.mp4. For testing purposes, I created two ZIP archives ...
Gman's user avatar
  • 23
1 vote
1 answer
318 views

Using ffprobe to get count of audio streams in mp4 file

I am looking for a way to get a count of the number of audio streams in mp4 files. Among some big long threads (mostly pre-2019 dated) on using ffprobe for this I found the following command: ffprobe ...
Alan MusicMan's user avatar
0 votes
0 answers
56 views

FFmpeg upgrade to version 6, format duration big increase

I am using this command to extract metadata from a video: ffprobe -v error -print_format json -show_format -show_streams too-many-packets.mp4 with ffmpeg v5.1.4 I get normal format duration: 6.452311 ...
Avraham Sikirov's user avatar
0 votes
0 answers
81 views

Trimming the start of a video generates some negative presentation timestamps

Here is my command to trim the start of a video: ffmpeg -y -ss 00:00:02 -i inputFile.mp4 -movflags use_metadata_tags -map_metadata 0 -c copy outputFile.mp4 I've discovered that for some videos, some ...
Catalin Morosan's user avatar
2 votes
1 answer
652 views

How to extract the timestamp (PTS) from the specific frame?

My input is a ts file. And I'm trying to use FFmpeg to extract the timestamp (PTS) from the specific frame index. I have tried the following command ( I have replaced the [FRAME_INDEX] with 5), but it ...
Aven's user avatar
  • 21
0 votes
0 answers
331 views

ffprobe output mismatch between duration and number of read frames

I am currently trying to learn a bit about multimedia containers, notably M2TS. To get a lot of information about the tracks that are contained in such files in a human readable format, I found the ...
Binarus's user avatar
  • 1,835
0 votes
2 answers
387 views

Trimming a H265 video using FFmpeg and getting this error: “Unable to find a suitable output format for 'output.h265' output.h265: Invalid argument”

I am using below FFmpeg command for cutting/trimming H265 video for specific time interval. But I am getting this error: "Unable to find a suitable output format for 'output.h265' output.h265: ...
Pratik Gajera's user avatar
0 votes
1 answer
240 views

ffmpeg streaming UDP port is closed

I'm trying to use ffmpeg in order to transcode RTSP stream from CCTV to HLS stream so it could be accessed through a web server. ffmpeg used to stream video from CCTV with following command $ ffmpeg -...
BrilliantContract's user avatar
0 votes
1 answer
123 views

Why the playlist chunk duration is different?

I have this m3u8 playlist from Twitter/x which has this chunk: #EXTINF:2.923, chunk_1701372432609842942_707_a.aac #EXT-X-PROGRAM-DATE-TIME:2023-11-30T19:27:21.236Z As you can see the duration of this ...
Rux's user avatar
  • 3

15 30 50 per page
1
2 3 4 5 6