logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Media::Convert::Asset::Profile::av1 - Create an av1/vorbis video

Description

       The "av1" profile re-encodes the input video into AV1 with Vorbis audio.

perl v5.40.0                                       2024-12-22              Media::Convert...t::Profile::av1(3pm)

Name

       Media::Convert::Asset::Profile::av1 - Create an av1/vorbis video

Synopsis

         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("av1", $input);
         my $output = Media::Convert::Asset->new(url => "$output_basename." . $profile->exten, reference => $profile);
         Media::Convert::Pipe->new(inputs => [$input], output => $output)->run();

See Also