Questions tagged [ffprobe]
FFprobe gathers information from multimedia streams and prints it in human- and machine-readable fashion.
36
questions
0
votes
0
answers
7
views
Why does Facebook and WhatsApp refuse to play these clips?
I just received three video clips via Facebook Messenger, but they refuse to play (or show a preview) in many circumstances. Why?
I did a ffprobe on them:
ffprobe version 4.4.4 Copyright (c) 2007-2023 ...
0
votes
0
answers
31
views
Multiple trims to a video using ffmpeg generating video with shorter duration than expected
I have an application that given a video it trims multiple parts of that video using ffmpeg. Each part is cropped, scaled and then concatenated to generate a single video.
To share an example, I have ...
1
vote
0
answers
11
views
ffmpeg - convert MP4 to 2010 Lumix playable MJPEG
I'm new to ffmpeg and ffprobe, I started using it to convert videos to show on 3DS and DSi for an art project.
Now I want to show my own videos on a Panasonic LUMIX digicam (DMC-FT2)(JPN), but have ...
0
votes
0
answers
13
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':
...
0
votes
0
answers
13
views
How can I use ffprobe inside a batch file to detect if below 720p?
My plan is to write a recursive searching batch file, that will search for video files below 720p, store their full paths, and then at the end of the search, start upscaling those videos.
But first ...
0
votes
1
answer
189
views
Save ffprobe Output to Log File?
I made a script for ffprobe I can use to view information of my media more easily. An additional feature I want is to breakout the output information to a log file.
Implementation 1:
@echo off
for %%...
0
votes
1
answer
68
views
Concatenated Video created with FFMPEG is longer than expected
I am using this Video-List:
file 'C:\Users\X\Documents\test\input.mp4'
inpoint 00:00:02.7650000
outpoint 00:00:04.7650000
and the following Command:
ffmpeg -y -safe 0 -f concat -i output.txt -map 0:v ...
0
votes
0
answers
123
views
Using FFmpeg to detect alpha channel in PR4444 file
I wanted to comment on a thread that already exists on this topic in general, but I just signed up to SO and have not earned my contribution credits yet! If anyone has advice on how to better handle ...
1
vote
1
answer
396
views
Convert video from webm to mp4 using ffmpeg
I have 10 webm videos, each one has the same size ~15mb. When I run following code:
ffmpeg -i video1.webm -f mp4 video1.mp4
9 of them finish in ~10 seconds, but 1 lasts more then 3 minutes. I run ...
0
votes
0
answers
55
views
ffmpeg concat demuxer merge two videos, output contain frozen frames per second
SE community
Since yesterday I have been experiencing a problem using ffmpeg concat.
I was merging two videos and I noticed frozen frames over my video where videos are merged. I don't know what am I ...
1
vote
1
answer
369
views
First input link main timebase (1/15360) do not match the corresponding second input link xfade timebase (1/90000)
ffmpeg community
I am new to ffmpeg and i am facing this error for more then 2 days. This ffmpeg command:
!ffmpeg -i "{fromPath}" -i "{toPath}" -filter_complex "xfade=...
0
votes
0
answers
90
views
Output from ffprobe and understanding where are the file differences?
Just for learning purposes, who can answer this:
I have two video files, lets call it video1.mp4 and video2.mp4 (their size in bytes are exactly the same).
Upon doing file compare in Windows "fc ...
0
votes
0
answers
52
views
Using Batch Files and ffprobe what is the best approach for finding 5 videos with lowest preset?
I am on Windows 10 Pro.
I am trying to find an effcient logic or way using a batch file, to search for videos in a folder.
And give me 5 file names w/paths that have the lowest bitrate or video preset....
0
votes
0
answers
310
views
FFmpeg code throwing error when trying to crop the video: FFmpeg process exited with state COMPLETED and return code 255
Hello I am trying to crop a 9:16 video to a 1:1 video with FFmpeg. The command is throwing this error
Exception: FFmpeg process exited with state COMPLETED and return code 255.
This is my code:
-ss 0:...
1
vote
1
answer
480
views
ffmpeg showing "landscape resolution" for portrait video
I have two video files, one on landscape and one on portrait. On my phone's gallery detail screen their resolutions are, respectively, 1280x720 and 720x1280. This is correct because the landscape ...
1
vote
1
answer
163
views
change output order of FFprobe
How can I change the output order of FFprobe?
ffprobe -hide_banner -show_streams -show_format space.mkv -of json=c=0 -o output.json creates a json output file with the streams sections first and the ...
0
votes
1
answer
132
views
How to cut video, add audio and burn subtitle while cropping video all in one command - ffmpeg
Currently I have the following command,
which cuts the video, adds audio and burns subtitle into the video.
-ss 00:00:30 -t -i video.mp4 -i audio.wav -vcodec copy -acodec copy -map 0:0 -map 1:0 -vf ...
1
vote
1
answer
2k
views
Why does ffprobe report color space as unknown?
If the caja file properties report YUV for color space, why does ffprobe report color space as unknown ?
The video in question was obtained from Astronomy Picture of the Day (APOD) Spinning Moon.
Here ...
2
votes
1
answer
820
views
Why does ffmpeg flip upside-down the video when concatenating with -f concat?
My text file list_of_fragments contains the list of video files to be concatenated.
I assumed they have the same streams (shot from the same smartphone, with the same settings)
file barbell-home.mp4
...
0
votes
1
answer
118
views
Final Cut Pro X won't accept similar files
I have two files that I want to import into Final Cut Pro X. They are both clips pulled from the same source file using the same commands. I am using a generated script to extract dozens of clips at a ...
1
vote
1
answer
1k
views
How to find out if the yuv420 video has full or limited color range?
I'm searching for a reliable way to distinguish between the
full-range (PC) and
limited range (TV)
pixel formats in a given video.
(Particularly, I will be satisfied with a solution for Y'UV 4:2:0 H....
0
votes
1
answer
195
views
ffmpeg and ffprobe existing library or an add-on, pros/cons of building one myself
I work with video creation, animation, or fix video elements for several broadcasters in my area. My pipeline includes ffmpeg suite of libraries, and I have written one plugin specifically for ffmpeg ...
1
vote
1
answer
1k
views
Using ffprobe to detect black frames outputs duplicate results
I'm using ffprobe to detect black frames of a video. However, the output produces duplicate entries for each black_start and black_end. Looking for help in figuring out why it duplicates these results....
0
votes
1
answer
553
views
FFmpeg: Getting this error while trying to add a logo to video (Unable to find a suitable output format for ..)
Hey guys I want to add a logo to my video with ffmpeg but I am getting this error while running the below command. What is the reason? Please do help.
`Unable to find a suitable output format for '...
1
vote
0
answers
709
views
ffprobe 4.4 doesn't show Frame Side Data
I created a library to integrate with ffmpeg via CLI. In tests I verify that ffprobe output can be parsed. One of the tests checks that with -show_frames option frame data and side data are parsed ...
1
vote
1
answer
5k
views
Fix mp3float Header missing without re-encode
I'd like to fix some old AVI files without re-encoding them. I was hoping ffmpeg would do the job, but for some reason I cannot find the right command to fix the MP3 header.
Steps:
% ffprobe -...
0
votes
1
answer
240
views
Hello ffmpeg heroes - please help me with ffmpeg/ffprobe commands to decode a video for me?
I have a sample.mp4 which is currently not playable on VLC or media player and I've checked the FFmpeg values and get the below result? Any help would be greatly appreciated.
0
votes
1
answer
1k
views
Find duration only with ffprobe in Windows
I want to find video file duration only with ffprobe but
ffprobe FILENAME.EXT 2| find "Duration:"
does not filter output to show just the line with "Duration:" Instead, I got:
...
0
votes
0
answers
30
views
Looking for a UNIX shell script to aggregate and report on video file size, bitrate, and other attributes
hope everyone is staying safe and healthy in this crazy time.
I've got a large, well organized repo of video - mishmash of raw video from shoots along with edited files, in all sorts of various ...
1
vote
0
answers
30
views
Analyze video file properties - Ripping Question
I'm trying to see if there is a way to determine if a movie file was ripped from a DVD/Blu-ray. Currently the only way I can check is looking at the ffprobe output and checking the tags property:
"...
3
votes
2
answers
3k
views
How to make video play with correct aspect ratio
I have the following issue: I have a video file (h264) that plays with the correct aspect ratio in mplayer. However, if I load it into Intel's Computer Vision Annotation Tool, or if I re-encode the ...
4
votes
2
answers
5k
views
Why I can't check the bit rate on some videos?
I've downloaded a video from YouTube, well I've downloaded the video stream and the audio stream of a YouTube video separately. Then with this ffmpeg command ffmpeg -protocol_whitelist "file,http,...
2
votes
1
answer
2k
views
Why is ffprobe showing another bitrate than the one I encoded with?
First I tested Jahzzar_-02-_FM.mp3:
ffprobe Jahzzar_-_02_-_FM.mp3
and I found out that it was encoded with 224 kbps:
Duration: 00:02:15.11, start: 0.025056, bitrate: 224 kb/s
I encoded Jahzzar_-...
0
votes
1
answer
934
views
H.264 video packet duration missing
I have H.264 files that, when I run FFprobe on them, like this:
ffprobe -i h264_file.ts -show_packets -select_streams v
...it shows that each video packet has no values for duration, and no value ...
9
votes
1
answer
10k
views
Difference between duration_ts and duration in ffprobe output?
I am relatively a beginner in ffmpeg and video production and was trying to extract duration of a video using ffprobe, using the following command:
ffprobe -loglevel error -select_streams v -...
0
votes
0
answers
4k
views
FFmpeg with input SRT stream very low bitrate
I am trying to record an input SRT stream with ffmpeg 4.0 and even though it is recognized as a valid stream and the input stream is around 2.5Mbps, the recording is with only 80-120Kbps. I understand ...