[FFmpeg-user] Live transcoding to an rtp stream is unreliable.
aviad rozenhek
aviadr1 at gmail.com
Thu Apr 14 15:13:45 CEST 2011
On Thu, Apr 7, 2011 at 16:05, Alexandre Ferrieux <
alexandre.ferrieux at orange-ftgroup.com> wrote:
> On 07/04/2011 14:41, David Pottage wrote:
>
>> On 07/04/11 12:39, Alexandre Ferrieux wrote:
>>
>>>
>>> Look at these lines. Aren't they ominous ?
>
> [mpeg2video @ 0xa193990]ac-tex damaged at 11 22=4.52 bitrate=
>>> 73.2kbits/s dup=12 drop=0
>>> [mp2 @ 0xa1940f0]incomplete frame
>>> Error while decoding stream #0.1
>>>
>>
> Clearly this indicates a problem in the input bitstream. Maybe some network
> latency stalled the TCP (on the http leg) a bit, producing an oveerun at the
> source, resulting in TS discontinuity ?
>
>
>
FYI reading from UDP in ffmpeg is completely broken for any bitrates above
800kbps
the loop that reads from UDP also goes through to demuxing, thus a lot of
UDP packets are simply dropped.
the solution is to implement a tight UDP loop in a custom application, or
wait until this is solved in libavformat
--
Aviad Rozenhek
More information about the ffmpeg-user
mailing list