Issues with video and flowplayer

ffio Member
I'm having some problems getting video working in my album. There are no thumbnails being generated for the video files. When I try to play one of the vids with flowplayer, I get the following error message in the player:
200, Stream not found, NetStreamPlay.StreamNotFound, clip: '[Clip]'/zen2/albums/video/file.mp4"

zen2 is the directory where zen photo is installed. The path to the video appears to be correct. What am I missing?

Thanks in advance for the help.

Comments

  • acrylian Administrator, Developer
    Regarding thumbnails please search the forum and visit the troubleshooting, they can't be generated automatically. This has been answered lots of times.

    About the video file please check the flowplayer site directly. Some settings for mp4 may not work, but we can't answer as we did not made the player.
  • ffio Member
    Thanks for responding. I believe the flowplayer plugin page has wrong information.
    http://www.zenphoto.org/documentation/plugins/_zp-extensions---flowplayer3.php.html
    Note on splash images: Flowplayer will try to use the first frame of a movie as a splash image or a videothumb if existing.

    I assumed a thumbnail would be generated. As you suggested, I searched around and found the answer.

    I found this page that says the plugin does not generate a thumb and gives info on how to use your own image as the thumb:
    http://www.zenphoto.org/2009/03/troubleshooting-zenphoto/#19
    Zenphoto is not able to generate thumbnails from videos and shows therefore a default replacement image.

    On flowplayer's site, I found this:
    http://flowplayer.org/tutorials/generating-thumbs.html
    Flowplayer can be set so that there is an initial "splash image" in place of the Flash object when the page loads.
    It goes on to describe the manual process of how do to generate the thumb (specific example using the first frame of the movie) using ffmpeg.

    They don't claim that it tries to use the first frame of a movie, as you've described on the flowplayer plugin page. This may be the source of all the confusion.

    Regarding the video not playing, I found info on the flowplayer site that says, "If you want to use your own video file, the preferred way is to place it on an HTTP or FTP server so you don't have to wait for the uploading process. The video can be in any format, including wmv, avi, mov, mpg, mp4 or asf."
    My video is in mpg format, encoded with ffmpg. I believe it should be compatible. I'll try to get this working with flowplayer, outside of zenpage to confirm my video is not the problem.

    Does the error message I provided in the original post give any clues? Are there any restrictions or php options that my hosting provider might have in place that would cause issues with the player finding the path to my file?

    I'd really like to get this working. It seems like a really great plugin and addition to zenphoto.

    Thanks!
  • acrylian Administrator, Developer
    They don't claim that it tries to use the first frame of a movie, as you've described on the flowplayer plugin page. This may be the source of all the confusion.
    It does not say it "generates" a splash image, just that it uses a frame. It was able to do this by just loading the first clip partially. It is even still in the code around line 198. But since this caused videos always to autoplay (See the $autoplay variable) especially in Safari even if they shouldn't this is probably overriden now (or they changed it and it escaped us).

    Anyway, the right and best way to do this is to use a manual created video thumb. As you read you need ffmeg on your server to do this automatically and as bascially no shared hosting server (which is where Zenphoto is used mostly) will have that it is not really an option. There is somewhere an old hack that allowed that (Don't know if that works at all).

    Anyway, sorry for the confusion but the entry is not for nothing in the troubleshooting..;-)

    Regarding not playing. Flowplayer does not support .mpg videos! What you found refers to thumb creation with ffmeg.. it only supports what Flash supports and that is .flv, .mp4 and .mp3 (via plugin only). See here:
    http://flowplayer.org/documentation/technical-facts.html
Sign In or Register to comment.