I am trying to play an RTMP audio stream ‘live’ (with minimal delay) through a version of VLC (1.1.3) that was installed through a package that was compiled without librtmp support. I want to avoid having to install a ‘custom’ VLC, therefore I had hoped to solve this through rtmpdump.
I read numerous reports from people who do something like this:
Code: Select all
rtmpdump -r "rtmp://some.rtmp.url" | vlc -
This does not work for me however. VLC just sits there and does nothing. Only if I kill the rtmpdump process VLC will start playing everything that was streamed from the point when rtmpdump was started. I also tried
Code: Select all
mkfifo /tmp/fifo
rtmpdump -r "rtmp://some.rtmp.url" -o /tmp/fifo &
vlc /tmp/fifo
This has exactly the same effect, VLC waits until rtmpdump has stopped.
The only possible difference I can see between my situation and the other reported successful situations, is that the stream I am trying to play is a live audio stream coming from Wowza media server, while the others may have been static FLV files served by some flash media server. What causes VLC to wait for rtmpdump to exit?