[FFmpeg-trac] #10104(ffprobe:reopened): ffprobe: ignores output format option
FFmpeg
trac at avcodec.org
Thu Dec 15 12:52:08 EET 2022
#10104: ffprobe: ignores output format option
---------------------------------+------------------------------------
Reporter: smurfix | Owner: (none)
Type: defect | Status: reopened
Priority: normal | Component: ffprobe
Version: 5.1.2 | Resolution:
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
---------------------------------+------------------------------------
Changes (by smurfix):
* status: closed => reopened
* resolution: needs_more_info =>
Old description:
> Summary of the bug:
>
> "ffprobe -of XXX" wraps the output in something that might contain XXX
> but the actual output is unchanged.
>
> How to reproduce:
> {{{
> % ffmpeg -hide_banner -of json 01.ogg
> {
> Input #0, ogg, from '01.ogg':
> Duration: 00:02:36.45, start: 0.000000, bitrate: 141 kb/s
> Stream #0:0: Audio: vorbis, 44100 Hz, stereo, fltp, 160 kb/s
>
> }
> }}}
>
> This happens with MP4 files too so looks like a generic problem.
New description:
Summary of the bug:
"ffprobe -of XXX" prints something that might contain XXX but doesn't
actually write any data.
How to reproduce:
{{{
% ffprobe 01.ogg
[ comprehensive data dump ]
% ffprobe -of json 01.ogg 2>/dev/null
{
}
}}}
This happens with MP4 files too so looks like a generic problem.
--
Comment:
Report fixed. Sorry for mistakenly writing "ffmpeg" instead of "ffprobe"
in the description.
Using -hide-banner or not doesn't affect the output; in fact further
testing shows that all the verbosity goes to stderr and stdout is empty.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/10104#comment:2>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list