Advertisement
MaxDjently

Ziggle Wump Media Compressor 0.2-beta.09.09.2024.changelog

Sep 8th, 2024
40
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.99 KB | Software | 0 0
  1. Here’s a changelog based on the comparison between the old and new versions of the script:
  2.  
  3. ### Ziggle Wump Media Compressor Changelog
  4.  
  5. **Version: 0.2-beta**
  6.  
  7. #### New Features:
  8. 1. **Audio Conversion Support**:
  9. - Added the ability to process common audio file formats (e.g., `mp3`, `wav`, `flac`, `aac`, `ogg`, `m4a`).
  10. - Audio files are now converted to `.opus` format with default FFmpeg settings using `libopus` codec.
  11.  
  12. 2. **Improved Video Conversion**:
  13. - Enhanced video encoding options by adding a default FFmpeg command for video processing. Now, all video files are converted to `.mkv` format using the `libx265` video codec and `libopus` for audio.
  14. - The new FFmpeg command also applies video filters for downscaling and frame rate adjustments while preserving video quality.
  15.  
  16. 3. **Custom FFmpeg Command-line Options**:
  17. - Users can override default video encoding options via the `-f` flag to customize FFmpeg settings. This allows more control over the conversion process, such as specifying codecs and audio formats.
  18.  
  19. 4. **Automatic Log Handling**:
  20. - Improved logging functionality by creating a log file at the start of every run. The script checks if a log file exists and deletes any old log files to ensure a fresh log is generated.
  21. - Added error detection by checking the log file for a "Killed" message, indicating when a process fails or gets terminated.
  22.  
  23. 5. **Directory Structure Preservation**:
  24. - The script maintains the original directory structure when saving converted audio and video files in the output folder (`/storage/shared/Movies/VideoConverted`).
  25.  
  26. 6. **Battery Saving Warning**:
  27. - Added a warning message about phone battery saving features (e.g., Galaxy S24), advising users to keep Termux in focus and the screen on during encoding to avoid incomplete files.
  28.  
  29. #### Improvements:
  30. 1. **User Prompts**:
  31. - The script now prompts the user to continue or quit before starting the encoding process, allowing them to review the files detected and decide whether to proceed.
  32.  
  33. 2. **Directory Setup**:
  34. - Automatically creates necessary directories (`VideoDrop`, `VideoProcessing`, and `VideoConverted`) if they don’t already exist, simplifying setup and execution.
  35.  
  36. 3. **Custom Resolution Scaling**:
  37. - The script allows users to specify a custom resolution for video conversion using the `-r` flag. It ensures that the aspect ratio is preserved when downscaling video files.
  38.  
  39. 4. **Log-friendly Outputs**:
  40. - Outputs important progress information and file paths to both the terminal and log file, making it easier to track the conversion process.
  41.  
  42. #### Bug Fixes:
  43. 1. **Handling Spaces in File Paths**:
  44. - Fixed an issue where the script previously failed to handle file paths with spaces, ensuring smooth processing of files in folders with such names.
  45.  
  46. #### Notes:
  47. - If the FFmpeg process is killed or fails, the script logs an error message and exits gracefully.
  48. - The user can pass custom FFmpeg options to fine-tune encoding settings as needed.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement