Giter Site home page Giter Site logo

ccextractor / ccextractorfluttergui Goto Github PK

View Code? Open in Web Editor NEW
23.0 7.0 27.0 5.79 MB

A cross platform GUI for CCExtractor

Home Page: https://ccextractor.org/public/general/flutter_gui/

License: MIT License

Dart 82.60% CMake 5.99% C++ 8.45% C 0.53% Swift 0.49% HTML 1.44% Ruby 0.50%
flutter gui flutter-desktop ccextractor

ccextractorfluttergui's Introduction

logo

CCExtractor

Build Status Sample-Platform Build Status Windows Sample-Platform Build Status Linux SourceForge GitHub All Releases

CCExtractor is a tool used to produce subtitles for TV recordings from almost anywhere in the world. We intend to keep up with all sources and formats.

Subtitles are important for many people. If you're learning a new language, subtitles are a great way to learn it from movies or TV shows. If you are hard of hearing, subtitles can help you better understand what's happening on the screen. We aim to make it easy to generate subtitles by using the command line tool or Windows GUI.

The official repository is (CCExtractor/ccextractor) and master being the most stable branch.

Features

  • Extract subtitles in real-time
  • Translate subtitles
  • Extract closed captions from DVDs
  • Convert closed captions to subtitles

Programming Languages & Technologies

The core functionality is written in C. Other languages used include C++ and Python.

Installation and Usage

Downloads for precompiled binaries and source code can be found on our website.

Extracting subtitles is relatively simple. Just run the following command:

ccextractor <input>

This will extract the subtitles.

More usage information can be found on our website:

You can also find the list of parameters and their brief description by running ccextractor without any arguments.

You can find sample files on our website to test the software.

Compiling CCExtractor

To learn more about how to compile and build CCExtractor for your platform check the compilation guide.

Support

By far the best way to get support is by opening an issue at our issue tracker.

When you create a new issue, please fill in the needed details in the provided template. That makes it easier for us to help you more efficiently.

If you have a question or a problem you can also contact us by email or chat with the team in Slack.

If you want to contribute to CCExtractor but can't submit some code patches or issues or video samples, you can also donate to us

Contributing

You can contribute to the project by reporting issues, forking it, modifying the code and making a pull request to the repository. We have some rules, outlined in the contributor's guide.

News & Other Information

News about releases and modifications to the code can be found in the CHANGES.TXT file.

For more information visit the CCExtractor website: https://www.ccextractor.org

License

GNU General Public License version 2.0 (GPL-2.0)

ccextractorfluttergui's People

Contributors

canihavesomecoffee avatar cfsmp3 avatar itsadityaksingh avatar lilmistake avatar m-a-d-a-r-a avatar manoj1749 avatar mauryaritesh avatar techno-disaster avatar tushar-ghige avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

ccextractorfluttergui's Issues

Drop down option not visible until clicked

Describe the bug
Hidden options in drop down menu

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'Any screen'
  2. Search for a 'drop-down menu'
  3. See error

Expected behavior
The options should be quite visible even when not clicked.

Screenshots
Screenshot 2022-01-02 at 12 57 27 AM

Screenshot 2022-01-02 at 12 57 16 AM

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: MacBook
  • OS: macOS

[BUG] Window overlaps the Start Menu on startup

Describe the bug
A clear and concise description of what the bug is.

On Windows 11, upon running CCExtractor GUI, the window is overlapping the Start Menu, which is at the top of the screen, not the bottom as usual.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

[REQUEST] Remember window position on Windows GUI

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like
A clear and concise description of what you want to happen.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

Scroll bar nonfunctionality report

Describe the bug
Scroll bar in the log window in the dashboard screen seems to not function as intended when dragged while clicking upon it.

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'DashBoard/Logs'
  2. Click and drag 'Scroll bar'
  3. try to Scroll down and up
  4. See error

Expected behavior
The expected behaviour should be that the the window(Logs) should traverse vertically when the bar is dragged up/down.
Screenshots
image

Desktop (please complete the following information):

  • OS: Windows

ScrollController attached to multiple ScrollPositions

Describe the bug
ScrollController attached to multiple ScrollPositions

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'Any screen'
  2. Scroll down or up
  3. See error on terminal

Expected behavior
No error should be thrown while scrolling

Screenshots
Screenshot 2022-01-02 at 1 01 43 AM

Desktop (please complete the following information):

  • OS: macOS
  • Browser safari

Additional context
This problem is persistent with all the screens whenever we scroll

Renderflex Overflow in current command widget.

Describe the bug
Renderflex overflow in current command widget.

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'any option other than Dashboard''
  2. At the top see error

Screenshots
ccex

Desktop (please complete the following information):

  • OS: linux (ubuntu)

[BUG] No scroll bar

Describe the bug
A clear and concise description of what the bug is.

In Windows GUI, in "Basic Settings" and all other settings tabs, no scroll bar appears, but the mouse wheel will scroll it.

The Dashboard does have a scroll bar, but the scroll bar doesn't respond to click-dragging.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

Can't select MXF files from GUI on Windows.

Describe the bug
The file select dialog doesn't allow you to select MXF files on Windows.

To Reproduce
Steps to reproduce the behavior:

  1. Click "Add More Files"
  2. Look at bottom right Video (*) dropdown menu. It doesn't filter for MXF files.

Expected behavior
The file select dialog should filter for ALL files that ccextractor supports. And maybe have an "All Files" option just in case.

Desktop (please complete the following information):

  • OS: Windows 10
  • CCExtractor Version 0.94

Additional context
Should be an easy fix, unless there's a reason it was excluded from the new GUI.

Broken nightly builds link for ccextractorfluttergui

Description of bug
Broken nightly builds link for ccextractorfluttergui for linux and windows. I seems that this has something to do with the expiry of artifact on github.

To Reproduce
Steps to reproduce the behavior:

  1. Go to ' https://nightly.link/CCExtractor/ccextractorfluttergui/workflows/create_artifacts/master '
  2. Click on the links avilabble for downloading the files
  3. See error

Expected behavior
It should start downloading the project files or redirect to the downloads page.

Screenshots
Screenshot from 2024-02-06 00-22-40

Desktop (please complete the following information):

  • OS: Linux Mint 21.2 Cinnamon
  • Browser: chrome

[BUG] Fails to run and build in MacOS

OS: macOS 14.1.2 23B92 arm64

Fails to build:

$ flutter build macos --release
Resolving dependencies... (9.9s)
Note: matcher is pinned to version 0.12.16 by flutter_test from the flutter SDK.
See https://dart.dev/go/sdk-version-pinning for details.

Note: test_api is pinned to version 0.6.1 by flutter_test from the flutter SDK.
See https://dart.dev/go/sdk-version-pinning for details.


    Because no versions of hive_generator match >1.1.3 <2.0.0 and hive_generator >=1.0.1 <1.1.1 depends on analyzer ^1.0.0, hive_generator >=1.0.1 <1.1.1-∞ or >1.1.3 <2.0.0 requires analyzer ^1.0.0.
    And because hive_generator >=1.1.1 <1.1.2 depends on analyzer >=1.0.0 <3.0.0, hive_generator >=1.0.1 <1.1.2-∞ or >1.1.3 <2.0.0 requires analyzer >=1.0.0 <3.0.0.
(1) So, because hive_generator >=1.1.2 <1.1.3 depends on analyzer >=1.0.0 <4.0.0 and hive_generator 1.1.3 depends on analyzer >=1.0.0 <5.0.0, hive_generator ^1.0.1 requires analyzer >=1.0.0 <5.0.0.

    Because test >=1.16.6 <1.16.7 depends on test_api 0.2.20 and test >=1.16.7 <1.17.0 depends on test_api 0.3.0, test >=1.16.6 <1.17.0 requires test_api 0.2.20 or 0.3.0.
(2) So, because test >=1.17.0 <1.17.6 depends on test_api 0.4.0, test >=1.16.6 <1.17.6 requires test_api 0.2.20 or 0.3.0 or 0.4.0.

    Because test >=1.17.10 <1.17.11 depends on test_api 0.4.2 and test >=1.17.11 <1.18.0 depends on test_api 0.4.3, test >=1.17.10 <1.18.0 requires test_api 0.4.2 or 0.4.3.
    And because test >=1.18.0 <1.18.1 depends on test_api 0.4.4 and test >=1.18.1 <1.19.0 depends on test_api 0.4.5, test >=1.17.10 <1.19.0 requires test_api 0.4.2 or 0.4.3 or 0.4.4 or 0.4.5.
    And because test >=1.19.0 <1.19.3 depends on test_api 0.4.6 and test >=1.19.3 <1.19.4 depends on test_api 0.4.7, test >=1.17.10 <1.19.4 requires test_api 0.4.2 or 0.4.3 or 0.4.4 or 0.4.5 or 0.4.6 or 0.4.7.
    And because test >=1.16.6 <1.17.6 requires test_api 0.2.20 or 0.3.0 or 0.4.0 (2), test >=1.16.6 <1.17.6-∞ or >=1.17.10 <1.19.4-∞ requires test_api 0.2.20 or 0.3.0 or 0.4.0 or 0.4.2 or 0.4.3 or 0.4.4 or 0.4.5 or 0.4.6 or 0.4.7.
    And because test >=1.24.4 depends on analyzer >=5.12.0 <7.0.0 and test >=1.24.3 <1.24.4 depends on test_api 0.6.0, test >=1.16.6 <1.17.6-∞ or >=1.17.10 <1.19.4-∞ or >=1.24.3 requires test_api 0.2.20 or 0.3.0 or 0.4.0 or 0.4.2 or 0.4.3 or 0.4.4 or 0.4.5 or 0.4.6 or 0.4.7 or 0.6.0 or analyzer >=5.12.0 <7.0.0.
    And because test >=1.24.0 <1.24.3 depends on matcher >=0.12.15 <0.12.16 and test >=1.22.2 <1.24.0 depends on test_api 0.4.18, test >=1.16.6 <1.17.6-∞ or >=1.17.10 <1.19.4-∞ or >=1.22.2 requires test_api 0.2.20 or 0.3.0 or 0.4.0 or 0.4.2 or 0.4.3 or 0.4.4 or 0.4.5 or 0.4.6 or 0.4.7 or 0.4.18 or 0.6.0 or
      analyzer >=5.12.0 <7.0.0 or matcher >=0.12.15 <0.12.16.
    And because test >=1.22.1 <1.22.2 depends on test_api 0.4.17 and test >=1.21.7 <1.22.0 depends on test_api 0.4.15, test >=1.16.6 <1.17.6-∞ or >=1.17.10 <1.19.4-∞ or >=1.21.7 <1.22.0-∞ or >=1.22.1 requires test_api 0.2.20 or 0.3.0 or 0.4.0 or 0.4.2 or 0.4.3 or 0.4.4 or 0.4.5 or 0.4.6 or 0.4.7 or 0.4.15 or
      0.4.17 or 0.4.18 or 0.6.0 or analyzer >=5.12.0 <7.0.0 or matcher >=0.12.15 <0.12.16.
    And because test >=1.21.6 <1.21.7 depends on test_api 0.4.14 and test >=1.21.5 <1.21.6 depends on test_api 0.4.13, test >=1.16.6 <1.17.6-∞ or >=1.17.10 <1.19.4-∞ or >=1.21.5 <1.22.0-∞ or >=1.22.1 requires test_api 0.2.20 or 0.3.0 or 0.4.0 or 0.4.2 or 0.4.3 or 0.4.4 or 0.4.5 or 0.4.6 or 0.4.7 or 0.4.13 or
      0.4.14 or 0.4.15 or 0.4.17 or 0.4.18 or 0.6.0 or analyzer >=5.12.0 <7.0.0 or matcher >=0.12.15 <0.12.16.
    And because test >=1.21.4 <1.21.5 depends on test_api 0.4.12 and test >=1.21.3 <1.21.4 depends on test_api 0.4.11, test >=1.16.6 <1.17.6-∞ or >=1.17.10 <1.19.4-∞ or >=1.21.3 <1.22.0-∞ or >=1.22.1 requires test_api 0.2.20 or 0.3.0 or 0.4.0 or 0.4.2 or 0.4.3 or 0.4.4 or 0.4.5 or 0.4.6 or 0.4.7 or 0.4.11 or
      0.4.12 or 0.4.13 or 0.4.14 or 0.4.15 or 0.4.17 or 0.4.18 or 0.6.0 or analyzer >=5.12.0 <7.0.0 or matcher >=0.12.15 <0.12.16.
    And because test >=1.21.2 <1.21.3 depends on test_api 0.4.10 and test >=1.20.0 <1.21.2 depends on test_api 0.4.9, test >=1.16.6 <1.17.6-∞ or >=1.17.10 <1.19.4-∞ or >=1.20.0 <1.22.0-∞ or >=1.22.1 requires test_api 0.2.20 or 0.3.0 or 0.4.0 or 0.4.2 or 0.4.3 or 0.4.4 or 0.4.5 or 0.4.6 or 0.4.7 or 0.4.9 or
      0.4.10 or 0.4.11 or 0.4.12 or 0.4.13 or 0.4.14 or 0.4.15 or 0.4.17 or 0.4.18 or 0.6.0 or analyzer >=5.12.0 <7.0.0 or matcher >=0.12.15 <0.12.16.
    And because test >=1.19.4 <1.20.0 depends on test_api 0.4.8 and test >=1.17.6 <1.17.10 depends on test_api 0.4.1, test >=1.16.6 <1.22.0-∞ or >=1.22.1 requires test_api 0.2.20 or 0.3.0 or 0.4.0 or 0.4.1 or 0.4.2 or 0.4.3 or 0.4.4 or 0.4.5 or 0.4.6 or 0.4.7 or 0.4.8 or 0.4.9 or 0.4.10 or 0.4.11 or 0.4.12 or
      0.4.13 or 0.4.14 or 0.4.15 or 0.4.17 or 0.4.18 or 0.6.0 or analyzer >=5.12.0 <7.0.0 or matcher >=0.12.15 <0.12.16.
    And because test >=1.16.0-nullsafety.19 <1.16.6 depends on test_api 0.2.19 and no versions of test match >1.22.0 <1.22.1, test >=1.16.0-nullsafety.19 <1.22.0-∞ or >1.22.0 requires test_api 0.2.19 or 0.2.20 or 0.3.0 or 0.4.0 or 0.4.1 or 0.4.2 or 0.4.3 or 0.4.4 or 0.4.5 or 0.4.6 or 0.4.7 or 0.4.8 or 0.4.9 or
      0.4.10 or 0.4.11 or 0.4.12 or 0.4.13 or 0.4.14 or 0.4.15 or 0.4.17 or 0.4.18 or 0.6.0 or analyzer >=5.12.0 <7.0.0 or matcher >=0.12.15 <0.12.16.
    And because test 1.22.0 depends on test_api 0.4.16 and every version of flutter_test from sdk depends on matcher 0.12.16, if test >=1.16.0-nullsafety.19 and flutter_test from sdk then test_api 0.2.19 or 0.2.20 or 0.3.0 or 0.4.0 or 0.4.1 or 0.4.2 or 0.4.3 or 0.4.4 or 0.4.5 or 0.4.6 or 0.4.7 or 0.4.8 or 0.4.9
      or 0.4.10 or 0.4.11 or 0.4.12 or 0.4.13 or 0.4.14 or 0.4.15 or 0.4.16 or 0.4.17 or 0.4.18 or 0.6.0 or analyzer >=5.12.0 <7.0.0.
    And because hive_generator ^1.0.1 requires analyzer >=1.0.0 <5.0.0 (1), if hive_generator ^1.0.1 and test >=1.16.0-nullsafety.19 and flutter_test from sdk then test_api 0.2.19 or 0.2.20 or 0.3.0 or 0.4.0 or 0.4.1 or 0.4.2 or 0.4.3 or 0.4.4 or 0.4.5 or 0.4.6 or 0.4.7 or 0.4.8 or 0.4.9 or 0.4.10 or 0.4.11 or
      0.4.12 or 0.4.13 or 0.4.14 or 0.4.15 or 0.4.16 or 0.4.17 or 0.4.18 or 0.6.0.
    And because every version of flutter_test from sdk depends on test_api 0.6.1, one of hive_generator ^1.0.1 or test >=1.16.0-nullsafety.19 or flutter_test from sdk must be false.
    And because ccxgui depends on bloc_test ^8.1.0 which depends on test ^1.16.0, hive_generator ^1.0.1 is incompatible with flutter_test from sdk.
    So, because ccxgui depends on both flutter_test from sdk and hive_generator ^1.1.0, version solving failed.


You can try the following suggestion to make the pubspec resolve:
* Try upgrading your constraint on hive_generator: flutter pub add dev:hive_generator:^2.0.1

[Documentation] specify <platform> types

In this file
https://github.com/CCExtractor/ccextractorfluttergui/blob/master/INSTALL.MD

Replace line 18

- Next enable the flutter platform specific flag with `flutter config --enable-<platform>-desktop`, more info on this [here](https://flutter.dev/desktop)

With this:

- Next enable the flutter platform specific flag with `flutter config --enable-<platform>-desktop`, being `<platform>`: `windows`,`macos`,`linux`. More info on this [here](https://flutter.dev/desktop)

the link here does not explain directly any of that, maybe the webpage has changed.

I see it's mentioned more than once, so add some explanation.

Installation guide causing errors

The installation guide mentions about changing to flutter channel master and then upgrading which is causing issues while running the app.

Screenshot 2021-12-26 at 7 21 04 PM

It may happen that master channel does not have a stable version or the app requires some older components to work. Changing the channel to stable should work well.

Hidden Browse button in Output Settings

Describe the bug
The browse buttons on the output settings screen are hidden while the screen size reduces

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'Output Settings screen'
  2. Reduce 'Window Size'
  3. Scroll down to 'Profanity file and Sentence cap file'
  4. See error

Expected behavior
The browse button should remain visible

Screenshots
Screenshot 2021-12-30 at 1 09 54 PM

Desktop (please complete the following information):

  • OS: macOS
  • Browser Safari

Render-Overflow

Describe the bug
There was a render-overflow issue due to current command on smaller screens

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'Basic Settings or any screen'
  2. Minimise the app window to a smaller size
  3. See error

Expected behavior
No overflow should be rendered.

Screenshots
Screenshot 2021-12-26 at 2 14 13 PM

Desktop (please complete the following information):

  • OS: macOS
  • Browser: Safari
  • Version: 15.1

Start Stop Button Not Getting Updated

Bug

  • Start-Stop Button is not updating whenever we remove them after the process started.

Steps to reproduce the behavior:

  1. Add a file to the process tile
  2. Now start the process by clicking on 'Start All' button.
  3. During the process is going on remove the file in the process tile by clicking on the bin icon.
  4. Now even though the file is removed, the Start-Stop button is not getting updated to 'Start All' from 'Stop All'

Expected behavior

  • It is expected to change into 'Start All' from 'Stop All' whenever the file is being removed during the process.

Screenshots

  • Bug
bug.mp4

Desktop:

  • OS: macOS
  • Version: 13.2.1

Wrong Dashboard state being emitted

Unnecessarily already present state is thrown in Dashboard State

Steps to reproduce the behavior:

  1. Add a file (call it X for simplicity)
  2. Add X again ( already selected popup will appear)
  3. After this whatever (Delete , Add) you do it will show the already selected popup

Expected behavior
It is expected to not throw already selected popup when its not the case.

Proposed Solution
We are not unsetting the AlreadyPresent boolean to false in dashboard state either we should unset it

**Desktop

  • OS: Ubuntu 20.04.3 LTS x86_64
  • Kernel: 5.11.0-40-generic

support new ccx args

Related: CCExtractor/ccextractor#1564

The changes done to parser are:

using double dash (--) before every command instead of single dash (-)
removed short version of many commands like svc, only kept -s and -o as they are single digit, args like -gt, -nogt, -fp, -ve, -poc, -pn, -haup, -anvid, -nofc, -dc, -sc, -caf, -sbc, -unixts, -bi, -nobi, -bs, -ff, -key, scr, svc are removed now
if command starts with no, then it must have a dash(-) after no, like --nogoptime is now --no-goptime, etc
investigate_packets -> investigate-packets
gui_mode_reports -> gui-mode-reports
ocrmode -> ocr-mode
noprogressbar -> no-progress-bar
tcpdesc -> tcp-description
tcppassword -> tcp-password
-1, -2, -12 -> --output-field 1, --output-field 2, --output-field both

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.