mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-22 14:23:57 -07:00
Update ffprobe_info.php
This commit is contained in:
parent
021424269a
commit
2cbdd70848
1 changed files with 2 additions and 2 deletions
|
@ -63,10 +63,10 @@ if (isset($ffpInfo->streams)) {
|
||||||
if (!empty($stream->codec_name)) {
|
if (!empty($stream->codec_name)) {
|
||||||
$result .= sprintf($lang['AUDIO_CODEC'], $stream->codec_long_name, mb_strtoupper($stream->codec_name, 'UTF-8')) . '<br>';
|
$result .= sprintf($lang['AUDIO_CODEC'], $stream->codec_long_name, mb_strtoupper($stream->codec_name, 'UTF-8')) . '<br>';
|
||||||
}
|
}
|
||||||
if (!empty($stream->bit_rate)) {
|
if (!empty($stream->bit_rate) && is_int($stream->bit_rate)) {
|
||||||
$result .= sprintf($lang['BITRATE'], humn_bitrate($stream->bit_rate)) . '<br>';
|
$result .= sprintf($lang['BITRATE'], humn_bitrate($stream->bit_rate)) . '<br>';
|
||||||
}
|
}
|
||||||
if (!empty($stream->sample_rate)) {
|
if (!empty($stream->sample_rate) && is_int($stream->sample_rate)) {
|
||||||
$result .= sprintf($lang['SAMPLE_RATE'], humn_sample_rate($stream->sample_rate)) . '<br>';
|
$result .= sprintf($lang['SAMPLE_RATE'], humn_sample_rate($stream->sample_rate)) . '<br>';
|
||||||
}
|
}
|
||||||
if (!empty($stream->channels)) {
|
if (!empty($stream->channels)) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue