Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add time elapsed to enoding status tab #163

Merged
merged 4 commits into from
Jan 9, 2021

Conversation

benedicteb
Copy link
Contributor

@benedicteb benedicteb commented Jan 8, 2021

Hi there! Thanks for making this software and all the blog posts. It's super great and has been super helpful to me!

I made this time elapsed label to keep track of how long the current encode command has been running.

Let me know if there are changes you'd like to see before merge 🙂

recording_2021-01-08-18:14:57

Summary of changes

  • Add started_at to BackgroundRunner
  • Move status_queue.put(("running", to after runner.start_exec because start time of command is recorded in start_exec
  • Add timedelta_to_str method for having a common serialization (it's quite hacky with only a string split to remove microseconds)
  • Change separator for status update signals from : to __ because ISO formatted timestamps have : in them which made it a little difficult to send it along with the other data
  • Add a label for time elapsed to the status panel
  • Add on_status_update method to status panel for listening to status updates from main
  • Add a thread for "ticking" the time elapsed separate from when output from ffmpeg is received
  • Add translations for "Time elapsed" label (I just opened up Google Translate so I don't really know if the translations make sense..)

@cdgriffith cdgriffith changed the base branch from master to develop January 8, 2021 19:59
Copy link
Owner

@cdgriffith cdgriffith left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you so much for the addition!

fastflix/widgets/panels/status_panel.py Outdated Show resolved Hide resolved
@benedicteb benedicteb requested a review from cdgriffith January 8, 2021 20:55
Copy link
Owner

@cdgriffith cdgriffith left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Got a little detailed just to try and be as clear as possible, if you have any questions please let me know!

fastflix/widgets/panels/status_panel.py Outdated Show resolved Hide resolved
fastflix/widgets/panels/status_panel.py Outdated Show resolved Hide resolved
fastflix/widgets/panels/status_panel.py Show resolved Hide resolved
fastflix/widgets/panels/status_panel.py Outdated Show resolved Hide resolved
fastflix/widgets/panels/status_panel.py Outdated Show resolved Hide resolved
fastflix/widgets/panels/status_panel.py Outdated Show resolved Hide resolved
fastflix/widgets/panels/status_panel.py Outdated Show resolved Hide resolved
fastflix/widgets/panels/status_panel.py Outdated Show resolved Hide resolved
@benedicteb
Copy link
Contributor Author

Got a little detailed just to try and be as clear as possible, if you have any questions please let me know!

Thanks for all the super helpful feedback so far!

@benedicteb benedicteb requested a review from cdgriffith January 9, 2021 11:47
Copy link
Owner

@cdgriffith cdgriffith left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@cdgriffith cdgriffith merged commit 65860f2 into cdgriffith:develop Jan 9, 2021
cdgriffith added a commit that referenced this pull request Jan 9, 2021
…lie Brækken)

* Fixing #165 Custom Bitrate loaded from Profile (thanks to Etz)
@cdgriffith cdgriffith mentioned this pull request Jan 10, 2021
cdgriffith added a commit that referenced this pull request Jan 10, 2021
* Adding #163 elapsed time in encoding panel (thanks to Benedicte Emilie Brækken)
* Adding super secret DEVMODE environment variable
* Fixing #165 Custom Bitrate loaded from Profile (thanks to Etz)
* Fixing #154 Overloading the term "Profile" for languages (thanks to leonardyan)

Co-authored-by: Benedicte Emilie Brækken <b@brkn.io>
@cdgriffith cdgriffith mentioned this pull request Jan 11, 2021
cdgriffith added a commit that referenced this pull request Jan 13, 2021
* Adding #118 #126 advanced panel with FFmpeg filters (thanks to Marco Ravich and remlap)
* Adding #114 info panel that shows source details (thanks to leonardyan)
* Adding #117 support for text based burn in subtitles
* Adding #152 option to switch back to old bubbly buttons (thanks to GitKike98)
* Adding logging level selector in settings for GUI
* Adding button to extract text based subtitles
* Adding dual pass option for ffmpeg options (thanks to Catatau)
* Adding #163 elapsed time in encoding panel (thanks to Benedicte Emilie Brækken)
* Adding super secret DEVMODE environment variable
* Adding #168 Allow decimal CRF values as Custom values (thanks to Etz)
* Changing all builds to use Python 3.8, removing idea of "legacy" windows until later time
* Fixing #156 Copy was broken due to ffmpeg extras not being passed (thanks to leonardyan)
* Fixing #158 Translation and icon of tab name "Quality" lost when output codec switched (thanks to leonardyan)
* Fixing #120 Custom bitrate forgets to add a "k" (thanks to seighail3)
* Fixing #162 Main window was not resizeable (thanks to bmcassagne)
* Fixing #165 Custom Bitrate loaded from Profile (thanks to Etz)
* Fixing #154 Overloading the term "Profile" for languages (thanks to leonardyan)
* Fixing snap packaged, and other symlinked FFmpeg installs were not linked correctly (thanks to Catatau)
* Fixing loading video could encounter a bug and crash fastflix (thanks to Jan)
* Fixing being able to set landscape cover
* Fixing resetting covers from queue

Co-authored-by: Benedicte Emilie Brækken <b@brkn.io>
cdgriffith added a commit that referenced this pull request Mar 5, 2022
* Adding #163 audio matching in profiles (thanks to bmcassagne)
* Adding #261 Advanced settings are currently not saved on Profiles (thanks to georgesaumen)
* Fixing #296 low quality auto-crop due to high rounding, increasing accuracy from 16 to 2 pixels (thanks to Rayman24365)
@cdgriffith cdgriffith mentioned this pull request Mar 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants