Skip to content

Commit

Permalink
Version 3.0.0 (#74)
Browse files Browse the repository at this point in the history
* Adding AVC support (libx264)
* Adding #65 rav1e support (librav1e)
* Adding #49 SVT AV1 support (libsvtav1) directly with FFmpeg
* Adding SVT AV1 dual pass, tier, scene detection, and tile parameters
* Adding #67 Status Panel to view encoding logs
* Adding #58 Support for cover attachments (thanks to -L0Lock-)
* Adding various speed improvements
* Adding changelog in GUI
* Adding #68 version upgrade dialogue
* Adding icons to encoders drop down
* Adding video filename path
* Adding Windows installer
* Adding check for new ffmpeg on startup
* Adding #69 nice feature for language selection (thanks to HannesJo0139)
* Adding #13 button to copy commands to clipboard and save to file
* Adding options to remove metadata and copy chapters
* Changing #8 logs to be separated into GUI and conversion logs
* Changing major internal re-write to keep encoding even if GUI dies
* Changing bitrate suggestion resolutions to be more readable with fps
* Changing command builders to specify the temporary files themselves
* Changing changelog to proper markdown
* Changing rotation and flip section to drop downs
* Fixing Windows taskbar does not always show icon
* Fixing #55 GUI logs by splitting them from core logs
* Fixing #42 log output from FFmpeg stopped due to PIPE filling up (thanks to Trevbams)
* Fixing that mkv cover attachments would show as video tracks
* Fixing plugins should not be available if no FFmpeg library for them
* Fixing error on audio tracks listing zero channels
* Removing support for the direct SVT AV1 encoder (fixes #24)
* Removing support for cutelog / socket based logging
* Removing flix as library support (cleaning out old command generator code)
  • Loading branch information
cdgriffith authored Sep 25, 2020
1 parent b437d03 commit 39345e0
Show file tree
Hide file tree
Showing 83 changed files with 3,356 additions and 1,833 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/black.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Run code linter "black"

on:
push:
branches: [ master, develop, build, 3.0 ]
pull_request:
branches: [ master, develop ]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2

- run: sudo apt install python3-pip python3-setuptools -y
- run: pip3 install black
- run: python3 -m black --check .
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -116,3 +116,8 @@ bundled
extra/
*.7z
.pypirc
fastflix/CHANGES
*.exe

icons.py
test.html
2 changes: 2 additions & 0 deletions .isort.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[settings]
line_length = 120
12 changes: 11 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.5.0
rev: v3.2.0
hooks:
- id: mixed-line-ending
- id: trailing-whitespace
Expand All @@ -10,6 +10,16 @@ repos:
- id: fix-encoding-pragma
- id: check-byte-order-marker
- id: debug-statements
- id: check-added-large-files
- id: check-case-conflict
- id: check-executables-have-shebangs
- id: check-toml
- id: detect-private-key
- id: end-of-file-fixer
- repo: https://github.com/PyCQA/isort
rev: master
hooks:
- id: isort
- repo: https://github.com/psf/black
rev: 20.8b1
hooks:
Expand Down
97 changes: 55 additions & 42 deletions CHANGES
Original file line number Diff line number Diff line change
@@ -1,26 +1,54 @@
Changelog
---------

Version 2.6.3
~~~~~~~~~~~~~

# Changelog

## Version 3.0.0

* Adding AVC support (libx264)
* Adding #65 rav1e support (librav1e)
* Adding #49 SVT AV1 support (libsvtav1) directly with FFmpeg
* Adding SVT AV1 dual pass, tier, scene detection, and tile parameters
* Adding #67 Status Panel to view encoding logs
* Adding #58 Support for cover attachments (thanks to -L0Lock-)
* Adding various speed improvements
* Adding changelog in GUI
* Adding #68 version upgrade dialogue
* Adding icons to encoders drop down
* Adding video filename path
* Adding Windows installer
* Adding check for new ffmpeg on startup
* Adding #69 nice feature for language selection (thanks to HannesJo0139)
* Adding #13 button to copy commands to clipboard and save to file
* Adding options to remove metadata and copy chapters
* Changing #8 logs to be separated into GUI and conversion logs
* Changing major internal re-write to keep encoding even if GUI dies
* Changing bitrate suggestion resolutions to be more readable with fps
* Changing command builders to specify the temporary files themselves
* Changing changelog to proper markdown
* Changing rotation and flip section to drop downs
* Fixing Windows taskbar does not always show icon
* Fixing #55 GUI logs by splitting them from core logs
* Fixing #42 log output from FFmpeg stopped due to PIPE filling up (thanks to Trevbams)
* Fixing that mkv cover attachments would show as video tracks
* Fixing plugins should not be available if no FFmpeg library for them
* Fixing error on audio tracks listing zero channels
* Removing support for the direct SVT AV1 encoder (fixes #24)
* Removing support for cutelog / socket based logging
* Removing flix as library support (cleaning out old command generator code)

## Version 2.6.3
* Fixing #71 #26 encoding issues in video files (thanks to -L0Lock-)
* Fixing tempfile issue with recursion on cleanup
* Fixing SVT AV1 command building raising errors on bad crop

Version 2.6.2
~~~~~~~~~~~~~
## Version 2.6.2

* Switching windows builds from zeranoe.com to gyan.dev

Version 2.6.1
~~~~~~~~~~~~~
## Version 2.6.1

* Adding HEVC crf suggestions back
* Fixing #62 VP9 and GIF crashing due to label bug (thanks to -L0Lock-)

Version 2.6.0
~~~~~~~~~~~~~
## Version 2.6.0

* Adding AV1 AOM settings for cpu-used, tile-columns, tile-rows, row-mt
* Adding HEVC x265 setting for profile
Expand All @@ -32,50 +60,42 @@ Version 2.6.0
* Fixing crash on SVT-AV1 due to HDR label issue
* Fixing SVT-AV1 audio tracks being converted incorrectly

Version 2.5.0
~~~~~~~~~~~~~
## Version 2.5.0

* Adding settings dialog
* Fixing no bitrate should be specified for lossless audio

Version 2.4.1
~~~~~~~~~~~~~
## Version 2.4.1

* Fixing #52 HEVC custom CRF issue (thanks to 2600box)

Version 2.4.0
~~~~~~~~~~~~~
## Version 2.4.0

* Adding larger command line view to see entire command at once
* Changing to using qtpy which supports dynamic linking of either PySide2 or pyqt5, instead of only PySide2
* Fixing #4 Error Message Box when someone other than video file is dropped onto fastflix
* Fixing #44 Remove metadata from original file (thanks to HannesJo0139)
* Fixing #20 Adding hoverhelp for most converter options

Version 2.3.4
~~~~~~~~~~~~~
## Version 2.3.4

* Fixing audio downmixing only taking for last downmixing setting

Version 2.3.3
~~~~~~~~~~~~~
## Version 2.3.3

* Fixing #46 max-cll was being sent incorrectly to x265-params (thanks to HannesJo0139)
* Fixing #43 audio bitrate being set to wrong track (thanks to HannesJo0139)

Version 2.3.2
~~~~~~~~~~~~~
## Version 2.3.2

* Fixing #39 HEVC two pass bitrate does not work (thanks to schlotkins)


Version 2.3.1
~~~~~~~~~~~~~
## Version 2.3.1

* Fixing #35 custom CRF / bitrate values not updating in the command panel (thanks to schlotkins)

Version 2.3.0
~~~~~~~~~~~~~
## Version 2.3.0

* Adding to pypi
* Changing package to "fastflix"
Expand All @@ -84,21 +104,18 @@ Version 2.3.0
* Fixing HDR details not being parsed due to not quoting path to ffprobe (thanks to schlotkins)
* Fixing killing child processes on *nix

Version 2.2.0
~~~~~~~~~~~~~
## Version 2.2.0

* Adding custom extra ffmpeg args for HEVC
* Adding max mux queue size change for HEVC
* Fixing issue with codec not being set as copy (thanks to schlotkins)
* Fixing quotes around parens on linux

Version 2.1.1
~~~~~~~~~~~~~
## Version 2.1.1

* Fixing parse_hdr_details bug (thanks to Jan Temešinko and schlotkins)

Version 2.1.0
~~~~~~~~~~~~~
## Version 2.1.0

* Adding config file that will allow for customizable work directory
* Adding support for HEVC conversion
Expand All @@ -113,13 +130,11 @@ Version 2.1.0
* Removing bundling of FFmpeg and SVT-AV1
* Removing support for external plugins

Version 2.0.1
~~~~~~~~~~~~~
## Version 2.0.1

* Fixing broken exe, requiring console for time being

Version 2.0.0
~~~~~~~~~~~~~
## Version 2.0.0

* Adding AV1 support (both FFMPEG libaom-av1 and SVT-AV1)
* Adding VP9 support
Expand All @@ -130,16 +145,14 @@ Version 2.0.0
* Removing all GPL or restrictive licensed products (including x265)
* Major Layout Redesign

Version 1.1.0
~~~~~~~~~~~~~
## Version 1.1.0

* Add AV1 support
* Add GIF support
* Add Settings page
* Add About page
* Large amount of changes, fixes, and bugs introduced

Version 1.0.0
~~~~~~~~~~~~~
## Version 1.0.0

* Initial release
112 changes: 112 additions & 0 deletions FastFlix.nsi
Original file line number Diff line number Diff line change
@@ -0,0 +1,112 @@
; FastFlix.nsi
;

!include "MUI2.nsh"
!include LogicLib.nsh
;--------------------------------

; The name of the installer
Name "FastFlix"

; The file to write
OutFile "FastFlix_installer.exe"

; Request application privileges for Windows Vista and higher
RequestExecutionLevel admin

; Build Unicode installer
Unicode True

SetCompressor lzma

; The default installation directory
InstallDir $PROGRAMFILES64\FastFlix

; Registry key to check for directory (so if you install again, it will overwrite the old one automatically)
InstallDirRegKey HKLM "Software\FastFlix" "Install_Dir"

;--------------------------------

; Pages

!insertmacro MUI_PAGE_LICENSE "docs\build-licenses.txt"
!insertmacro MUI_PAGE_COMPONENTS
!insertmacro MUI_PAGE_DIRECTORY
!insertmacro MUI_PAGE_INSTFILES

!insertmacro MUI_UNPAGE_CONFIRM
!insertmacro MUI_UNPAGE_INSTFILES
!define MUI_FINISHPAGE_TEXT "Thank you for installing FastFlix!"
!insertmacro MUI_PAGE_FINISH


;Languages

!insertmacro MUI_LANGUAGE "English"

;--------------------------------
Function .onInit
ReadRegStr $0 HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\FastFlix" "UninstallString"
${If} $0 != ""
Messagebox MB_OK|MB_ICONINFORMATION "You will now be prompted to first uninstall the previous version of FastFlix"
ExecWait '$0 _?=$INSTDIR'
${EndIf}
FunctionEnd


; The stuff to install
Section "FastFlix (required)"

SectionIn RO

; Set output path to the installation directory.
SetOutPath $INSTDIR

Delete "$INSTDIR\uninstall.exe"
; Put file there
File /r "dist\FastFlix\*"

; Write the installation path into the registry
WriteRegStr HKLM SOFTWARE\FastFlix "Install_Dir" "$INSTDIR"
WriteRegStr HKLM SOFTWARE\FastFlix "UninstallString" '"$INSTDIR\uninstall.exe"'

; Write the uninstall keys for Windows
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\FastFlix" "DisplayName" "FastFlix"
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\FastFlix" "UninstallString" '"$INSTDIR\uninstall.exe"'
WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\FastFlix" "NoModify" 1
WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\FastFlix" "NoRepair" 1
WriteUninstaller "$INSTDIR\uninstall.exe"

SectionEnd

; Optional section (can be disabled by the user)
Section "Start Menu Shortcuts"

CreateDirectory "$SMPROGRAMS\FastFlix"
CreateShortcut "$SMPROGRAMS\FastFlix\FastFlix.lnk" "$INSTDIR\FastFlix.exe"
CreateShortcut "$SMPROGRAMS\FastFlix\Uninstall FastFlix.lnk" "$INSTDIR\uninstall.exe"

SectionEnd

; Uninstaller

Section "Uninstall"

; Remove registry keys
DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\FastFlix"
DeleteRegKey HKLM SOFTWARE\FastFlix

; Remove files
Delete $INSTDIR\*

; Remove shortcuts, if any
Delete "$SMPROGRAMS\FastFlix\*.lnk"

; Remove directories
RMDir "$SMPROGRAMS\FastFlix"
RMDir /r "$INSTDIR"
RMDir "$INSTDIR"

Delete "$INSTDIR\uninstall.exe"

SectionEnd
Loading

0 comments on commit 39345e0

Please sign in to comment.