Linux multimedia
(Redirected from Linux Multimedia)
Jump to navigation
Jump to search
Related Pages
- See Linux sound for Linux sound systems
- See Linux audio for audio support on Linux
- See Linux video for video support on Linux
- See Linux photo for photo support on Linux
Tools
mediainfo
Use mediainfo to collect information on a media file:
mediainfo youtube/vlc_tuto_youtube_sd.mp4
# General
# Complete name : youtube/vlc_tuto_youtube_sd.mp4
# Format : MPEG-4
# Format profile : Base Media
# Codec ID : isom (mp41/avc1)
# File size : 19.4 MiB
# Duration : 2mn 56s
# Overall bit rate : 922 Kbps
# Encoded date : UTC 2017-05-14 12:30:41
# Tagged date : UTC 2017-05-14 12:30:41
# Writing application : vlc 2.2.2 stream output
#
# Video
# ID : 1
# Format : AVC
# Format/Info : Advanced Video Codec
# Format profile : High@L3
# Format settings, CABAC : Yes
# Format settings, ReFrames : 4 frames
# Codec ID : avc1
# Codec ID/Info : Advanced Video Coding
# Duration : 2mn 56s
# Bit rate : 920 Kbps
# Width : 640 pixels
# Height : 480 pixels
# Display aspect ratio : 16:9
# Frame rate mode : Constant
# Frame rate : 25.000 fps
# Color space : YUV
# Chroma subsampling : 4:2:0
# Bit depth : 8 bits
# Scan type : Progressive
# Bits/(Pixel*Frame) : 0.120
# Stream size : 19.4 MiB (100%)
# Language : English
# Encoded date : UTC 2017-05-14 12:30:41
# Tagged date : UTC 2017-05-14 12:30:41
To get some dedicated tag only:
mediainfo --Inform="Video;%FrameRate%,%BitRate%\n" *.mp4
ffprobe
ffprobe youtube/vlc_tuto_youtube_sd.mp4
# ffprobe version 2.8.11-0ubuntu0.16.04.1 Copyright (c) 2007-2017 the FFmpeg developers
# built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.4) 20160609
# configuration: --prefix=/usr --extra-version=0ubuntu0.16.04.1 --build-suffix=-ffmpeg ...
# libavutil 54. 31.100 / 54. 31.100
# libavcodec 56. 60.100 / 56. 60.100
# libavformat 56. 40.101 / 56. 40.101
# libavdevice 56. 4.100 / 56. 4.100
# libavfilter 5. 40.101 / 5. 40.101
# libavresample 2. 1. 0 / 2. 1. 0
# libswscale 3. 1.101 / 3. 1.101
# libswresample 1. 2.101 / 1. 2.101
# libpostproc 53. 3.100 / 53. 3.100
# [h264 @ 0x214fc60] A non-intra slice in an IDR NAL unit.
# [h264 @ 0x214fc60] decode_slice_header error
# Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'youtube/vlc_tuto_youtube_sd.mp4':
# Metadata:
# major_brand : isom
# minor_version : 0
# compatible_brands: mp41avc1
# creation_time : 2017-05-14 12:30:41
# encoder : vlc 2.2.2 stream output
# encoder-eng : vlc 2.2.2 stream output
# Duration: 00:02:56.76, start: 0.080000, bitrate: 921 kb/s
# Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 640x480 [SAR 4:3 DAR 16:9], 919 kb/s, SAR 853:640 DAR 853:480, 25 fps, 25 tbr, 1000k tbn, 50 tbc (default)
# Metadata:
# creation_time : 2017-05-14 12:30:41
# handler_name : VideoHandler
exiftool
exiftool youtube/vlc_tuto_youtube_sd.mp4
# ExifTool Version Number : 10.10
# File Name : vlc_tuto_youtube_sd.mp4
# Directory : youtube
# File Size : 19 MB
# File Modification Date/Time : 2017:05:14 14:30:41+02:00
# File Access Date/Time : 2017:05:14 14:27:44+02:00
# File Inode Change Date/Time : 2017:05:14 14:30:41+02:00
# File Permissions : rw-r--r--
# File Type : MP4
# File Type Extension : mp4
# MIME Type : video/mp4
# Major Brand : MP4 Base Media v1 [IS0 14496-12:2003]
# Minor Version : 0.0.0
# Compatible Brands : mp41, avc1
# Movie Header Version : 0
# Create Date : 2017:05:14 12:30:41
# Modify Date : 2017:05:14 12:30:41
# Time Scale : 90000
# Duration : 0:02:56
# Preferred Rate : 1
# Preferred Volume : 100.00%
# Preview Time : 0 s
# Preview Duration : 0 s
# Poster Time : 0 s
# Selection Time : 0 s
# Selection Duration : 0 s
# Current Time : 0 s
# Next Track ID : 2
# Track Header Version : 0
# Track Create Date : 2017:05:14 12:30:41
# Track Modify Date : 2017:05:14 12:30:41
# Track ID : 1
# Track Duration : 0:02:56
# Track Layer : 0
# Track Volume : 0.00%
# Matrix Structure : 1 0 0 0 1 0 0 0 1
# Image Width : 853
# Image Height : 480
# Media Header Version : 0
# Media Create Date : 2017:05:14 12:30:41
# Media Modify Date : 2017:05:14 12:30:41
# Media Time Scale : 1000000
# Media Duration : 0:02:56
# Handler Type : Video Track
# Handler Description : VideoHandler
# Graphics Mode : srcCopy
# Op Color : 0 0 0
# Compressor ID : avc1
# Source Image Width : 640
# Source Image Height : 480
# X Resolution : 72
# Y Resolution : 72
# Bit Depth : 24
# Video Frame Rate : 25
# User Data enc : vlc 2.2.2 stream output
# Movie Data Size : 20319211
# Movie Data Offset : 50591
# Avg Bitrate : 920 kbps
# Image Size : 853x480
# Megapixels : 0.409
# Rotation : 0