Copy link to clipboard
Copied
'URL missing from Media tag' on FMS4.5 HTTP Live Stream playback
I have spent a whole day trying in vain to publish f4m live http streams from FMLE using FMS 4.5, and almost everything I try results in the error
The F4M document contains errors URL missing from Media tag
...in both Flash Media Playback and the fms videoPlayer app
Other people seem to have seen this and solved it, but I've found nothing that helps. I have tried to publish a single stream, and with multiple bitrates. For the latter, I followed the Adobe video tutorial as follows:
Multiple bitrate live
================
I'm publishing 3 streams from FMLE, using
FMS URL: rtmp://[serveraddress]/livepkgr
Stream : livestream%i?adbe-live-event=liveevent
(I don't have the AAC plug-in, but disabled audio. I'm publishing H.264 as per the video tutorial)
In the webroot folder, my liveevent.f4m manifest file contents are:
<manifest xmlns="http://ns.adobe.com/f4m/2.0">
<baseURL>http://[serveraddress]/hds-live/livepkgr/_definst_/liveevent/</baseURL>
<media href="livestream1" bitrate="150"/>
<media href="livestream2" bitrate="500"/>
<media href="livestream3" bitrate="1000"/>
</manifest>
When I publish, the stream files appear as expected in the livepkgr application - a .stream file, and corresponding folders for each of the streams in the /streams subfolder.
I have an Event.xml (but not Manifest.xml) in the livepkgr\events\_definst_\liveevent folder
I should see my published video in the FMP application when I enter the URL
http://[serveraddress]/liveevent.f4m, but instead I see the error message above.
Single stream live
===============
Publish as above from FMLE, using the stream:
livestream?adbe-live-event=liveevent
Entering into FMP the url:
http://[serveraddress]/hds-live/livepkgr/_definst_/liveevent/livestrea m.f4m
Gives me the 'URL missing from Media tag' error above.
The only unusual aspect of my server setup is that I have two virtual hosts.
In my fms.ini file, the applications directory is set to a custom location as follows:
VHOST.APPSDIR = C:\cdapp\fmsapp
For live streaming, I copied the four applications - live, livepkgr, multicast and vod - to this location (and they are working fine). I also changed the Apache httpd.conf file entries to match this, as follows:
<Location /hds-live>
HttpStreamingEnabled true
..
HttpStreamingLiveEventPath "C:\cdapp\fmsapp"
..
</Location>
</IfModule>
<IfModule hlshttp_module>
<Location /hls-live>
..
HttpStreamingLiveEventPath "C:\cdapp\fmsapp"
..
</Location>
I am completely out of ideas, and grateful for any help.
Copy link to clipboard
Copied
Since your stream names are livestream1, livestream2, livestream3 so for single stream, you should play ( note the number after livestream)
http://[serveraddress]/hds-live/livepkgr/_definst_/liveevent/livestream1.f4m
http://[serveraddress]/hds-live/livepkgr/_definst_/liveevent/livestream2.f4m
http://[serveraddress]/hds-live/livepkgr/_definst_/liveevent/livestream3.f4m
In case of adaptive bit-rate, you may try playing
http://[serveraddress]/hds-live/livepkgr/_definst_/liveevent.f4m
In case, you still see error, check the Apache/logs/error.log and Apache/logs/access.log. Do access logs tell that apache module is deliverling the request for .f4m/.f4f files?
Otherwise
Request abaove urls from the browser address-bar.. Let me know are you getting the f4m file in xml format.
Copy link to clipboard
Copied
I'm doing the same thingas CDGD. fresh out of box install of FMIS45 and Apache 2.2. Everything appears to be set up correctly.
Encoder fires up fine, no errors, etc. console shows stuff running.
If I use the videoplayer playback app included (and copied into the web structure I'm using), all of its test stuff works... but when I try to put in my URL for my stream... i get the same error he does
I tried sticking the url i'm using to the player for the f4m into a browser, and get back the contents of it as such:
<manifest xmlns="http://ns.adobe.com/f4m/1.0">
<streamType>live</streamType>
<duration>0</duration>
</manifest>
I'm guessing I'm missing some steps from the install/config process, to utilizing the steps outlined in http://help.adobe.com/en_US/flashmediaserver/devguide/WSd391de4d9c7bd609-52e437a812a3725dfa0-8000.ht...
Copy link to clipboard
Copied
Please check whether you have .stream files inside liveevent folder..
When you request f4m, it must pick the stream names from these .stream files. These are created at time of recording.
Copy link to clipboard
Copied
Hi Nitin,
I am having the same problem as these folks. New FMS server 4.5 setup (Amazon AWS). I went through all of the configuration steps at http://help.adobe.com/en_US/flashmediaserver/devguide/WSd391de4d9c7bd609-52e437a812a3725dfa0-8000.ht...
I can get the single stream to work without a problem, it's the multi-bitrate that fails.
I am using FMLE.
When I visit http://<ec2-server>/hds-live/livepkgr/_definst_/liveevent.f4m
I get the following XML back:
<manifest xmlns="http://ns.adobe.com/f4m/2.0">
<mimeType></mimeType>
<streamType>live</streamType>
<duration>0</duration>
<dvrInfo windowDuration="33"></dvrInfo>
<media href="livestream1.f4m" bitrate="150"></media>
<media href="livestream2.f4m" bitrate="500"></media>
<media href="livestream3.f4m" bitrate="700"></media>
<bootstrapInfo profile="named" url="../../streams/livepkgr/streams/_definst_/livestream1/livestream1.bootstrap"id="bootstrap7286"></bootstrapInfo>
AgAKb25NZXRhRGF0YQgAAAAAAAhkdXJhdGlvbgBApb8MzMzMzQAFd2lkdGgAQGYAAAAAAAAABmhlaWdodABAYgAAAAAAAAAMdmlkZW9jb2RlY2lkAgAEYXZjMQAMYXVkaW9jb2RlY2lkAgAELm1wMwAKYXZjcHJvZmlsZQBAUIAAAAAAAAAIYXZjbGV2ZWwAQD8AAAAAAAAADnZpZGVvZnJhbWVyYXRlAAAAAAAAAAAAAA9hdWRpb3NhbXBsZXJhdGUAQOV8AAAAAAAADWF1ZGlvY2hhbm5lbHMAQAAAAAAAAAAACXRyYWNraW5mbwoAAAADAwAGbGVuZ3RoAAAAAAAAAAAAAAl0aW1lc2NhbGUAQI9AAAAAAAAACGxhbmd1YWdlAgADZW5nAAAJAwAGbGVuZ3RoAEEwutgAAAAAAAl0aW1lc2NhbGUAQI9AAAAAAAAACGxhbmd1YWdlAgADZW5nAAAJAwAGbGVuZ3RoAEEwuvAAAAAAAAl0aW1lc2NhbGUAQI9AAAAAAAAACGxhbmd1YWdlAgADZW5nAAAJAAAJ
</metadata>
</media>
<bootstrapInfo profile="named" url="../../streams/livepkgr/streams/_definst_/livestream2/livestream2.bootstrap"id="bootstrap4463"></bootstrapInfo>
AgAKb25NZXRhRGF0YQgAAAAAAAhkdXJhdGlvbgBApb8MzMzMzQAFd2lkdGgAQHQAAAAAAAAABmhlaWdodABAbgAAAAAAAAAMdmlkZW9jb2RlY2lkAgAEYXZjMQAMYXVkaW9jb2RlY2lkAgAELm1wMwAKYXZjcHJvZmlsZQBAUIAAAAAAAAAIYXZjbGV2ZWwAQD8AAAAAAAAADnZpZGVvZnJhbWVyYXRlAAAAAAAAAAAAAA9hdWRpb3NhbXBsZXJhdGUAQOV8AAAAAAAADWF1ZGlvY2hhbm5lbHMAQAAAAAAAAAAACXRyYWNraW5mbwoAAAADAwAGbGVuZ3RoAAAAAAAAAAAAAAl0aW1lc2NhbGUAQI9AAAAAAAAACGxhbmd1YWdlAgADZW5nAAAJAwAGbGVuZ3RoAEEwutgAAAAAAAl0aW1lc2NhbGUAQI9AAAAAAAAACGxhbmd1YWdlAgADZW5nAAAJAwAGbGVuZ3RoAEEwuvAAAAAAAAl0aW1lc2NhbGUAQI9AAAAAAAAACGxhbmd1YWdlAgADZW5nAAAJAAAJ
</metadata>
</media>
<bootstrapInfo profile="named" url="../../streams/livepkgr/streams/_definst_/livestream3/livestream3.bootstrap"id="bootstrap9597"></bootstrapInfo>
AgAKb25NZXRhRGF0YQgAAAAAAAhkdXJhdGlvbgBApb8MzMzMzQAFd2lkdGgAQH4AAAAAAAAABmhlaWdodABAdoAAAAAAAAAMdmlkZW9jb2RlY2lkAgAEYXZjMQAMYXVkaW9jb2RlY2lkAgAELm1wMwAKYXZjcHJvZmlsZQBAUIAAAAAAAAAIYXZjbGV2ZWwAQD8AAAAAAAAADnZpZGVvZnJhbWVyYXRlAAAAAAAAAAAAAA9hdWRpb3NhbXBsZXJhdGUAQOV8AAAAAAAADWF1ZGlvY2hhbm5lbHMAQAAAAAAAAAAACXRyYWNraW5mbwoAAAADAwAGbGVuZ3RoAAAAAAAAAAAAAAl0aW1lc2NhbGUAQI9AAAAAAAAACGxhbmd1YWdlAgADZW5nAAAJAwAGbGVuZ3RoAEEwutgAAAAAAAl0aW1lc2NhbGUAQI9AAAAAAAAACGxhbmd1YWdlAgADZW5nAAAJAwAGbGVuZ3RoAEEwuvAAAAAAAAl0aW1lc2NhbGUAQI9AAAAAAAAACGxhbmd1YWdlAgADZW5nAAAJAAAJ
</metadata>
</media>
</manifest>
if I go to the individual .f4m files (ex: http://<ec2-dns>.compute-1.amazonaws.com/hds-live/livepkgr/_definst_/liveevent/livestream1.f4m)
I get:
<manifest xmlns="http://ns.adobe.com/f4m/1.0">
<streamType>live</streamType>
<duration>0</duration>
</media>
</manifest>
Note: the duration is always at 0 for both of these...
I am seeing .stream files in the liveevent folder and the streams themselves in the livepkgr/streams folder.
When I plug the http://<ec2-server>/hds-live/livepkgr/_definst_/liveevent.f4m url into the configurator at: http://www.osmf.org/configurator/fmp/# I get "The F4M Document contains error url missing from media tag".
As you can see from my pasted XML above, the address exists... I am stumped, please help!
Copy link to clipboard
Copied
HTTP live stream is playing only when i use to re install Flash media server 4.5?
publishing a stream using flash media live encoder and tried to play it using strobe playback media, the stream is playing for a few minutes after that it seems like buffering? and after re-install the Flash media server 4.5 it starts play again and this time also for a few minutes.
re-install needed repeatedly... how could fix this ?.
Thanks in advance