Use cases¶
The main reasons to use MediaCurator would be the following:
- Print information on a video library such as:
How many videos of the lot are in HD vs standard or substandard definitions
What videos are in older codecs
Are there videos in the library with encoding or corruption errors
Purge selected videos in a media library
Batch repair encoding errors on selected videos in a media library
Batch re-encode videos from an old codec to High Efficiency Video Coding
Print information¶
List all videos with old codec in formated format
mediacurator list -filters:old -dirs:/mnt/media/
List all videos with substandard definitions with a formated output
mediacurator list -filters:subsd -print:formated -dirs:/mnt/media/
Purge¶
Please see Warnings
List and delete all videos using the Windows Media Video codecs
mediacurator list -del -filters:wmv -dirs:/mnt/media/
List and delete all videos using an Audio Video Interleave
mediacurator list -del -in:avi -dirs:/mnt/media/
List and delete any videos with encoding errors
mediacurator list -del -filters:fferror -dirs:/mnt/media/
Batch repair encoding errors¶
List all videos with encoding errors
mediacurator list -filters:fferror -dirs:/mnt/media/
List and delete any videos with encoding errors
mediacurator list -del -filters:fferror -dirs:/mnt/media/
Convert all videos with encoding errors to High Efficiency Video Coding and the delete the originals
mediacurator convert -del -filters:fferror -dirs:"/mnt/media/Movies/"
Batch re-encode¶
Convert all videos with old codecs to High Efficiency Video Coding to save space and delete the originals
mediacurator convert -del -filters:old -dirs:"/mnt/media/Movies/"
Convert all videos with the codec mpeg4 to an mkv container using the av1 video codec
mediacurator convert -filters:mpeg4 -out:av1,mkv -dirs:"/mnt/media/Movies/"
Convert any video with avi or mpg extensions, print formated text including ffmpeg’s output and then delete the originals
mediacurator convert -del -in:avi,mpg -print:formated,verbose -dirs:/mnt/media/