I've done some more testing with red5. With the following command I'm able to get test.mp3 and play it: avconv -loglevel debug -i rtmp://127.0.0.1/oflaDemo/test -ar 44100 -f mp3 test.mp3
When trying to output to stdout I'm only getting output when stopping the rtmp stream: avconv -loglevel debug -i rtmp://127.0.0.1/oflaDemo/test -ar 44100 -f mp3 pipe:1 Even when I'm trying to stream to rtmp stream test2, and playing the stream with another browser, I'm only hearing audio after the rtmp stream test1 stopps. avconv -loglevel debug -i rtmp://127.0.0.1/oflaDemo/test -ar 44100 -f flv rtmp://127.0.0.1/oflaDemo/test2 How can I make avconv stream the output in realtime? On Sun, Jun 23, 2013 at 3:33 AM, pablo platt <[email protected]> wrote: > Hi, > > I'm trying to transcode a live RTMP stream to mp3. > I can't make avconv write the output to stdout. > > I was trying: > avconv -i rtmp://127.0.0.1/audio/test -f mp3 - > and > avconv -i rtmp://127.0.0.1/audio/test -f mp3 pipe:1 > > But all I'm getting is a message that the speex header is missing. > When I'm stopping the RTMP server I see some more message but not getting > mp3 packets. > > I'm using ubuntu 12.04 64bit with the libav-tools deb package. > For testing I'm using the python rtmp server > http://code.google.com/p/rtmplite/ > > How can I make the output go to stdout? > > Thanks >
_______________________________________________ libav-tools mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-tools
