[FFmpeg-trac] #9901(undetermined:new): Bug: ffmpeg/ffprobe calls field different from it's header.
FFmpeg
trac at avcodec.org
Fri Sep 9 10:34:28 EEST 2022
#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
More information about the FFmpeg-trac
mailing list