Re: [FFmpeg-devel] [PATCH] avformat/dashdec: free memory when hlsenc_io_open failed.

2024-10-26 Thread jie jiang
commit message format is error. Please ignore this PATCH. On Sat, Oct 26, 2024 at 8:56 PM jiangjie wrote: > --- > libavformat/hlsenc.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c > index 6148685f40..0d560ad1ce 100644 > --- a/libavformat/h

Re: [FFmpeg-devel] [PATCH] avcodec/bsf/h264_mp4toannexb.c: change extradata to annexb if this is avcc.

2025-04-24 Thread jie jiang
I resubmitted it according to your suggestion. please check. https://patchwork.ffmpeg.org/project/ffmpeg/patch/20250424124250.71553-1-jiangjie...@gmail.com/ So only remove AV_PKT_DATA_NEW_EXTRADATA can fix the issue? answer: yes, but AV_PKT_DATA_NEW_EXTRADATA is used for event notification, it

Re: [FFmpeg-devel] [PATCH] avcodec/bsf/h264_mp4toannexb.c: change extradata to annexb if this is avcc.

2025-04-24 Thread jie jiang
ctx->par_out->extradata isn't updated by this commit. Only NEW_EXTRADATA is updated (avvc to annexb). You suggest the patch should only remove AV_PKT_DATA_NEW_EXTRADATA from packet, but AV_PKT_DATA_NEW_EXTRADATA is used to notify the codec or the format that the extradata buffer was changed and

Re: [FFmpeg-devel] [PATCH] avcodec/bsf/h264_mp4toannexb.c: change extradata to annexb if this is avcc.

2025-04-23 Thread jie jiang
fmpeg -i rtmp://xxx/live/xxx -bsf:v "h264_mp4toannexb,h264_metadata=aud=remove" -c copy -f null - For h264_mp4toannexb, input 264 is avcc, output is annexb. and for h264_metadata, both input and output are annexb. If the sps/pps header is updated, flvdec module will insert AV_PKT_DATA_NEW_EXTRAD