Hi I installed ffmpeg a few months ago and have been using it along with ffmpeg php to get jpg frameshots, over the last few months a need has grown to be able to let users upload videos or varying types and convert them to either .flv or .mp4 to enable the movies to be watched via a flash movie player online (using flowplayer). I've been trying to use php exec to execute a command line to convert from .mp4 to .flv, when i test the command on the command line i get the following error: this is the command : ffmpeg -i MVI_4400.AVI -vcodec flv tap-dance.flv Error: Error while opening codec for output stream #0.1 if i check my ffmpeg version i get the following: [root@localhost ~]# ffmpeg -version FFmpeg version SVN-r11607, Copyright (c) 2000-2008 Fabrice Bellard, et al. configuration: --enable-libmp3lame --enable-libvorbis --disable-mmx --enable-shared libavutil version: 49.6.0 libavcodec version: 51.49.0 libavformat version: 52.5.0 libavdevice version: 52.0.0 built on Jan 25 2008 00:13:09, gcc: 4.1.2 20070925 (Red Hat 4.1.2-27) FFmpeg SVN-r11607 libavutil 3212800 libavcodec 3354880 libavformat 3409152 libavdevice 3407872 Am i missing a package? any guidance on restalling if so would be helpful.
Which distribution are you using? If it's Debian, you could try this: http://www.howtoforge.com/video_streaming_lighttpd_flowplayer