http-live-streaming

Resume AVPlayer stream playback last sample

怎甘沉沦 提交于 2019-12-06 16:12:50
I am trying to use the native player (AVPlayer) to reproduce a live stream on iOS. However, I have trouble resuming the playback. When I stop the playback and resume it after few seconds, the playback starts from the moment I paused instead of reproducing the current (last) sample of the live stream. Is there a way to get the last sample, o configure AVPlayer to reproduce from last sample when tapping on Play Button? My solution is based on denying user to keep the player paused. This is, destroying the player each time playback is resumed. And creating a new instance each time, playback is

iOS 4 background HTTP Live Stream

断了今生、忘了曾经 提交于 2019-12-06 16:07:38
I'd like to play an audio HTTP Live Stream in background. But how do I do that? I tried to add the key (an Array) "UIBackgroundModes" with value "audio" to the info.plist. Now I try to play audio with the MPMoviePlayerController. But as soon as the app goes into background, the audio Playback stops! I don't know of any other API to play a HTTP Live Stream on the iPhone. So is there an other or am I doing something wrong? I searched all over the apple documentation but couldn't find anything useful. There isn't much about background audio in the docs :-( See http://developer.apple.com/iphone

VLC stream to MP4 WEBM and Flash

时光毁灭记忆、已成空白 提交于 2019-12-06 14:29:31
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 Script: cd "C:\Program Files (x86)\VideoLAN\VLC" vlc -vvv -I dummy http://IP/cgi/mjpg/mjpg.cgi

ffmpeg segments only the first part of my audio file

萝らか妹 提交于 2019-12-06 14:03:55
I'm implementing a http live streaming server to send audio file to iOS devices. No problem with Apple's tools, mediafilesegmenter, my files are valid and it works fine. I'm trying now to segment the same file using ffmpeg. I've downloaded the last stable version which is the 0.10.2 for now. Here is how I try to segment my mp3 file: ./ffmpeg -re -i input.mp3 -f segment -segment_time 10 -segment_list outputList.m3u8 -acodec libmp3lame -map 0 output%03d.mp3 It starts the mapping like expected but finish with only one .mp3 file. Did I miss something in the process? Thanks in advance. edit Ok here

How are access units aligned within PES packets in Apple's HLS?

早过忘川 提交于 2019-12-06 10:53:40
问题 Does Apple specify this? How many access units should one put in a PES packet payload? Also, I'm wondering which prefix start codes (if any) are present in PES packets. I assume that the one preceding the first NAL unit within an access unit is useless and mustn't be put. Right? I'd like to know how it's done specifically in HLS - not necessarily any other MPEG-2 TS application. 回答1: I'd like to know how it's done specifically in HLS - not necessarily any other MPEG-2 TS application. HLS is a

Can RTSP (Real Time Streaming Protocol) be used to send live video stream from iPhone to a media server?

为君一笑 提交于 2019-12-06 09:58:44
I am new to iOS and multimedia development and I am working on an application which will capture video from iPhone's camera and send the live stream to a media server. In this link a person asked a question on stackoverflow saying that his application was rejected by Apple as he didn't use Apple HLS (HTTP Live Streaming) method in his application for receiving the live stream. But my case is different as I am not receiving a live stream in the iPhone. I have to send the live video to a media server without saving it in the phone's memory which will be later watched by people on their computers

Unable to get tracks of AVAsset using HLS while retrieveing bitrate

回眸只為那壹抹淺笑 提交于 2019-12-06 09:25:07
问题 I am using HLS streaming in my application and I am using AVPlayer. Now I want to get bitrate of the video track using AVAsset. Although I have added observer and other stuff I am getting tracks array as empty always.Am I on right track or missing anything? 回答1: HLS is adaptive, therefore, bitrate can vary across the duration of the stream based on various conditions. You are on completely the wrong track, unlike playing a file, either local or from a network URL, currentItem.asset.tracks

Failed to compile HTTP-Live-Video-Stream-Segmenter-and-Distributor

十年热恋 提交于 2019-12-06 08:10:19
I am running on Ubuntu 11.10 with intention to compile HTTP Live Video Stream Segment and Distrbutor . By following instruction from here , I manage to setup FFMpeg accordingly. But run into tihs error when I tried to configure it. gcc -v -Wall -g live_segmenter.c -o live_segmenter \ -lavformat -lavcodec -lavutil -lvorbis -ltheora\ -lbz2 -lm -lz -lfaac -lmp3lame \ -I/tmp/old_ffmpeg/include \ -L/tmp/old_ffmpeg/lib This following is the error message: Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.6.1/lto-wrapper Target: x86_64-linux-gnu Configured with

WOWZA + RTMP to play on Multiple Devices?

徘徊边缘 提交于 2019-12-06 06:11:41
问题 I'm still a newbie to Wowza/Streaming but when i setup everything (RHEL + Wirecast), i can somehow stream-out/broadcast from my home pc to EC2 Server. As i followed according to Wowza Live-Streaming Tutorial, i used RTMP and after that all i got FOR PUBLIC (Viewer) side are: rtsp ://xx.xx.xx.xx:1935/live/myStream http ://xx.xx.xx.xx:1935/live/myStream/playlist. m3u8 That means, i can ONLY PLAY via Flash and iOS. But on Androids and Windows Phones , there is NO FLASH supported. Now my very

Use VLC to stream RTSP feed as HTTP Live Stream

做~自己de王妃 提交于 2019-12-06 03:37:24
问题 I have a really high quality RTSP feed coming into a windows server. I'm attempting to use VLC to restream it as Http Live Streaming. Does anyone know whether it is possible to establish this stream through VLC's graphic user interface as opposed to the command line? If so, how? The examples I've found so far (on here and elsewhere) have all been command line examples and none of them have worked at all. I would love to hear from anyone who has actually accomplished a successful restream of