{% extends "admin/base_site.html" %} {% load static %} {% block title %}Video Metadata Issues{% endblock %} {% block content %}
Total videos: {{ total_videos }}
Videos with complete metadata: {{ videos_with_complete_metadata }}
Videos with issues: {{ videos_with_issues }}
Missing duration: {{ videos_missing_duration }}
| SHA512 (first 10) | MIME Type | Metadata | IndexedVideo | PostVideo Count | Original URLs | Actions |
|---|---|---|---|---|---|---|
{{ video.sha512|slice:":10" }}...
|
{{ video.mime_type }} |
{% if video.metadata %}
{% if video.metadata.duration %}
Duration: {{ video.metadata.duration }}ms {% else %} Duration: MISSING {% endif %} {% if video.metadata.width and video.metadata.height %} Dimensions: {{ video.metadata.width }}x{{ video.metadata.height }} {% else %} Dimensions: MISSING {% endif %} {% if video.metadata.frame_rate %} FPS: {{ video.metadata.frame_rate }} {% else %} FPS: MISSING {% endif %} {% else %} NO METADATA {% endif %} |
{% if video.indexedvideo %}
✓ Exists {% if video.indexedvideo.duration %} Duration: {{ video.indexedvideo.duration }}s {% endif %} {% if video.indexedvideo.width and video.indexedvideo.height %} {{ video.indexedvideo.width }}x{{ video.indexedvideo.height }} {% endif %} {% if video.indexedvideo.frame_rate %} FPS: {{ video.indexedvideo.frame_rate }} {% endif %} {% else %} No IndexedVideo {% endif %} |
PostVideo: {{ video.postvideo_set.count }} PostFile: {{ video.postfile_set.count }} |
{% for pv in video.postvideo_set.all|slice:":2" %}
{{ pv.post.source.name }}:
Link {% endfor %} {% if video.postvideo_set.count > 2 %} ... and {{ video.postvideo_set.count|add:"-2" }} more {% endif %} |
View | Media |
| No videos with metadata issues found. | ||||||