Ubuntu 12.04,
我查到有 mediainfo 可以獲取多媒體信息。
請(qǐng)問(wèn)還有其它方便的可以獲取音視頻的編碼方式的工具么~
FFmpeg 2.1 與 gstreamer 1.3 在不編碼的情況下可以有什么命令獲?。?/p>
小伙看你根骨奇佳,潛力無(wú)限,來(lái)學(xué)PHP伐。
Script I’ve been using:
>>> cat =midentify
#!/bin/sh
#
# This is a wrapper around the -identify functionality.
# It is supposed to escape the output properly, so it can be easily
# used in shellscripts by 'eval'ing the output of this script.
#
# Written by Tobias Diedrich <ranma+mplayer@tdiedrich.de>
# Licensed under GNU GPL.
if [ -z "" ]; then
echo "Usage: midentify <file> [<file> ...]"
exit 1
fi
mplayer -vo null -ao null -frames 0 -identify "$@" 2>/dev/null |
sed -ne '/^ID_/ {
s/[]()|&;<>`'"'"'\!$" []/\&/g;p
}'
Three tools are available:
MP4Box -info video.mp4
ffmpeg -i video.mp4
mediainfo video.mp4