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.
Related
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.
I am developing a doc viewer in Microsoft dynamics365 to show documents stored in separate database. We have an api which helps us to download those files. So far I was using Iframe to view those doc files, it works for img and txt files but fails for pdf files.
one of the possible solution is converting to file url to base64 but I'm not sure that's the right approach
I have file upload control in page through which user uploads files to application. I need to restrict user to upload exe,msi and batch files. I checked file extensions it is working fine but when i change an exe file extension to .txt it is allowing me to upload and also i checked with content type of a file. MS excel is not installed on my machine. for an excel file content-type showing as application/octet-stream and for an exe file also content-type showing as application/octet-stream. so that am aunable to upload excel files also. For many of the files am getting content type as application/octet-stream.
Please help me is there any piece of code to find out exe,msi and batch (.bat) files.
I need to back up all the code from a server onto a local machine. By code I mean any text-based file (.php, .js, .html, etc). The server contains over 300GB of various media (.ogg, .mov, .mp4, .pdf, etc) which I do not want to download.
I am trying to use WinSCP to download only the desired files, but its not working. I set an "Input Mask", but all files are being downloaded anyway.
I would really appreciate some suggestions..
You need to add the directory in. In this case since it seems you want them from every directory, you would change your mask to */*.*html; */*.htm, etc.
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.