I am not volunteering to do debug this. I do not even know how well MLT can
handle stream dropouts like you want. That would require setting up one's
own RTMP stream and simulating the dropouts in order to craft a command
line that handles it or do any debugging or code changes to make it work.
With that said, I could not get the stream URL you provided to play with
ffplay. However, this does work for me:

melt rtmp://ucsdtv-wowza.ucsd.edu:1935/live/live_800 -consumer
avformat:output.flv vcodec=libx264 acodec=aac



On Sat, Apr 23, 2016 at 11:28 AM, Frans Gouverne <frans...@gmail.com> wrote:

> Hi Dan,
>
> yes, my rtmp stream plays in ffplay, and yes, I have build with librtmp
> enabled. I can read the stream by using rtmpdump as well (ffmpeg uses
> rtmpdump to read the stream).
>
> I want to use melt for mixing audio with video. I know ffmpeg can do that
> as well, but it is restitctive. That is, if the video or audio stream
> stops, ffmpeg will stop as well. I need a command line utility to mix audio
> and video and maybe a picture, and keep on running when one of the inputs
> is dropped. What I understand from the docs, melt behaves like this,
> although I am not completely sure.
>
> Any idea why melt does not work? When I look at the verbose output, it
> looks more or less the same as what ffmpeg produces standalone.
>
> I do have a 4MB debug file, would that be of any interest?
>
>
> 2016-04-22 20:29 GMT+02:00 Dan Dennedy <d...@dennedy.org>:
>
>> Does your URL play with ffplay? Is your libavformat built with librtmp
>> enabled?
>> Why do you want to use melt for this? Most uses of live stream processing
>> and playout that was formerly unique to melt now be done with ffmpeg such
>> as SDI output and filtering.
>>
>>
>> On Fri, Apr 22, 2016 at 10:41 AM Frans Gouverne <frans...@gmail.com>
>> wrote:
>>
>>> When applying -verbose, it looks like it is parsing only the first rtmp
>>> packet and then quits.
>>>
>>> If rtmp is not supported as input for melt, maybe I can grep the rtmp
>>> stream with ffmpeg and pipe it into melt? But I have no idea how...
>>>
>>>
>>> 2016-04-22 15:51 GMT+02:00 Frans Gouverne <frans...@gmail.com>:
>>>
>>>> by the way, when i use an mp4 file as input, it is working.
>>>> So apprently melt does not handle the RTMP stream as expected.
>>>>
>>>> But using ffmpeg it is working:
>>>> ffmpeg -i "rtmp://video.testabc.nl/live/demo live=1" output.flv
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> 2016-04-22 15:38 GMT+02:00 Frans Gouverne <frans...@gmail.com>:
>>>>
>>>>> Just installed melt. From the command line, I want to grep an RTMP
>>>>> stream and to store it into a file:
>>>>>
>>>>> melt -producer avformat:"rtmp://video.testabc.nl/live/demo live=1"
>>>>> -consumer avformat:output.flv  vcodec=libx264 acodec=aac
>>>>>
>>>>> This is the output:
>>>>>
>>>>>  +-----+ +-----+ +-----+ +-----+ +-----+ +-----+ +-----+ +-----+
>>>>> +-----+
>>>>> |1=-10| |2= -5| |3= -2| |4= -1| |5=  0| |6=  1| |7=  2| |8=  5| |9= 10|
>>>>> +-----+ +-----+ +-----+ +-----+ +-----+ +-----+ +-----+ +-----+ +-----+
>>>>> +---------------------------------------------------------------------+
>>>>> |               H = back 1 minute,  L = forward 1 minute              |
>>>>> |                 h = previous frame,  l = next frame                 |
>>>>> |           g = start of clip, j = next clip, k = previous clip       |
>>>>> |                0 = restart, q = quit, space = play                  |
>>>>> +---------------------------------------------------------------------+
>>>>> Current Position:          0
>>>>>
>>>>> But there is almost nothing in output.flv. Simply do not know how to
>>>>> proceed, I am completely new to melt...
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>>
>>>>
>>> ------------------------------------------------------------------------------
>>> Find and fix application performance issues faster with Applications
>>> Manager
>>> Applications Manager provides deep performance insights into multiple
>>> tiers of
>>> your business applications. It resolves application problems quickly and
>>> reduces your MTTR. Get your free trial!
>>> https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
>>> _______________________________________________
>>> Mlt-devel mailing list
>>> Mlt-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/mlt-devel
>>>
>>
>
>
>
>
> ------------------------------------------------------------------------------
> Find and fix application performance issues faster with Applications
> Manager
> Applications Manager provides deep performance insights into multiple
> tiers of
> your business applications. It resolves application problems quickly and
> reduces your MTTR. Get your free trial!
> https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
> _______________________________________________
> Mlt-devel mailing list
> Mlt-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mlt-devel
>
>


-- 
+-DRD-+
------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
Mlt-devel mailing list
Mlt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mlt-devel

Reply via email to