I have been working on getting the steaming server working right for a month now, I am finally able to get the files to transfer to the red5 server (which is on my vps centos5 server), Now it doesn't the filefield (or flashvideo module) doesn't seem to recognize the transfer.


1. files transfered through openssh scp
2. doesn't delete old file
3. video field feeds off of the sites/default/files....... directory instead of the red5/demos/webapps/oflademo/streams directory


When I run cron I am getting the following error message, but I do not see an error

Status report
FlashVideo successfully created: Video_1913.jpg
Video_1913.flv has been added to the streaming server.
FlashVideo successfully created: Video_1913.flv
Ad module file-cached data has been flushed to the database.
Cron ran successfully.
Attempted to move Video_1913.flv to the streaming server.
Command Attempted: scp -v /home/squeak/public_html/sites/default/files/test_video_show/Video_1913.flv squeak@server.squeaktube.com:/usr/local/red5/webapps/oflaDemo/streams 2>&1
Error message:
Executing: program /usr/bin/ssh host server.squeaktube.com, user squeak, command scp -v -t /usr/local/red5/webapps/oflaDemo/streams
OpenSSH_4.3p2, OpenSSL 0.9.8e-fips-rhel5 01 Jul 2008
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug1: Connecting to server.squeaktube.com [206.214.216.166] port 22.
debug1: Connection established.
debug1: identity file /home/squeak/.ssh/identity type 2
debug1: identity file /home/squeak/.ssh/id_rsa type 1
debug1: identity file /home/squeak/.ssh/id_dsa type 2
debug1: loaded 3 keys
debug1: Remote protocol version 2.0, remote software version OpenSSH_4.3
debug1: match: OpenSSH_4.3 pat OpenSSH*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_4.3
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: server->client aes128-cbc hmac-md5 none
debug1: kex: client->server aes128-cbc hmac-md5 none
debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024<1024<8192) sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP
debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
debug1: Host 'server.squeaktube.com' is known and matches the RSA host key.
debug1: Found key in /home/squeak/.ssh/known_hosts:1
debug1: ssh_rsa_verify: signature correct
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: SSH2_MSG_SERVICE_REQUEST sent
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: publickey,password,keyboard-interactive
debug1: Next authentication method: publickey
debug1: Offering public key: /home/squeak/.ssh/identity
debug1: Server accepts key: pkalg ssh-dss blen 435
debug1: Offering public key: /home/squeak/.ssh/id_rsa
debug1: Server accepts key: pkalg ssh-rsa blen 149
debug1: read PEM private key done: type RSA
debug1: Authentication succeeded (publickey).
debug1: channel 0: new [client-session]
debug1: Entering interactive session.
debug1: Sending environment.
debug1: Sending command: scp -v -t /usr/local/red5/webapps/oflaDemo/streams
Sending file modes: C0644 3766563 Video_1913.flv
Sink: C0644 3766563 Video_1913.flv
debug1: client_input_channel_req: channel 0 rtype exit-status reply 0
debug1: channel 0: free: client-session, nchannels 1
debug1: fd 0 clearing O_NONBLOCK
debug1: fd 1 clearing O_NONBLOCK
debug1: fd 2 clearing O_NONBLOCK
debug1: Transferred: stdin 0, stdout 0, stderr 0 bytes in 0.3 seconds
debug1: Bytes per second: stdin 0.0, stdout 0.0, stderr 0.0
debug1: Exit status 0



any help in getting this to work properly would be a great help.

Thanks in advance.




oh my flashvideo streaming setup is set like this:


Streaming URL:

rtmp://siteaddress.com/oflaDemo/streams (I have also tried (rtmp://siteaddress.com and rtmp://siteaddress.com/oflademo)



SSH Username:



squeak(which is the user account name) or root both work


Streaming Server Address:

server.squeaktube.com



Streaming Server File Path:

/usr/local/red5/webapps/oflaDemo/streams


Delete Local files after move. (checked but files don't get deleted)

I also have it set to "enable flashvideo streaming" checked and have the radio button set to "RTMP"

Comments

leavellwd’s picture

I have gotten it working. I did a fresh install and everything fixed it'self, there must have been a bug causing the issue.

Now if there was just a way I could create multiple thumbnails each in a different cck field, and a good "rotator" script / module that allows me to rotate through all thumbnails on "mouse over" for start rotations on mouse over.

I have noticed that Documentation/Tutorials as to how to do certain things having to do with "Streaming Videos", FFMPEG, FLVTOOLS2, and Thumbnail effects is not very cut and dry. you need to use several modules (flash video does most of the stuff I want though - Great Module).

Once I get everything done concerning the videos on the website I am working on, I will be making a tutorial as to the process' used for video setup and display. The tutorials Flash Video has, work like a charm for a general setup, but streaming/Advanced video setup is kind of sparse.

If anyone has anything they would like me to add to the "tutorial" / documentation (something they have figured out how to do) please let me know as I am hoping to make this process as easy as pie for people in the future.