Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sayyid5416/little-python-projects
Small useful python scripts
https://github.com/sayyid5416/little-python-projects
Last synced: 2 months ago
JSON representation
Small useful python scripts
- Host: GitHub
- URL: https://github.com/sayyid5416/little-python-projects
- Owner: sayyid5416
- Created: 2021-04-13T07:52:16.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-04-14T11:16:57.000Z (9 months ago)
- Last Synced: 2024-04-15T10:32:15.837Z (9 months ago)
- Language: Python
- Homepage:
- Size: 25.4 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# [Lines Calculator](/python-scripts/lines-calculator.py)
- Calculate number of lines in **all files of a folder**.
- Files in **sub-folders** will also be analysed.
- You can also specify the **file types**, like `txt` or `py`.
- Leave empty to specify all files.# [Davinci Resolve Video metadata fix](/python-scripts/video-metadata-fix.py)
- Fixes 'unable to preview' for YT Shorts _([Discussion](https://forum.blackmagicdesign.com/viewtopic.php?f=21&t=165402))_
- Requirements:
- FFMPEG must be in the windows 'Path' environment variables
- Python must be installed
- Install generalpy library: `pip install generalpy`
- How to use:
- Open this `video metadata fix.py` file after downloading and set `video_path` according to your need. _(Also don't forget to change your video name accordingly while rendering)_
- Copy this file to your Fusion Scripts directory. _(For windows it is: `C:\Program Files\Blackmagic Design\DaVinci Resolve\Fusion\Scripts\Deliver`)_
- In your Deliver settings in Davinci resolve, Enable `Advanced Settings > Trigger script at end of render job`, and choose `video metadata fix` from `script` dropdown.
- Render your video, a new video will be placed in the same folder as your rendered video.# [Subtitle fixer](/python-scripts/subtitle_fixer.py)
- Modify subtitles `.srt` file to remove clutter.
- Current modifications
- Remove any `-` from starting of subtitle.
- Remove any subtitle which contains bracketed (`()`, `{}`, `[]`) items. Ex: _[Music]_, _(explosion)_ etc# [File type finder](/python-scripts/file_type_finder.py)
- Show a list of all files of specific type *(for ex: .py, .exe etc)*
- All files from folder and all of its subfolders would be searched