rtmp

FFMPEG pushed RTMP stream not working on Android & iPhone

自作多情 提交于 2019-12-04 16:09:33
问题 I have to make a semi-live-stream. I used Nginx-rtmp module and then pushed content to it via ffmpeg using: ffmpeg -re -i content.mp4 -r 25 -f fvl "rtmp://rtmp.server.here" The stream runs fine when I open it in VLC from "rtmp://rtmp.server.here" But I also have to make iPhone and Android apps that play these streams. And that's the problem, the stream doesn't work on Android and iPhone. If I use Wowza streaming cloud and stream to Wowza cloud instead of my own nginx-rtmp server then the same

using X264 and librtmp to send live camera frame, but the flash can't show

99封情书 提交于 2019-12-04 16:02:19
I am using X264 and librtmp to send my live camera frame, all the things seems right. but my web test flash can't show the correct video. Sometimes it seems correct, but when I re-click play button, it doesn't show any picture on the flash. Here is my X264 config code x264_param_default_preset(&x264param, "ultrafast", "zerolatency"); x264param.i_threads = 2; x264param.i_width = width; x264param.i_height = height; x264param.i_log_level = X264_LOG_DEBUG; x264param.i_fps_num = x264param.i_timebase_num= fps; x264param.i_fps_den = x264param.i_timebase_den=1; x264param.i_frame_total = 0; x264param.i

FFmpeg streaming using H.264 (with audio) - Red5 media server (Ubuntu OS)

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-04 15:29:22
I'm trying to stream my webcam with FFmpeg to my Red5 server using RTMP. I've done this successfully using FLV format with the following line: ffmpeg -f video4linux2 -i /dev/video0 -f flv rtmp://localhost/live/livestream I'm new to FFmpeg and live streaming, and I've tried to stream using H.264/MPEG-4. But my knowledge is a bit limited with the FFmpeg options (which I did find here: http://man.cx/ffmpeg%281%29 ). So, my questions would be: How can I use H.264/MPEG-4 to stream to my Red5 server? What are the options to stream audio as well? And one final issue is: I'm having a delay of about 5

Javascript document.write('HTML CODE HERE') and using a var grabbed by flash

徘徊边缘 提交于 2019-12-04 15:21:21
so this is 2 questions in one. My first question is how would I do this? document.write(' <div id="jwplayer"> <center> <div id='mediaplayer'></div> <script type="text/javascript"> jwplayer('mediaplayer').setup({ 'flashplayer': 'jwplayer/player.swf', 'id': 'playerID', 'width': '640', 'height': '580', 'provider': 'rtmp', 'streamer': 'rtmp://domain/recorder/_definst_', 'file': 'onSaveOk("+streamName+")' }); </script> </center> </div> '); I basically just want to print out that code when the function is called. This is the second part of my question, this function runs when the flash video

Finding the actual RTMP Stream URL?

末鹿安然 提交于 2019-12-04 12:52:27
问题 Let me go with an example. This is the video embed code: <script type="text/javascript" src="jwplayer/jwplayer.js"></script> <div id="container">Loading the player ...</div> <script type="text/javascript"> jwplayer("container").setup({ flashplayer: "jwplayer/player.swf", file: "bmw/250413/vod.flv", streamer:'rtmp://216.185.104.75/vod', autoplay:"true", icons:"true", skin:"glow.zip", controlbar:"over", height: 270, width: 480, image: "images/bmw1.jpg" }); </script> And this is the actual page:

Streaming with CloudFront to JWPlayer

时光总嘲笑我的痴心妄想 提交于 2019-12-04 09:48:48
I followed the following tutorial: http://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/TutorialStreamingJWPlayer.html And I hosted my html codes inside localhost (at the moment). I get the player opened but player do not play any videos. It just keep rotating (indicating its still loading). But nothing buffers or nothing else happens. <head> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js"></script> <script type="text/javascript" src="jwplayer.js"></script> </head> <body> <div id='mediaplayer'>This text will be replaced</div>

WOWZA + RTMP to play on Multiple Devices?

血红的双手。 提交于 2019-12-04 09:04:22
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 basic questions are (may be i'm missing out something, but): When i stream RTMP , do i only get two such

How do I specify a crossdomain policy file to allow Flash to grab a bitmap from an RTMP (Wowza) video stream?

半城伤御伤魂 提交于 2019-12-04 04:16:37
问题 I'm trying to get a bitmap/snapshot of a Wowza video stream playing on my client, like so: var bitmapData:BitmapData = new BitmapData(view.videoPlayerComponent.width, view.videoPlayerComponent.height); bitmapData.draw(view.videoPlayerComponent); When I do this, I get this error message: SecurityError: Error #2123: Security sandbox violation: BitmapData.draw: http://localhost:51150/Resources/WRemoteWebCam.swf cannot access rtmp://localhost/videochat/smithkl42._default/. No policy files granted

网络协议-流媒体协议

五迷三道 提交于 2019-12-04 03:54:51
流媒体协议是网络对视频的传输协议。 基本概念 视频技术的名词 名词系列一:AVI、MPEG、RMVB、MP4、MOV 名词系列二:H.261、H.262、H.263、H.264、H.265。重点是H.264 名词系列三:MPEG-1、MPEG-2、MPEG-4、MPEG-7。 视频:一连串的图片。 帧:一张图片就是一帧。 帧率:就是每秒由多少张图片 像素:一个像素一个RGB,每个8位。一张图片由好多个像素组成。 每秒种的视频有多大? 30 帧 × 1024 × 768 × 24 = 566,231,040Bits = 70,778,880Bytes 每分钟的视频有多大?4,246,732,800Bytes,已经是 4 个 G 了。 编码:用尽量少的Bit 保存视频,是一个压缩的过程。 利用视频和图片的一些特点进行压缩:空间冗余、时间冗余、视觉冗余、编码冗余。 本质上就是用更少的能量传递更多的信息。这和香农的信息论有些相似。 视频编码的两大流派 ITU 的VCEG ISO 的MPEG ITU-T 与 MPEG 联合制定的 H.264/MPEG-4 AVC 经过编码之后,原来的一帧帧图片转为二进制数据,将这些二进制数据放到文件里,按照一定的格式保存起来,就是名词系列一。 接流:服务器从主播客户端的那里接收视频流 转码:从一个编码格式转为另一个编码格式。 拉流

RTSP转RTMP-HLS网页无插件视频直播是如何通过流媒体服务EasyNVR、EasyDSS、EasyGBS实现的?

守給你的承諾、 提交于 2019-12-03 23:55:55
背景需求 对于摄像机直播,客户反馈的最多就是实现web直播、摆脱插件,可以自定义集成等问题,对于大家熟悉的EasyNVR已经完美的解决了这些问题。然而对于web播放也存在一些问题,通常我们web播放RTMP流使用的是flash,在这个过程中就会出现一个问题,随着web一直播放直播时间的增加,视频直播的延时也会累积起来,延时也就越大。 问题分析 通过自我调研和客户反馈得出在ckplayer、videojs、aliplayer等播放器都会有类似问题,出现该问题的原因在于我们播放rtmp视频流的时候启用了flash,咱们的EasyNVR调用的videojs播放rtmp视频流依然会有这个问题的存在 EasyPlayer-RTSP播放器 EasyPlayer-RTSP播放器是一套RTSP专用的播放器,包括有:Windows(支持IE插件,npapi插件)、Android、iOS三个平台,是由青犀TSINGSEE开放平台开发和维护的区别于市面上大部分的通用播放器,EasyPlayer-RTSP系列从2014年初发展至今得到了各行各业(尤其是安防行业)的广泛应用,其主要原因是EasyPlayer-RTSP更加精炼、更加专注,具备非常低的延时,非常高RTSP协议兼容性,编码数据解析等方面,都有非常大的优势。 如何在Web端播放rtsp流 问题描述 最近有开发者咨询如何在Web端播放rtsp流