From: Dawid Kozinski <d.kozinski@samsung.com> To: ffmpeg-devel@ffmpeg.org Cc: Dawid Kozinski <d.kozinski@samsung.com> Subject: [FFmpeg-devel] [PATCH v1 3/8] avformat/apv_muxer: Added muxer to handle writing APV encoded data into file or output bytestream Date: Wed, 23 Apr 2025 16:12:39 +0200 Message-ID: <20250423141239.1857966-1-d.kozinski@samsung.com> (raw) In-Reply-To: <CGME20250423141242eucas1p12569cc0c6f97b25a63c631e0ce7105e6@eucas1p1.samsung.com> - Provided AVOutputFormat structure describing APV output format (ff_apv_muxer) - Added documentation for APV muxer Signed-off-by: Dawid Kozinski <d.kozinski@samsung.com> --- doc/muxers.texi | 3 +++ libavformat/Makefile | 1 + libavformat/allformats.c | 1 + libavformat/rawenc.c | 14 ++++++++++++++ 4 files changed, 19 insertions(+) diff --git a/doc/muxers.texi b/doc/muxers.texi index 04b7f20b7e..46a4da6056 100644 --- a/doc/muxers.texi +++ b/doc/muxers.texi @@ -48,6 +48,9 @@ aptX (Audio Processing Technology for Bluetooth) @item aptx_hd @emph{audio} (aptxdh) aptX HD (Audio Processing Technology for Bluetooth) audio +@item apv @emph{video} (apv) +Advanced Professional Video / APV + @item avs2 @emph{video} (avs, avs2) AVS2-P2 (Audio Video Standard - Second generation - Part 2) / IEEE 1857.4 video diff --git a/libavformat/Makefile b/libavformat/Makefile index a94ac66e7e..5ccd9ebfb0 100644 --- a/libavformat/Makefile +++ b/libavformat/Makefile @@ -119,6 +119,7 @@ OBJS-$(CONFIG_APTX_DEMUXER) += aptxdec.o OBJS-$(CONFIG_APTX_MUXER) += rawenc.o OBJS-$(CONFIG_APTX_HD_DEMUXER) += aptxdec.o OBJS-$(CONFIG_APTX_HD_MUXER) += rawenc.o +OBJS-$(CONFIG_APV_MUXER) += rawenc.o OBJS-$(CONFIG_AQTITLE_DEMUXER) += aqtitledec.o subtitles.o OBJS-$(CONFIG_ARGO_ASF_DEMUXER) += argo_asf.o OBJS-$(CONFIG_ARGO_ASF_MUXER) += argo_asf.o diff --git a/libavformat/allformats.c b/libavformat/allformats.c index 445f13f42a..59440f8ad5 100644 --- a/libavformat/allformats.c +++ b/libavformat/allformats.c @@ -72,6 +72,7 @@ extern const FFInputFormat ff_aptx_demuxer; extern const FFOutputFormat ff_aptx_muxer; extern const FFInputFormat ff_aptx_hd_demuxer; extern const FFOutputFormat ff_aptx_hd_muxer; +extern const FFOutputFormat ff_apv_muxer; extern const FFInputFormat ff_aqtitle_demuxer; extern const FFInputFormat ff_argo_asf_demuxer; extern const FFOutputFormat ff_argo_asf_muxer; diff --git a/libavformat/rawenc.c b/libavformat/rawenc.c index cf298d223d..198c560f00 100644 --- a/libavformat/rawenc.c +++ b/libavformat/rawenc.c @@ -117,6 +117,20 @@ const FFOutputFormat ff_aptx_hd_muxer = { }; #endif +#if CONFIG_APV_MUXER +const FFOutputFormat ff_apv_muxer = { + .p.name = "apv", + .p.long_name = NULL_IF_CONFIG_SMALL("raw APV video"), + .p.extensions = "apv", + .p.audio_codec = AV_CODEC_ID_NONE, + .p.video_codec = AV_CODEC_ID_APV, + .flags_internal = FF_OFMT_FLAG_MAX_ONE_OF_EACH | + FF_OFMT_FLAG_ONLY_DEFAULT_CODECS, + .write_packet = ff_raw_write_packet, + .p.flags = AVFMT_NOTIMESTAMPS, +}; +#endif + #if CONFIG_AVS2_MUXER const FFOutputFormat ff_avs2_muxer = { .p.name = "avs2", -- 2.34.1 _______________________________________________ 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".
parent reply other threads:[~2025-04-23 14:12 UTC|newest] Thread overview: expand[flat|nested] mbox.gz Atom feed [parent not found: <CGME20250423141242eucas1p12569cc0c6f97b25a63c631e0ce7105e6@eucas1p1.samsung.com>]
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20250423141239.1857966-1-d.kozinski@samsung.com \ --to=d.kozinski@samsung.com \ --cc=ffmpeg-devel@ffmpeg.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel This inbox may be cloned and mirrored by anyone: git clone --mirror https://master.gitmailbox.com/ffmpegdev/0 ffmpegdev/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 ffmpegdev ffmpegdev/ https://master.gitmailbox.com/ffmpegdev \ ffmpegdev@gitmailbox.com public-inbox-index ffmpegdev Example config snippet for mirrors. AGPL code for this site: git clone https://public-inbox.org/public-inbox.git