video-streaming

iPhone HTTP Streaming .m3u8 and .ts files - how to create using ffmpeg

橙三吉。 提交于 2019-12-05 04:19:24
问题 I'm trying to get apple-validated http media streams using ffmpeg and am getting errors. Here are some error examples: WARNING: Playlist Content-Type is 'application/x-mpegurl', but should be one of 'application/vnd.apple.mpegurl', 'audio/x-mpegurl' or 'audio/mpegurl'. WARNING: 258 samples (88.966 %) do not have timestamps in track 256 (avc1). 4: us2-1.ts ~~~~~~~~ WARNING: Media segment duration outside of expected duration by 47.733 % (5.23 vs. 10.00 seconds, limit is 20 %). 40: us2-19.ts ~~

MediaPlayer RTSP video stream with authentication

时光怂恿深爱的人放手 提交于 2019-12-05 03:16:22
问题 I was able to stream a video from ip camera without authorization, but now i need to do this with authorization. I found few information that says that Android doesn't support authentication by RTSP, but I found another information that says that it is possible in API level 14 by adding HEADERS with that method: setDataSource (Context context, Uri uri, Map headers). My code looks like this: @Override public void surfaceCreated(SurfaceHolder holder){ String authHeader = getB64Auth("user",

Why MPMoviePlayerController fullscreen button icon change to caption icon in iOS 10?

三世轮回 提交于 2019-12-05 02:37:42
I try to use MPMoviePlayerController as embedded video player but I spot a problem where the fullscreen icon were changed in iOS 10? Is there any solution to change it back to original fullscreen button ? Thank you, This is what it look like in iOS 8 and iOS 9: This is what it look like in iOS 10: Here is some code to workaround that iOS 10 bug that you can write in a WorkaroundInlinePlayerFullScreenButtonBug.m file: @import MediaPlayer; @import ObjectiveC; static void (*configureAuxiliaryButtonsIMP)(id, SEL, BOOL); static void ConfigureAuxiliaryButtons(id self, SEL _cmd, BOOL flag) {

VLC Server Communication with .NET C#

↘锁芯ラ 提交于 2019-12-05 02:33:24
问题 I am working on a project that allows for video streaming or video-on-demand. I've looked for software packages and VLC looks like an excellent choice for low cost needs. In order to really work with this application I need an API that can communicate with the system. After doing some research there were some bindings via PHP and Java but nothing that is truely .NET. I looked further and found that I can communicate via telnet which is viable for the work I need. I started working on the

h264 packetization mode for FUA

一个人想着一个人 提交于 2019-12-05 01:16:55
问题 We have got into couple of interop issues where, The video mode that is required by couple of endpoints in market are little different and only understands H.264 packetization modes (FUA type) (i.e) FU -A NAL unit type.(while others do not play the video on receiving a fu-a nal type payload) Does anyone know what is this FUA type of packetization mode? How is it different from packetization modes 0,1,2 as defined in RFC3984? Is the video encoder/decoder supports it, how can it be

Count frames in H.264 bitstream

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-05 01:04:36
问题 How to count/detect frames (pictures) in raw H.264 bitstream? I know there are 5 VCL NALU types but I don't know how to rec(k)ognize sequence of them as access unit. I suppose detect a frame means detect an access unit as access unit is A set of NAL units that are consecutive in decoding order and contain exactly one primary coded picture. In addition to the primary coded picture, an access unit may also contain one or more redundant coded pictures, one auxiliary coded picture, or other NAL

Using RTMP or RTSP protocol in C# [closed]

六眼飞鱼酱① 提交于 2019-12-05 00:31:47
问题 As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 7 years ago . Do you know any library that allows me to send from C# an encoded audio/video stream to a streaming server using RTMP or RTSP

How to set JVM arguments in IntelliJ IDEA?

本小妞迷上赌 提交于 2019-12-05 00:14:51
I am confused about the instruction when using Kinesis Video Stream Run DemoAppMain.java in ./src/main/demo with JVM arguments set to -Daws.accessKeyId={YourAwsAccessKey} -Daws.secretKey={YourAwsSecretKey} -Djava.library.path={NativeLibraryPath} for non-temporary AWS credential. How to set these arguments in IntelliJ IDEA? I followed the documentation and found the "Run/Debug Configurations" and don't know what to do next. Any help? Thanks! You're correct about the Run/Debug Configurations section! All you need to do is add your arguments to VM options or Program arguments , depending on the

Is there a way to add support for HLS in desktop Chrome/HTML5 player?

帅比萌擦擦* 提交于 2019-12-04 22:46:23
Desktop Chrome and FF do not support HLS. I know there is a plugin available to add HLS support to flash. Is there such plugin or technique available to enhance HTML5 on browsers which dont have HLS support yet? szatmary Not only it is possible, but it's been done numerous times. There are several open and closed source solutions available. A quick github search gave me this one. https://github.com/RReverser/mpegts EDIT: New/better option just released http://engineering.dailymotion.com/introducing-hls-js/ 来源: https://stackoverflow.com/questions/32289662/is-there-a-way-to-add-support-for-hls

Stream MP4 Video From Seek Position in ASP.NET

戏子无情 提交于 2019-12-04 21:44:59
I am facing problem while streaming mp4 video from seek position. Its streaming properly from start. First problem is while mp4 video is streaming via jw player flash player. When user click on time bar to start streaming mp4 video from any other part of video, jw player will send start param along with time information e.g http://[url]/stream/mp4.ashx?file=Madagascar3-trailer-48861c.mp4&start=53.71 So jwplayer send time interval to seek mp4 streaming from. I am using the following code to convert approx time interval to bytes as seek will start via bytes. double total_duration = Convert