Update readme and structure

This commit is contained in:
cuissedemouche 2022-12-16 14:06:21 +00:00
parent 28585c1089
commit cecdb3d760
9 changed files with 101 additions and 254 deletions

View File

@ -1,253 +0,0 @@
# -*- coding: utf-8 -*-
################################################################################
## Form generated from reading UI file 'main_window_dark.ui'
##
## Created by: Qt User Interface Compiler version 6.4.1
##
## WARNING! All changes made in this file will be lost when recompiling UI file!
################################################################################
from PySide6.QtCore import (QCoreApplication, QDate, QDateTime, QLocale,
QMetaObject, QObject, QPoint, QRect,
QSize, QTime, QUrl, Qt)
from PySide6.QtGui import (QBrush, QColor, QConicalGradient, QCursor,
QFont, QFontDatabase, QGradient, QIcon,
QImage, QKeySequence, QLinearGradient, QPainter,
QPalette, QPixmap, QRadialGradient, QTransform)
from PySide6.QtWidgets import (QApplication, QLineEdit, QListWidget, QListWidgetItem,
QPlainTextEdit, QSizePolicy, QSplitter, QVBoxLayout,
QWidget)
class Ui_MainWindow(object):
def setupUi(self, MainWindow):
if not MainWindow.objectName():
MainWindow.setObjectName(u"MainWindow")
MainWindow.resize(1214, 896)
MainWindow.setStyleSheet(u"background-color: rgb(255, 255, 255);\n"
"color: rgb(230, 230, 230);\n"
"selection-background-color: rgb(48, 98, 148);")
self.verticalLayout_2 = QVBoxLayout(MainWindow)
self.verticalLayout_2.setObjectName(u"verticalLayout_2")
self.splitter = QSplitter(MainWindow)
self.splitter.setObjectName(u"splitter")
self.splitter.setStyleSheet(u"background-color: rgb(42, 42, 42);")
self.splitter.setOrientation(Qt.Horizontal)
self.layoutWidget = QWidget(self.splitter)
self.layoutWidget.setObjectName(u"layoutWidget")
self.verticalLayout = QVBoxLayout(self.layoutWidget)
self.verticalLayout.setObjectName(u"verticalLayout")
self.verticalLayout.setContentsMargins(0, 0, 0, 0)
self.lineEdit = QLineEdit(self.layoutWidget)
self.lineEdit.setObjectName(u"lineEdit")
self.verticalLayout.addWidget(self.lineEdit)
self.tracks_list_widget = QListWidget(self.layoutWidget)
QListWidgetItem(self.tracks_list_widget)
QListWidgetItem(self.tracks_list_widget)
QListWidgetItem(self.tracks_list_widget)
self.tracks_list_widget.setObjectName(u"tracks_list_widget")
self.tracks_list_widget.setStyleSheet(u"")
self.verticalLayout.addWidget(self.tracks_list_widget)
self.splitter.addWidget(self.layoutWidget)
self.detail_plain_text_edit = QPlainTextEdit(self.splitter)
self.detail_plain_text_edit.setObjectName(u"detail_plain_text_edit")
self.detail_plain_text_edit.setUndoRedoEnabled(False)
self.detail_plain_text_edit.setLineWrapMode(QPlainTextEdit.NoWrap)
self.detail_plain_text_edit.setReadOnly(True)
self.splitter.addWidget(self.detail_plain_text_edit)
self.verticalLayout_2.addWidget(self.splitter)
self.retranslateUi(MainWindow)
QMetaObject.connectSlotsByName(MainWindow)
# setupUi
def retranslateUi(self, MainWindow):
MainWindow.setWindowTitle(QCoreApplication.translate("MainWindow", u"Form", None))
self.lineEdit.setText(QCoreApplication.translate("MainWindow", u"Search", None))
__sortingEnabled = self.tracks_list_widget.isSortingEnabled()
self.tracks_list_widget.setSortingEnabled(False)
___qlistwidgetitem = self.tracks_list_widget.item(0)
___qlistwidgetitem.setText(QCoreApplication.translate("MainWindow", u"New Item", None));
___qlistwidgetitem1 = self.tracks_list_widget.item(1)
___qlistwidgetitem1.setText(QCoreApplication.translate("MainWindow", u"New Item", None));
___qlistwidgetitem2 = self.tracks_list_widget.item(2)
___qlistwidgetitem2.setText(QCoreApplication.translate("MainWindow", u"New Item", None));
self.tracks_list_widget.setSortingEnabled(__sortingEnabled)
self.detail_plain_text_edit.setPlainText(QCoreApplication.translate("MainWindow", u"G: Matroska, 290 MiB, 23 min 23 s, 1 731 kb/s\n"
"\n"
"V: HEVC, Main 10@L5@Main, 177 MiB (61%), 1920x1080, 23.976 FPS, 1 063 kb/s\n"
"\n"
"A: Japanese, AAC, 44.7 MiB (15%), 265 kb/s, 6 channels, 48.0 kHz\n"
"A: English, AAC, 44.5 MiB (15%), 265 kb/s, 6 channels, 48.0 kHz\n"
"A: French, E-AC-3, 21.4 MiB (7%), 128 kb/s, 2 channels, 48.0 kHz\n"
"\n"
"T: English, VobSub\n"
"T: French, UTF-8\n"
"T: French, UTF-8\n"
"T: Japanese, UTF-8\n"
"\n"
"M: Menu\n"
"\n"
"\n"
"General\n"
"Unique ID : 256812827210083628067876738400357443254 (0xC13459F58667D428AA76F1CF44EBE6B6)\n"
"Complete name : /home/cuissedemouche/TEMP/samurai.mkv\n"
"Format : Matroska\n"
"Format version : Version 4\n"
"File size : 290 MiB\n"
"Duration : 23 min 23 s\n"
"Overall bit rate : 1 731 kb/s\n"
"Encoded date : UTC 2022-11"
"-24 12:43:22\n"
"Writing application : mkvmerge v72.0.0 ('Minuano (Six-eight)') 64-bit\n"
"Writing library : libebml v1.4.4 + libmatroska v1.7.1\n"
"\n"
"Video\n"
"ID : 1\n"
"Format : HEVC\n"
"Format/Info : High Efficiency Video Coding\n"
"Format profile : Main 10@L5@Main\n"
"Codec ID : V_MPEGH/ISO/HEVC\n"
"Duration : 23 min 20 s\n"
"Bit rate : 1 063 kb/s\n"
"Width : 1 920 pixels\n"
"Height : 1 080 pixels\n"
"Display aspect ratio : 16:9\n"
"Frame rate mode : Constant\n"
"Frame rate : 23.976 (24000/1001) FPS\n"
"Color space : YUV\n"
"Chroma subsampling : 4"
":2:0\n"
"Bit depth : 10 bits\n"
"Bits/(Pixel*Frame) : 0.021\n"
"Stream size : 177 MiB (61%)\n"
"Title : [bonkai77]\n"
"Writing library : x265 2.5+6-d11482e5fedb:[Windows][GCC 6.2.1][64 bit] 10bit\n"
"Encoding settings : cpuid=1173503 / frame-threads=2 / numa-pools=4 / wpp / no-pmode / no-pme / no-psnr / no-ssim / log-level=2 / input-csp=1 / input-res=1920x1080 / interlace=0 / total-frames=33576 / level-idc=0 / high-tier=1 / uhd-bd=0 / ref=6 / no-allow-non-conformance / no-repeat-headers / annexb / no-aud / no-hrd / info / hash=0 / no-temporal-layers / open-gop / min-keyint=23 / keyint=250 / bframes=8 / b-adapt=2 / b-pyramid / bframe-bias=0 / rc-lookahead=60 / lookahead-slices=0 / scenecut=40 / no-intra-refresh / ctu=32 / min-cu-size=8 / rect / no-amp / max-tu-size=16 / tu-inter-depth=3 / tu-intra-depth=3 / limit-tu=4 / rdoq-level=2 / dynamic-rd=0.0"
"0 / no-ssim-rd / signhide / no-tskip / nr-intra=0 / nr-inter=0 / no-constrained-intra / no-strong-intra-smoothing / max-merge=4 / limit-refs=3 / limit-modes / me=3 / subme=5 / merange=57 / temporal-mvp / weightp / weightb / no-analyze-src-pics / no-deblock / no-sao / no-sao-non-deblock / rd=5 / no-early-skip / rskip / no-fast-intra / no-tskip-fast / no-cu-lossless / b-intra / rdpenalty=0 / psy-rd=0.80 / psy-rdoq=2.00 / no-rd-refine / analysis-reuse-mode=0 / no-lossless / cbqpoffs=0 / crqpoffs=0 / rc=crf / crf=22.0 / qcomp=0.60 / qpstep=4 / stats-write=0 / stats-read=0 / ipratio=1.40 / pbratio=1.30 / aq-mode=2 / aq-strength=1.00 / cutree / zone-count=0 / no-strict-cbr / qg-size=32 / no-rc-grain / qpmax=69 / qpmin=0 / no-const-vbv / sar=0 / overscan=0 / videoformat=5 / range=0 / colorprim=2 / transfer=2 / colormatrix=2 / chromaloc=0 / display-window=0 / max-cll=0,0 / min-luma=0 / max-luma=1023 / log2-max-poc-lsb=8 / vui-timing-info / vui-hrd-info / slices=1 / opt-qp-pps / opt-ref-list-length-pps / no-multi-pass-"
"opt-rps / scenecut-bias=0.05 / no-opt-cu-delta-qp / no-aq-motion / no-hdr / no-hdr-opt / no-dhdr10-opt / analysis-reuse-level=5 / scale-factor=0 / refine-intra=0 / refine-inter=0 / refine-mv=0 / no-limit-sao / ctu-info=0\n"
"Default : Yes\n"
"Forced : No\n"
"\n"
"Audio #1\n"
"ID : 2\n"
"Format : AAC LC\n"
"Format/Info : Advanced Audio Codec Low Complexity\n"
"Codec ID : A_AAC-2\n"
"Duration : 23 min 21 s\n"
"Bit rate : 265 kb/s\n"
"Channel(s) : 6 channels\n"
"Channel layout : C L R Ls Rs LFE\n"
"Sampling rate : 48.0 kHz\n"
"Frame rate : 46.875 FPS (1024 SPF)\n"
"Compression mode : Lossy\n"
"Delay relative to video "
" : 9 ms\n"
"Stream size : 44.7 MiB (15%)\n"
"Title : Japanese\n"
"Language : Japanese\n"
"Default : Yes\n"
"Forced : No\n"
"\n"
"Audio #2\n"
"ID : 3\n"
"Format : AAC LC\n"
"Format/Info : Advanced Audio Codec Low Complexity\n"
"Codec ID : A_AAC-2\n"
"Duration : 23 min 21 s\n"
"Bit rate : 265 kb/s\n"
"Channel(s) : 6 channels\n"
"Channel layout : C L R Ls Rs LFE\n"
"Sampling rate : 48.0 kHz\n"
"Frame rate : 46.875 FPS (1024 SPF)\n"
"Compression mode : Lossy\n"
"Delay relative to video : 9 ms\n"
""
"Stream size : 44.5 MiB (15%)\n"
"Title : English\n"
"Language : English\n"
"Default : No\n"
"Forced : No\n"
"\n"
"Audio #3\n"
"ID : 5\n"
"Format : E-AC-3\n"
"Format/Info : Enhanced AC-3\n"
"Commercial name : Dolby Digital Plus\n"
"Codec ID : A_EAC3\n"
"Duration : 23 min 23 s\n"
"Bit rate mode : Constant\n"
"Bit rate : 128 kb/s\n"
"Channel(s) : 2 channels\n"
"Channel layout : L R\n"
"Sampling rate : 48.0 kHz\n"
"Frame rate : 31.250 FPS (1536 SPF)\n"
"Compression mode : Los"
"sy\n"
"Stream size : 21.4 MiB (7%)\n"
"Title : French\n"
"Language : French\n"
"Service kind : Complete Main\n"
"Default : Yes\n"
"Forced : No\n"
"\n"
"Text #1\n"
"ID : 4\n"
"Format : VobSub\n"
"Muxing mode : zlib\n"
"Codec ID : S_VOBSUB\n"
"Codec ID/Info : Picture based subtitle format used on DVDs\n"
"Duration : 21 min 31 s\n"
"Bit rate : 10.1 kb/s\n"
"Frame rate : 0.233 FPS\n"
"Count of elements : 301\n"
"Stream size : 1.55 MiB (1%)\n"
"Title : English Full\n"
"Language "
" : English\n"
"Default : No\n"
"Forced : No\n"
"\n"
"Text #2\n"
"ID : 6\n"
"Format : UTF-8\n"
"Codec ID : S_TEXT/UTF8\n"
"Codec ID/Info : UTF-8 Plain Text\n"
"Duration : 20 min 3 s\n"
"Bit rate : 1 b/s\n"
"Frame rate : 0.006 FPS\n"
"Count of elements : 7\n"
"Stream size : 187 Bytes (0%)\n"
"Title : French Forced\n"
"Language : French\n"
"Default : Yes\n"
"Forced : Yes\n"
"\n"
"Text #3\n"
"ID : 7\n"
"Format : UTF-8\n"
"Codec ID "
" : S_TEXT/UTF8\n"
"Codec ID/Info : UTF-8 Plain Text\n"
"Duration : 19 min 52 s\n"
"Bit rate : 53 b/s\n"
"Frame rate : 0.249 FPS\n"
"Count of elements : 297\n"
"Stream size : 7.72 KiB (0%)\n"
"Title : French Full\n"
"Language : French\n"
"Default : Yes\n"
"Forced : No\n"
"\n"
"Text #4", None))
# retranslateUi

102
README.md
View File

@ -1 +1,101 @@
# mediaInfoSama
<!-- Improved compatibility of back to top link: See: https://github.com/othneildrew/Best-README-Template/pull/73 -->
<a name="readme-top"></a>
<h3 align="center">mediaInfoSama</h3>
<p align="center">
GUI for MediaInfo written with Python and PySide6
<br />
<br />
<a href="https://gitea.kiggy.land/cuissedemouche/mediaInfoSama/issues">Report Bug</a>
·
<a href="https://gitea.kiggy.land/cuissedemouche/mediaInfoSama/issues">Request Feature</a>
</p>
<!-- TABLE OF CONTENTS -->
<details>
<summary>Table of Contents</summary>
<ol>
<li>
<a href="#about-the-project">About The Project</a>
<ul>
<li><a href="#built-with">Built With</a></li>
</ul>
</li>
<li>
<a href="#getting-started">Getting Started</a>
<ul>
<li><a href="#prerequisites">Prerequisites</a></li>
<li><a href="#installation">Installation</a></li>
</ul>
</li>
<li><a href="#usage">Usage</a></li>
<li><a href="#roadmap">Roadmap</a></li>
<li><a href="#contributing">Contributing</a></li>
<li><a href="#license">License</a></li>
<li><a href="#contact">Contact</a></li>
<li><a href="#acknowledgments">Acknowledgments</a></li>
</ol>
</details>
<!-- ABOUT THE PROJECT -->
## About The Project
This is my personnal GUI for MediaInfo, based on [MediaInfo.NET]([GitHub - stax76/MediaInfo.NET: MediaInfo.NET is a Windows application that shows media file information](https://github.com/stax76/MediaInfo.NET))
![basic](/home/cuissedemouche/Programmation/mediaInfoSama/screenshots/basic.jpg)
<p align="center">View of the main interface</p><br>
![category](screenshots/category.jpg)
<p align="center">You can select each track to see more details</p><br>
![s](screenshots/search.jpg)
<p align="center">You can search through all the tracks</p>
<p align="right">(<a href="#readme-top">back to top</a>)</p>
<!-- GETTING STARTED -->
## Getting Started
This is an example of how you may give instructions on setting up your project locally.
To get a local copy up and running follow these simple example steps.
### Prerequisites
This is an example of how to list things you need to use the software and how to install them.
- Python 3.7 or later
* PySide6
* [MediaInfo]([https://github.com/MediaArea/MediaInfo)
### Installation
1. Clone the repo
```sh
git clone https://gitea.kiggy.land/cuissedemouche/mediaInfoSama
```
2. Run package:
```sh
python mediaInfoSama/mediainfosama/main.py
```
<p align="right">(<a href="#readme-top">back to top</a>)</p>
<!-- USAGE EXAMPLES -->
## Usage
Just drag and drop a file on the window.
<p align="right">(<a href="#readme-top">back to top</a>)</p>

BIN
screenshots/basic.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 305 KiB

BIN
screenshots/category.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 174 KiB

BIN
screenshots/search.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 65 KiB