ogginfo
gives information about Ogg files, and does extensive validity checking
see also :
vorbiscomment - ogg123 - oggdec - oggenc
Synopsis
ogginfo
[ -q ] [ -v ] [ -h ] file1.ogg
... fileN.ogg
add an example, a script, a trick and tips
examples
source
WAV=`echo "$1" | sed s/\.ogg$/.wav/g`
ALBUM=`ogginfo "$1"
| grep ALBUM= | sed s/.*=//`
ARTIST=`ogginfo
"$1" | grep
ARTIST=
| sed s/.*=//`
ARTIST=`ogginfo "$1" | grep ARTIST= | sed s/.*=//`
DATE=`ogginfo "$1"
| grep DATE= |
sed s/.*=//`
source
for prog in mplayer curl file bitter bc
ogginfo pkg-config
do
command -v "$prog" >/dev/null ||
{
description
ogginfo
reads one or more Ogg files and prints information about
stream contents (including chained and/or multiplexed
streams) to standard output. It will detect (but not
correct) a wide range of common defects, with many
additional checks specifically for Ogg Vorbis streams.
For all stream
types ogginfo will print the filename being
processed, the stream serial numbers, and various common
error conditions.
For
Vorbis streams, information including the version
used for encoding, the sample rate and number of channels,
the bitrate and playback length, and the contents of the
comment header are printed.
Similarly, for
Theora streams, basic information about the video is
provided, including frame rate, aspect ratio, bitrate,
length, and the comment header.
options
-h
Show a help and usage
message.
-q
Quiet mode. This may be specified multiple times. Doing
so once will remove the detailed informative messages, twice
will remove warnings as well.
-v
Verbose mode. At the current time, this does not do
anything.
see also
vorbiscomment ,
ogg123 , oggdec , oggenc
authors
Michael Smith
<msmith[:at:]xiph[:dot:]org>