* [FFmpeg-devel] [PATCH] doc/muxers: add ffmetadata
@ 2024-03-12 10:55 Stefano Sabatini
2024-03-12 11:03 ` Gyan Doshi
0 siblings, 1 reply; 3+ messages in thread
From: Stefano Sabatini @ 2024-03-12 10:55 UTC (permalink / raw)
To: FFmpeg development discussions and patches; +Cc: Stefano Sabatini
---
doc/metadata.texi | 1 +
doc/muxers.texi | 16 ++++++++++++++++
2 files changed, 17 insertions(+)
diff --git a/doc/metadata.texi b/doc/metadata.texi
index be91059a98..e081da7735 100644
--- a/doc/metadata.texi
+++ b/doc/metadata.texi
@@ -1,3 +1,4 @@
+@anchor{metadata}
@chapter Metadata
@c man begin METADATA
diff --git a/doc/muxers.texi b/doc/muxers.texi
index a697e4b153..0aaef2b520 100644
--- a/doc/muxers.texi
+++ b/doc/muxers.texi
@@ -1429,6 +1429,22 @@ Use @command{ffmpeg} to convert the input:
ffmpeg -i INPUT -s:v 720x480 -pix_fmt yuv411p -r 29.97 -ac 2 -ar 48000 -y out.dv
@end example
+@section ffmetadata
+FFmpeg metadata muxer.
+
+This muxer writes the streams metadata in the @samp{ffmetadata}
+format.
+
+See @ref{metadata,,the Metadata chapter,ffmpeg-formats} for
+information about the format.
+
+@subsection Example
+Copy an input file and insert metadata information from an @file{metadata.ffmeta} file in
+@samp{ffmetadata} format:
+@example
+ffmpeg -i INPUT -i metadata.ffmeta -map_metadata 1 -codec copy OUTPUT
+@end example
+
@anchor{fifo}
@section fifo
FIFO (First-In First-Out) muxer.
--
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] 3+ messages in thread
* Re: [FFmpeg-devel] [PATCH] doc/muxers: add ffmetadata
2024-03-12 10:55 [FFmpeg-devel] [PATCH] doc/muxers: add ffmetadata Stefano Sabatini
@ 2024-03-12 11:03 ` Gyan Doshi
2024-03-12 17:09 ` Stefano Sabatini
0 siblings, 1 reply; 3+ messages in thread
From: Gyan Doshi @ 2024-03-12 11:03 UTC (permalink / raw)
To: ffmpeg-devel
On 2024-03-12 04:25 pm, Stefano Sabatini wrote:
> ---
> doc/metadata.texi | 1 +
> doc/muxers.texi | 16 ++++++++++++++++
> 2 files changed, 17 insertions(+)
>
> diff --git a/doc/metadata.texi b/doc/metadata.texi
> index be91059a98..e081da7735 100644
> --- a/doc/metadata.texi
> +++ b/doc/metadata.texi
> @@ -1,3 +1,4 @@
> +@anchor{metadata}
> @chapter Metadata
> @c man begin METADATA
>
> diff --git a/doc/muxers.texi b/doc/muxers.texi
> index a697e4b153..0aaef2b520 100644
> --- a/doc/muxers.texi
> +++ b/doc/muxers.texi
> @@ -1429,6 +1429,22 @@ Use @command{ffmpeg} to convert the input:
> ffmpeg -i INPUT -s:v 720x480 -pix_fmt yuv411p -r 29.97 -ac 2 -ar 48000 -y out.dv
> @end example
>
> +@section ffmetadata
> +FFmpeg metadata muxer.
> +
> +This muxer writes the streams metadata in the @samp{ffmetadata}
> +format.
> +
> +See @ref{metadata,,the Metadata chapter,ffmpeg-formats} for
> +information about the format.
> +
> +@subsection Example
> +Copy an input file and insert metadata information from an @file{metadata.ffmeta} file in
> +@samp{ffmetadata} format:
> +@example
> +ffmpeg -i INPUT -i metadata.ffmeta -map_metadata 1 -codec copy OUTPUT
> +@end example
> +
The above example is for the demuxer only. Better to include an initial
step showing export.
Regards,
Gyan
_______________________________________________
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] 3+ messages in thread
* Re: [FFmpeg-devel] [PATCH] doc/muxers: add ffmetadata
2024-03-12 11:03 ` Gyan Doshi
@ 2024-03-12 17:09 ` Stefano Sabatini
0 siblings, 0 replies; 3+ messages in thread
From: Stefano Sabatini @ 2024-03-12 17:09 UTC (permalink / raw)
To: FFmpeg development discussions and patches
[-- Attachment #1: Type: text/plain, Size: 251 bytes --]
On date Tuesday 2024-03-12 16:33:20 +0530, Gyan Doshi wrote:
> On 2024-03-12 04:25 pm, Stefano Sabatini wrote:
> > ---
> > doc/metadata.texi | 1 +
> > doc/muxers.texi | 16 ++++++++++++++++
> > 2 files changed, 17 insertions(+)
> >
Updated.
[-- Attachment #2: 0001-doc-muxers-add-ffmetadata.patch --]
[-- Type: text/x-diff, Size: 1324 bytes --]
From ce9846bc53c29ad2ff0331b5c90173120014843e Mon Sep 17 00:00:00 2001
From: Stefano Sabatini <stefasab@gmail.com>
Date: Sat, 20 Jan 2024 19:19:23 +0100
Subject: [PATCH] doc/muxers: add ffmetadata
---
doc/metadata.texi | 1 +
doc/muxers.texi | 17 +++++++++++++++++
2 files changed, 18 insertions(+)
diff --git a/doc/metadata.texi b/doc/metadata.texi
index be91059a98..e081da7735 100644
--- a/doc/metadata.texi
+++ b/doc/metadata.texi
@@ -1,3 +1,4 @@
+@anchor{metadata}
@chapter Metadata
@c man begin METADATA
diff --git a/doc/muxers.texi b/doc/muxers.texi
index a697e4b153..28db966c01 100644
--- a/doc/muxers.texi
+++ b/doc/muxers.texi
@@ -1429,6 +1429,23 @@ Use @command{ffmpeg} to convert the input:
ffmpeg -i INPUT -s:v 720x480 -pix_fmt yuv411p -r 29.97 -ac 2 -ar 48000 -y out.dv
@end example
+@section ffmetadata
+FFmpeg metadata muxer.
+
+This muxer writes the streams metadata in the @samp{ffmetadata}
+format.
+
+See @ref{metadata,,the Metadata chapter,ffmpeg-formats} for
+information about the format.
+
+@subsection Example
+
+Use @command{ffmpeg} to extract metadata from an input file to a @file{metadata.ffmeta}
+file in @samp{ffmetadata} format:
+@example
+ffmpeg -i INPUT -f ffmetadata metadata.ffmeta
+@end example
+
@anchor{fifo}
@section fifo
FIFO (First-In First-Out) muxer.
--
2.34.1
[-- Attachment #3: Type: text/plain, Size: 251 bytes --]
_______________________________________________
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] 3+ messages in thread
end of thread, other threads:[~2024-03-12 17:09 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-12 10:55 [FFmpeg-devel] [PATCH] doc/muxers: add ffmetadata Stefano Sabatini
2024-03-12 11:03 ` Gyan Doshi
2024-03-12 17:09 ` Stefano Sabatini
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