Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
 help / color / mirror / Atom feed
* [FFmpeg-devel] [PATCH v1 3/8] avformat/apv_muxer: Added muxer to handle writing APV encoded data into file or output bytestream
       [not found] <CGME20250423141242eucas1p12569cc0c6f97b25a63c631e0ce7105e6@eucas1p1.samsung.com>
@ 2025-04-23 14:12 ` Dawid Kozinski
  0 siblings, 0 replies; only message in thread
From: Dawid Kozinski @ 2025-04-23 14:12 UTC (permalink / raw)
  To: ffmpeg-devel; +Cc: Dawid Kozinski

- 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".

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2025-04-23 14:12 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <CGME20250423141242eucas1p12569cc0c6f97b25a63c631e0ce7105e6@eucas1p1.samsung.com>
2025-04-23 14:12 ` [FFmpeg-devel] [PATCH v1 3/8] avformat/apv_muxer: Added muxer to handle writing APV encoded data into file or output bytestream Dawid Kozinski

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