Update: This time tried to create flv file from live rtmp producer also failed.
When my producer is live rtmp stream the consumer is seems not running in these
both cases.
melt -debug -producer
avformat:rtmp://localhost:1935/live/9C50D609-7607-4588-A645-CE2CB4F99F69 live=1
-consumer avformat:rtmp://locahost:1935/live/melt vcodec=copy acodec=copy f=flv
real_time=1 -verbose -debug
melt -debug -producer
avformat:rtmp://localhost:1935/live/9C50D609-7607-4588-A645-CE2CB4F99F69 live=1
-consumer avformat:output.flv vcodec=copy acodec=copy
This is my output:
RTMP_ClientPacket, received: invoke 108 bytes
(object begin)
Property: <Name: no-name., STRING: onStatus>
Property: <Name: no-name., NUMBER: 0.00>
Property: NULL
Property: <Name: no-name., OBJECT>
(object begin)
Property: <Name: level, STRING: error>
Property: <Name: code, STRING: NetStream.Play.StreamNotFound>
Property: <Name: description, STRING: No such stream>
(object end)
(object end)
HandleInvoke, server invoking <onStatus>
HandleInvoke, onStatus: NetStream.Play.StreamNotFound
Closing connection: NetStream.Play.StreamNotFound
producer_avformat_close
Failed to load
"avformat:rtmp://localhost:1935/live/9C50D609-7607-4588-A645-CE2CB4F99F69"
[consumer avformat] stopping put waiting
[consumer avformat] stopping consumer
[consumer avformat] stopping read_ahead
[consumer avformat] stopped
-------- Original Message --------
Subject: Capture rtmp live stream and stream it back to the rtmp server
Local Time: June 3, 2017 11:10 AM
UTC Time: June 3, 2017 8:10 AM
From: ari...@protonmail.com
To: mlt-devel@lists.sourceforge.net <mlt-devel@lists.sourceforge.net>
Hello all!
Just start playing with mlt and i am fairly impressed.
I was able to stream a local flv file to an rtmp server. Now what i'm trying to
do is to capture a live rtmp stream and stream it to another server using this
command:
melt -producer avformat:rtmp://localhost:1935/live/mystream -consumer
avformat:rtmp://locahost:1935/live/stream2 real_time=1 -verbose -debug
mlt get the input stream but is not streaming to the server. Is this approach
that i am trying correct or i have misunderstood something?
Thank you.
Sent with [ProtonMail](https://protonmail.com) Secure Email.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Mlt-devel mailing list
Mlt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mlt-devel