Menu
  • HOME
  • TAGS

Piping process output to new process

c#,.net,process,rtmp,piping

Came up with a simple solution. Using the the CMD process as your starting process. var p = new Process(); p.StartInfo.FileName = "cmd.exe"; p.StartInfo.Arguments = "/C rtmpdump.exe -v -r rtmp://somehost.com/app-name -o - | ffmpeg.exe -loglevel quiet -i - -c:v copy -c:a libvo_aacenc -b:a 128k \"test.mp4\""; test.Start(); And using this bit...

Google Play Game Services iOS giving error when launching quick match in rtmp

ios,objective-c,time,rtmp,multiplayer

I was able to finally solve my initial issue. PROBLEM: I have a lobby screen which i call "[[GPGManager sharedInstance] signInWithClientID:GOOGLE_GAME_SERVICES_CLIENT_ID silently:NO];", and i also have a game screen that comes after the lobby screen which i call "[[GPGManager sharedInstance] signInWithClientID:GOOGLE_GAME_SERVICES_CLIENT_ID silently:NO];" again. What i had to do was replace...

Live streaming video from mobile devices (iOS & Android) to server

android,ios,video,streaming,rtmp

I can say about Android. I'm in my application using openCV library specifically FFmpegFrameRecorder can work with RTMP protocol. My application works with RED5 server. Of the drawbacks I would mention a large number of native libraries. See my answer, I described there that I used Android Studio with javaCv...

librtmp free(): invalid pointer

c,linux,rtmp

Using RTMPPacket_Alloc(packet, size); worked, although I've seen other code not using it (I think). Anyway here is a working example. #include <stdio.h> #include <stdlib.h> #include <librtmp/rtmp.h> #include <librtmp/log.h> int main(){ RTMP *r; RTMPPacket packet; RTMPPacket_Alloc(&packet, 4096); char uri[] = "rtmp://167.114.171.21:1936/tinyconf app=tinyconf timeout=180000 live=1 conn=S:ROOMNAME swfurl=http://tinychat.com/embed/Tinychat-11.1-1.0.0.0602.swf"; RTMP_LogLevel loglvl=RTMP_LOGDEBUG2;...

Tainted canvas when accessing HLS live stream on Galaxy Ace 2

nginx,http-headers,cors,rtmp,http-live-streaming

Dev tools will not reveal most specifics about the request if it believes the response has not properly acknowledged the cross-origin request. All I can think of is that you are setting the crossorigin attribute after the bytes have started to stream in (at which point the video is already...

how to save h264 stream into .264 file

ffmpeg,h.264,rtmp

should use binary type to save file

Live Stream Video Not Playing On Some Android Versions, HTML5 Video Not Found

html5,video-streaming,rtmp,live-streaming,flowplayer

I am getting the HTML5:Video Not Found error on the link you provided when there's no Flash plugin available (Chrome on Android 4.4.4!). For some reason it insists to play it with Flash and doesn't fall back to the HLS URL which can be played natively. One thing you could...

Convert Flex ByteArray in Java byte[]

java,flex,red5,rtmp

To get the array: byte[] bytes = new byte[byteArray.length()]; byteArray.readBytes(bytes); ...

Live streaming from remote machine webcam to wowza media server using encoder

java,rtmp,http-live-streaming,wowza,encoder

I have a large working application, using a FFmpeg enconder to send authenticated RTMP, a Wowza Server with a custom Module implemetation and transcoding. My encoding application is written in python, but for java there's the jjmpeg option, at https://code.google.com/p/jjmpeg/. FFmpeg will take care of encoding your webcam stream and...

RTMP stream plays sound for 1 second, then stops - no video at all

video,video-streaming,jwplayer,rtmp,jwplayer6

Bah, a second too late, just found the answer here - http://support.jwplayer.com/customer/portal/questions/6242868-white-screen-using-ie1-11-windows7. It's IE's GPU rendering, which has to be turned off. Setting stagevideo to false in JW player's setup configuration resolves the issue. EDIT: Apparently, the video stops after 1 second anyways. Seems to be unrelated. Doesn't happen on...

RTMP stream on IE dies after ~1 second

video,video-streaming,jwplayer,rtmp,jwplayer6

I found out what's the problem: https://github.com/arut/nginx-rtmp-module/issues/340 Actually, documentation even says that it should be enabled by default: https://github.com/arut/nginx-rtmp-module/wiki/Directives#wait_video Yes, apparently, if you're running nginx rtmp module for RTMP hosting, you need to set: wait_video on; In your RTMP applications' configuration block....

Cloudfront stream only part of the video

video,amazon-web-services,video-streaming,amazon-cloudfront,rtmp

No, CloudFront does not support this functionality. You will need to point player to the different video in this case.

YouTube Live API Stream Status and Quality Callback

youtube-api,rtmp,youtube-data-api,youtube-v3-api,youtube-livestreaming-api

I received a reply from Ibrahim Ulukaya about this issue: We are hoping to have more information to that call, but basically active indicates the good streaming, and your streaming info is https://developers.google.com/youtube/v3/live/docs/liveStreams#cdn.format where you set, and can see the format. So the answer for the time being is no,...

Openshift + NGINX RTMP

nginx,openshift,rtmp

There is an apache proxy in front of your application on OpenShift Online, and it is possible that the content is trying to be streamed as HTTP traffic instead of RTMP traffic, that is why you are getting the content mismatch, but if you do it through the port-forward, you...

Convert long string into multiple short strings

c#,string,rtmp

You can convert that string on the jsonObject that represent it. And after that make your own string. Take the newtonsoft from nuget repository. using Newtonsoft.Json; // This is the namespace of Newtonsoft. // this are the lines dynamic gameDataObj = JsonConvert.DeserializeObject(AllGameData); var newStr = string.Format("{{\"mapId\":\"{0}\", \"gameMode\":\"{1}\", \"gameType\":\"{2}\"}}", gameDataObj.mapId, gameDataObj.gameMode,...

rtmpdump check status by command line

linux,ffmpeg,rtmp

rtmpdump -i "rtmpe://watch.playfooty.tv/live playpath=nba1569 swfUrl=http://www.playfooty.tv/play/player/player.swf live=1 pageUrl=http://www.playfooty.tv/" Admittedly the online documentation on RtmpDump is pretty poor, however it is listed in the command line help --url|-i url URL with options included (e.g. rtmp://host[:port]/path swfUrl=url tcUrl=url) http://lists.mplayerhq.hu/pipermail/rtmpdump/2012-July/002016.html...

Upload file on server through rtmps+java

flex,java-ee,rtmp,rtmps

Java doesn't know how to map the FileReference class to a java equivalent. In flex, get the ByteArray from the FileReference and send that to the server. Java knows how to deal with a byte array. You can do with it on the server as you please then.

How can I use RTMPDump from a Visual Studio C++ project?

c++,dll,rtmp

You probably downloaded the prebuilt binary. You need the source which includes librtmp library.http://rtmpdump.mplayerhq.hu/download/rtmpdump-2.2-windows.zip

How to embed RTMP live-stream?

html5,streaming,video-streaming,rtmp

RTMP was designed for Flash and works with Flash. I'm not aware of a way to embed it in HTML5 without a Flash engine. Considering the above you could: write or find a specialized player that can talk to a RTMP server and play the stream without Flash, but this...

Stream Video from ios device

ios,video,ffmpeg,video-streaming,rtmp

Maybe you can check the source code of my streaming app: https://forum.speeddemosarchive.com/post/kumari_alpha_1.html Check in common/rtmp_broadcaster.cpp. It is too long to post here. The code should be the same for iOS. You will only have to modify how the captured frame data is input into ffmpeg. Since you already have the...

Streaming live to YouTube - adaptive bitrate?

android,ios,youtube-api,rtmp,youtube-livestreaming-api

I made an adaptive bitrate RTMP encoding prototype on an iOS device using VideoCore, so it appears that the YouTube Livestreaming API supports adaptive bitrate encoding for RTMP streams.

How to switch audio source with Microphone.getMicrophone() Actionscript 3

javascript,actionscript-3,flash,rtmp,wowza

You can switch your audio source without touching the NetConnection and/or the NetStream. Take this simple example, where I used a button to change my audio source : const server:String = 'rtmp://localhost/live'; const stream:String = 'live'; var nc:NetConnection; var ns_publish:NetStream; nc = new NetConnection(); nc.addEventListener( NetStatusEvent.NET_STATUS, function(e:NetStatusEvent):void { if(e.info.code ==...

Regular Expression - search until specific string appears

regex,linux,grep,rtmp,ngrep

You could try the below grep command which uses a positive lookahead based regex, $ echo "fwef-$*nVrtmp://Ggdggragravrv.com/lolwtf.mp5skill0rz%%&:/getr4kt..Glub" | grep -oP 'rtmp.*?(?=\.\.)' rtmp://Ggdggragravrv.com/lolwtf.mp5skill0rz%%&:/getr4kt ...

RewriteRule appends subfolder to url when redirecting to rtmp protocol

apache,.htaccess,mod-rewrite,rtmp

Replace that rule with this RedirectMatch rule: RedirectMatch ^/redirect/?$ rtmp://url.tv/live/ Otherwise RewriteRule doesn't recognize rtmp:// as an independent protocol and appends http:// to target URI if using R flag. ...

Get url code from RTMP

java,javascript,html,rtmp

Your image is too small but what you want is impossible, this RTMP vod service need two steps : Connect to the RTMP server using the following URL : rtmp://5.79.69.176:1935/vod?h=vgi7a4tp2luzcg3h5e7shtf2qthlmh3cv6g3d6gipwfep4oyo4idnrgjn7ra And then play the following stream : 98/8384638976_n?h=vgi7a4tp2luzcg3h5e7shtf2qthlmh3cv6g3d6gipwfep4oyo4ie3xojn7ra You can reproduce the video using a flash client (as this one...

Using amazon cloudfront to stream on demand without using s3

amazon-web-services,amazon-s3,amazon-cloudfront,rtmp,ondemand

This is not possible. See the second sentence in the manual: http://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/StreamingDistributionS3Origin.html

Gstreamer, how recover from (rtmpsink) error

python,error-handling,gstreamer,rtmp,gst

I'm not sure how reliable a system you'll get with a single pipeline on this. What I'd recommend doing is creating a two stage process: 1) audio -> encode -> tee -> filesink -> shmsink 2) shmsrc -> mux -> rtmpsink Then create a wrapper script for the second pipeline....

OpenCV and RTMP

c++,opencv,ffmpeg,rtmp

cRMTPServer and LibRTMP works well.

No video shown when using jwplayer to connect to RTMP stream

video,streaming,jwplayer,rtmp

No need for a playlist with one item, and your RTMP URL is malformed. Also no need for the "primary" attribute, because RTMP is a Flash protocol - it can't be displayed in HTML5 mode anyway. So, try this: <script type="text/javascript"> jwplayer("myElement-teststream").setup({ file: "rtmp://192.168.0.8:1935/live/teststream", height: 1080, width: 1920 }); </script>...

./configure invalid option “-user=nginx”

nginx,rtmp,centos6

The issue is that his blog auto-changed -- to a long dash –. if you search and replace that long-dash with two -- then it configures just fine.

Android - Stream camera as RTMP stream

android,video-streaming,rtmp

In the accepted answer of the question you linked someone suggests using JavaCV. It requires API 8 or newer and features a FFmpegFrameRecorder class. Link to github: https://github.com/bytedeco/javacv They even have a full sample of capturing flv (it's rather large so I won't paste it here): https://github.com/bytedeco/javacv/blob/master/samples/RecordActivity.java In your case...