[FFmpeg-devel] [PATCH] avformat/hls.c:If custom IO is used, Don`t keepalive.

2018-09-28 Thread He Lei
Because, the URLContext of the aviocontext is null when custom IO is used, If keepalive, that will cause the assertion to fail. Signed-off-by: Lei He --- libavformat/hls.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/hls.c b/libavformat/hls.c index

Re: [FFmpeg-devel] [PATCH] avformat/hls.c:If custom IO is used, Don`t keepalive.

2018-09-27 Thread He Lei
The URLContext of the aviocontext is null when custom IO is used, If keepalive, that will cause the assertion to fail 592 static int open_url_keepalive(AVFormatContext *s, AVIOContext **pb, 593 const char *url) 594 { 595 #if !CONFIG_HTTP_PROTOCOL 596

[FFmpeg-devel] Fwd: [Libav-user] Anyone build ffmpeg for ios With xcode9?

2017-10-26 Thread He Lei
下面是被转发的邮件: 发件人: He Lei <helei0...@hotmail.com<mailto:helei0...@hotmail.com>> 主题: [Libav-user] Anyone build ffmpeg for ios With xcode9? 日期: 2017年10月26日 GMT+8 18:00:54 收件人: "libavdevice and libavfilter. This list is about using libavcodec libavformat libavutil"

[FFmpeg-devel] How to parse the coeff_token of H264 cavlc

2017-07-26 Thread He Lei
The describe of coeff_token is ce(v) in bitstream. How do I to parse it`s value from bitstream ? Have any guys know? Orz... ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

[FFmpeg-devel] 答复: About swr_convert_frame of FFmpeg 3.2 Release

2016-11-22 Thread He Lei
Sorry, File is swresample_frame.c; 发件人: He Lei<mailto:helei0...@hotmail.com> 发送时间: 2016年11月23日 11:20 收件人: ffmpeg-devel@ffmpeg.org<mailto:ffmpeg-devel@ffmpeg.org> 主题: [FFmpeg-devel] About swr_convert_frame of FFmpeg 3.2 Release I convert audio frame from s16p to s16 used swr_conv

[FFmpeg-devel] About swr_convert_frame of FFmpeg 3.2 Release

2016-11-22 Thread He Lei
I convert audio frame from s16p to s16 used swr_convert_frame; I found the out_frame ->linesize[0] is more then in_frame; After view the code, I don’t get it ; At lines 144 of file swr_convert_frame.c, Why to add 3 when calculated nb_samples? ___