Wowza Community

VOD - Uploading files to content directory

Hi,

We have several videos grouped in areas. We want our users to upload the video content to those areas.

Whats the best way to do this?

We can have folders inside the content directory? The path for the video will then include those paths?

Is there any API methods or some module of Media Server 2.0, to control the acces to the content directory and have it published for some protocol so users can acces it, or we have to share that directory with the users or have some protocol like FTP with SSL so they can upload the files to it?

Thanks in advance.

Filipe

Portugal

Filipe,

Yes, subfolders of the content location become part of a stream name.

Server: rtmp://[wowza-address]:1935/vod

Stream: mp4:subfolder/sample.mp4

You will need definst where the connect url and stream are one string

rtmp://[wowza-address]:1935/vod/definst/subfolder/sample.mp4

rtsp://[wowza-address]:1935/vod/definst/subfolder/sample.mp4

http://[wowza-address]:1935/vod/definst/subfolder/sample.mp4/playlist.m3u8

Wowza does not have any file uploading feature

For access control, there are several articles:

https://www.wowza.com/docs/how-to-do-user-authentication-for-flash-rtmp-client-using-jdbc-connection-to-mysql-database

https://www.wowza.com/docs/how-to-control-access-to-microsoft-smooth-streaming-smoothstreaming

Richard

If the StorageDir property in your Application.xml is:

C:\VOD_Contents\jotv\

And your file is located at:

C:\VOD_Contents\jotv\tg\tg.mp4

Then, use:

streamer=rtmp://wowza address:1935/jotvvod/

file=mp4:tg/tg.mp4

I think you do not have to use “definst” since this stream URI is not all one line.

Hello,

i have the same problem, so my VOD directory is :

C:\VOD_Contents\jotv\tg\tg.mp4

(application name : jotvvod)

my url in JW player :

rtmp://wowza address:1935/jotvvod/definst/tg/

and :

file=mp4:tg.mp4

but not working, in JW player appear ‘stream not found’, where i have mistaked ?

for the file in the main directory (C:\VOD_Contents\jotv) no problem, working fine …

thanks,

stefano

Hi randall,

ok thanks, i have solved :slight_smile:

stefano