[FFmpeg-trac] #10737(undetermined:new): Include ffprobe functionality in ffprobe command-line program

FFmpeg trac at avcodec.org
Sun Dec 17 20:29:24 EET 2023


#10737: Include ffprobe functionality in ffprobe command-line program
-------------------------------------+-------------------------------------
             Reporter:  bubbleguuum  |                    Owner:  (none)
                 Type:  enhancement  |                   Status:  new
             Priority:  normal       |                Component:
                                     |  undetermined
              Version:  unspecified  |               Resolution:
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
Description changed by bubbleguuum:

Old description:

> It would be nice if the ffmpeg command-line program included ffprobe
> functionality.
>
> Let me explain.
>
> If for some reason you are using statically linked ffmpeg and ffprobe
> binaries, you end up with 2 large binaries that are almost identical.
>
> If you use these in a docker image, it increases its size.
>
> Ideally, a single ffmpeg binary that can also do ffprobe is a nice
> solution.
>
> As a proof of concept, I have attached a patch to the FFmpeg v6.1 source
> that do this:
>
> - if ffmpeg is invoked with --ffprobe as first argument, it behaves as
> ffprobe
> - Unix only: if ffprobe is a symbolic link pointing to ffmpeg, ffmpeg
> behaves as ffprobe

New description:

 It would be nice if the ffmpeg command-line program included ffprobe
 functionality (enabled optionally with configure).

 Let me explain.

 If for some reason you are using statically linked ffmpeg and ffprobe
 binaries, you end up with 2 large binaries that are almost identical.


 If you use these in a docker image, it increases the image size.
 On Android, it is also interesting to reduce size as much as possible when
 using custom statically linked ffmpeg binaries.

 Ideally, a single ffmpeg binary that can also do ffprobe is a nice
 solution.

 As a proof of concept, I have attached a patch to the FFmpeg v6.1 source
 that do this:

 - if ffmpeg is invoked with --ffprobe as first argument, it behaves as
 ffprobe
 - Unix only: if ffprobe is a symbolic link pointing to ffmpeg, ffmpeg
 behaves as ffprobe

--
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/10737#comment:1>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list