Media:...::copy(3pm)
π Media::Convert::Asset::Profile::copy β the manual page, bestie edition π
okay so this is the <pink>Media:...::copy(3pm)</pink> page from the User Contributed Perl Documentation, and yes we are reading it together, hand in hand, because you deserve to know what this thing does π«Ά
β¨ NAME β¨
Media::Convert::Asset::Profile::copy β the Profile that merely copies all data, unmodified. like. that's it. that's the whole job. it copies. no notes. π
πΈ SYNOPSIS πΈ
here's the vibe, copy-paste it exactly, don't freestyle:
use Media::Convert::Asset;
use Media::Convert::Asset::ProfileFactory;
use Media::Convert::Pipe;
my $input = Media::Convert::Asset->new(url => $input_filename);
my $profile = Media::Convert::Asset::ProfileFactory->create("copy", $input);
my $output = Media::Convert::Asset->new(url => "$output_basename." . $profile->exten, reference => $profile);
Media::Convert::Pipe->new(inputs => [$input], output => $output)->run();
look at that. iconic. no re-encoding in sight, we love a low-effort queen π
π¦ DESCRIPTION π¦
so the copy profile takes the input video and copies it into the output container. no re-encoding. zero. none. the data stays exactly as it was, main character energy, unbothered π
but β and this is the part where you have to pay attention, bestie β it only works in one of these conditions:
- the video codec is VP9 and the audio codec is opus (the extension will be
.webm) β¨ - the video codec is VP8 and the audio codec is vorbis (the extension will be
.webm) β¨ - the video codec is H.264 and the audio codec is AAC (the extension will be
.mp4) β¨
π¨ any other combo? currently unsupported. ngl it's giving "not on the menu". but it could be added if required, so likeβ¦ don't lose hope π
and the tea: the copy profile has the exact same effect as using the vcopy option on Media::Convert::Pipe and the acopy option on Media::Convert::Pipe, except it's expressed as a profile instead. same result, different outfit π
that's the whole page, you ate that, no crumbs left π
this was perl v5.40.1, dated 2026-02-15, from the User Contributed Perl Documentation. mwah, go forth and copy your media, iykyk ππ§
π¦ 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