Copy link to clipboard
Copied
I just want to know how to upload a video and view it
Copy link to clipboard
Copied
Are you using Adobe Media Server? It is not clear what exactly you are trying to do.
Copy link to clipboard
Copied
Yes, I am using Adobe Media Server starter (trial version).
I am using windows and I gt my centos VM. In the VM i have installed AMS.
Now I want to upload a video (.mp4) inside the AMS and play in the player (For example, from HTML player, JWplayer and etc.).
There is two locations ( rootinstall/applications/vod/media and rootinstall/webroot/vod) , I am unclear of these two folders, where shoudl I keep my video and how to play it by me/others.
MY FIRST WAY
==============
I have kept my video.mp4 inside webroot/vod and I have edited the rtmp_sample1_manifest.f4m. And I open www.osmf.org/configurator/fmp/ (windows browser) and I open my video from there (rtmp://[myserverip]/vod/Vultures.mp4) . It keep buffering.
[root@localhost webroot]# cd vod
[root@localhost vod]# ll
total 78796
-rwxrwxrwx. 1 root root 458 Apr 16 17:31 hds_sample1_manifest.f4m
-rwxrwxrwx. 1 root root 432 Jul 26 2013 hls_sample1_manifest.m3u8
-rwxrwxrwx. 1 root root 3093 Jul 26 2013 readme.htm
-rwxrwxrwx. 1 root root 507 Apr 16 17:35 rtmp_sample1_manifest.f4m
-rwxrwxrwx. 1 root root 13733568 Jul 26 2013 sample1_1000kbps.f4v
-rwxrwxrwx. 1 root root 19699010 Jul 26 2013 sample1_1500kbps.f4v
-rwxrwxrwx. 1 root root 2389780 Jul 26 2013 sample1_150kbps.f4v
-rwxrwxrwx. 1 root root 7110864 Jul 26 2013 sample1_500kbps.f4v
-rwxrwxrwx. 1 root root 9831197 Jul 26 2013 sample1_700kbps.f4v
-rwxrwxrwx. 1 root root 13733568 Jul 26 2013 sample2_1000kbps.f4v
-rwxrwxrwx. 1 puva puva 2063872 Jul 26 2013 testsample.flv
-rwxrwxrwx. 1 puva puva 12094693 Jan 12 2008 Vultures.mp4
[root@localhost vod]# vi rtmp_sample1_manifest.f4m
<manifest xmlns="http://ns.adobe.com/f4m/1.0">
<id>Dynamic Streaming</id>
<baseURL>rtmp:/vod/</baseURL>
<mimeType>video/mp4</mimeType>
<streamType>recorded</streamType>
<media url="mp4:sample1_150kbps.f4v" bitrate="150"/>
<media url="mp4:sample1_500kbps.f4v" bitrate="500"/>
<media url="mp4:sample1_700kbps.f4v" bitrate="700"/>
<media url="mp4:sample1_1000kbps.f4v" bitrate="1000"/>
<media url="mp4:sample1_1500kbps.f4v" bitrate="1500"/>
<media url="mp4:Vultures.mp4"/>
</manifest>
MY SECOND WAY
===============
As I followed this tutorial (http://www.adobe.com/devnet/adobe-media-server/articles/beginner_vod_fm3.html),
I have saved the Legend.flv video into /applications/vod/media and in the flash I did add the source path and it doesn't run anyways.
I even tried to play my videos in videoplayer.html, but not sure how to play it(maybe my syntax is wrong)
Now my problem is I want to upload a video and wants to know how to play it (whether in browser or html player/videoplayer.html)
Apologies for the length desc of my problem. I am a newbie for AMS.