[FFmpeg-user] audio-only flv over rtmp
leo.currie at gmail.com
Mon Aug 5 12:30:52 CEST 2013
I'm trying to generate an RTMP live stream for Flash clients that contains
Is there a special option to prevent the flv muxer generating a video
Here's an example of the kind of stream I'd like to generate:
I'm trying this:
ffmpeg -re -i (my input stream) -acodec aac -strict experimental -ab 96k
-ar 44100 -vn -f flv rtmp://127.0.0.1/live/test
..which connects to my local nginx instance running the rtmp module.
When I try to play the stream in VLC, it complains about an 'undf' video
format, but audio plays fine. Looking at the stream properties in VLC I can
see there is indeed an 'undf' video stream 0, with the audio being stream 1.
Is there an option for the flv muxer to prevent this video stream being
generated? I tried -vn but this doesn't do what I expect.
Or am I going about this the wrong way?
More information about the ffmpeg-user