...
- to configure stream encoding parameters very flexible;
- to send RTMP connection parameters to the server.
Quick manual
...
on testing
1. For test we use:
- WCS server
- ffmpeg
- Player web application in chrome browser to stream playback
...
3. Open Player appliction in browser https://test1.flashphoner.com:8888/client2/examples/demo/streaming/player/player.html, where test1.flashphoner.com is WCS server. Set the stream name and press 'Play'. The stream playback begins.
Excerpt | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Sorenson Spark + Speex 16 kHz stream publishingWCS server can capture RTMP stream encoded with Sorenson Spark + Speex 16kHz to FLV container. This stream can be published, for example, using ffmpeg as follows:
Known limits1. To handle such stream including stream recording, the stream will be transcoded to H.264 + AAC. 2. Payload types 127 for video and 97 for audio should be set in SDP when publishing such stream, for example
|
The features
Explicit specification of encoding parameters
...
Code Block | ||||
---|---|---|---|---|
| ||||
{ "auth" : "22222222", "stream" : "3333333" } |
How to rotate stream published from ffmpeg
ffmpeg RTMP encoder allows to send orientation metadata to WCS server using command line switches:
Code Block | ||||
---|---|---|---|---|
| ||||
ffmpeg -i input.mp4 -metadata:s:v rotate=90 -vcodec copy -acodec copy -strict -2 -f flv rtmp://test1.flashphoner.com:1935/live/stream_ffmpeg |
Note that ffmpeg sends orientattion value but not angle itself.