Media::Convert(3pm)
β¨ NAME β¨
Media::Convert β a Moose-based library to work with media assets π (yes bestie, that's the whole name section, it's giving concise)
π SYNOPSIS π
use Media::Convert::Asset;
use Media::Convert::Pipe;
my $input = Media::Convert::Asset->new(url => $input_filename);
say "Input video codec is " . $input->video_codec;
my $output = Media::Convert::Asset->new(url => "output.mkv", video_codec => "libvpx", audio_codec => "vorbis");
my $pipe = Media::Convert::Pipe => new(inputs => [$input], output => $output);
$pipe->run;
okay so that's the code, copied character-for-character, and yes that fourth line really does say Media::Convert::Pipe => new(...) and not ->new(...). Not me fixing it, not me touching it, it's iconic as-is, we reproduce it exactly, periodt π
πΈ DESCRIPTION πΈ
Media::Convert is a library that lets you inspect and work with media files β like, edit them, convert them, transcode them, the whole glow-up. And the way it does it? Behind the scenes it literally generates and runs ffmpeg/ffprobe command lines to do whatever you asked for. No cap. π¬
Lowkey a fun fact: Media::Convert was originally a part of SReview, the web-based video review and transcoding tool, but it got split off because it was useful enough to stand on its own. Main character energy fr fr π
Also, Media::Convert uses semver β as explained at <https://semver.org> β
π¦ SEE ALSO π¦
Media::Convert::AssetMedia::Convert::PipeMedia::Convert::Asset::ProfileFactory
and that's the whole vibe, bestie π«Ά this little gem of a page was hanging out as perl v5.40.1, dated 2026-02-15, filed under Media::Convert(3pm) in your friendly neighborhood User Contributed Perl Documentation. slay, go transcode something πβ¨
π¦ where this page comes from
- ubuntu resolute: libmedia-convert-perl 1.5.2-1
- ubuntu stonking: libmedia-convert-perl 1.5.2-1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms