HDS and HLS JIT - AMS on AWS with S3FS

I've been looking into using S3FS - s3fs-fuse/s3fs-fuse · GitHub - to mount an S3 bucket containing source MP4s for JITed requests to hds-vod and hls-vod. Currently the issue seems to be a significant performance hit when generating the f4m or m3u8 manifest.
I was wondering:
1. If anyone has successfully and performantly configured their AMS instances this way?
2. If yes to above, do you have any tips or tricks to share on how to implement?
Thanks in advance!

Hi,
One way you can do this is to use php script to identify the user agent of the client (http://php.about.com/od/learnphp/p/http_user_agent.htm) and then generate dynamic webpages based on the client (HLS for iOS based clients and HDS for flash based clients). As Apache can only serve static webpages, you'll need to use CQ/MySQL/something else. I've personally not attempted to do so, but this may be a good starting point : http://www.ibm.com/developerworks/linux/tutorials/l-php/
Hope this helps.
Thanks,
Apurva

Similar Messages

  • Live stream HDS and HLS with one webpage.

    Hello,
    First off, I am not a web developer, but I can put together a page if I have to. I have been tasked with setting up our Adobe Media Server 5 for live streaming and have successfully gotten the HDS and HLS streams running. I have created the two pages on our webserver to link to the HDS and HLS streams and I wanted to be able to integrate them into one page so the users don't have to choose the appropriate stream. Can anyone point me to a site or maybe an adobe help on how to do this simply and effectively? Does adobe have some prewritten code for this somewhere?

    Hi,
    One way you can do this is to use php script to identify the user agent of the client (http://php.about.com/od/learnphp/p/http_user_agent.htm) and then generate dynamic webpages based on the client (HLS for iOS based clients and HDS for flash based clients). As Apache can only serve static webpages, you'll need to use CQ/MySQL/something else. I've personally not attempted to do so, but this may be a good starting point : http://www.ibm.com/developerworks/linux/tutorials/l-php/
    Hope this helps.
    Thanks,
    Apurva

  • Use standard HTTP authentication for HDS and HLS VOD playback?

    I am using FMS streaming edition. I would like to provide basic authentication on access to the HDS and HLS VOD playback.
    I have configured FMS's Apache httpd.conf to use .htaccess file to password protect a directory. So, to download
    http://server:8134/vod/some-directory/video.mp4
    a user and password is required. This works fine.
    However, I would like user and password to be required also when playing back in a player, using the URL such as:
    http://server:8134/hds-vod/some-directory/video.mp4.f4m
    http://server:8134/hls-vod/some-directory/video.mp4.mu38
    When I test from OSMF configurator page, the video plays without needing password:
    http://server:8134/hds-vod/some-directory/video.mp4.f4m
    I want it to play only if user and password is provided, such as:
    http://user:password@server:8134/hds-vod/some-directory/video.mp4.f4m
    Anyone have ideas? Thx.

    1. Here you don't need to flatten the video.
    2. You can try enbling the mod_cache if on linux or add a proxy caching server infront. You can use apache for the same. Here is the guide on how to configure apache for caching http://httpd.apache.org/docs/2.2/caching.html
    You need to add following (if not already) in the httpd.conf
    LoadModule cache_module modules/mod_cache.so
    <IfModule mod_cache.c>
        LoadModule disk_cache_module modules/mod_disk_cache.so
        <IfModule mod_disk_cache.c>
            CacheEnable disk /hds-vod
            CacheEnable disk /hls-vod
            CacheRoot cacheroot
            CacheMaxFileSize 10000000
            CacheLock On
        </IfModule>
    </IfModule>

  • AMS on AWS with Adobe Acess

    Hello
    We have configured a base in install of AMS on amazon web services
    http://ec2-174-129-168-64.compute-1.amazonaws.com/
    the pre canned AMS.
    We setup all the event.xml for live hds with FAS
      <Event>
    <EventID>liveevent</EventID>
    <Recording>
    <FragmentDuration>4000</FragmentDuration>
    <SegmentDuration>400000</SegmentDuration>
    <ContentProtection enabled="true">
    <ProtectionScheme>FlashAccessV2</ProtectionScheme>
    <FlashAccessV2>
    <ContentID>RENAME</ContentID>
    <CommonKeyFile>commonkey.bin</CommonKeyFile>
    <LicenseServerURL>http://123.com:80</LicenseServerURL>
    <TransportCertFile>transport-cert.der</TransportCertFile>
    <LicenseServerCertFile>license-server-cert.der</LicenseServerCertFile>
    <PackagerCredentialFile>packager-cert.pfx</PackagerCredentialFile>
    <PackagerCredentialPassword>lookatme</PackagerCredentialPassword>
    <policy-file>whoknowsPreAuthRoot.pol</policy-file>
    </FlashAccessV2>
    </ContentProtection>
    <DiskManagementDuration>3</DiskManagementDuration>
    </Recording>
    </Event>
    When we go to play the stream
    we see in the error log
    [Tue Sep 03 15:06:43 2013] [warn] Failed to load configs from Event.xml. Using defaults.
    [Tue Sep 03 15:09:47 2013] [error] mod_f4fhttp [500]: Unknown exception when processing /hds-live/streams/livepkgr/events/_definst_/liveevent/livestream1.drmmeta
    We are not sure what is causing this 500 error
    Any direction would be great.
    THX

    You can purchase an Adobe Media Server license and run the product on a CentOS AMI.  This is similar to running the server on a CentOS Server on your premises.
    AWS does not charges when instances are shut down.
    Could you suggest why you would not use the AMS AMI available on AWS ? It comes with two default EBS Volumes. You can configure them to persist even after the instance is shut down. By default, the primary EBS volume which has AMI related data is terminated . But the secondary EBS volume that has video archives or other video streaming data is persisted.

  • Is there a way to stream/publish RTMP, HDS, and HLS at the same time?

    Can I stream/publish all methods at the same time?  I really want most users to play my live streams via RTMP, however, fail over to HLS for Apple iOS.

    For your first problem, probably you need to insert something like this in your webpage to detect whether your webpage is being accessed from i-device or not..
    if((navigator.userAgent.match(/iPhone/i)) || (navigator.userAgent.match(/iPod/i)))
               deviceType = "iphone";
    And it that is true, you may load following HTML in your video frame..
    <head>
    <body>
    <center>
    <video src="http://your-server:8134/hls-live/livepkgr/_definst_/liveevent/livestream1.m3u8" controls autoplay /> // HLS m3u8 url as src
    </center>
    </body>
    </head>
    otherwise if it Flash based device, load the osmf player .. with URL of .f4m (for HDS)
    In case you want to serve on RTMP, load something like sample video player
    sample index.html shipped with FMS in webroot folder may help you in this..

  • HDS vs HLS

    What is the difference between HDS and HLS Streaming?

    HLS is a file container format optimized for Apple devices. The container supports H.264/AAC-encoded video/audio and is based on MPEG-2 transport stream (TS). All video delivered to iOS (including AIR for IOS) must use this format.
    HDS is a file container format optimized for applications that run in Flash Player. The container also supports H.264/AAC-encoded video/audio and is based on MPEG-4 TS. HDS is not supported on AIR for iOS.

  • Use HTTP Dynamic Streaming (HDS) and HTTP Live Streaming (HLS) to serve live streams to clients over HTTP

    I have created a live stream of a video and it gets stored in live folder.
    Now i need to use HTTP Dynamic Streaming (HDS) and HTTP Live Streaming (HLS) to serve live streams to clients over HTTP, publish the streams to the HTTP Live Packager service on Flash Media Server.
    So what necessary steps do I  need to follow to do that ??

    You need to generate a manifest file using Configurator tool and placed it under the webroot directory.
    C:\Program Files\Adobe\Flash Media Server 4.5\tools\f4mconfig\configurator

  • Can you live stream RTMP and HLS

    Is it possible to live stream both RTMP and HLS with FMS 4.5?
    I want flash users to have the least latency possible using RTMP, and iOS users use HLS.
    If this is possible, how can I achieve this?

    Yes this should be possible..
    You can publish on netconnection rtmp://server-ip/livepkgr a stream say "livestream"
    On ios, you can susbscribe to http://server-ip:8134/hls-live/livepkgr/_definst_/livestream/livestream.m3u8
    On flash, you can subscribe to (Netconnection : rtmp://server-ip/livepkgr streamName: livestream)
    Hope it helps

  • I have one apple ID and multiple family members share this with their devices.  How do we keep pics and messages separate?

    I have one apple ID and multiple family members share this with their individual devices.  How do we keep pics and messages separate for each device?

    For messages
    MacMost Now 653: Setting Up Multiple iOS Devices For Messages and FaceTime
    For other issue:
    How to use multiple iPods, iPads, or iPhones with one computer
    What is the best way to manage multiple...: Apple Support Communities

  • I have an iphone4 and my husband merge his numbers with mine and i think it was deleted can you tell me how can he get his number back on his phone

    have an iphone4 and my husband merge his numbers with mine and i think it was deleted can you tell me how can he get his number back on his phone

    Do you possibly mean the contacts have been merged?
    If so, where are each of you syncing contacts?  A supported application on the computer? iCloud or another cloud service? An Exchange server?
    WIthout details, it's difficult to offer specific resolutions.

  • Using Adobe Photoshop CS2 version 9 and have updated it, but when stacking photos, it comes up with PSD, whereas I want Jpeg, and I change the format to Jpeg and the box then comes up with cannot save as there is a program error. Be very grateful for help

    Using Adobe Photoshop CS2 version 9 and have updated it, but when stacking photos, it comes up with PSD, whereas I want Jpeg, and I change the format to Jpeg and the box then comes up with cannot save as there is a program error. Be very grateful for help with this, please.

    jpg does not support Layers.
    Just to make sure, what exactly do you mean by "stacking photos" and what do you want to achieve thereby?

  • I keep getting an error message when trying to log on to FaceTime and iMessage on my iPad mini with wifi...could not sign in. Please check your network connection and try again. Help!

    I keep getting an error message when trying to log on to FaceTime and iMessage on my iPad mini with wifi...Could not sign in. Please check your network connection and try again. Help!

    Using FaceTime http://support.apple.com/kb/ht4319
    Troubleshooting FaceTime http://support.apple.com/kb/TS3367
    The Complete Guide to FaceTime + iMessage: Setup, Use, and Troubleshooting
    http://tinyurl.com/a7odey8
    Troubleshooting FaceTime and iMessage activation
    http://support.apple.com/kb/TS4268
    Using FaceTime and iMessage behind a firewall
    http://support.apple.com/kb/HT4245
    iOS: About Messages
    http://support.apple.com/kb/HT3529
    Set up iMessage
    http://www.apple.com/ca/ios/messages/
    Troubleshooting Messages
    http://support.apple.com/kb/TS2755
    Setting Up Multiple iOS Devices for iMessage and Facetime
    http://macmost.com/setting-up-multiple-ios-devices-for-messages-and-facetime.htm l
    FaceTime and iMessage not accepting Apple ID password
    http://www.ilounge.com/index.php/articles/comments/facetime-and-imessage-not-acc epting-apple-id-password/
    Unable to use FaceTime and iMessage with my apple ID
    https://discussions.apple.com/thread/4649373?tstart=90
    For non-Apple devices, check out the TextFree app https://itunes.apple.com/us/app/text-free-textfree-sms-real/id399355755?mt=8
     Cheers, Tom

  • Or some reason everytime i got to my membership for pet insurance it says wrong password the i go back to IE 11 and it lets me sign in with the same password...

    for some reason everytime i got to my membership for pet insurance it says wrong password then i go back to IE 11 and it lets me sign in with the same password...What gives..do I have to have 8 different browsers to get into certain accounts...lol...help

    Hi vikadelic,
    Do you store your passwords in the browser? If so, you may want to update them to make sure that they are trying to login with the right credentials: [[Password manager - Remember, delete and change saved passwords in Firefox]]
    If that is not the case, it may be an old stored cookie: [[Delete cookies to remove the information websites have stored on your computer]]

  • I have an iphone 4 that i use as an iPod. it is not connected to a telephone company. I updated to ios7 and now it won't sync with my computer

    I have an iphone 4 that I use as an iPod. It is not connected to a wireless network. I have updated to the IOS 7 and now it won't sync with my computer. Does anyone know what could possibly be the problem?

    Contacts are designed to be synced to a supported application on the computer or a cloud service.
    Pictures taken with the device are designed to regularly be copied off the device to a computer as would be done with any digital camera.
    If you have failed to use the device as designed it may be too late to recovery anything.
    Is the device regularly backed up to a computer via iTunes?  If so, the most recent backup (when restored to a replacement iOS device) should contain all contacts and pictures as of when the backup was created.

  • I have upgraded Apple Aperture from version 2 to version 3 and I'm having a problem with the "Highlights and Shadows" adjustment. According to the user's manual, I should have access to an advanced disclosure triangle which would allow me to adjust mid co

    I have upgraded Apple Aperture from version 2 to version 3 and I'm having a problem with the "Highlights and Shadows" adjustment. According to the user's manual, I should have access to an advanced disclosure triangle which would allow me to adjust mid contrast, colour, radius, high tonal width and low tonal width.
    If anyone has any suggestions as to how to access this advanced section, I'd be most grateful.

    Hi David-
    The advanced adjustments in the Highlights & Shadows tool were combined into the "Mid Contrast" slider in Aperture 3.3 and later. If you have any images in your library that were processed in a version of Aperture before 3.3, there will be an Upgrade button in the Highlights & Shadows tool in the upper right, and the controls you asked about under the Advanced section. Clicking the Upgrade button will re-render the photo using the new version of Highlights & Shadows, and the Advanced section will be replaced with the new Mid Contrast slider. With the new version from 3.3 you probably don't need the Advanced slider, but if you want to use the older version you can download it from this page:
    http://www.apertureexpert.com/tips/2012/6/12/reclaim-the-legacy-highlights-shado ws-adjustment-in-aperture.html

Maybe you are looking for

  • What do I do to authorize a song to play on my computer if iTunes is telling me (erroneously) I have reached my limit?

    I bought a song with iPhone 4S and bought a new MacBook Pro (2012). Now that song cannot play on my computer. I have de-authorized my previous phone and computer but iTunes is telling me I have exceeded my maximum gadgets to play the song. What do I

  • Can't drag and drop nor copy  and past with iMac with OS 10.8.1.

    Can't drag and drop nor copy and past with iMac with OS 10.8.1.  Not with iTunes, MS Word, nor Pages.  No where.  Reboot or relogging in helps for about an hour.  Hard reset worked for a short time. Per Apple support, most likely will reinstall the o

  • Alternative to PBR on ASA5510

    We have an ASA5510 with a backup ISP connection protecting our corporate network.  I also have a mail server and I would like to route SMTP traffic over the backup network.  I realize that the ASA5510 does not support PBR, but I also know that I can

  • Worklist - Task Control Factory Event Handler Issue

    I am developing a worklist application, which requires to create Task (Approval Process) for each user in a group.I have created a Task Control Factory in a "For Each" loop which creates multiple Tasks and i can see them through the default "worklist

  • Can i exclude apdb files from Backblaze backup?

    Beside TimeMachine i also use Backblaze as a cloud backup solution, it works perfectly so far. I have noticed that Backblaze correctly backups all Aperture data, even small changes in the APDB Databased are recognized and Backblaze immediately backup