pacnpal
c144fb35ba
The video downloading issues have been resolved by implementing comprehensive error handling and resource management:
...
FFmpeg is now properly managed:
Binaries are downloaded and verified on startup
Permissions are properly set
Hardware acceleration is detected and used when available
Resources are cleaned up properly
Error handling has been improved:
Specific exception types for different errors
Better error messages and logging
Appropriate reaction indicators
Enhanced component error handling
Resource management has been enhanced:
Failed downloads are tracked and cleaned up
Temporary files are handled properly
Queue management is more robust
Concurrent downloads are better managed
Verification has been strengthened:
FFmpeg binaries are verified
Video files are validated
Compression results are checked
Component initialization is verified
2024-11-15 04:18:57 +00:00
pacnpal
46af1a31b7
Enhanced FFmpeg Integration:
...
Added robust error handling and logging
Improved binary verification and initialization
Added proper GPU detection and hardware acceleration
Optimized encoding parameters for different content types
Improved File Operations:
Added retry mechanisms for file operations
Enhanced temporary directory management
Improved cleanup of failed downloads
Added proper permission handling
Enhanced Queue Management:
Fixed queue manager initialization
Added better error recovery
Improved status tracking and logging
Enhanced cleanup of failed items
Better Error Handling:
Added comprehensive exception hierarchy
Improved error logging and reporting
Added fallback mechanisms for failures
Enhanced error recovery strategies
2024-11-15 03:48:56 +00:00
pacnpal
8503fc6fdd
Enhanced FFmpeg Integration:
...
Added robust error handling and logging
Improved binary verification and initialization
Added proper GPU detection and hardware acceleration
Optimized encoding parameters for different content types
Improved File Operations:
Added retry mechanisms for file operations
Enhanced temporary directory management
Improved cleanup of failed downloads
Added proper permission handling
Enhanced Queue Management:
Fixed queue manager initialization
Added better error recovery
Improved status tracking and logging
Enhanced cleanup of failed items
Better Error Handling:
Added comprehensive exception hierarchy
Improved error logging and reporting
Added fallback mechanisms for failures
Enhanced error recovery strategies
2024-11-15 03:21:25 +00:00
pacnpal
190e689919
Changed FFmpeg binary download location from /tmp/ffmpeg to videoarchiver/bin for better organization and persistence
2024-11-15 01:26:58 +00:00
pacnpal
f3d28231e8
fix imports
2024-11-14 23:45:36 +00:00
pacnpal
e094dbfdb6
fix imports
2024-11-14 23:12:21 +00:00
pacnpal
9beda06e34
fix: Update imports in ffmpeg_manager module
...
- Updated imports to use full package paths consistently
- Ensured all imports use videoarchiver.ffmpeg namespace
2024-11-14 22:33:47 +00:00
pacnpal
5454630591
refactor: Split FFmpeg manager into modular components
...
- Created ffmpeg package with specialized modules
- Improved Docker compatibility using /tmp
- Better permission handling
- More robust error handling
- Separated concerns for easier maintenance
- Simplified imports through __init__.py
2024-11-14 22:26:32 +00:00