

- #Mediainfo command line options mp4#
- #Mediainfo command line options install#
- #Mediainfo command line options iso#

Opening video decoder: FFmpeg's libavcodec codec family stream 1: audio (aac), -aid 0, -alang und You can use mplayer: mplayer -vo null -ao null -frames 0 -identify videofile.mp4
#Mediainfo command line options install#
Under Ubuntu: sudo apt install libimage-exiftool-perl size, with: ffprobe -v error -show_entries format=size -of default=noprint_wrappers=1:nokey=1 input.mp4 Or you can get just a selected entry with, e.g. To get information about the format, streams, etc., run: ffprobe -v error -show_format -show_streams a.mp4Ĭodec_long_name=H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10Ĭodec_long_name=AAC (Advanced Audio Coding) Title : Sony Hardware Video H.264 EncoderĬodec ID/Info : The same subtitle format used on BDs/HD-DVDs Writing library : libebml v1.2.3 + libmatroska v1.3.0 Writing application : mkvmerge v5.8.0 ('No Sleep / Pillow') built on 15:37:04 For more detailed video information mediainfo -fullscan input.mkv. 7.On the command line type mediainfo input.mkv. We’re passing the -frames option and setting it to 0 to prevent the video from playing. We’re using the -identify option to retrieve information about the input file.īy default, Mplayer plays any input audio or video file. Selected video codec: vfm: ffmpeg (FFmpeg H.264)

stream 1: audio (aac), -aid 0, -alang eng Then, we can use it to display information about our sample file: $ mplayer -identify -frames 0 sample-5s.mp4 It’s one of the oldest media players in Linux and supports a variety of audio and video file formats, subtitle types, and codecs.įirst, we need to install Mplayer: $ sudo apt install mplayer Mplayer is an open-source cross-platform media player that plays audio and video files from its GUI and command line. For example, here’s an example of using the -common option: We can also trim the information we get by using its options.
#Mediainfo command line options mp4#
Major Brand : MP4 Base Media v1 Ĭompatible Brands : isom, iso2, avc1, mp41 Let’s first install ExifTool: $ sudo apt install libimage-exiftool-perlĪfter installation, we can use it to get information about the sample-5s.mp4: $ exiftool sample-5s.mp4įile Modification Date/Time : 2020:08:23 22:31:05+03:00įile Access Date/Time : 2022:04:17 07:53:51+03:00įile Inode Change Date/Time : 2022:04:17 07:53:50+03:00 It’s available as a Perl library as well as a command-line application which makes it platform-independent. Metadata includes information like file size, file type, date created, and more. Let’s use the -show_format option to display more information about the format of the file: $ ffprobe sample-5s.mp4 -show_format -hide_bannerĮxifTool is an open-source application that reads, writes, and updates metadata of different types of files, e.g., Audio, video, images, PDF, etc. We can also specify the information we want to display by using options. Stream #0:1(eng): Audio: aac (LC) (mp4a / 0圆134706D), 44100 Hz, stereo, fltp, 127 kb/s (default)Īlternatively, we can use the -hide-banner option to trim the results and only display information regarding the input file: $ ffprobe sample-5s.mp4 -hide_banner
#Mediainfo command line options iso#
Handler_name : ISO Media file produced by Google Inc. Then, we can use it to display information about the sample-5s.mp4 file: $ ffprobe sample-5s.mp4
