m3u8 file on computer opened with notepad any suggestions - m3u8

First of all I am not an IT professional. I found file on my laptop which has .m3u8 extension. I downloaded VLC media player but that file does not show anything. It has following code. What is it?
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-STREAM-INF:BANDWIDTH=2129600,RESOLUTION=1820x1024,CODECS="avc1.640028,mp4a.40.2"
0/manifest.m3u8
#EXT-X-STREAM-INF:BANDWIDTH=1029600,RESOLUTION=1138x640,CODECS="avc1.64001f,mp4a.40.2"
1/manifest.m3u8
#EXT-X-STREAM-INF:BANDWIDTH=589600,RESOLUTION=854x480,CODECS="avc1.64001e,mp4a.40.2"
2/manifest.m3u8
#EXT-X-STREAM-INF:BANDWIDTH=334400,RESOLUTION=426x240,CODECS="avc1.640015,mp4a.40.2"
3/manifest.m3u8
I downloaded VLC media player. It did not play anything.

It's a HLS multivariant playlist, as defined in https://datatracker.ietf.org/doc/html/draft-pantos-hls-rfc8216bis-12.
Each EXT-X-STREAM-INF points a variant of the same media (audio and video) at different qualities.
To play it, you'd need the file you have, the variant playlists and the media referenced within the variant playlists.

Related

How to make Ant Media Server HLS playlist continue to other video without refreshing?

Steps to reproduce:
Create a playlist with more than 1 video.
After each video finishes, it won't let you continue watching unless you refresh.
Expected behavior:
m3u8 file should not have #EXT-X-ENDLIST in it.
Actual behavior:
m3u8 has #EXT-X-ENDLIST in it.
Can you add these settings in your re5-web.properties file and restart the server, then try again please.
Location: <ams_installation_dir>/webapps//WEB-INF/red5-web.properties;
settings.hlsflags=delete_segments+append_list+omit_endlist
settings.deleteHLSFilesOnEnded=false
The setting of omit_endlist will disable putting #EXT-X-ENDLIST at the end of your m3u8 file as referenced here: http://ffmpeg.org/ffmpeg-formats.html#hls-2
Cheers.

I can't play my recordings when my recorded streams are pushed to S3

I can't play my recordings when my recorded streams are pushed to S3. How can I fix this issue? How can I be able to watch when I'm sending the stream to the S3.
This is caused because Ant Media is trying to watch Vods on your machine while recordings are somewhere else.
You can achieve playing these by http forwarding.
I assume that you already added your S3 account to Ant Media Server since you are recording to that destination
Open the file {AMS-DIR} / webapps / {APPLICATION} / WEB-INF / red5-web.properties
Add comma separated file extensions like this settings.httpforwarding.extension=mp4 to the file
If you want to save your preview images, add png as well.
Add the base URL with settings.httpforwarding.baseURL=https://{s3BucketName}.s3.{awsLocation}.amazonaws.com for forwarding.
Please replace {s3BucketName} with your own URL and {awsLocation}. Please pay attention that there is no leading or trailing white spaces.
If you did correctly the steps above, your vod playing request will be like following: https://{s3BucketName}.s3.{awsLocation}.amazonaws.com/streams/{streamId.mp4}

mediafilesegmenter only creating aac files

I am trying to create files for http live streaming. I am using Apple's mediafilesegmenter. I downloaded a sample movie (sample_iTunes.mov from http://support.apple.com/kb/HT1425), an MPEG-4 file. It plays fine in QuickTime.
When I run this:
mediafilesegmenter sample_iTunes.mov
I get the prog_index.m3u8 index file and a bunch of .aac files instead of .ts files. I read the man mediafilesegmenter 3 times but have not figured out why I'm getting audio files rather than video/audio files.
thanks for your help
Nick
I have solved the problem. I opened the file in QuickTime player and then chose File > Save For Web. I selected iPhone and it created a .m4v file. I ran mediafilesegmenter on this file and it then created the .ts files. Those streamed properly.

Drupal flash questions

I received from the client .flv files, and used SWF Tools to embed a different video in the right sidebar of each page.
Now the client wants that changed, to .swf files. (I understand that both the .swf file and accompanying .flv file need to be present for this to work).
Do I still use SWF Tools, or something else?
Thanks in advance.
John
SWF Tools will work just fine. The SWF file basically just serves as a conduit through which the FLV is streamed.
Check out the media module.

WMP: streaming, then saving

I use the Windows Media Player Control (WMP.DLL) in my application to download (stream) and show videos. Once the video file is fully downloaded, I would like to save it to disk. Unfortunately I can't find a way to do so. I thought of using a hack: probably WMP does not hold the whole file in memory, so it must be somewhere on disk as temp file - but where?
So, in short: does anybody know how to tell WMP control to save a streamed video to disk? (The Windows Media Player knows how to to it, it has a 'Save as' command, so there must be a way to do it.)
Thanks,
Jo
A workaround might be to check the temporary internet files folder - the file might be there.
That did it, thanks! I don't even have to search for the files manually , I can use URLDownloadToFile. If Windows finds the file in Temporary Internet Files, it just takes it from there instead of downloading it again. Problem solved!

Resources