| FFMPEG :: Command FFMPEG :: Command is een wrapper-klasse voor FFMPEG-opdrachtregelprogramma. |
Download nu |
FFMPEG :: Command Rangschikking & Samenvatting
- Vergunning:
- Perl Artistic License
- Naam uitgever:
- Gosuke Miyashita
- Uitgever website:
- http://search.cpan.org/~mizzy/FFmpeg-Command-0.06/lib/FFmpeg/Command.pm
FFMPEG :: Command Tags
FFMPEG :: Command Beschrijving
FFMPEG :: Command is een wikkelklasse voor FFMPEG-opdrachtregelhulpprogramma. FFMPEG :: opdracht is een wrapper-klasse voor FFMPEG-opdrachtregelhulpprogramma.Synopsis Gebruik FFMPEG :: commando; Mijn $ FFMPEG = FFMPEG :: Command-> Nieuw ('/ usr / local / bin / ffmpeg'); $ FFMPEG-> INPUNT_OPTIONS ({Bestand => $ Input_File,}); # Converteer een videobestand in iPod-afspeelbaar formaat. $ ffmpeg-> output_options ({bestand => $ output_file, apparaat => 'iPod',}); mijn $ resultaat = $ ffmpeg-> exec (); croak $ ffmpeg-> errstr tenzij $ resultaat; # Dit is hetzelfde als hierboven. $ FFMPEG-> Output_options ({file => $ output_file, formaat => 'mp4', video_codec => 'MPEG4', bitrate => 600, frame_size => '320x240', audio_codec => 'AAC', audio_sampling_rate => 48000 , audio_bit_rate => 64,}); $ ffmpeg-> exec (); # Converteer een videobestand naar PSP-afspeelbaar formaat. $ FFMPEG-> Output_options ({bestand => $ output_file, apparaat => 'PSP',}); $ ffmpeg-> exec (); # Dit is hetzelfde als hierboven. $ FFMPEG-> Output_options ({Bestand => $ output_file, formaat => 'PSP', Video_codec => 'MPEG4', bitrate => 600, frame_size => '320x240', audio_codec => 'AAC', audio_sampling_rate => 48000 , audio_bit_rate => 64,}); $ ffmpeg-> exec (); # Voer ffmpeg uit met alle opties die je leuk vindt. # Deze voorbeeldcode duurt een scencens. $ ffmpeg-> ingang_file ($ ingang_file); $ ffmpeg-> output_file ($ output_file); $ FFMPEG-> Opties ('-y', '-f' => 'image2', '-pix_fmt' => 'jpg', '-vframes' => 1, '-SS' => 30, ' '=>' 320x240 ',' -AN ',); $ ffmeg-> exec (); Vereisten: · Perl
FFMPEG :: Command Gerelateerde software