FFMPEG :: Command.

التحميل الان

FFMPEG :: Command. الترتيب والملخص

الإعلانات

  • Rating:
  • رخصة:
  • Perl Artistic License
  • السعر:
  • FREE
  • اسم الناشر:
  • Gosuke Miyashita
  • موقع ويب الناشر:
  • http://search.cpan.org/~mizzy/FFmpeg-Command-0.06/lib/FFmpeg/Command.pm

FFMPEG :: Command. العلامات


FFMPEG :: Command. وصف

FFMPEG :: Command هو فئة مجمع للأداة المساعدة لسطر الأوامر FFMPEG. FFMPEG :: Command عبارة عن فئة مجمع لخط أوامر FFMPEG Utility.Synopsis استخدم FFMPEG :: بلدي $ ffmpeg = ffmpeg :: command-> جديد ('/ usr / local / bin / ffmpeg')؛ $ ffmpeg-> Input_Options ({file => $ input_file،})؛ # تحويل ملف الفيديو إلى تنسيق iPod القابل للتشغيل. $ FFMPEG-> Output_Options ({file => $ utom_file، device => 'iPod'،})؛ بلدي نتيجة $ = $ ffmpeg-> exec ()؛ CROAK $ FFMPEG-> Errstr ما لم نتيجة $؛ # هذا هو نفسه كما هو مذكور أعلاه. $ ffmpeg-> produx_options ({file => $ utom_file، format => 'mp4'، video_codec => 'mpeg4'، bitrate => 600، frame_size => '320x240'، audio_codec => 'AAC'، Audio_sampling_rate => 48000 ، Audio_bit_rate => 64،})؛ $ ffmpeg-> exec ()؛ # تحويل ملف فيديو إلى تنسيق قابل للتشغيل PSP. $ FFMPEG-> Output_Options ({file => $ utom_file، device => 'psp'،})؛ $ ffmpeg-> exec ()؛ # هذا هو نفسه كما هو مذكور أعلاه. $ ffmpeg-> produx_options ({file => $ utomine_file، format => 'psp'، video_codec => 'mpeg4'، bitrate => 600، frame_size => '320x240'، audio_codec => 'AAC'، Audio_sampling_rate => 48000 ، Audio_bit_rate => 64،})؛ $ ffmpeg-> exec ()؛ # تنفيذ FFMPEG مع أي خيارات تريدها. # هذا العينة يأخذ رمز screnn. $ ffmpeg-> input_file ($ input_file)؛ $ ffmpeg-> outworged_file ($ خرج_file)؛ $ FFMPEG-> خيارات ('-Y'، '-f' => 'image2'، '-pix_fmt' => 'jpg'، '-vframes' => 1،'ss '=> 30،' -s '=>' 320x240 '،' -an '،)؛ $ ffmeg-> exec ()؛ متطلبات: perl.


FFMPEG :: Command. برامج ذات صلة