[FFmpeg-devel] [SDR][RFC] libavradio branch changes

Michael Niedermayer michael at niedermayer.cc
Mon Jul 3 08:47:53 EEST 2023


Hi

the new libavradio in its new repository needs some changes the problem
is that maintaining it in a separate repository AND seperate directory is not
so simple
But let me show this in numbers, this is the stats of the changes related to the build
system that would need to be maintained:

commit e262fd4b85a1a3ddf34c365bb88e54cdc6be53eb
Author: Michael Niedermayer <michael at niedermayer.cc>
Date:   Sun Jul 2 14:08:42 2023 +0200

    Move sdr to new libavradio

    Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>

 Makefile                                          |   5 +--
 configure                                         |  36 ++++++++++++++++++++--
 fftools/ffmpeg.c                                  |   5 +++
 fftools/ffplay.c                                  |   4 +++
 fftools/ffprobe.c                                 |   4 +++
 fftools/opt_common.c                              |  62 ++++++++++++++++++++++++++++++++++---
 fftools/opt_common.h                              |  27 ++++++++++++++++
 libavdevice/Makefile                              |   1 -
 libavdevice/alldevices.c                          |   1 -
 libavdevice/utils.c                               |   2 +-
 libavformat/allformats.c                          |  32 ++++++++++++++-----
 libavformat/internal.h                            |   1 +
 libavradio/Makefile                               |  14 +++++++++
 libavradio/allradios.c                            |  65 +++++++++++++++++++++++++++++++++++++++
 libavradio/avradio.c                              |  32 +++++++++++++++++++
 libavradio/avradio.h                              | 121 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 libavradio/internal.h                             |  28 +++++++++++++++++
 libavdevice/sdrindev.c => libavradio/sdrinradio.c |   2 +-
 {libavdevice => libavradio}/utils.c               |   4 +--
 libavradio/version.c                              |  45 +++++++++++++++++++++++++++
 libavradio/version.h                              |  45 +++++++++++++++++++++++++++
 libavradio/version_major.h                        |  36 ++++++++++++++++++++++
 libavutil/log.h                                   |   1 +
 tools/uncoded_frame.c                             |   4 +++
 24 files changed, 554 insertions(+), 23 deletions(-)



I do not know if changes to the build system can be marged in git master or
if people agree to that at all.
But if this needs to be maintained in its current form, it will cause bugs
and alot of extra work over time

the alternative would be to undo the libavradio thing and rather maintain
sdr as input device and demuxer in the libavradio repository

Of course having the sdr input device and file demuxer in git master would
be the least amount of work

thx

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

It is a danger to trust the dream we wish for rather than
the science we have, -- Dr. Kenneth Brown
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20230703/f812ad2c/attachment.sig>


More information about the ffmpeg-devel mailing list