[FFmpeg-devel] [PATCH v2] avformat/mov: fix buffering issue for special HTTP(s) mp4.

2022-12-20 Thread Chen, Jinkai
Problem: Using ffplay play on these sources: https://ali-sprite-video.yyouwang.com/video/works/202211/1667997073624_73.mp4 https://images.voghion.com/productImages/04_01_C_30011_2020220106GiuseppeFanara0012.mp4 Solution: Add a private option, it will use separated IO context(HTTP connection) for e

[FFmpeg-devel] [PATCH] avformat/mov: fix buffering issue on playing HTTP(s)/mp4.

2022-12-19 Thread Chen, Jinkai
Problem: Issue can be reproduced in ffplay on these sources: https://ali-sprite-video.yyouwang.com/video/works/202211/1667997073624_73.mp4 https://images.voghion.com/productImages/04_01_C_30011_2020220106GiuseppeFanara0012.mp4 Solution: Add a option, which is using separated IO context(HTTP connec

Re: [FFmpeg-devel] [PATCH] avformat/mov: fix buffering issue on playing HTTP(s)/mp4.

2022-12-18 Thread Chen, Jinkai
很重要] On Dec 19, 2022, at 15:04, Chen, Jinkai mailto:chenjin...@agora.io>> wrote: So. I apply this strategy when it’s on HTTP/HTTPs, and it’s not affect local normal files. Could you please show me a bad case on this solution ? I appreciated and try to fix it. Thanks. It will download t

Re: [FFmpeg-devel] [PATCH] avformat/mov: fix buffering issue on playing HTTP(s)/mp4.

2022-12-18 Thread Chen, Jinkai
tps://aka.ms/LearnAboutSenderIdentification,以了解这一点为什么很重要] > >> On Dec 19, 2022, at 12:24, Chen, Jinkai wrote: >> >> Using separated HTTP connection for each stream, >> prevent from reading audio and video in long distance, >> which cause seeking(http request) repe

[FFmpeg-devel] [PATCH] avformat/mov: fix buffering issue on playing HTTP(s)/mp4.

2022-12-18 Thread Chen, Jinkai
Using separated HTTP connection for each stream, prevent from reading audio and video in long distance, which cause seeking(http request) repeatedly. Storing the user options when open input, and make sure that can be passed to demuxer context. Some source can reproducing the issue: https://ali-sp