Convert a WMV file to MP4
Version : 1.0
File Name : wmv2mp4.ps1
Author : Adewale Azeez - iamthecarisma@gmail.com
Date : October-21-2022
Convert a WMV to MP4 using ffmpefg. Download ffmpeg from https://ffmpeg.org/download.html.
wmv2mp4 [-MediaPath] <String> [-OutputFolder <String>] [-Silent]
[<CommonParameters>]
The path to the WMV file to convert to mp4
attr |
value |
---|---|
Required? |
true |
Position? |
1 |
Default value |
|
Accept pipeline input? |
false |
Accept wildcard characters? |
false |
the folder to put generated reStructuredText
attr |
value |
---|---|
Required? |
false |
Position? |
named |
Default value |
./output |
Accept pipeline input? |
false |
Accept wildcard characters? |
false |
whether to print anything to the console
attr |
value |
---|---|
Required? |
false |
Position? |
named |
Default value |
False |
Accept pipeline input? |
false |
Accept wildcard characters? |
false |
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).
[System.String[]]
[System.String[]]
wmv2mp4 video.wmv
This will generates video.mp4 in the folder ./output relative to the working dir.
wmv2mp4 video.wmv C:/videos/
This will generates video.mp4 in the folder C:/videos/