#1224: dvb-t to rtmp crash. -------------------------------------+------------------------------------- Reporter: eregi | Owner: Type: defect | Status: new Priority: normal | Component: Version: unspecified | undetermined Keywords: | Resolution: Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 0 -------------------------------------+-------------------------------------
Comment (by reimar): The cache:// protocol might help even out temporary variations in encoding speed I'd expect. Also possibly changes should be made that EOVERFLOW should not lead to exit. Part of the problem might be that ts demuxer assumes that a short read means EOF: len = avio_read(pb, buf, TS_PACKET_SIZE); if (len != TS_PACKET_SIZE) return len < 0 ? len : AVERROR_EOF; It probably should check eof_reached and error values of the context instead. We might want to have a function for that, one that from the read return value and stream state creates the most appropriate AVERROR. -- Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/1224#comment:33> FFmpeg <http://ffmpeg.org> FFmpeg issue tracker _______________________________________________ FFmpeg-trac mailing list FFmpeg-trac@avcodec.org http://avcodec.org/mailman/listinfo/ffmpeg-trac