Hey guys!!
Hope all is well, just wanted to see if I can get any details on how to use an RTMP source from Wowza with FFmpeg is the stream is running on an instance of a particular application?
Lemme try to clarify…
On this forum post: https://www.wowza.com/docs/how-to-use-ffmpeg-with-wowza-media-server-mpeg-ts it says that the format of the RTMP URL portion is:
rtmp://[wowza-ip-address]/[application]/[streamName]
Now if I use an input source like the following (not a stream running on an app instance) everything works just dandy:
ffmpeg -re -i rtmp://localhost/live/stream
If however, I try to use a stream running on an application instance I get an error, see below:
ffmpeg -re -i [B]rtmp://localhost/live/instance/stream[/B] -i [B]rtmp://localhost/liveeventorigin/instance/stream[/B] -map 0:0 -map 1:1 -codec copy -f flv rtmp://localhost/liveorigin/video
ffmpeg version 0.11.1 Copyright (c) 2000-2012 the FFmpeg developers
built on Jul 18 2012 12:05:01 with llvm_gcc 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.1.00)
configuration: --enable-shared --enable-libmp3lame --enable-encoder=libmp3lame
libavutil 51. 54.100 / 51. 54.100
libavcodec 54. 23.100 / 54. 23.100
libavformat 54. 6.100 / 54. 6.100
libavdevice 54. 0.100 / 54. 0.100
libavfilter 2. 77.100 / 2. 77.100
libswscale 2. 1.100 / 2. 1.100
libswresample 0. 15.100 / 0. 15.100
[rtmp @ 0x7fbad3414c60] Server error: Failed to play [B]instance/stream[/B]; stream not found.
[B]rtmp://localhost/live/instance/stream[/B]: Operation not permitted
Any ideas where I might be going wrong? Thanks!