Recommend this page to a friend! |
PHP Video Toolkit | > | All threads | > | example01 is not working | > | (Un) Subscribe thread alerts |
|
kiran - 2008-06-06 11:53:24
Hello,
I have downloaded this code from google code as well as from php classes site as well but any of them not seem to be working for me. I have installed all the required module and library but still it doesn’t seem to be working fine. I have tried converting videos from command line and it works properly however this software is not working. Here is the output I have received after running the file example10.php Processing MOV00007.3gp Warning: unlink(/usr/local/apache2/htdocs/phpvideotoolkit1/examples/tmp/1212752483-484922630a00e-multipass-0.log) [function.unlink]: No such file or directory in /usr/local/apache2/htdocs/phpvideotoolkit1/phpvideotoolkit.php5.php on line 2597 FFMPEG ERROR: Execute error. Output for file "/usr/local/apache2/htdocs/phpvideotoolkit1/examples/to-be-processed/MOV00007.3gp" was not found. Please check server write permissions and/or available codecs compiled with FFmpeg. You can check the encode decode availability by inspecting the output array from PHPVideoToolkit::getFFmpegInfo(). Processing Video000.3gp Warning: unlink(/usr/local/apache2/htdocs/phpvideotoolkit1/examples/tmp/1212752483-4849226318676-multipass-0.log) [function.unlink]: No such file or directory in /usr/local/apache2/htdocs/phpvideotoolkit1/phpvideotoolkit.php5.php on line 2597 FFMPEG ERROR: Execute error. Output for file "/usr/local/apache2/htdocs/phpvideotoolkit1/examples/to-be-processed/Video000.3gp" was not found. Please check server write permissions and/or available codecs compiled with FFmpeg. You can check the encode decode availability by inspecting the output array from PHPVideoToolkit::getFFmpegInfo(). Processing cat.mpeg Warning: unlink(/usr/local/apache2/htdocs/phpvideotoolkit1/examples/tmp/1212752483-4849226325d45-multipass-0.log) [function.unlink]: No such file or directory in /usr/local/apache2/htdocs/phpvideotoolkit1/phpvideotoolkit.php5.php on line 2597 FFMPEG ERROR: Execute error. Output for file "/usr/local/apache2/htdocs/phpvideotoolkit1/examples/to-be-processed/cat.mpeg" was not found. Please check server write permissions and/or available codecs compiled with FFmpeg. You can check the encode decode availability by inspecting the output array from PHPVideoToolkit::getFFmpegInfo(). The total time taken to process all 3 file(s) is : 0 The average time taken to process each file is : 0 ****************************************** I am pasting the output for file example09.php as well for you to review This example shows you how to access the information about your ffmpeg installation. FFmpeg-PHP Support Congratulations you have the FFmpeg-PHP module installed. This is the information that is accessible about your install of FFmpeg. Array ( [compiler] => Array ( [configuration] => Array ( [0] => --enable-libmp3lame [1] => --enable-libvorbis [2] => --enable-libamr-nb [3] => --enable-libamr-wb [4] => --enable-gpl [5] => --enable-shared [6] => --enable-nonfree ) [vhook-support] => [versions] => Array ( [libavutil] => 49.7.0 [libavcodec] => 51.57.2 [libavformat] => 52.14.0 [libavdevice] => 52.0.0 ) [gcc] => 3.4.6 20060404 (Red Hat 3.4.6-9) [build_date] => Jun 5 2008 18:14:46 [build_date_timestamp] => 1212669886 ) [formats] => Array ( [3gp] => Array ( [encode] => 1 [decode] => [fullname] => 3GP format ) [4xm] => Array ( [encode] => [decode] => 1 [fullname] => 4X Technologies format ) [iff] => Array ( [encode] => [decode] => 1 [fullname] => IFF format ) [mtv] => Array ( [encode] => [decode] => 1 [fullname] => MTV format ) [roq] => Array ( [encode] => 1 [decode] => 1 [fullname] => Id RoQ format ) [aac] => Array ( [encode] => [decode] => 1 [fullname] => ADTS AAC ) [ac3] => Array ( [encode] => 1 [decode] => 1 [fullname] => raw AC-3 ) [adts] => Array ( [encode] => 1 [decode] => [fullname] => ADTS AAC ) [aiff] => Array ( [encode] => 1 [decode] => 1 [fullname] => Audio IFF ) [alaw] => Array ( [encode] => 1 [decode] => 1 [fullname] => pcm A law format ) [amr] => Array ( [encode] => 1 [decode] => 1 [fullname] => 3GPP AMR file format ) [apc] => Array ( [encode] => [decode] => 1 [fullname] => CRYO APC format ) [ape] => Array ( [encode] => [decode] => 1 [fullname] => Monkey's Audio ) [asf] => Array ( [encode] => 1 [decode] => 1 [fullname] => ASF format ) [asf_stream] => Array ( [encode] => 1 [decode] => [fullname] => ASF format ) [au] => Array ( [encode] => 1 [decode] => 1 [fullname] => SUN AU format ) [avi] => Array ( [encode] => 1 [decode] => 1 [fullname] => AVI format ) [avm2] => Array ( [encode] => 1 [decode] => [fullname] => Flash 9 (AVM2) format ) [avs] => Array ( [encode] => [decode] => 1 [fullname] => AVS format ) [bethsoftvid] => Array ( [encode] => [decode] => 1 [fullname] => Bethesda Softworks VID format ) [bfi] => Array ( [encode] => [decode] => 1 [fullname] => Brute Force & Ignorance ) [c93] => Array ( [encode] => [decode] => 1 [fullname] => Interplay C93 ) [crc] => Array ( [encode] => 1 [decode] => [fullname] => CRC testing format ) [daud] => Array ( [encode] => [decode] => 1 [fullname] => D-Cinema audio format ) [dirac] => Array ( [encode] => 1 [decode] => 1 [fullname] => raw Dirac ) [dsicin] => Array ( [encode] => [decode] => 1 [fullname] => Delphine Software International CIN format ) [dts] => Array ( [encode] => 1 [decode] => 1 [fullname] => raw DTS ) [dv] => Array ( [encode] => 1 [decode] => 1 [fullname] => DV video format ) [dv1394] => Array ( [encode] => [decode] => 1 [fullname] => DV1394 A/V grab ) [dvd] => Array ( [encode] => 1 [decode] => [fullname] => MPEG-2 PS format (DVD VOB) ) [dxa] => Array ( [encode] => [decode] => 1 [fullname] => DXA ) [ea] => Array ( [encode] => [decode] => 1 [fullname] => Electronic Arts Multimedia Format ) [ea_cdata] => Array ( [encode] => [decode] => 1 [fullname] => Electronic Arts cdata ) [ffm] => Array ( [encode] => 1 [decode] => 1 [fullname] => ffm format ) [film_cpk] => Array ( [encode] => [decode] => 1 [fullname] => Sega FILM/CPK format ) [flac] => Array ( [encode] => 1 [decode] => 1 [fullname] => raw FLAC ) [flic] => Array ( [encode] => [decode] => 1 [fullname] => FLI/FLC/FLX animation format ) [flv] => Array ( [encode] => 1 [decode] => 1 [fullname] => FLV format ) [framecrc] => Array ( [encode] => 1 [decode] => [fullname] => framecrc testing format ) [gif] => Array ( [encode] => 1 [decode] => 1 [fullname] => GIF Animation ) [gsm] => Array ( [encode] => [decode] => 1 [fullname] => GSM ) [gxf] => Array ( [encode] => 1 [decode] => 1 [fullname] => GXF format ) [h261] => Array ( [encode] => 1 [decode] => 1 [fullname] => raw H.261 ) [h263] => Array ( [encode] => 1 [decode] => 1 [fullname] => raw H.263 ) [h264] => Array ( [encode] => 1 [decode] => 1 [fullname] => raw H.264 video format ) [idcin] => Array ( [encode] => [decode] => 1 [fullname] => Id CIN format ) [image2] => Array ( [encode] => 1 [decode] => 1 [fullname] => image2 sequence ) [image2pipe] => Array ( [encode] => 1 [decode] => 1 [fullname] => piped image2 sequence ) [ingenient] => Array ( [encode] => [decode] => 1 [fullname] => Ingenient MJPEG ) [ipmovie] => Array ( [encode] => [decode] => 1 [fullname] => Interplay MVE format ) [ipod] => Array ( [encode] => 1 [decode] => [fullname] => iPod H.264 MP4 format ) [lmlm4] => Array ( [encode] => [decode] => 1 [fullname] => lmlm4 raw format ) [m4v] => Array ( [encode] => 1 [decode] => 1 [fullname] => raw MPEG-4 video format ) [matroska] => Array ( [encode] => 1 [decode] => 1 [fullname] => Matroska file format ) [mjpeg] => Array ( [encode] => 1 [decode] => 1 [fullname] => MJPEG video ) [mlp] => Array ( [encode] => [decode] => 1 [fullname] => raw MLP ) [mm] => Array ( [encode] => [decode] => 1 [fullname] => American Laser Games MM format ) [mmf] => Array ( [encode] => 1 [decode] => 1 [fullname] => mmf format ) [mov] => Array ( [encode] => 1 [decode] => [fullname] => MOV format ) [mp2] => Array ( [encode] => 1 [decode] => [fullname] => MPEG audio layer 2 ) [mp3] => Array ( [encode] => 1 [decode] => 1 [fullname] => MPEG audio layer 3 ) [mp4] => Array ( [encode] => 1 [decode] => [fullname] => MP4 format ) [mpc] => Array ( [encode] => [decode] => 1 [fullname] => Musepack ) [mpc8] => Array ( [encode] => [decode] => 1 [fullname] => Musepack SV8 ) [mpeg] => Array ( [encode] => 1 [decode] => 1 [fullname] => MPEG-1 System format ) [mpeg1video] => Array ( [encode] => 1 [decode] => [fullname] => MPEG video ) [mpeg2video] => Array ( [encode] => 1 [decode] => [fullname] => MPEG-2 video ) [mpegts] => Array ( [encode] => 1 [decode] => 1 [fullname] => MPEG-2 transport stream format ) [mpegtsraw] => Array ( [encode] => [decode] => 1 [fullname] => MPEG-2 raw transport stream format ) [mpegvideo] => Array ( [encode] => [decode] => 1 [fullname] => MPEG video ) [mpjpeg] => Array ( [encode] => 1 [decode] => [fullname] => Mime multipart JPEG format ) [msnwctcp] => Array ( [encode] => [decode] => 1 [fullname] => MSN TCP Webcam stream ) [mulaw] => Array ( [encode] => 1 [decode] => 1 [fullname] => pcm mu law format ) [mxf] => Array ( [encode] => [decode] => 1 [fullname] => MXF format ) [nsv] => Array ( [encode] => [decode] => 1 [fullname] => NullSoft Video format ) [null] => Array ( [encode] => 1 [decode] => [fullname] => null video format ) [nut] => Array ( [encode] => 1 [decode] => 1 [fullname] => NUT format ) [nuv] => Array ( [encode] => [decode] => 1 [fullname] => NuppelVideo format ) [ogg] => Array ( [encode] => 1 [decode] => 1 [fullname] => Ogg ) [oss] => Array ( [encode] => 1 [decode] => 1 [fullname] => audio grab and output ) [psp] => Array ( [encode] => 1 [decode] => [fullname] => PSP MP4 format ) [psxstr] => Array ( [encode] => [decode] => 1 [fullname] => Sony Playstation STR format ) [pva] => Array ( [encode] => [decode] => 1 [fullname] => TechnoTrend PVA file and stream format ) [rawvideo] => Array ( [encode] => 1 [decode] => 1 [fullname] => raw video format ) [redir] => Array ( [encode] => [decode] => 1 [fullname] => Redirector format ) [rl2] => Array ( [encode] => [decode] => 1 [fullname] => rl2 format ) [rm] => Array ( [encode] => 1 [decode] => 1 [fullname] => RM format ) [rpl] => Array ( [encode] => [decode] => 1 [fullname] => RPL/ARMovie format ) [rtp] => Array ( [encode] => 1 [decode] => [fullname] => RTP output format ) [rtsp] => Array ( [encode] => [decode] => 1 [fullname] => RTSP input format ) [s16be] => Array ( [encode] => 1 [decode] => 1 [fullname] => pcm signed 16 bit big endian format ) [s16le] => Array ( [encode] => 1 [decode] => 1 [fullname] => pcm signed 16 bit little endian format ) [s8] => Array ( [encode] => 1 [decode] => 1 [fullname] => pcm signed 8 bit format ) [sdp] => Array ( [encode] => [decode] => 1 [fullname] => SDP ) [shn] => Array ( [encode] => [decode] => 1 [fullname] => raw Shorten ) [siff] => Array ( [encode] => [decode] => 1 [fullname] => Beam Software SIFF ) [smk] => Array ( [encode] => [decode] => 1 [fullname] => Smacker video ) [sol] => Array ( [encode] => [decode] => 1 [fullname] => Sierra SOL format ) [svcd] => Array ( [encode] => 1 [decode] => [fullname] => MPEG-2 PS format (VOB) ) [swf] => Array ( [encode] => 1 [decode] => 1 [fullname] => Flash format ) [thp] => Array ( [encode] => [decode] => 1 [fullname] => THP ) [tiertexseq] => Array ( [encode] => [decode] => 1 [fullname] => Tiertex Limited SEQ format ) [tta] => Array ( [encode] => [decode] => 1 [fullname] => True Audio ) [txd] => Array ( [encode] => [decode] => 1 [fullname] => txd format ) [u16be] => Array ( [encode] => 1 [decode] => 1 [fullname] => pcm unsigned 16 bit big endian format ) [u16le] => Array ( [encode] => 1 [decode] => 1 [fullname] => pcm unsigned 16 bit little endian format ) [u8] => Array ( [encode] => 1 [decode] => 1 [fullname] => pcm unsigned 8 bit format ) [vc1] => Array ( [encode] => [decode] => 1 [fullname] => raw VC-1 ) [vc1test] => Array ( [encode] => [decode] => 1 [fullname] => VC-1 test bitstream format ) [vcd] => Array ( [encode] => 1 [decode] => [fullname] => MPEG-1 System format (VCD) ) [video4linux] => Array ( [encode] => [decode] => 1 [fullname] => video grab ) [video4linux2] => Array ( [encode] => [decode] => 1 [fullname] => video grab ) [vmd] => Array ( [encode] => [decode] => 1 [fullname] => Sierra VMD format ) [vob] => Array ( [encode] => 1 [decode] => [fullname] => MPEG-2 PS format (VOB) ) [voc] => Array ( [encode] => 1 [decode] => 1 [fullname] => Creative Voice file format ) [wav] => Array ( [encode] => 1 [decode] => 1 [fullname] => WAV format ) [wc3movie] => Array ( [encode] => [decode] => 1 [fullname] => Wing Commander III movie format ) [wsaud] => Array ( [encode] => [decode] => 1 [fullname] => Westwood Studios audio format ) [wsvqa] => Array ( [encode] => [decode] => 1 [fullname] => Westwood Studios VQA format ) [wv] => Array ( [encode] => [decode] => 1 [fullname] => WavPack ) [xa] => Array ( [encode] => [decode] => 1 [fullname] => Maxis XA File Format ) [yuv4mpegpipe] => Array ( [encode] => 1 [decode] => 1 [fullname] => YUV4MPEG pipe format ) ) [filters] => Array ( ) [abbreviations] => Array ( ) [ffmpeg-php-support] => module ) Please tell me where I am wrong. I have checked the folder permissions as well and it is 777 for directories tmp, log and processed. Please help
Oliver Lillie - 2008-06-06 12:09:12 - In reply to message 1 from kiran
change
const FORMAT_MP3 = 'mp3'; to const FORMAT_MP3 = 'libmp3lame';
kiran - 2008-06-06 12:58:50 - In reply to message 2 from Oliver Lillie
Thanks you very much.
It worked :)
Liam Egan - 2008-08-12 10:10:24 - In reply to message 3 from kiran
Same issue here, tried the above suggestion as well as the suggestion mentioned else where (changing all instances of libmp3lame to mp3) without any luck.
config output as follows: Array ( [compiler] => Array ( [configuration] => Array ( [0] => --enable-libmp3lame [1] => --enable-libvorbis [2] => --disable-mmx [3] => --enable-shared ) [vhook-support] => [versions] => Array ( [libavutil] => 49.8.0 [libavcodec] => 51.64.0 [libavformat] => 52.20.0 [libavdevice] => 52.1.0 ) [gcc] => 4.1.1 20061011 (Red Hat 4.1.1-30) [build_date] => Aug 12 2008 20:22:33 [build_date_timestamp] => 1218536553 ) [formats] => Array ( [3gp] => Array ( [encode] => 1 [decode] => [fullname] => 3GP format ) [4xm] => Array ( [encode] => [decode] => 1 [fullname] => 4X Technologies format ) [iff] => Array ( [encode] => [decode] => 1 [fullname] => IFF format ) [mtv] => Array ( [encode] => [decode] => 1 [fullname] => MTV format ) [roq] => Array ( [encode] => 1 [decode] => 1 [fullname] => id RoQ format ) [aac] => Array ( [encode] => [decode] => 1 [fullname] => ADTS AAC ) [ac3] => Array ( [encode] => 1 [decode] => 1 [fullname] => raw AC-3 ) [adts] => Array ( [encode] => 1 [decode] => [fullname] => ADTS AAC ) [aiff] => Array ( [encode] => 1 [decode] => 1 [fullname] => Audio IFF ) [alaw] => Array ( [encode] => 1 [decode] => 1 [fullname] => PCM A-law format ) [amr] => Array ( [encode] => 1 [decode] => 1 [fullname] => 3GPP AMR file format ) [apc] => Array ( [encode] => [decode] => 1 [fullname] => CRYO APC format ) [ape] => Array ( [encode] => [decode] => 1 [fullname] => Monkey's Audio ) [asf] => Array ( [encode] => 1 [decode] => 1 [fullname] => ASF format ) [asf_stream] => Array ( [encode] => 1 [decode] => [fullname] => ASF format ) [au] => Array ( [encode] => 1 [decode] => 1 [fullname] => SUN AU format ) [avi] => Array ( [encode] => 1 [decode] => 1 [fullname] => AVI format ) [avm2] => Array ( [encode] => 1 [decode] => [fullname] => Flash 9 (AVM2) format ) [avs] => Array ( [encode] => [decode] => 1 [fullname] => AVS format ) [bethsoftvid] => Array ( [encode] => [decode] => 1 [fullname] => Bethesda Softworks VID format ) [bfi] => Array ( [encode] => [decode] => 1 [fullname] => Brute Force & Ignorance ) [c93] => Array ( [encode] => [decode] => 1 [fullname] => Interplay C93 ) [crc] => Array ( [encode] => 1 [decode] => [fullname] => CRC testing format ) [daud] => Array ( [encode] => 1 [decode] => 1 [fullname] => D-Cinema audio format ) [dirac] => Array ( [encode] => 1 [decode] => 1 [fullname] => raw Dirac ) [dsicin] => Array ( [encode] => [decode] => 1 [fullname] => Delphine Software International CIN format ) [dts] => Array ( [encode] => 1 [decode] => 1 [fullname] => raw DTS ) [dv] => Array ( [encode] => 1 [decode] => 1 [fullname] => DV video format ) [dv1394] => Array ( [encode] => [decode] => 1 [fullname] => DV1394 A/V grab ) [dvd] => Array ( [encode] => 1 [decode] => [fullname] => MPEG-2 PS format (DVD VOB) ) [dxa] => Array ( [encode] => [decode] => 1 [fullname] => DXA ) [ea] => Array ( [encode] => [decode] => 1 [fullname] => Electronic Arts Multimedia Format ) [ea_cdata] => Array ( [encode] => [decode] => 1 [fullname] => Electronic Arts cdata ) [ffm] => Array ( [encode] => 1 [decode] => 1 [fullname] => FFM (FFserver live feed) format ) [film_cpk] => Array ( [encode] => [decode] => 1 [fullname] => Sega FILM/CPK format ) [flac] => Array ( [encode] => 1 [decode] => 1 [fullname] => raw FLAC ) [flic] => Array ( [encode] => [decode] => 1 [fullname] => FLI/FLC/FLX animation format ) [flv] => Array ( [encode] => 1 [decode] => 1 [fullname] => FLV format ) [framecrc] => Array ( [encode] => 1 [decode] => [fullname] => framecrc testing format ) [gif] => Array ( [encode] => 1 [decode] => [fullname] => GIF Animation ) [gsm] => Array ( [encode] => [decode] => 1 [fullname] => GSM ) [gxf] => Array ( [encode] => 1 [decode] => 1 [fullname] => GXF format ) [h261] => Array ( [encode] => 1 [decode] => 1 [fullname] => raw H.261 ) [h263] => Array ( [encode] => 1 [decode] => 1 [fullname] => raw H.263 ) [h264] => Array ( [encode] => 1 [decode] => 1 [fullname] => raw H.264 video format ) [idcin] => Array ( [encode] => [decode] => 1 [fullname] => id CIN format ) [image2] => Array ( [encode] => 1 [decode] => 1 [fullname] => image2 sequence ) [image2pipe] => Array ( [encode] => 1 [decode] => 1 [fullname] => piped image2 sequence ) [ingenient] => Array ( [encode] => [decode] => 1 [fullname] => Ingenient MJPEG ) [ipmovie] => Array ( [encode] => [decode] => 1 [fullname] => Interplay MVE format ) [ipod] => Array ( [encode] => 1 [decode] => [fullname] => iPod H.264 MP4 format ) [lmlm4] => Array ( [encode] => [decode] => 1 [fullname] => lmlm4 raw format ) [m4v] => Array ( [encode] => 1 [decode] => 1 [fullname] => raw MPEG-4 video format ) [matroska] => Array ( [encode] => 1 [decode] => 1 [fullname] => Matroska file format ) [mjpeg] => Array ( [encode] => 1 [decode] => 1 [fullname] => MJPEG video ) [mlp] => Array ( [encode] => [decode] => 1 [fullname] => raw MLP ) [mm] => Array ( [encode] => [decode] => 1 [fullname] => American Laser Games MM format ) [mmf] => Array ( [encode] => 1 [decode] => 1 [fullname] => mmf format ) [mov] => Array ( [encode] => 1 [decode] => [fullname] => MOV format ) [mp2] => Array ( [encode] => 1 [decode] => [fullname] => MPEG audio layer 2 ) [mp3] => Array ( [encode] => 1 [decode] => 1 [fullname] => MPEG audio layer 3 ) [mp4] => Array ( [encode] => 1 [decode] => [fullname] => MP4 format ) [mpc] => Array ( [encode] => [decode] => 1 [fullname] => Musepack ) [mpc8] => Array ( [encode] => [decode] => 1 [fullname] => Musepack SV8 ) [mpeg] => Array ( [encode] => 1 [decode] => 1 [fullname] => MPEG-1 System format ) [mpeg1video] => Array ( [encode] => 1 [decode] => [fullname] => MPEG video ) [mpeg2video] => Array ( [encode] => 1 [decode] => [fullname] => MPEG-2 video ) [mpegts] => Array ( [encode] => 1 [decode] => 1 [fullname] => MPEG-2 transport stream format ) [mpegtsraw] => Array ( [encode] => [decode] => 1 [fullname] => MPEG-2 raw transport stream format ) [mpegvideo] => Array ( [encode] => [decode] => 1 [fullname] => MPEG video ) [mpjpeg] => Array ( [encode] => 1 [decode] => [fullname] => Mime multipart JPEG format ) [msnwctcp] => Array ( [encode] => [decode] => 1 [fullname] => MSN TCP Webcam stream ) [mulaw] => Array ( [encode] => 1 [decode] => 1 [fullname] => PCM mu-law format ) [mvi] => Array ( [encode] => [decode] => 1 [fullname] => Motion Pixels MVI format ) [mxf] => Array ( [encode] => [decode] => 1 [fullname] => Material eXchange Format ) [nsv] => Array ( [encode] => [decode] => 1 [fullname] => NullSoft Video format ) [null] => Array ( [encode] => 1 [decode] => [fullname] => null video format ) [nut] => Array ( [encode] => 1 [decode] => 1 [fullname] => NUT format ) [nuv] => Array ( [encode] => [decode] => 1 [fullname] => NuppelVideo format ) [ogg] => Array ( [encode] => 1 [decode] => 1 [fullname] => Ogg ) [oma] => Array ( [encode] => [decode] => 1 [fullname] => Sony OpenMG audio ) [oss] => Array ( [encode] => 1 [decode] => 1 [fullname] => Open Sound System playback ) [psp] => Array ( [encode] => 1 [decode] => [fullname] => PSP MP4 format ) [psxstr] => Array ( [encode] => [decode] => 1 [fullname] => Sony Playstation STR format ) [pva] => Array ( [encode] => [decode] => 1 [fullname] => TechnoTrend PVA file and stream format ) [rawvideo] => Array ( [encode] => 1 [decode] => 1 [fullname] => raw video format ) [rcv] => Array ( [encode] => 1 [decode] => [fullname] => VC-1 test bitstream ) [redir] => Array ( [encode] => [decode] => 1 [fullname] => Redirector format ) [rl2] => Array ( [encode] => [decode] => 1 [fullname] => rl2 format ) [rm] => Array ( [encode] => 1 [decode] => 1 [fullname] => RM format ) [rpl] => Array ( [encode] => [decode] => 1 [fullname] => RPL/ARMovie format ) [rtp] => Array ( [encode] => 1 [decode] => [fullname] => RTP output format ) [rtsp] => Array ( [encode] => [decode] => 1 [fullname] => RTSP input format ) [s16be] => Array ( [encode] => 1 [decode] => 1 [fullname] => PCM signed 16 bit big-endian format ) [s16le] => Array ( [encode] => 1 [decode] => 1 [fullname] => PCM signed 16 bit little-endian format ) [s8] => Array ( [encode] => 1 [decode] => 1 [fullname] => PCM signed 8 bit format ) [sdp] => Array ( [encode] => [decode] => 1 [fullname] => SDP ) [shn] => Array ( [encode] => [decode] => 1 [fullname] => raw Shorten ) [siff] => Array ( [encode] => [decode] => 1 [fullname] => Beam Software SIFF ) [smk] => Array ( [encode] => [decode] => 1 [fullname] => Smacker video ) [sol] => Array ( [encode] => [decode] => 1 [fullname] => Sierra SOL format ) [svcd] => Array ( [encode] => 1 [decode] => [fullname] => MPEG-2 PS format (VOB) ) [swf] => Array ( [encode] => 1 [decode] => 1 [fullname] => Flash format ) [thp] => Array ( [encode] => [decode] => 1 [fullname] => THP ) [tiertexseq] => Array ( [encode] => [decode] => 1 [fullname] => Tiertex Limited SEQ format ) [tta] => Array ( [encode] => [decode] => 1 [fullname] => True Audio ) [txd] => Array ( [encode] => [decode] => 1 [fullname] => txd format ) [u16be] => Array ( [encode] => 1 [decode] => 1 [fullname] => PCM unsigned 16 bit big-endian format ) [u16le] => Array ( [encode] => 1 [decode] => 1 [fullname] => PCM unsigned 16 bit little-endian format ) [u8] => Array ( [encode] => 1 [decode] => 1 [fullname] => PCM unsigned 8 bit format ) [vc1] => Array ( [encode] => [decode] => 1 [fullname] => raw VC-1 ) [vc1test] => Array ( [encode] => [decode] => 1 [fullname] => VC-1 test bitstream format ) [vcd] => Array ( [encode] => 1 [decode] => [fullname] => MPEG-1 System format (VCD) ) [video4linux] => Array ( [encode] => [decode] => 1 [fullname] => video grab ) [video4linux2] => Array ( [encode] => [decode] => 1 [fullname] => video grab ) [vmd] => Array ( [encode] => [decode] => 1 [fullname] => Sierra VMD format ) [vob] => Array ( [encode] => 1 [decode] => [fullname] => MPEG-2 PS format (VOB) ) [voc] => Array ( [encode] => 1 [decode] => 1 [fullname] => Creative Voice file format ) [wav] => Array ( [encode] => 1 [decode] => 1 [fullname] => WAV format ) [wc3movie] => Array ( [encode] => [decode] => 1 [fullname] => Wing Commander III movie format ) [wsaud] => Array ( [encode] => [decode] => 1 [fullname] => Westwood Studios audio format ) [wsvqa] => Array ( [encode] => [decode] => 1 [fullname] => Westwood Studios VQA format ) [wv] => Array ( [encode] => [decode] => 1 [fullname] => WavPack ) [xa] => Array ( [encode] => [decode] => 1 [fullname] => Maxis XA File Format ) [yuv4mpegpipe] => Array ( [encode] => 1 [decode] => 1 [fullname] => YUV4MPEG pipe format ) ) [filters] => Array ( ) [abbreviations] => Array ( ) [ffmpeg-php-support] => module ) ← Back to examples list This example shows you how to convert video to flash video (flv). • The media player used below is Jeroen Wijering's excellent Flash Media Player. Although bundled with this package the Flash Media Player has a Creative Commons Attribution-Noncommercial-Share Alike 2.0 Generic license. • The media player is embedded using PluginObject to embed the examples. It is distributed under a BSD License. Processing white1.avi FFMPEG ERROR: Execute error. Output for file "/var/www/html/au/__uploadtest/vidtools/examples/to-be-processed/white1.avi" was not found. Please check server write permissions and/or available codecs compiled with FFmpeg. You can check the encode decode availability by inspecting the output array from PHPVideoToolkit::getFFmpegInfo(). The total time taken to process all 1 file(s) is : 0 The average time taken to process each file is : 0 |
info at phpclasses dot org
.