Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
 help / color / mirror / Atom feed
* [FFmpeg-devel] avformat/mkv: add mkv tags for AVS2 and AVS3 codecs.
@ 2022-01-10 11:30 Ze Yuan
  0 siblings, 0 replies; 6+ messages in thread
From: Ze Yuan @ 2022-01-10 11:30 UTC (permalink / raw)
  To: ffmpeg-devel

[-- Attachment #1: Type: text/plain, Size: 1831 bytes --]

From babcceafbd30eff677b2366a0c470d31c503bed1 Mon Sep 17 00:00:00 2001
From: TianBo Zheng <naturalwalker@hotmail.com>
Date: Mon, 10 Jan 2022 11:18:56 +0000
Subject: [PATCH] avformat/mkv: add mkv tags for AVS2 and AVS3 codecs.

Signed-off-by: TianBo Zheng naturalwalker@hotmail.com

MKV codec mappings:
  V_AVS2 and V_AVS3 (https://github.com/ietf-wg-cellar/matroska-specification/blob/master/codec_specs.md)

Encoding tool:
  Ffmpeg with AVS2/AVS3 enabled: https://github.com/xatabhk/FFmpeg-avs2-avs3/releases
  Command line:

             ffmpeg -i xxxx.mp4 -vcodec avs2 -acodec copy xxxx_avs2.mkv
             ffmpeg -i xxxx.mp4 -vcodec avs2 -speed_level 4 -acodec copy xxxx_avs2.mkv`

Players:
  (1) Ffmpeg with avs2/avs3 enabled: (https://github.com/xatabhk/FFmpeg-avs2-avs3/releases):
    Command line:

        ffplay xxxx_avs2.mkv
    ffplay xxxx_avs3.mkv
  (2) VLC 3.0.x with AVS2/AVS3 enabled: https://github.com/xatabhk/vlc-3.0-avs2-avs3/releases
  (3) Mpc-hc 1.9.x with AVS2/AVS3 enabled: https://gitee.com/zhengtianbo/cavs-avs2-avs3_decoder_added_to_mpc_hc/releases

AVS2/AVS3 MKV samples:
  https://github.com/xatabhk/avs2-avs3-video-samples

---
libavformat/matroska.c | 2 ++
1 file changed, 2 insertions(+)

diff --git a/libavformat/matroska.c b/libavformat/matroska.c
index 7c56aba403..90d94b65bf 100644
--- a/libavformat/matroska.c
+++ b/libavformat/matroska.c
@@ -78,6 +78,8 @@ const CodecTags ff_mkv_codec_tags[]={
     {"S_HDMV/TEXTST"    , AV_CODEC_ID_HDMV_TEXT_SUBTITLE},

     {"V_AV1"            , AV_CODEC_ID_AV1},
+    {"V_AVS2"           , AV_CODEC_ID_AVS2},
+    {"V_AVS3"           , AV_CODEC_ID_AVS3},
     {"V_DIRAC"          , AV_CODEC_ID_DIRAC},
     {"V_FFV1"           , AV_CODEC_ID_FFV1},
     {"V_MJPEG"          , AV_CODEC_ID_MJPEG},
-- 
2.19.1

[-- Attachment #2: 0001-avformat-mkv-add-mkv-tags-for-AVS2-and-AVS3-codecs.patch --]
[-- Type: application/octet-stream, Size: 914 bytes --]

[-- 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] 6+ messages in thread
* Re: [FFmpeg-devel] avformat/mkv: add mkv tags for AVS2 and AVS3 codecs.
@ 2022-01-26  8:51 Ze Yuan
  0 siblings, 0 replies; 6+ messages in thread
From: Ze Yuan @ 2022-01-26  8:51 UTC (permalink / raw)
  To: ffmpeg-devel

Let’s merge it.
_______________________________________________
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] 6+ messages in thread
* [FFmpeg-devel] avformat/mkv: add mkv tags for AVS2 and AVS3 codecs.
@ 2022-02-01  4:35 Ze Yuan
  2022-02-01  4:43 ` Andreas Rheinhardt
  0 siblings, 1 reply; 6+ messages in thread
From: Ze Yuan @ 2022-02-01  4:35 UTC (permalink / raw)
  To: ffmpeg-devel

From babcceafbd30eff677b2366a0c470d31c503bed1 Mon Sep 17 00:00:00 2001
From: TianBo Zheng <naturalwalker@hotmail.com>
Date: Mon, 10 Jan 2022 11:18:56 +0000
Subject: [PATCH] avformat/mkv: add mkv tags for AVS2 and AVS3 codecs.

MKV codec mappings:
  V_AVS2 and V_AVS3 (https://github.com/ietf-wg-cellar/matroska-specification/blob/master/codec_specs.md)

Encoding tool:
  Ffmpeg with AVS2/AVS3 enabled: https://github.com/xatabhk/FFmpeg-avs2-avs3/releases
  Command line:

             ffmpeg -i xxxx.mp4 -vcodec avs2 -acodec copy xxxx_avs2.mkv
             ffmpeg -i xxxx.mp4 -vcodec avs2 -speed_level 4 -acodec copy xxxx_avs2.mkv`

Players:
  (1) Ffmpeg with avs2/avs3 enabled: (https://github.com/xatabhk/FFmpeg-avs2-avs3/releases):
    Command line:

        ffplay xxxx_avs2.mkv
    ffplay xxxx_avs3.mkv
  (2) VLC 3.0.x with AVS2/AVS3 enabled: https://github.com/xatabhk/vlc-3.0-avs2-avs3/releases
  (3) Mpc-hc 1.9.x with AVS2/AVS3 enabled: https://gitee.com/zhengtianbo/cavs-avs2-avs3_decoder_added_to_mpc_hc/releases

AVS2/AVS3 MKV samples:
  https://github.com/xatabhk/avs2-avs3-video-samples
Signed-off-by: TianBo Zheng naturalwalker@hotmail.com
---
libavformat/matroska.c | 2 ++
1 file changed, 2 insertions(+)

diff --git a/libavformat/matroska.c b/libavformat/matroska.c
index 7c56aba403..90d94b65bf 100644
--- a/libavformat/matroska.c
+++ b/libavformat/matroska.c
@@ -78,6 +78,8 @@ const CodecTags ff_mkv_codec_tags[]={
     {"S_HDMV/TEXTST"    , AV_CODEC_ID_HDMV_TEXT_SUBTITLE},

     {"V_AV1"            , AV_CODEC_ID_AV1},
+    {"V_AVS2"           , AV_CODEC_ID_AVS2},
+    {"V_AVS3"           , AV_CODEC_ID_AVS3},
     {"V_DIRAC"          , AV_CODEC_ID_DIRAC},
     {"V_FFV1"           , AV_CODEC_ID_FFV1},
     {"V_MJPEG"          , AV_CODEC_ID_MJPEG},
--
2.19.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] 6+ messages in thread
* Re: [FFmpeg-devel] avformat/mkv: add mkv tags for AVS2 and AVS3 codecs.
@ 2022-02-01  5:21 Ze Yuan
  0 siblings, 0 replies; 6+ messages in thread
From: Ze Yuan @ 2022-02-01  5:21 UTC (permalink / raw)
  To: FFmpeg development discussions and patches

From: Andreas Rheinhardt
Sent: Tuesday, February 1, 2022 12:43 PM
To: ffmpeg-devel@ffmpeg.org
Subject: Re: [FFmpeg-devel] avformat/mkv: add mkv tags for AVS2 and AVS3 codecs.

>Ze Yuan:
>> From babcceafbd30eff677b2366a0c470d31c503bed1 Mon Sep 17 00:00:00 2001
>> From: TianBo Zheng <naturalwalker@hotmail.com>
>> Date: Mon, 10 Jan 2022 11:18:56 +0000
>> Subject: [PATCH] avformat/mkv: add mkv tags for AVS2 and AVS3 codecs.
>>
>> MKV codec mappings:
>>   V_AVS2 and V_AVS3 (https://github.com/ietf-wg-cellar/matroska-specification/blob/master/codec_specs.md)
>>
>> Encoding tool:
>>   Ffmpeg with AVS2/AVS3 enabled: https://github.com/xatabhk/FFmpeg-avs2-avs3/releases
>>   Command line:
>>
>>              ffmpeg -i xxxx.mp4 -vcodec avs2 -acodec copy xxxx_avs2.mkv
>>              ffmpeg -i xxxx.mp4 -vcodec avs2 -speed_level 4 -acodec copy xxxx_avs2.mkv`
>>
>> Players:
>>   (1) Ffmpeg with avs2/avs3 enabled: (https://github.com/xatabhk/FFmpeg-avs2-avs3/releases):
>>     Command line:
>>
>>         ffplay xxxx_avs2.mkv
>>     ffplay xxxx_avs3.mkv
>>   (2) VLC 3.0.x with AVS2/AVS3 enabled: https://github.com/xatabhk/vlc-3.0-avs2-avs3/releases
>>   (3) Mpc-hc 1.9.x with AVS2/AVS3 enabled: https://gitee.com/zhengtianbo/cavs-avs2-avs3_decoder_added_to_mpc_hc/releases
>>
>> AVS2/AVS3 MKV samples:
>>   https://github.com/xatabhk/avs2-avs3-video-samples
>> Signed-off-by: TianBo Zheng naturalwalker@hotmail.com
>> ---
>> libavformat/matroska.c | 2 ++
>> 1 file changed, 2 insertions(+)
>>
>> diff --git a/libavformat/matroska.c b/libavformat/matroska.c
>> index 7c56aba403..90d94b65bf 100644
>> --- a/libavformat/matroska.c
>> +++ b/libavformat/matroska.c
>> @@ -78,6 +78,8 @@ const CodecTags ff_mkv_codec_tags[]={
>>      {"S_HDMV/TEXTST"    , AV_CODEC_ID_HDMV_TEXT_SUBTITLE},
>>
>>      {"V_AV1"            , AV_CODEC_ID_AV1},
>> +    {"V_AVS2"           , AV_CODEC_ID_AVS2},
>> +    {"V_AVS3"           , AV_CODEC_ID_AVS3},
>>      {"V_DIRAC"          , AV_CODEC_ID_DIRAC},
>>      {"V_FFV1"           , AV_CODEC_ID_FFV1},
>>      {"V_MJPEG"          , AV_CODEC_ID_MJPEG},
> --
>> 2.19.1

>Sorry for having ignored this for so long.
> actually wanted to merge your AVS2 patch long ago (see
>https://github.com/mkver/FFmpeg/commit/18c52e7493b1c1f11de059fbcbf9d17635e5945d),
>but I remember that your mails were weird and I managed to recreate a
>Chinese name out of them, but I was unsure if this was the correct one
>(namely 郑天波). So I didn't apply it. If it is correct, then please
>tell me if you prefer this name or TianBo Zheng.

>- Andreas

I think both work for me.
_______________________________________________
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".
_______________________________________________
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] 6+ messages in thread
* Re: [FFmpeg-devel] avformat/mkv: add mkv tags for AVS2 and AVS3 codecs.
@ 2022-02-02 15:21 Ze Yuan
  0 siblings, 0 replies; 6+ messages in thread
From: Ze Yuan @ 2022-02-02 15:21 UTC (permalink / raw)
  To: FFmpeg development discussions and patches

Let’s merge it.

From: Ze Yuan
Sent: Tuesday, February 1, 2022 12:36 PM
To: ffmpeg-devel
Subject: [FFmpeg-devel] avformat/mkv: add mkv tags for AVS2 and AVS3 codecs.

From babcceafbd30eff677b2366a0c470d31c503bed1 Mon Sep 17 00:00:00 2001
From: TianBo Zheng <naturalwalker@hotmail.com>
Date: Mon, 10 Jan 2022 11:18:56 +0000
Subject: [PATCH] avformat/mkv: add mkv tags for AVS2 and AVS3 codecs.

MKV codec mappings:
  V_AVS2 and V_AVS3 (https://github.com/ietf-wg-cellar/matroska-specification/blob/master/codec_specs.md)

Encoding tool:
  Ffmpeg with AVS2/AVS3 enabled: https://github.com/xatabhk/FFmpeg-avs2-avs3/releases
  Command line:

             ffmpeg -i xxxx.mp4 -vcodec avs2 -acodec copy xxxx_avs2.mkv
             ffmpeg -i xxxx.mp4 -vcodec avs2 -speed_level 4 -acodec copy xxxx_avs2.mkv`

Players:
  (1) Ffmpeg with avs2/avs3 enabled: (https://github.com/xatabhk/FFmpeg-avs2-avs3/releases):
    Command line:

        ffplay xxxx_avs2.mkv
    ffplay xxxx_avs3.mkv
  (2) VLC 3.0.x with AVS2/AVS3 enabled: https://github.com/xatabhk/vlc-3.0-avs2-avs3/releases
  (3) Mpc-hc 1.9.x with AVS2/AVS3 enabled: https://gitee.com/zhengtianbo/cavs-avs2-avs3_decoder_added_to_mpc_hc/releases

AVS2/AVS3 MKV samples:
  https://github.com/xatabhk/avs2-avs3-video-samples
Signed-off-by: TianBo Zheng naturalwalker@hotmail.com
---
libavformat/matroska.c | 2 ++
1 file changed, 2 insertions(+)

diff --git a/libavformat/matroska.c b/libavformat/matroska.c
index 7c56aba403..90d94b65bf 100644
--- a/libavformat/matroska.c
+++ b/libavformat/matroska.c
@@ -78,6 +78,8 @@ const CodecTags ff_mkv_codec_tags[]={
     {"S_HDMV/TEXTST"    , AV_CODEC_ID_HDMV_TEXT_SUBTITLE},

     {"V_AV1"            , AV_CODEC_ID_AV1},
+    {"V_AVS2"           , AV_CODEC_ID_AVS2},
+    {"V_AVS3"           , AV_CODEC_ID_AVS3},
     {"V_DIRAC"          , AV_CODEC_ID_DIRAC},
     {"V_FFV1"           , AV_CODEC_ID_FFV1},
     {"V_MJPEG"          , AV_CODEC_ID_MJPEG},
--
2.19.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".
_______________________________________________
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] 6+ messages in thread

end of thread, other threads:[~2022-02-02 15:22 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-10 11:30 [FFmpeg-devel] avformat/mkv: add mkv tags for AVS2 and AVS3 codecs Ze Yuan
2022-01-26  8:51 Ze Yuan
2022-02-01  4:35 Ze Yuan
2022-02-01  4:43 ` Andreas Rheinhardt
2022-02-01  5:21 Ze Yuan
2022-02-02 15:21 Ze Yuan

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