New to Drupal, and I am not sure if it is right for my solution.

theDroplet_Sam - June 17, 2009 - 18:43

Hi all,

I am new to drupal. So I am more on the seeking help newbie type of search.

I am attempting to build a site with WowZa Media Server as it back end, streaming videos to embedded flow player on the site. Kind of like Youtube but not as flashy and it is for educational purposes.

I first thought of coding it myself, but a friend of mine suggest that I can save hours of coding time with Drupal and therefore I have decided to join the community and see whether it fits. that all happened two days ago.

My current setup is as follows, Debian Lenny, Apache 2, php5, mySQL, Drupal 6 installed, with modules Video, Image and token.

Is that the right module to use, or start development on if I want my drupal site to do the following?

Allow users to upload any videos,
Transcode the video to mp4
copy the mp4 to wowza's streaming server.
store in DB the file name or the mp4 file.
Have flowplayer automatically hooked up to the mp4 file based on DB.

Is there something that can help me get this done within the next 2 to 3 days? ie download a module and configure it, or creating a new module basing it on an existing one.

Thanks.

=-=

VeryMisunderstood - June 17, 2009 - 18:48

you will have to look into the FFMPEG binaries which isn't part of drupal. most people want to convert to flash and use FFMPEG to do so with regards to converting on the server. I'd not use video.module and image.module for this. I'd build my own content type with CCK.module and the filefield.module. I'd look into the FFMPEG wrapper.module after I compiled the FFMPEG binaries on the server.

Thanks.

theDroplet_Sam - June 17, 2009 - 18:59

Thanks,

ffmpeg is already working fine on my server.

What does cck.module and filefield.module do??

=-=

VeryMisunderstood - June 17, 2009 - 19:02

cck module allows you to build a content type and the filefield module allows you to add fields to that content type that involved audio video and images.

whether or not you can do this all in 2-3 days depends greatly on your skillset and prior knowledge and how quickly you can apply those to the drual codebase and methodologies.

_

WorldFallz - June 17, 2009 - 19:07

You'll also want to look into the swftools module which is just starting to support streaming: http://drupal.org/node/399056.

_
Don't be a Help Vampire - read and abide the forum guidelines.
If you find my assistance useful, please pay it forward to your fellow drupalers.

ok....

theDroplet_Sam - June 17, 2009 - 19:20

Guys,

Thanks for the info, just let me ask one more thing which is highly related to this.

How can I control what the node display page display? let's say, I have the following created.

mp4 file location
streaming server location
flowplayer.swf file location
title
author
etc..

and i want a resulting page that display the flowplayer automatically, with the streams automatically setup.

Will I have to attack this problem when I am inserting it into the DB or when I am generating the display page? (this is sort of crossing over to development already,.....)

Thanks.

=-=

VeryMisunderstood - June 17, 2009 - 19:39

see the module that worldfallz has already graciously linked you too. Read the project page, download the module and read the readme.txt

Thank you both.

theDroplet_Sam - June 18, 2009 - 17:38

thanks,

I was able to configure Drupal to with CCK, FFMpeg Wrapper, FFMpeg Converter. right now, all I need to do is figure out how to put the flv/mp4 files into the Wowza server area and then change the front end of display pages so that it can use my version of flow player.

I've looked at the Streaming suggestions, but the text makes it looks like it is something that needs to be added by the person uploading the files. Is that right? it is just adding a tag for adding videos, right?

_

WorldFallz - June 18, 2009 - 18:00

swftools will help you display wowza streams, not upload them. Sorry, I don't use wowza and have no idea how you create the streams in the first place. You'll probably have to create a module to take a filefield file and implement the wowza api to create a stream.

_
Don't be a Help Vampire - read and abide the forum guidelines.
If you find my assistance useful, please pay it forward to your fellow drupalers.

I got the solution.

theDroplet_Sam - June 19, 2009 - 13:44

Hey guys, I have a solution.

I've installed the following modules.

CCK
ffmpeg_converter
ffmpeg_wrapper
filefield
getid3
imageapi
imagecache
job_queue
mimedetect
transliteration

Now, first thing to set is, the file locations should be set to /usr/local/WowzaMediaServerPro/content
Using simplestreaming, have flow player pass in the filename in the 'url' section to play the individual files.

Then change node.tpl.php to include flowplayer files and display the files.

I am still trying to make it not show on the 'home page' but hey, for the demo portion, I am ready.

 
 

Drupal is a registered trademark of Dries Buytaert.