[rtmpdump] On audio-only RTMP streams...
Howard Chu
hyc at highlandsun.com
Mon Mar 8 22:21:46 CET 2010
PLTK wrote:
> Hello.
>
> Currently, rtmpdump does not "get along" with audio-only RTMP streams.
> I have searched the archives and found out a previous discussion on
> this issue according to which determining the correct format (audio or
> video) of the stream is not trivial and cannot be done in advance
> automagically by the program itself.
>
> The thing I want to ask is:
> If the user "knows" that the RTMP stream is audio-only could he use a
> command-line switch so that the stream can be recorded by rtmpdump and
> played?
> Is something like that a "do-able" programming task so that can be
> included in RTMP?
What problem are you having? rtmpdump works fine with audio-only streams, when
they're being output to a seekable file (as opposed to stdout). It seeks back
to rewrite the FLV header before it closes the file.
More information about the rtmpdump
mailing list