From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTP id 23E58410D5 for ; Wed, 14 Jun 2023 00:23:37 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id AFF6A68C415; Wed, 14 Jun 2023 03:23:34 +0300 (EEST) Received: from relay4-d.mail.gandi.net (relay4-d.mail.gandi.net [217.70.183.196]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 3A83468C401 for ; Wed, 14 Jun 2023 03:23:28 +0300 (EEST) X-GND-Sasl: michael@niedermayer.cc Received: by mail.gandi.net (Postfix) with ESMTPSA id 35947E0003 for ; Wed, 14 Jun 2023 00:23:26 +0000 (UTC) Date: Wed, 14 Jun 2023 02:23:26 +0200 From: Michael Niedermayer To: FFmpeg development discussions and patches Message-ID: <20230614002326.GK1391451@pb2> References: <20230612123027.1865-1-d.kozinski@samsung.com> MIME-Version: 1.0 In-Reply-To: <20230612123027.1865-1-d.kozinski@samsung.com> X-Spam-Flag: yes X-Spam-Level: *********** X-GND-Spam-Score: 165 X-GND-Status: SPAM Subject: Re: [FFmpeg-devel] [PATCH v24 6/9] avformat/mov_muxer: Extended MOV muxer to handle EVC video content X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FFmpeg development discussions and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: FFmpeg development discussions and patches Content-Type: multipart/mixed; boundary="===============3396751735221698873==" Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: --===============3396751735221698873== Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="PCQTdKZ3LJr0gNcz" Content-Disposition: inline --PCQTdKZ3LJr0gNcz Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jun 12, 2023 at 02:30:27PM +0200, Dawid Kozinski wrote: > - Changes in mov_write_video_tag function to handle EVC elementary stream > - Provided structure EVCDecoderConfigurationRecord that specifies the dec= oder configuration information for ISO/IEC 23094-1 video content >=20 > Signed-off-by: Dawid Kozinski > --- > libavformat/Makefile | 2 +- > libavformat/evc.c | 422 ++++++++++++++++++++++++++++++++++++++++ > libavformat/evc.h | 44 +++++ > libavformat/isom_tags.c | 2 + > libavformat/movenc.c | 33 ++++ > 5 files changed, 502 insertions(+), 1 deletion(-) > create mode 100644 libavformat/evc.c > create mode 100644 libavformat/evc.h >=20 > diff --git a/libavformat/Makefile b/libavformat/Makefile > index 6e4231fda2..d3503196e3 100644 > --- a/libavformat/Makefile > +++ b/libavformat/Makefile > @@ -364,7 +364,7 @@ OBJS-$(CONFIG_MOV_DEMUXER) +=3D mov.o m= ov_chan.o mov_esds.o \ > OBJS-$(CONFIG_MOV_MUXER) +=3D movenc.o av1.o avc.o hevc.= o vpcc.o \ > movenchint.o mov_chan.o rtp.= o \ > movenccenc.o movenc_ttml.o r= awutils.o \ > - dovi_isom.o > + dovi_isom.o evc.o > OBJS-$(CONFIG_MP2_MUXER) +=3D rawenc.o > OBJS-$(CONFIG_MP3_DEMUXER) +=3D mp3dec.o replaygain.o > OBJS-$(CONFIG_MP3_MUXER) +=3D mp3enc.o rawenc.o id3v2enc= =2Eo > diff --git a/libavformat/evc.c b/libavformat/evc.c > new file mode 100644 > index 0000000000..431cb107e3 > --- /dev/null > +++ b/libavformat/evc.c > @@ -0,0 +1,422 @@ > +/* > + * EVC helper functions for muxers > + * Copyright (c) 2022 Dawid Kozinski > + * > + * This file is part of FFmpeg. > + * > + * FFmpeg is free software; you can redistribute it and/or > + * modify it under the terms of the GNU Lesser General Public > + * License as published by the Free Software Foundation; either > + * version 2.1 of the License, or (at your option) any later version. > + * > + * FFmpeg is distributed in the hope that it will be useful, > + * but WITHOUT ANY WARRANTY; without even the implied warranty of > + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU > + * Lesser General Public License for more details. > + * > + * You should have received a copy of the GNU Lesser General Public > + * License along with FFmpeg; if not, write to the Free Software > + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1= 301 USA > + */ [...] > + nalu_type =3D ff_evc_get_nalu_type(data, bytes_to_read, pb); functions shared between libavcodec and libavformat need an av*/avpriv* pre= fix otherwise linking will fail with shared libs as ff* isnt exported [...] --=20 Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Many that live deserve death. And some that die deserve life. Can you give it to them? Then do not be too eager to deal out death in judgement. For even the very wise cannot see all ends. -- Gandalf --PCQTdKZ3LJr0gNcz Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABEIAB0WIQSf8hKLFH72cwut8TNhHseHBAsPqwUCZIkIdQAKCRBhHseHBAsP qxTzAJwPuZ9IfsVcFG14V0DLtJ5O7wDFsACdEwR92fX+6KkMXSuBQ1+7E3R7WgY= =tfS3 -----END PGP SIGNATURE----- --PCQTdKZ3LJr0gNcz-- --===============3396751735221698873== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe". --===============3396751735221698873==--