feat: all improvements from diegomcolucci fork - #5
Open
diegomcolucci wants to merge 54 commits into
Open
Conversation
- Bump version to 0.7.0 in setup.py - Update requirements.txt to use published captacity-clipify package - Update MANIFEST.in to include package files and exclude unnecessary files - Modify example.py to remove unused imports and simplify example - Add comprehensive README.md with project details, badges, and usage instructions - Remove dependency links in setup.py and add include_package_data flag
…aspect ratio - Updated VideoConverter to create mobile-friendly videos with blurred backgrounds - Added support for dynamic aspect ratio conversion (9:16, 4:5, 1:1) - Implemented frame processing with centered main video and blurred background - Added Gaussian blur method to create visually appealing background - Improved resizing logic to maintain video content while adapting to target ratio
- Updated Clipify class to support custom caption styling options - Modified VideoProcessor to accept detailed caption configuration parameters - Adjusted HyperbolicAI temperature for more creative text generation - Bumped package version to 0.8.0 to reflect new features
- Refactor directory creation to support video-specific segmented and processed folders - Update `process_video` method to dynamically create directories based on video name - Modify file path generation to use video-specific subdirectories - Return video name and output directories in processing result
- Update version number in setup.py to reflect recent enhancements - Prepare for release with new video processing and configuration features
…aries - Replace captacity-clipify with captacity in requirements.txt - Remove SpeechRecognition and vosk dependencies from requirements.txt and setup.py - Add captacity package to setup.py requirements
- Replace 'captacity' with 'captacity-clipify' in requirements.txt and setup.py - Bump package version to 1.0.0 - Update import statement in video processor to use captacity_clipify module - Modify captacity function call to use new module name
- Enhance text processor to handle edge cases in segment timing extraction - Implement more robust text matching and timing validation in SmartTextProcessor - Update VideoCutter to skip segments with invalid timing information - Fix import in VideoProcessor to use correct captacity function - Bump package version to 1.0.1
- Introduce new VideoConverterStretch class for video aspect ratio conversion - Support multiple mobile-friendly ratios (1:1, 4:5, 9:16) - Update package version to 1.2.0 - Add VideoConverterStretch to package imports and __all__ lists
…ions - Add new parameters for font, word highlighting, and text processing - Update captacity-clipify dependency to version 0.3.2 - Bump package version to 1.3.0 - Introduce more flexible video processing configuration - Add optional initial prompt and local whisper usage control
- Remove NLTK-related imports and downloads from multiple files - Simplify keyword extraction and text processing methods - Update text processor to use custom stop words list - Remove unnecessary NLTK resource management code - Bump package version to 1.8.0 - Enhance AI provider configuration with optional max_tokens and temperature
- Implement OllamaProvider class for local AI inference - Support multiple Ollama models (llama2, mistral, codellama) - Add Ollama provider to get_ai_provider function - Implement response caching and retry mechanism - Bump package version to 1.9.0
- Integrate OllamaProvider into core AI providers - Update package version to 2.0.0 - Bump captacity-clipify dependency to version 0.3.3 - Expose OllamaProvider in package imports
- Add api_key parameter to OllamaProvider constructor - Include a note that the API key is ignored for local Ollama inference - Bump package version to 2.0.1
…mentation - Restructure README with detailed feature sections - Add badges and quick start guide - Include usage examples with advanced configuration - Expand project structure and configuration options - Improve readability and visual presentation - Add contributing guidelines and support information
- Reorganize package structure for better separation of concerns - Create dedicated modules for video, audio, and core processing - Add descriptive comments to clarify module purposes - Update README.md to reflect new project layout - Improve project organization and maintainability
…xamples - Resize and update Clipify logo - Modify download badges for installable app and server - Add code examples for new modules: * AudioExtractor * SpeechToText * VideoConverter * VideoConverterStretch * VideoCutter * SmartTextProcessor - Update project links and contact information - Improve documentation readability and visual presentation
- Replace generic 'latest' download links with version-specific URLs - Update badges for Clipify-Hub installable app and server executables - Ensure direct links point to the correct 3.3.0 release
- Standardize requirements.txt with pinned dependency versions - Update setup.py with matching dependency versions and bumped package version - Expand example.py with comprehensive usage demonstrations for Clipify modules - Add build and publish scripts for package management - Improve code structure and provide more detailed usage examples
- Create comprehensive example.py demonstrating Clipify module usage - Add MANIFEST.in for package distribution configuration - Update setup.py with package metadata and dependencies - Remove unnecessary __pycache__ files - Standardize project structure and configuration
- Include comprehensive VideoProcessor usage example - Demonstrate advanced captioning features - Update README with new module documentation - Bump package version to 2.1.2
- Update NumPy from version 1.24.3 to 1.26.4 - Increment package version from 2.1.2 to 2.1.4 in setup.py - Synchronize dependency versions in requirements.txt and setup.py
- Modify build script to use relative paths for build artifacts - Simplify build script directory references - Ensure consistent build process across different environments
- Update README.md with more descriptive module comments - Reorganize file structure with clearer module responsibilities - Add scripts directory for build and publish scripts - Enhance module descriptions to reflect current implementation - Improve overall project documentation and readability
- Implemented GoogleGeminiProvider class for interacting with the Gemini API. - Updated example.py to demonstrate usage with Google provider. - Added .env.save file for environment variable configuration. - Created gemini_pipeline.py for processing video highlights using Gemini. - Added clipify-gemini script for executing the pipeline.
- Implemented selection between Google Gemini and OpenAI for highlight extraction in the Gradio UI. - Updated README.md with new AI provider configuration details. - Enhanced run_pipeline function to validate API keys based on selected provider. - Added environment variable options for OpenAI API keys and models. - Introduced CI workflow for automated testing. - Added tests for the new AI provider functionality.
…ubtitle positioning
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Melhorias incluídas