diff --git a/QT/ui_main_window.py b/QT/ui_main_window.py deleted file mode 100644 index 15ae0a8..0000000 --- a/QT/ui_main_window.py +++ /dev/null @@ -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 - diff --git a/README.md b/README.md index 1e27aa9..0d7da5c 100644 --- a/README.md +++ b/README.md @@ -1 +1,101 @@ -# mediaInfoSama + + + + +
+ GUI for MediaInfo written with Python and PySide6
+
+
+ Report Bug
+ ยท
+ Request Feature
+
View of the main interface
You can select each track to see more details
You can search through all the tracks
+ + + + + +## 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 + ``` + + + + + +## Usage + +Just drag and drop a file on the window. + + diff --git a/file_cmds.py b/mediainfosama/file_cmds.py similarity index 100% rename from file_cmds.py rename to mediainfosama/file_cmds.py diff --git a/main.py b/mediainfosama/main.py similarity index 100% rename from main.py rename to mediainfosama/main.py diff --git a/main_window.py b/mediainfosama/main_window.py similarity index 100% rename from main_window.py rename to mediainfosama/main_window.py diff --git a/ui_main_window.py b/mediainfosama/ui_main_window.py similarity index 100% rename from ui_main_window.py rename to mediainfosama/ui_main_window.py diff --git a/screenshots/basic.jpg b/screenshots/basic.jpg new file mode 100644 index 0000000..8aa4e51 Binary files /dev/null and b/screenshots/basic.jpg differ diff --git a/screenshots/category.jpg b/screenshots/category.jpg new file mode 100644 index 0000000..c186dc1 Binary files /dev/null and b/screenshots/category.jpg differ diff --git a/screenshots/search.jpg b/screenshots/search.jpg new file mode 100644 index 0000000..f114050 Binary files /dev/null and b/screenshots/search.jpg differ