MediaInfo

{{ $torrent->mediainfo }}

Filename

{{ $mediaInfo['general']['file_name'] ?? __('common.unknown') }}

General

Format
{{ $mediaInfo['general']['format'] ?? __('common.unknown') }}
Duration
{{ $mediaInfo['general']['duration'] ?? __('common.unknown') }}
Bitrate
{{ $mediaInfo['general']['bit_rate'] ?? __('common.unknown') }}
Size
{{ App\Helpers\StringHelper::formatBytes($mediaInfo['general']['file_size'] ?? 0, 2) }}
@if ($mediaInfo !== null) @isset($mediaInfo['video'])

Video

@foreach ($mediaInfo['video'] as $key => $videoElement)

#{{ ++$key }}

Format
{{ $videoElement['format'] ?? __('common.unknown') }} ({{ $videoElement['bit_depth'] ?? __('common.unknown') }})
Resolution
{{ $videoElement['width'] ?? __('common.unknown') }} × {{ $videoElement['height'] ?? __('common.unknown') }}
Aspect ratio
{{ $videoElement['aspect_ratio'] ?? __('common.unknown') }}
Frame rate
@if (isset($videoElement['framerate_mode']) && $videoElement['framerate_mode'] === 'Variable') VFR @else {{ $videoElement['frame_rate'] ?? __('common.unknown') }} @endif
Bit rate
{{ $videoElement['bit_rate'] ?? __('common.unknown') }}
@if (isset($videoElement['format']) && $videoElement['format'] === 'HEVC')
HDR format
{{ $videoElement['hdr_format'] ?? __('common.unknown') }}
Color primaries
{{ $videoElement['color_primaries'] ?? __('common.unknown') }}
Transfer characteristics
{{ $videoElement['transfer_characteristics'] ?? __('common.unknown') }}
@endisset
@endforeach
@endisset @isset($mediaInfo['audio'])

Audio

@foreach ($mediaInfo['audio'] as $key => $audioElement)
{{ $loop->iteration }}.
{{ $audioElement['language'] ?? __('common.unknown') }} {{ $audioElement['language'] ?? __('common.unknown') }} / {{ $audioElement['format'] ?? __('common.unknown') }} / {{ $audioElement['channels'] ?? __('common.unknown') }} / {{ $audioElement['bit_rate'] ?? __('common.unknown') }} / {{ $audioElement['title'] ?? __('common.unknown') }}
@endforeach
@endisset @isset($mediaInfo['text'])

Subtitles

    @foreach ($mediaInfo['text'] as $key => $textElement)
  • {{ $textElement['language'] ?? __('common.unknown') }}
  • @endforeach
@endisset @isset($mediaInfo['video'], array_merge(... $mediaInfo['video'])['encoding_settings'])

Encode Settings

@foreach ($mediaInfo['video'] as $key => $videoElement) @isset($videoElement['encoding_settings'])

#{{ $key }}

{{ $videoElement['encoding_settings'] ?? __('common.unknown') }}
@endisset @endforeach
@endisset @endif