[FFmpeg-user] Can the rtmp stream published by Flash Media Encoder be read by ffmpeg?
timothygu99 at gmail.com
Sun Apr 28 05:49:32 CEST 2013
On Apr 27, 2013 8:39 PM, "Ricardo Kleemann" <ricardo at americasnet.com> wrote:
> On Wed, Apr 24, 2013 at 9:53 AM, <paulj at fastmail.es> wrote:
> > > On Wed, Apr 24, 2013 at 5:25 PM, <paulj at fastmail.es> wrote:
> > > >
> > > > Funny you should ask that :-), since I asked the exact same
> > > question a few days ago.
> > > > From my research, you can NOT just use ffmpeg to listen on a port
> > > get the RTMP
> > > > stream; Flash Media Live Encoder expects something... else (don't
> > > exactly what, would
> > > > love to be enlightened). Thus, you need a proper RTMP server to
> > > to its stream.
> > >
> > > You asked the same question a few days ago, but didn't respond to my
> > > comment that netcat can be used to listen on a port and feed the data
> > > to ffmpeg over a pipe. I see no reason why that should not work.
> > >
> > Oh, yes. Sorry, forgot to respond (short story: it didn't work,
> > and then I was on a rush
> > to find an alternative and none of them involved ffmpeg, so were kind-of
> > off-topic for this list).
> > Long story: Flash Media Live Encoder needs in its URL, not just
> > the IP address of the
> > server, but also the path and name of an application server (I think)
> > which receives its
> > stream. In other words, if you just put:
> > rtmp://192.168.1.1/
> > As the destination URL, it won't even connect; it will tell you
> > that the URL is invalid.
> > You need to put something like:
> > rtmp://192.168.1.1/live/stream
> > For it to connect. From what I've seen in Red5's install, there
> > should be a Java
> > server-based app listening on that URL, in charge of receiving FMLE's
> > stream (and probably
> > receiving whatever commands FMLE sends along). Since I don't know Java
> > didn't see a
> > way to simulate that setup using netcat, I abandoned that path.
> > Forgot to mention: I asked about it on Stack Overflow and didn't
> > get any answers
> > either:
> > r-just-one-client
> > Right now it isn't an urgent matter for me anymore, but as I
> > I'd love to hear what
> > I was doing wrong, just for future reference.
> > Paulo.
> So continuing on this thread... It seems to me that Flash Media Live
> Encoder now only works with Flash Media Server. It doesn't seem to be able
> to connect to any other server.
The Adobe website says:
"... that streams audio and video in real time to Adobe Media Server
software or Flash Video Streaming Service (FVSS)."
It did not say that it can streams to anything else.
More information about the ffmpeg-user