Opened 3 years ago
Closed 19 months ago
#9540 closed defect (fixed)
time_id3 metadata is not properly copied
Reported by: | Carlos Salazar | Owned by: | |
---|---|---|---|
Priority: | normal | Component: | ffmpeg |
Version: | unspecified | Keywords: | timed_id3 |
Cc: | Blocked By: | ||
Blocking: | Reproduced by developer: | no | |
Analyzed by developer: | no |
Description (last modified by )
When trying to map and copy time_id3 metadata from a .ts file to a .ts file, the time_id3 metadata is copied (e.g PRIV tags) but the ID3 header is not inserted (0x49 0x44 0x33).
ID3v2 header
The first part of the ID3v2 tag is the 10 byte tag header, laid out
as follows:
ID3v2/file identifier "ID3"
ID3v2 version $04 00
ID3v2 flags %abcd0000
ID3v2 size 4 * %0xxxxxxx
https://id3.org/id3v2.4.0-structure
% ffmpeg -i 3.ts -map 0:a -c:a copy -map 0:v -c:v copy -map 0:d -c:d copy -f mpegts 3b.ts ffmpeg version N-104633-g0e22d2e59b built with Apple clang version 12.0.0
Attachments (3)
Change History (6)
by , 3 years ago
Attachment: | source-correctID3Header.png added |
---|
by , 3 years ago
Attachment: | output-missingID3Header.png added |
---|
by , 3 years ago
comment:1 by , 3 years ago
Description: | modified (diff) |
---|
comment:2 by , 19 months ago
I can confirm that. This is linked to this: http://ffmpeg.org/pipermail/ffmpeg-user/2023-June/056532.html
You can also reproduce it using the remux example, adapted to allow remuxing AVMEDIA_TYPE_DATA
streams. Each time the streams are remuxed, the timed_id3 packets loose exactly 5 bytes..
comment:3 by , 19 months ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
I believe that this was closed with https://git.ffmpeg.org/gitweb/ffmpeg.git/commit/468615f2045da325e0f73e8e668d49cf456ccb37
Source TS file