[FFmpeg-devel] [PATCH V2] avformat: Add Dynacolor MVC Demuxer

Michael Niedermayer michael at niedermayer.cc
Fri Mar 27 19:53:31 EET 2020


On Thu, Mar 26, 2020 at 10:28:32AM +0000, Tom Needham wrote:
> Thanks for your feedback. Please see the attached patch with all the style
> changes addressed which also applies properly.

>  Changelog                |    1 
>  doc/general.texi         |    1 
>  libavformat/Makefile     |    1 
>  libavformat/allformats.c |    1 
>  libavformat/dynacolor.c  |  497 +++++++++++++++++++++++++++++++++++++++++++++++
>  libavformat/dynacolor.h  |  273 +++++++++++++++++++++++++
>  libavformat/version.h    |    2 
>  7 files changed, 775 insertions(+), 1 deletion(-)
> 373e3c7f910ae4d2d005ca0f764afa8f41c0adf4  0001-avformat-Add-Dynacolor-MVC-Demuxer.patch
> From 8f741899b7f6b3884d613f622a548b353af2489e Mon Sep 17 00:00:00 2001
> From: Tom Needham <06needhamt at gmail.com>
> Date: Sun, 21 Jul 2019 21:11:19 +0100
> Subject: [PATCH] avformat: Add Dynacolor MVC Demuxer
> 
> This demuxer adds support for demuxing files in the Dynacolor format
> such as the sample located at:
> 
> http://samples.ffmpeg.org/camera-dvr/dynacolor/dynacolor-camera-sample
> 
> However some decode errors are showing on the resulting MPEG4 stream.
> I don't know whether this is a bug with the demuxer or the file as there is only one sample
> but the output results in a 1 second mp4 file that is playable in VLC media player.
> 
> Signed-off-by: Tom Needham <06needhamt at gmail.com>
> ---
>  Changelog                |   1 +
>  doc/general.texi         |   1 +
>  libavformat/Makefile     |   1 +
>  libavformat/allformats.c |   1 +
>  libavformat/dynacolor.c  | 497 +++++++++++++++++++++++++++++++++++++++
>  libavformat/dynacolor.h  | 273 +++++++++++++++++++++
>  libavformat/version.h    |   2 +-
>  7 files changed, 775 insertions(+), 1 deletion(-)
>  create mode 100644 libavformat/dynacolor.c
>  create mode 100644 libavformat/dynacolor.h

fails to build on mingw64 with --disable-debug --disable-stripping --enable-small

libavformat/libavformat.a(dynacolor.o):dynacolor.c:(.text+0x200): undefined reference to `ff_dyna_callback_checksum'
libavformat/libavformat.a(dynacolor.o):dynacolor.c:(.text+0x200): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `ff_dyna_callback_checksum'
libavformat/libavformat.a(dynacolor.o):dynacolor.c:(.text+0x227): undefined reference to `ff_dyna_extra_checksum'
libavformat/libavformat.a(dynacolor.o):dynacolor.c:(.text+0x227): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `ff_dyna_extra_checksum'
libavformat/libavformat.a(dynacolor.o):dynacolor.c:(.text+0x200): undefined reference to `ff_dyna_callback_checksum'
libavformat/libavformat.a(dynacolor.o):dynacolor.c:(.text+0x200): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `ff_dyna_callback_checksum'
libavformat/libavformat.a(dynacolor.o):dynacolor.c:(.text+0x227): undefined reference to `ff_dyna_extra_checksum'
libavformat/libavformat.a(dynacolor.o):dynacolor.c:(.text+0x227): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `ff_dyna_extra_checksum'


[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Complexity theory is the science of finding the exact solution to an
approximation. Benchmarking OTOH is finding an approximation of the exact
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20200327/ba4df672/attachment.sig>


More information about the ffmpeg-devel mailing list