#9782: avformat_find_stream_info too slow with open TS stream
------------------------------------+------------------------------------
Reporter: GJJ | Owner: (none)
Type: defect | Status: new
Priority: important | Component: avformat
Version: git-master | Resolution:
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
------------------------------------+------------------------------------
Comment (by GJJ):
Replying to [comment:7 Marton Balint]:
> It seems that part of code is some hack for broken files from the old
times.
>
> I have sent a patch which eliminates it more completetly.
>
>
https://patchwork.ffmpeg.org/project/ffmpeg/patch/[email protected]/
>
> Also note that for ffmpeg tests I needed to specify -scan_all_pmts 0 to
be able to test this, otherwise it does not really make a difference,
because ffmpeg implicitly sets it to 1 which ultimately causes the code in
avformat_find_stream_info() to effectively read the whole probesize during
probing.
✅passed in my test.
@Marton Balint Thks for your patch
--
Ticket URL: <https://trac.ffmpeg.org/ticket/9782#comment:8>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
_______________________________________________
FFmpeg-trac mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-trac
To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".