Skip to content

genXdev/GenXdev.Media

Repository files navigation


GenXdev


NAME

GenXdev.Media

SYNOPSIS

A Windows PowerShell module that helps with converting media files like pictures and video files

GenXdev.Media License

APACHE 2.0 License

Copyright (c) 2025 René Vaessen / GenXdev

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

     http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

FEATURES

DEPENDENCIES

WinOS - Windows-10 or later GenXdev.Data GenXdev.Helpers GenXdev.Webbrowser GenXdev.Queries GenXdev.Console GenXdev.FileSystem

INSTALLATION

Install-Module "GenXdev.Media"
Import-Module "GenXdev.Media"

UPDATE

Update-Module




Cmdlet Index

GenXdev.Media.ytdlp

Command Aliases Description
EnsureYtdlp   Ensures yt-dlp is installed and available in the default WSL image.
Invoke-YTDlpSaveVideo savevideo Downloads a video from a specified URL using yt-dlp and saves metadata.




Cmdlets

 


GenXdev.Media.ytdlp

EnsureYtdlp

   EnsureYtDlp  

SYNTAX

EnsureYtDlp [-WhatIf] [-Confirm] [<CommonParameters>] 

PARAMETERS

-Confirm  
    Required?                    false  
    Position?                    Named  
    Accept pipeline input?       false  
    Parameter set name           (All)  
    Aliases                      cf  
    Dynamic?                     false  
    Accept wildcard characters?  false  
-WhatIf  
    Required?                    false  
    Position?                    Named  
    Accept pipeline input?       false  
    Parameter set name           (All)  
    Aliases                      wi  
    Dynamic?                     false  
    Accept wildcard characters?  false  
<CommonParameters>  
    This cmdlet supports the common parameters: Verbose, Debug,  
    ErrorAction, ErrorVariable, WarningAction, WarningVariable,  
    OutBuffer, PipelineVariable, and OutVariable. For more information, see  
    about_CommonParameters     (https://go.microsoft.com/fwlink/?LinkID=113216).   




Invoke-YTDlpSaveVideo

   Invoke-YTDlpSaveVideo                --> savevideo  

SYNTAX

Invoke-YTDlpSaveVideo [-Url] <string> [-OutputFileName
    <string>] [<CommonParameters>] 

PARAMETERS

-OutputFileName <string>  
    Output filename or template  
    Required?                    false  
    Position?                    Named  
    Accept pipeline input?       false  
    Parameter set name           (All)  
    Aliases                      None  
    Dynamic?                     false  
    Accept wildcard characters?  false  
-Url <string>  
    The video URL to download  
    Required?                    true  
    Position?                    0  
    Accept pipeline input?       true (ByValue, ByPropertyName)  
    Parameter set name           (All)  
    Aliases                      None  
    Dynamic?                     false  
    Accept wildcard characters?  false  
<CommonParameters>  
    This cmdlet supports the common parameters: Verbose, Debug,  
    ErrorAction, ErrorVariable, WarningAction, WarningVariable,  
    OutBuffer, PipelineVariable, and OutVariable. For more information, see  
    about_CommonParameters     (https://go.microsoft.com/fwlink/?LinkID=113216).   




EnsureYtdlp

   EnsureYtDlp  

SYNTAX

EnsureYtDlp [-WhatIf] [-Confirm] [<CommonParameters>] 

PARAMETERS

-Confirm  
    Required?                    false  
    Position?                    Named  
    Accept pipeline input?       false  
    Parameter set name           (All)  
    Aliases                      cf  
    Dynamic?                     false  
    Accept wildcard characters?  false  
-WhatIf  
    Required?                    false  
    Position?                    Named  
    Accept pipeline input?       false  
    Parameter set name           (All)  
    Aliases                      wi  
    Dynamic?                     false  
    Accept wildcard characters?  false  
<CommonParameters>  
    This cmdlet supports the common parameters: Verbose, Debug,  
    ErrorAction, ErrorVariable, WarningAction, WarningVariable,  
    OutBuffer, PipelineVariable, and OutVariable. For more information, see  
    about_CommonParameters     (https://go.microsoft.com/fwlink/?LinkID=113216).   




Invoke-YTDlpSaveVideo

   Invoke-YTDlpSaveVideo                --> savevideo  

SYNTAX

Invoke-YTDlpSaveVideo [-Url] <string> [-OutputFileName
    <string>] [<CommonParameters>] 

PARAMETERS

-OutputFileName <string>  
    Output filename or template  
    Required?                    false  
    Position?                    Named  
    Accept pipeline input?       false  
    Parameter set name           (All)  
    Aliases                      None  
    Dynamic?                     false  
    Accept wildcard characters?  false  
-Url <string>  
    The video URL to download  
    Required?                    true  
    Position?                    0  
    Accept pipeline input?       true (ByValue, ByPropertyName)  
    Parameter set name           (All)  
    Aliases                      None  
    Dynamic?                     false  
    Accept wildcard characters?  false  
<CommonParameters>  
    This cmdlet supports the common parameters: Verbose, Debug,  
    ErrorAction, ErrorVariable, WarningAction, WarningVariable,  
    OutBuffer, PipelineVariable, and OutVariable. For more information, see  
    about_CommonParameters     (https://go.microsoft.com/fwlink/?LinkID=113216).   




EnsureYtdlp

   EnsureYtDlp  

SYNTAX

EnsureYtDlp [-WhatIf] [-Confirm] [<CommonParameters>] 

PARAMETERS

-Confirm  
    Required?                    false  
    Position?                    Named  
    Accept pipeline input?       false  
    Parameter set name           (All)  
    Aliases                      cf  
    Dynamic?                     false  
    Accept wildcard characters?  false  
-WhatIf  
    Required?                    false  
    Position?                    Named  
    Accept pipeline input?       false  
    Parameter set name           (All)  
    Aliases                      wi  
    Dynamic?                     false  
    Accept wildcard characters?  false  
<CommonParameters>  
    This cmdlet supports the common parameters: Verbose, Debug,  
    ErrorAction, ErrorVariable, WarningAction, WarningVariable,  
    OutBuffer, PipelineVariable, and OutVariable. For more information, see  
    about_CommonParameters     (https://go.microsoft.com/fwlink/?LinkID=113216).   




Invoke-YTDlpSaveVideo

   Invoke-YTDlpSaveVideo                --> savevideo  

SYNTAX

Invoke-YTDlpSaveVideo [-Url] <string> [-OutputFileName
    <string>] [<CommonParameters>] 

PARAMETERS

-OutputFileName <string>  
    Output filename or template  
    Required?                    false  
    Position?                    Named  
    Accept pipeline input?       false  
    Parameter set name           (All)  
    Aliases                      None  
    Dynamic?                     false  
    Accept wildcard characters?  false  
-Url <string>  
    The video URL to download  
    Required?                    true  
    Position?                    0  
    Accept pipeline input?       true (ByValue, ByPropertyName)  
    Parameter set name           (All)  
    Aliases                      None  
    Dynamic?                     false  
    Accept wildcard characters?  false  
<CommonParameters>  
    This cmdlet supports the common parameters: Verbose, Debug,  
    ErrorAction, ErrorVariable, WarningAction, WarningVariable,  
    OutBuffer, PipelineVariable, and OutVariable. For more information, see  
    about_CommonParameters     (https://go.microsoft.com/fwlink/?LinkID=113216).   




About

A Windows PowerShell module that helps with converting media files like pictures and video files.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published