2012年1月17日 星期二

drupal: Flashvideo fix

http://www.comptoncoms.com/wordpress/2011/04/drupal-flashvideo-fix-april-2011/


FFmpeg has been versioning just as Drupal has, so the default command in the Flashvideo > Content Type Setting > FFMPEG settings is likely wrong. If you are using a recent version of FFmpeg you may need to change the command line to replace “mp3” with “libmp3lame”. At any rate you will need to understand the commands for FFmpeg to make the conversion do what you want.
Content type is the second problem. In the original any number of videos could be placed on the node to include the original video and the converted flash version. But that process no longer seems to work. The original upload video content type needs to have under the “display fields “ the type excluded.
Last is the player problem. The whole time that Flashvideo has been versioning, the media player has been drastically changing as well. With a whole lot of work you can get the original Flowplayer to work with Flashvideo, but then you will not have the poster image only a black screen. Even worse is that if you turn on Jquery with SWF Tools, your Views module no longer works. So I strongly recommend the JW_player. You will need to install the jwplayermodule, but it is worth the effort and the added cost. The player retails for $89. With JWplayer 5.5 you can insert video into any content type. The instructions are in a PDF for Drupal with the download. It is a very nifty solution that uses file attachment. After you have installed the JWplayer module you will need to put a copy of player.swf from the JWplayer directory into the directory where the videos are output and rename it “Player.swf”.

沒有留言:

張貼留言