Hello,
The ffmpeg command would look like the following.
For MP4:
./ffmpeg -re -i /home/test/content/mp4/sample.mp4 -acodec copy -vcodec copy -f flv rtmp://login:pass@127.0.0.1:2000/live/stream
For MP3:
./ffmpeg -re -i /home/test/content/mp3/sample.mp3 -acodec copy -vn -f flv rtmp://login:pass@127.0.0.1:2000/live/stream
These commands assume that your Nimble Streamer instance:
- accepts incoming information on 127.0.0.1:2000 interface
- has "login" and "pass" as credentials for publishing authentication.
Take a look at this article describing RTMP to HLS set up on Nimble Streamer side: http://blog.wmspanel.com/2014/06/rtmp-hls-transmuxing.html