Media:...::copy(3pm)

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

πŸ’– 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