| ffmpeg :: command. ffmpeg :: commandは、ffmpegコマンドラインユーティリティのラッパークラスです。 |
今すぐダウンロード |
ffmpeg :: command. ランキングとまとめ
- ライセンス:
- Perl Artistic License
- 出版社のWebサイト:
- http://search.cpan.org/mizzy/FFmpeg-Command-0.06/lib/FFmpeg/Command.pm
ffmpeg :: command. タグ
ffmpeg :: command. 説明
ffmpeg :: commandは、ffmpegコマンドラインユーティリティのラッパークラスです。 ffmpeg :: commandはffmpegコマンドラインユーティリティのラッパークラスです..Synopsis ffmpeg :: commandを使用します。 My $ ffmpeg = ffmpeg :: command-> new( '/ usr / local / bin / ffmpeg'); $ ffmpeg-> input_options({file => $ input_file、}); #ビデオファイルをiPodの再生可能な形式に変換します。 $ ffmpeg-> output_options({file => $ output_file、device => 'ipod'、}); My $ result = $ ffmpeg-> exec(); $ ffmpeg-> resprest $ RESTRATを指定しない限り、CROAK $ FFMPEG-> ERRSTR。 #これは上記と同じです。 $ ffmpeg-> output_options({file => $ output_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 => $ output_file、device => 'psp'、})。 $ ffmpeg-> exec(); #これは上記と同じです。 $ ffmpeg-> output_options({file => $ output_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を実行してください。 #このサンプルコードはスクレンショットを取ります。 $ ffmpeg-> input_file($ input_file); $ ffmpeg-> output_file($ output_file); $ ffmpeg->オプション( '-y'、 '-f' => 'Image2'、 '-pix_fmt' => 'jpg'、 '-vframes' => 1、 '-ss' => 30、's '=>' 320x240 '、' -an '、); $ ffmeg-> exec();要件: ・Perl
ffmpeg :: command. 関連ソフトウェア