[Libav-user] can ffmpeg support add audio/video stream dynamically
qw
applemax82 at 163.com
Mon Jul 31 09:45:20 EEST 2017
Hi,
>> I have one question about ffmpeg's one key function. If ffmpeg fetch one
>> rtmp stream from one rtmp server and no audio stream is available at the
>> beginning, then ffmpeg only detect video stream without audio stream.
>> However, after several minutes, one audio stream existed in rtmp stream, how
>> ffmpeg to do with the case? Can ffmpeg functions add the new audio stream
>> dynamically, or ffmpeg functions/structures need to be reset?
>do you mean probesize?
what i mean is, does ffmpeg take the following cases into consideration:
1) audio stream is sent in rtmp stream at the beginning, and after sometime such as 5 minutes or 1 hours, one new video stream is added in rtmp stream
2) video stream is sent in rtmp stream at the beginning, and after sometime such as 5 minutes or 1 hours, one new audio stream is added in rtmp stream
does ffmpeg support the above cases?
At 2017-07-12 14:18:27, "Steven Liu" <lingjiujianke at gmail.com> wrote:
>2017-07-10 20:24 GMT+08:00 qw <applemax82 at 163.com>:
>> Hi,
>>
>> I have one question about ffmpeg's one key function. If ffmpeg fetch one
>> rtmp stream from one rtmp server and no audio stream is available at the
>> beginning, then ffmpeg only detect video stream without audio stream.
>> However, after several minutes, one audio stream existed in rtmp stream, how
>> ffmpeg to do with the case? Can ffmpeg functions add the new audio stream
>> dynamically, or ffmpeg functions/structures need to be reset?
>do you mean probesize?
>>
>> Thanks!
>>
>> Regards
>>
>> Andrew
>>
>>
>>
>>
>>
>> _______________________________________________
>> Libav-user mailing list
>> Libav-user at ffmpeg.org
>> http://ffmpeg.org/mailman/listinfo/libav-user
>>
>_______________________________________________
>Libav-user mailing list
>Libav-user at ffmpeg.org
>http://ffmpeg.org/mailman/listinfo/libav-user
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20170731/94fa0e30/attachment.html>
More information about the Libav-user
mailing list