http-live-streaming

How can i decode an mp3 and encode it as aac with ezstream

谁都会走 提交于 2019-12-23 22:16:30
问题 This is my current ezstream config <ezstream> <url>http://localhost:8000/test</url> <sourcepassword>password</sourcepassword> <format>MP3</format> <filename>playlist.m3u</filename> <reencode> <enable>1</enable> <encdec> <format>MP3</format> <match>.mp3</match> <decode>madplay -b 16 -R 44100 -S -o raw:- "@T@"</decode> <encode>lame --preset cbr 32 -r -s 44.1 --bitwidth 16 - -</encode> </encdec> </reencode> </ezstream> It's mounting to an icecast server, its decoding and encoding mp3 to a lower

Why does the iPhone request an .m3u8 playlist file 4 times?

≡放荡痞女 提交于 2019-12-23 15:28:13
问题 Why does the iPhone request an .m3u8 playlist file 4 times? And, is it possible to get it to request it only once? The requests are performed as follows: The first one is a full request. The second one is a byte range request with a range of 0-1. The third is another byte range request for the complete file. The final request is again a complete request. Note: that the iPhone kills the connection on these requests so not all of them complete to the end. However, there is a lot of unnecessary

CORS configuration for S3-hosted HLS video in JW Player

左心房为你撑大大i 提交于 2019-12-23 04:28:45
问题 I'm having trouble casting a self-hosted JW Player video. Here's the relevant reference in the Javascript API for configuring the player. https://developer.jwplayer.com/jw-player/docs/developer-guide/customization/configuration-reference/#casting Here are some details about my setup: 1) The video is in HLS streaming format. So the file that I'm passing to the JW Player Javascript API has .m3u8 extension. 2) The video is hosted on S3. 3) The video is served through CloudFront. Here's the code

VLC stream to MP4 WEBM and Flash

只愿长相守 提交于 2019-12-22 20:51:10
问题 I am trying to stream video from a IP Cam to my my Wordpress site. I would like my stream to be available via common devices Windows, Mac, Android and IOS. Currently I am using VLC to stream,but I can only get a flash stream to work but I would like to do FLV, MP4 and webm. What player should I use to display the MP4 and webm video on the site? Also I don't think the calls to VLC are correct cause I can't open the MP4 and webm stream in VLC on another computer, but I can open the flv stream.

VLC stream to MP4 WEBM and Flash

♀尐吖头ヾ 提交于 2019-12-22 20:49:12
问题 I am trying to stream video from a IP Cam to my my Wordpress site. I would like my stream to be available via common devices Windows, Mac, Android and IOS. Currently I am using VLC to stream,but I can only get a flash stream to work but I would like to do FLV, MP4 and webm. What player should I use to display the MP4 and webm video on the site? Also I don't think the calls to VLC are correct cause I can't open the MP4 and webm stream in VLC on another computer, but I can open the flv stream.

Convert H.264 Annex B to MPEG-TS

柔情痞子 提交于 2019-12-22 08:19:11
问题 SO... I have RAW H.264 video data captured via RTSP in a local file and I am attempting to playback the video in a Java FX application. In order to do this, I need to use Http Live Streaming. I have successfully prototyped a Java FX architecture that can play a video via HLS with a local server using a local folder containing a .m3u8 (HLS index) file and collection of .ts (MPEG-TS) files. The last piece for me is to replace the .ts files with .264 / .h264 files and in the local server,

iOS offline HLS file size

梦想的初衷 提交于 2019-12-22 08:04:03
问题 In iOS 10, Apple added offline HLS. In the documentation, they mention: Important: Downloaded HLS assets are stored on disk in a private bundle format. This bundle format may change over time, and developers should not attempt to access or store files within the bundle directly, but should instead use AVFoundation and other iOS APIs to interact with downloaded assets. It appears the access to information about these files is limited. I'm trying to find the size of the stored file. Here is

Manual encoding into MPEG-TS

不问归期 提交于 2019-12-21 21:14:34
问题 SO... I am trying to take a H264 Annex B byte stream video and encode it into MPEG-TS in pure Java. My goals is to create a minimal MPEG-TS, Single Program, valid stream and to not include any timing information information (PCR, PTS, DTS). I am currently at the point where my generated file can be passed to ffmpeg (ffmpeg -i myVideo.ts) and ffmpeg reports... [NULL @ 0x7f8103022600] start time is not set in estimate_timings_from_pts Input #0, mpegts, from 'video.ts': Duration: N/A, bitrate: N

Creating HLS variants with FFMPEG

一世执手 提交于 2019-12-21 18:05:35
问题 I am starting with a high res video file and I would like to create 3 variants, low quality, mid quality, and high quality for mobile streaming. I want these mid/low/high variants to be segmented into ts pieces that the m3u8 file will be pointing that. Is there a way to do this in one line in ffmpeg? I have successfully generated an m3u8 file and ts segments with ffmpeg, do I need to do this 3x and set specs for low/mid/high? If so, how do I get the singular m3u8 file to point to all variants

Multi bitrate live HLS with FFmpeg on Windows

廉价感情. 提交于 2019-12-21 17:27:34
问题 I am trying to encode a live stream into Apple HLS for iPhone on windows. I was looking at different options and wowza can do it, but doesn't support CDN distribution of HLS as far as I can see. Plus it costs a lot of money. What I did find was this site: http://www.espend.de/artikel/iphone-ipad-ipod-http-streaming-segmenter-and-m3u8-windows.html I can now set up a single bitrate stream easily, but my goal is an adapive multi-bitrate live stream. Is it possible? For VOD content it can easily