GNU/Linux |
CentOS 2.1AS(Slurm) |
|
![]() |
ogginfo(1) |
![]() |
ogginfo − gives information about Ogg files.
ogginfo file1.ogg ... fileN.ogg
ogginfo reads one or more Ogg files and decodes the comments contained within, writing them to standard output, in a "attribute=value" format, one per line. The first attribute printed will always be the filename of the stream. ogginfo cannot accept URLs. ogginfo will also print the following file attributes:
header_integrity
"pass" if the header is intact, and "fail" if it is corrupted.
stream_integrity
"pass" if the stream contains no bad packets or holes (not counting the last packet), and "fail" otherwise.
file_truncated
"true" if the last good packet in the stream is not marked as the last packet and "false" if the stream is complete.
bitrate_upper
The upper bitrate limit of the file, or "none" if not set.
bitrate_nominal
The "target" bitrate of the file, or "none" if not set.
bitrate_lower
The lower bitrate limit of the file, or "none" if not set.
bitrate_average
The average bitrate of the file.
length |
Length of of the file in seconds. |
playtime
Playing time in a humanly-readable MM:SS format.
None.
The ogginfo command line accepts as many filenames as your shell will allow.
Information about one file:
ogginfo track14.ogg
Will print:
filename=track14.ogg
header_integrity=pass
stream_integrity=pass
file_truncated=false
title=If I Had $1000000
artist=Barenaked Ladies
album=Gordon
tracknumber=14
length=267.040000
playtime=4:27
Information on multiple files:
ogginfo track1.ogg track2.ogg
Will print:
filename=track1.ogg
header_integrity=pass
stream_integrity=pass
file_truncated=false
title=The Vorbis Theme
artist=Monty and The Wet Trouts
album=Musical Penguins 3
tracknumber=1
length=67.38383
playtime=1:07
filename=track2.ogg
header_integrity=pass
stream_integrity=pass
file_truncated=false
title=Being for the Benefit of Mr. Fish
artist=Monty and The Wet Trouts
album=Musical Penguins 3
tracknumber=2
length=449.0000
playtime=7:29
ogginfo only checks the first bitstream in a file.
JAmes Atwill
<ogg@linuxstuff.org>
Stan Seibert <indigo@aztec.asu.edu>
![]() |
ogginfo(1) | ![]() |