#9901(ffmpeg:new): Bug: ffmpeg/ffprobe calls field different from it's header.
#9901: Bug: ffmpeg/ffprobe calls field different from it's header. ----------------------------------+---------------------------------- Reporter: NY2Da | Type: defect Status: new | Priority: normal Component: ffmpeg | Version: 4.4.1 Keywords: METADATA | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | ----------------------------------+---------------------------------- - ffprobe calls Description field comment Test Method- 1. Remove all tags from a file using MP3Tag. 2. create a "extended custom tag" called DESCRIPTION (Not a field already in software so you can be sure what header it is) and enter some value. 3. Then check with ffbrobe. Result- mp3tag https://preview.redd.it/30bl1thk1el91.png?width=642&format=png&auto=webp&s=e8fde094c28b0f0205a496b7b12b0d25ddd744a5 ffprobe https://preview.redd.it/ul7a79jl1el91.png?width=467&format=png&auto=webp&s=1f94aacc7a97e8b81db4cdebc38122faab243324 - ffmpeg and ffprobe have different behaviors one calls the same field comment the other DESCRIPTION - experiment done by u/wierd (r/youtubedl mod) r/youtubedl/comments/wxkpv8/comment/ilzy6ow - i have a clean opus file, no metadata. i add metadata to it like this. ffmpeg -i clean.251.opus -metadata 'description=this is a description' -metadata 'comment=this is a comment' -metadata 'random=this is a random field' -metadata 'synopsis=this is the synopsis field' new.opus ffmpeg output: Output #0, opus, to 'new.opus': Metadata: description : this is a description comment : this is a comment <--- random : this is a random field synopsis : this is the synopsis field encoder : Lavf58.76.100 Stream #0:0(eng): Audio: opus, 48000 Hz, stereo, flt, 96 kb/s Metadata: encoder : Lavc58.134.100 libopus DESCRIPTION : this is a comment <--- random : this is a random field synopsis : this is the synopsis field first part lists description, comment, random, synopsis. second partg lists DESCRIPTION with the comment contents. but... ffprobe: Input #0, ogg, from 'new.opus': Duration: 00:06:06.40, start: 0.000000, bitrate: 94 kb/s Stream #0:0(eng): Audio: opus, 48000 Hz, stereo, fltp Metadata: encoder : Lavc58.134.100 libopus comment : this is a comment <--- random : this is a random field synopsis : this is the synopsis field here it lists the comment as comment but description is not shown. -------- Summary of the bug: How to reproduce: {{{ % ffmpeg -i input ... output ffmpeg version built on ... }}} Patches should be submitted to the ffmpeg-devel mailing list and not this bug tracker. -- Ticket URL: <https://trac.ffmpeg.org/ticket/9901> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#9901: Bug: ffmpeg/ffprobe calls field different from it's header. ----------------------------------+---------------------------------- Reporter: NY2Da | Owner: (none) Type: defect | Status: new Priority: normal | Component: ffmpeg Version: 4.4.1 | Resolution: Keywords: METADATA | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | ----------------------------------+---------------------------------- Changes (by NY2Da): * Attachment "ul7a79jl1el91.webp" added. -- Ticket URL: <https://trac.ffmpeg.org/ticket/9901> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#9901: Bug: ffmpeg/ffprobe calls field different from it's header. ----------------------------------+---------------------------------- Reporter: NY2Da | Owner: (none) Type: defect | Status: new Priority: normal | Component: ffmpeg Version: 4.4.1 | Resolution: Keywords: METADATA | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | ----------------------------------+---------------------------------- Changes (by NY2Da): * Attachment "30bl1thk1el91.webp" added. -- Ticket URL: <https://trac.ffmpeg.org/ticket/9901> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#9901: Bug: ffmpeg/ffprobe calls field different from it's header. ----------------------------------+---------------------------------- Reporter: NY2Da | Owner: (none) Type: defect | Status: new Priority: normal | Component: ffmpeg Version: 4.4.1 | Resolution: Keywords: METADATA | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | ----------------------------------+---------------------------------- Changes (by NY2Da): * Attachment "30bl1thk1el91.2.webp" added. -- Ticket URL: <https://trac.ffmpeg.org/ticket/9901> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#9901: Bug: ffmpeg/ffprobe calls field different from it's header. ----------------------------------+---------------------------------- Reporter: NY2Da | Owner: (none) Type: defect | Status: new Priority: normal | Component: ffmpeg Version: 4.4.1 | Resolution: Keywords: METADATA | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | ----------------------------------+---------------------------------- Comment (by Carl Eugen Hoyos): Is the issue you see reproducible with current FFmpeg git head, the only version supported on this bug tracker? -- Ticket URL: <https://trac.ffmpeg.org/ticket/9901#comment:1> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#9901: Bug: ffmpeg/ffprobe calls field different from it's header. -------------------------------------+---------------------------------- Reporter: NY2Da | Owner: (none) Type: defect | Status: new Priority: normal | Component: ffmpeg Version: unspecified | Resolution: Keywords: METADATA | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+---------------------------------- Changes (by Carl Eugen Hoyos): * version: 4.4.1 => unspecified -- Ticket URL: <https://trac.ffmpeg.org/ticket/9901#comment:2> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#9901: Bug: ffmpeg/ffprobe calls field different from it's header. -------------------------------------+------------------------------------- Reporter: NY2Da | Owner: (none) Type: defect | Status: new Priority: normal | Component: | undetermined Version: unspecified | Resolution: Keywords: METADATA | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+------------------------------------- Changes (by Carl Eugen Hoyos): * component: ffmpeg => undetermined -- Ticket URL: <https://trac.ffmpeg.org/ticket/9901#comment:3> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#9901: Bug: ffmpeg/ffprobe calls field different from it's header. -------------------------------------+------------------------------------- Reporter: NY2Da | Owner: (none) Type: defect | Status: new Priority: normal | Component: | undetermined Version: unspecified | Resolution: Keywords: METADATA | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+------------------------------------- Comment (by mkver): FFmpeg (the project) aspires to be a generic tool and therefore normalizes certain common tag names like "comment". For VorbisComment metadata, the tag that gets mapped to comment in DESCRIPTION (this is defined in ff_vorbiscomment_metadata_conv in libavformat/vorbiscomment.c). Therefore the muxer converts a comment tag to DESCRIPTION and the demuxer converts a DESCRIPTION to a comment. ffprobe uses said demuxer, so it reports comment. So I fail to see the bug here. After all, your -metadata 'comment=this is a comment' has been preserved. -- Ticket URL: <https://trac.ffmpeg.org/ticket/9901#comment:4> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#9901: Bug: ffmpeg/ffprobe calls field different from it's header. -------------------------------------+------------------------------------- Reporter: NY2Da | Owner: (none) Type: defect | Status: new Priority: normal | Component: | undetermined Version: unspecified | Resolution: Keywords: METADATA | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+------------------------------------- Comment (by NY2Da): Replying to [comment:4 mkver]: It causes alot of errors when using --parse-metadata in yt-dlp. Metadata field conversion should be handled separately. yt-dlp error I faced - https://www.reddit.com/r/youtubedl/comments/wxkpv8/purl_and_description_meta... https://www.reddit.com/r/youtubedl/comments/x3g0zh/comment/imrieya/?context=... In conclusion yt-dlp(ffmpeg) doesn't know difference between description and comment when writting value. And DESCRIPTION and description when deleting value. -- Ticket URL: <https://trac.ffmpeg.org/ticket/9901#comment:5> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#9901: Bug: ffmpeg/ffprobe calls field different from it's header. -------------------------------------+------------------------------------- Reporter: NY2Da | Owner: (none) Type: defect | Status: new Priority: normal | Component: | undetermined Version: unspecified | Resolution: Keywords: METADATA | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+------------------------------------- Description changed by NY2Da: Old description:
- ffprobe calls Description field comment Test Method- 1. Remove all tags from a file using MP3Tag. 2. create a "extended custom tag" called DESCRIPTION (Not a field already in software so you can be sure what header it is) and enter some value. 3. Then check with ffbrobe. Result-
mp3tag https://preview.redd.it/30bl1thk1el91.png?width=642&format=png&auto=webp&s=e8fde094c28b0f0205a496b7b12b0d25ddd744a5 ffprobe https://preview.redd.it/ul7a79jl1el91.png?width=467&format=png&auto=webp&s=1f94aacc7a97e8b81db4cdebc38122faab243324
- ffmpeg and ffprobe have different behaviors one calls the same field comment the other DESCRIPTION - experiment done by u/wierd (r/youtubedl mod) r/youtubedl/comments/wxkpv8/comment/ilzy6ow -
i have a clean opus file, no metadata. i add metadata to it like this. ffmpeg -i clean.251.opus -metadata 'description=this is a description' -metadata 'comment=this is a comment' -metadata 'random=this is a random field' -metadata 'synopsis=this is the synopsis field' new.opus ffmpeg output: Output #0, opus, to 'new.opus': Metadata: description : this is a description comment : this is a comment <--- random : this is a random field synopsis : this is the synopsis field encoder : Lavf58.76.100 Stream #0:0(eng): Audio: opus, 48000 Hz, stereo, flt, 96 kb/s Metadata: encoder : Lavc58.134.100 libopus DESCRIPTION : this is a comment <--- random : this is a random field synopsis : this is the synopsis field first part lists description, comment, random, synopsis. second partg lists DESCRIPTION with the comment contents. but... ffprobe: Input #0, ogg, from 'new.opus': Duration: 00:06:06.40, start: 0.000000, bitrate: 94 kb/s Stream #0:0(eng): Audio: opus, 48000 Hz, stereo, fltp Metadata: encoder : Lavc58.134.100 libopus comment : this is a comment <--- random : this is a random field synopsis : this is the synopsis field here it lists the comment as comment but description is not shown. -------- Summary of the bug: How to reproduce: {{{ % ffmpeg -i input ... output ffmpeg version built on ... }}} Patches should be submitted to the ffmpeg-devel mailing list and not this bug tracker.
New description: - ffprobe calls Description field comment Test Method- 1. Remove all tags from a file using MP3Tag. 2. create a "extended custom tag" called DESCRIPTION (Not a field already in software so you can be sure what header it is) and enter some value. 3. Then check with ffbrobe. Result- mp3tag - ffprobe - See Images Attached https://trac.ffmpeg.org/attachment/ticket/9901/ul7a79jl1el91.webp https://trac.ffmpeg.org/attachment/ticket/9901/30bl1thk1el91.webp - ffmpeg and ffprobe have different behaviors one calls the same field comment the other DESCRIPTION - experiment done by u/wierd (r/youtubedl mod) r/youtubedl/comments/wxkpv8/comment/ilzy6ow - i have a clean opus file, no metadata. i add metadata to it like this. ffmpeg -i clean.251.opus -metadata 'description=this is a description' -metadata 'comment=this is a comment' -metadata 'random=this is a random field' -metadata 'synopsis=this is the synopsis field' new.opus ffmpeg output: Output #0, opus, to 'new.opus': Metadata: description : this is a description comment : this is a comment <--- random : this is a random field synopsis : this is the synopsis field encoder : Lavf58.76.100 Stream #0:0(eng): Audio: opus, 48000 Hz, stereo, flt, 96 kb/s Metadata: encoder : Lavc58.134.100 libopus DESCRIPTION : this is a comment <--- random : this is a random field synopsis : this is the synopsis field first part lists description, comment, random, synopsis. second partg lists DESCRIPTION with the comment contents. but... ffprobe: Input #0, ogg, from 'new.opus': Duration: 00:06:06.40, start: 0.000000, bitrate: 94 kb/s Stream #0:0(eng): Audio: opus, 48000 Hz, stereo, fltp Metadata: encoder : Lavc58.134.100 libopus comment : this is a comment <--- random : this is a random field synopsis : this is the synopsis field here it lists the comment as comment but description is not shown. -------- Summary of the bug: How to reproduce: {{{ % ffmpeg -i input ... output ffmpeg version built on ... }}} Patches should be submitted to the ffmpeg-devel mailing list and not this bug tracker. -- -- Ticket URL: <https://trac.ffmpeg.org/ticket/9901#comment:6> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
participants (1)
-
FFmpeg