Opened 8 months ago
Closed 8 months ago
#10883 closed defect (fixed)
first 5 bytes of all MPEGTS KLV data is dropped
Reported by: | tmc2001 | Owned by: | |
---|---|---|---|
Priority: | important | Component: | avformat |
Version: | 6.1 | Keywords: | regression mpegts klv |
Cc: | Marton Balint | Blocked By: | |
Blocking: | Reproduced by developer: | no | |
Analyzed by developer: | no |
Description (last modified by )
This is a regression from 6.0 to 6.1, introduced by changeset:
https://github.com/FFmpeg/FFmpeg/commit/468615f2045da325e0f73e8e668d49cf456ccb37
This change causes the first 5 bytes of all MPEGTS KLV data to be dropped, which is incorrect.
I am not sure on the history of why the 5 byte skip is needed, but, if that skip is needed, might I at least recommend to change it to:
if (pes->stream_type == 0x15 && pes->st->codecpar->codec_id == AV_CODEC_ID_SMPTE_KLV && buf_size >= 5)
Thank you.
Change History (4)
comment:1 by , 8 months ago
Description: | modified (diff) |
---|---|
Summary: | first 5 bytes of all KLV data is dropped → first 5 bytes of all MPEGTS KLV data is dropped |
comment:2 by , 8 months ago
comment:3 by , 8 months ago
Cc: | added |
---|---|
Keywords: | regression mpegts klv added |
Priority: | normal → important |
Status: | new → open |
Just sent a patch to fix this.
https://patchwork.ffmpeg.org/project/ffmpeg/patch/20240229231812.13981-1-cus@passwd.hu/
comment:4 by , 8 months ago
Resolution: | → fixed |
---|---|
Status: | open → closed |
Fixed in Fixed in 0aaee4741ce0c10ca09f5d17194b58d0cf0ebece.
hi. I suppose you do not understand that when there is [1] in the commit message that means that there was supposed to be a cite. But there was not. So look up the source patch:
https://patchwork.ffmpeg.org/project/ffmpeg/patch/20230620050932.85936-1-toots@rastageeks.org/
and it has all the info about stuff
To test:
This file was download from: http://playertest.longtailvideo.com/adaptive/wowzaid3/playlist.m3u8