Media::Convert(3pm)

πŸ“¦
version 1.5.2 Β· 4 versions
, in ubuntu resolute, ubuntu stonking

✨ 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::Asset
  • Media::Convert::Pipe
  • Media::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