Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
mediacurator is a Python command line tool to manage a media database.
The documentation is available on the following link
mediacurator is released on PyPi. Installation instructions are found on the GitHub page.
mediacurator <command> [options]
# Command options
mediacurator [list convert] [-del/--delete]
[-i/--inputs any 3gp asf avi divx dv f4v flv gif m2ts m4v mkv mov mp4 mpeg mpg mts ogm ogv rm swf ts vid vob webm wmv]
[-fl/--filters fferror old lowres hd 720p 1080p uhd mpeg mpeg4 x264 wmv3 wmv]
[-o/--outputs mkv/mp4 x265/av1]
[-p/--printop list formatted verbose]
[-d/--dirs "/mnt/media/" "/mnt/media2/"]
[-f/--files "file1.ext" "file2.ext"]
Available commands:
list
: List all videos with specified filters.convert
: Convert videos to specified formats.Options:
-del
or --delete
: Delete found results after successful operations. Use with caution.-i <input>
or --inputs <input>
: Specify input file formats (default: any
).-fl <filter>
or --filters <filter>
: Apply filters to the selection of videos.-o <output>
or --outputs <output>
: Specify output formats (default: mkv
, x265
).-p <print_option>
or --printop <print_option>
: Set print options (default: list
).-f <file>
or --files <file>
: Specify files to process.-d <directory>
or --dirs <directory>
: Specify directories to process.For multiple files or filenames, use space-separated values ( ).
Default options (if not specified):
-i/--inputs
: any
-fl/--filters
: (none)-o/--outputs
: mkv
, x265
-p/--printop
: list
# List all videos with old codecs in formatted output
mediacurator list --filters old --printop formatted --dirs "/mnt/media/" "/mnt/media2/" >> ../medlist.txt
# Convert all MPEG4 videos to AV1 in MP4 format, and delete originals after conversion
mediacurator convert --delete --filters mpeg4 --outputs av1 mp4 --dirs "/mnt/media/" "/mnt/media2/"
# Convert videos with AVI or MPG extensions, print formatted and verbose output, and delete originals
mediacurator convert --delete --inputs avi mpg --printop formatted verbose --dirs "/mnt/media/" "/mnt/media2/"
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
FAQs
mediacurator is a Python command line tool to manage a media database.
We found that mediacurator demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.