FFMPEG FFprobe Command to Export All Video Metadata Info in a TXT File
0 views
Jun 3, 2025
ffprobe -i input.mp4 -hide_banner -show_format -show_streams info.txt
View Video Transcript
0:00
uh hello guys uh welcome to this video
0:02
so in this video I will show you how to
0:04
export all the video metadata into a
0:08
simple file inside FMPG so if you
0:10
basically want to see the information of
0:12
a particular video file that you're
0:14
working with such as what encoding
0:17
encoders decoders that this file is
0:19
audio bit rate every sort of information
0:22
you can export it in a text file inside
0:25
ffmpg so I'm just having the simple
0:28
1.MPP4 mp4 file and I just need to get
0:31
all this information metadata about this
0:34
file so it's a 30 secondond video so
0:36
what you can do you can open command
0:38
line and just execute this command which
0:41
is uh I have given this command in the
0:43
description of this video so there is a
0:45
soft uh when you install ffmpg uh three
0:49
softares comes ffmpg and ff probe so
0:53
this is essentially we are using here to
0:55
get the metadata of the file FF probe it
0:59
comes within ffmppg when you install and
1:03
there is also the third one which is FF
1:05
play which actually plays the files in
1:07
the media player so for this we will be
1:10
using FF probe so just open command line
1:12
and just type FF probe and then dash I
1:17
followed by the input file name which in
1:19
this case is 1.mpp4 so we just want to
1:22
get the metadata and then we will say
1:25
hide banner and show
1:30
format and we also need to get the
1:33
information of showcore stream streams
1:37
information as well so we just
1:39
explicitly mentioning it we need to get
1:42
all these three information after that
1:44
we simply say this export this into a
1:48
txt file so you just create a new file
1:50
which is
1:52
info.txt so once you execute this
1:55
command it will actually export
1:56
everything into a
1:58
file all this metadata that you see and
2:02
this created this file here
2:05
info.txt and if I open this file here
2:07
you will see all this information will
2:09
be contained here the streaming codec
2:12
which codec is using this video which is
2:14
H.264
2:16
profile you will see width height of the
2:20
video we also have this uh sample aspect
2:23
ratio display aspect
2:25
ratio level so each and every
2:28
information you will see the bit rate
2:30
duration of the video so if you want to
2:32
get the metadata of the information in a
2:34
simple file you can use this ff probe
2:37
command here in ffmppg you can see the
2:40
audio codec everything is written right
2:42
here guys you can see that so it's a
2:45
very useful command which lets you get
2:48
all this metadata information about a
2:50
certain media file it can be image it
2:52
can be video the command will remain the
2:55
same i have given this command in the
2:57
description of this video so very simply
3:00
the command here FF proped by the input
3:04
file name and then we get this
3:05
information exporting it to a TXT file
3:08
so uh thank you very much for watching
3:10
this video and also check out my website
3:14
uh free media tools.com
3:18
uh which contains thousands of tools
3:20
regarding audio video
#Multimedia Software
#Music Videos
#Software