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

FFMPEG - what is the meaning of gt(scene\,0.3)

I'm using this command in order to detect the shot boundaries in FFMPEG. ffprobe -show_frames -of compact=p=0 -f lavfi "movie=test.mp4,select=gt(scene\,0.3)" By changing the 0.3 value I can get different results. As far as I know this 0.3 value…
Asanka sanjaya
  • 1,461
  • 3
  • 17
  • 35
8
votes
2 answers

what is the packet size unit of ffprobe(similar to ffmpeg)?

I am developing thumbnail extractor with ff- series(means ffmpeg, ffplay, ffprobe). I need to know the location of frames, so I use a command like below which I found another posting in stackoverflow. ffprobe -show_frames -select_streams v…
Juneyoung Oh
  • 7,318
  • 16
  • 73
  • 121
8
votes
4 answers

How to extract audio with youtube-dl on Windows

I want to extract audio from a video downloaded with youtube-dl on Windows. I got youtube-dl working, but am unable to extract the audio. This problem is caused due to not having the correct audio codes installed. When I try to extract audio it…
FlyingNimbus
  • 453
  • 2
  • 5
  • 11
7
votes
1 answer

How to tell if faststart for video is set using ffmpeg or ffprobe

I am having trouble figuring out how to determine if faststart is set on an MP4 video. I understand that "moov atom" is the data that needs to be located at the beginning of the file for faststart to be enabled, instead of at the end of the file. I…
jsherk
  • 6,128
  • 8
  • 51
  • 83
7
votes
2 answers

No such file or directory - the ffprobe binary could not be found error

I am using carrierwave-video gem uploading videos through carrierwave and it's not working. video_uploader.rb class VideoUploader < CarrierWave::Uploader::Base include CarrierWave::Video storage :file def store_dir …
webster
  • 3,902
  • 6
  • 37
  • 59
7
votes
2 answers

ffmpeg seek calculating wrong byte range?

I'm running into an issue while trying to extract thumbnails from a movie file at a specific timestamp. Generally I've had no issues with this, but I've come across a set of movie files that are getting an error about the byte range requested (416…
user4455
  • 89
  • 1
  • 3
6
votes
1 answer

How to find out exact container/format of a video file using ffprobe?

I would like to find out the exact format/container of a video file using ffprobe but I am unable to reach to the "exact" part of it. When I run this sample command: ffprobe -hide_banner -loglevel fatal -show_error -show_format -print_format json…
parthagar
  • 880
  • 1
  • 7
  • 18
6
votes
2 answers

Why does the jq --raw-output argument fail to remove quotes from @csv output?

I am trying to use jq to reformat some elements of the JSON output generated by ffprobe as csv. I'm close (it seems to me), but struggling with a detail: My ffprobe output is shown in the jq 1.6 playground I'm running a recently d/l binary of jq…
user5395338
6
votes
0 answers

GoPro (MP4) video timestamp sync with precision of milliseconds

I need your help with a data sync problem... I m currently trying to sync my GoPro video with real world time (a.k.a my notebook). I manage to sync date and time of my notebook and my GoPro 3+ black perfectly. The problem is that when the GoPro…
Raphael Ottoni
  • 506
  • 3
  • 14
6
votes
2 answers

ImportError: cannot import name 'FFProbe'

I can't get the ffprobe package to work in Python 3.6. I installed it using pip, but when I type import ffprobe it says Traceback (most recent call last): File "", line 1, in File…
user1310503
  • 557
  • 5
  • 11
6
votes
2 answers

Get frame type for specific frame using ffmpeg

I need to get the frame type (I/B/P) of a specific frame number for an x264 encoded movie. How do I do this using ffmpeg/ffprobe? I'm open to other solutions as well.
Damnesia
  • 79
  • 1
  • 2
  • 8
6
votes
1 answer

Diference between pkt_duration and pkt_duration_time in ffprobe

When I execute next ffprobe command in an HLS stream with parameter to show frames in specific stream video in flat format and grep with 'pkt' pattern, it returns this info: $ ffprobe -i http://xxxxxxxxxxxxxxxx/PCMDY_SUB.m3u8 -show_frames…
albertoiNET
  • 1,280
  • 25
  • 34
6
votes
3 answers

How to get a online video's duration without downloading the full video?

To get a video's duration and resolution, I've got this function: def getvideosize(url, verbose=False): try: if url.startswith('http:') or url.startswith('https:'): ffprobe_command = ['ffprobe', '-icy', '0', '-loglevel', 'repeat+warning'…
David Zhuang
  • 121
  • 3
  • 6
6
votes
1 answer

ffmpeg editing metadata major_brand

Hello I have an MP4 video, I want to change the creation_time using ffmepg, without changing the rest of metadata. but I am facing some problems.. The major_brand and more stuff are changed. I want those to be the same. if I put it in ffprobe.exe…
circler
  • 359
  • 1
  • 3
  • 16
5
votes
2 answers

Couldn't find ffmpeg or avconv - Python

I'm working on a captcha solver and I need to use ffmpeg, though nothing works. Windows 10 user. Warning when running the code for the first time: C:\Users\user\AppData\Roaming\Python\Python310\site-packages\pydub\utils.py:170: RuntimeWarning:…
goldie
  • 71
  • 1
  • 1
  • 4
1 2
3
29 30