* [FFmpeg-devel] [PATCH 1/2] tests/fate-run: Allow to set input options for encoding pass @ 2022-09-07 22:22 Andreas Rheinhardt 2022-09-07 22:23 ` [FFmpeg-devel] [PATCH 2/2] fate/matroska: Add test for updating AV1 extradata Andreas Rheinhardt 2022-09-09 13:24 ` [FFmpeg-devel] [PATCH 1/2] tests/fate-run: Allow to set input options for encoding pass Andreas Rheinhardt 0 siblings, 2 replies; 3+ messages in thread From: Andreas Rheinhardt @ 2022-09-07 22:22 UTC (permalink / raw) To: ffmpeg-devel; +Cc: Andreas Rheinhardt This will be useful in the next commit. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> --- tests/fate-run.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/fate-run.sh b/tests/fate-run.sh index 4008bcbc16..61cc59acc0 100755 --- a/tests/fate-run.sh +++ b/tests/fate-run.sh @@ -247,12 +247,13 @@ transcode(){ ffprobe_opts=$6 additional_input=$7 final_decode=$8 + enc_opt_in=$9 test -z "$additional_input" || additional_input="$DEC_OPTS $additional_input" encfile="${outdir}/${test}.${enc_fmt}" test $keep -ge 1 || cleanfiles="$cleanfiles $encfile" tsrcfile=$(target_path $srcfile) tencfile=$(target_path $encfile) - ffmpeg -f $src_fmt $DEC_OPTS -i $tsrcfile $additional_input \ + ffmpeg -f $src_fmt $DEC_OPTS $enc_opt_in -i $tsrcfile $additional_input \ $ENC_OPTS $enc_opt $FLAGS -f $enc_fmt -y $tencfile || return do_md5sum $encfile echo $(wc -c $encfile) -- 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
* [FFmpeg-devel] [PATCH 2/2] fate/matroska: Add test for updating AV1 extradata 2022-09-07 22:22 [FFmpeg-devel] [PATCH 1/2] tests/fate-run: Allow to set input options for encoding pass Andreas Rheinhardt @ 2022-09-07 22:23 ` Andreas Rheinhardt 2022-09-09 13:24 ` [FFmpeg-devel] [PATCH 1/2] tests/fate-run: Allow to set input options for encoding pass Andreas Rheinhardt 1 sibling, 0 replies; 3+ messages in thread From: Andreas Rheinhardt @ 2022-09-07 22:23 UTC (permalink / raw) To: ffmpeg-devel; +Cc: Andreas Rheinhardt Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> --- tests/fate/matroska.mak | 6 +++++ tests/ref/fate/webm-av1-extradata-update | 32 ++++++++++++++++++++++++ 2 files changed, 38 insertions(+) create mode 100644 tests/ref/fate/webm-av1-extradata-update diff --git a/tests/fate/matroska.mak b/tests/fate/matroska.mak index 63e81f121b..39137ad4be 100644 --- a/tests/fate/matroska.mak +++ b/tests/fate/matroska.mak @@ -49,6 +49,12 @@ FATE_MATROSKA-$(call ALLYES, FLAC_DECODER FLAC_ENCODER FLAC_PARSER \ fate-matroska-flac-extradata-update: CMD = transcode matroska $(TARGET_SAMPLES)/mkv/flac_channel_layouts.mka \ matroska "-map 0 -map 0:0 -c flac -frames:a:2 8" "-map 0 -c copy" +# This tests that the Matroska/WebM muxer writes the AV1 CodecPrivate +# via extradata obtained from packet side data. It also tests that +# the aspect ratio is only written with pixels as DisplayUnit for WebM. +FATE_MATROSKA-$(call REMUX, WEBM MATROSKA, IVF_DEMUXER AV1_PARSER EXTRACT_EXTRADATA_BSF) += fate-webm-av1-extradata-update +fate-webm-av1-extradata-update: CMD = transcode ivf $(TARGET_SAMPLES)/av1/decode_model.ivf webm "-c copy -bsf extract_extradata -sar 3:1" "-c copy" "" "" "-nofind_stream_info" "-nofind_stream_info" + # This test tests demuxing Vorbis and chapters from ogg and muxing it in and # demuxing it from Matroska/WebM. It furthermore tests the WebM muxer, in # particular its DASH mode. Finally, it tests writing the Cues at the front. diff --git a/tests/ref/fate/webm-av1-extradata-update b/tests/ref/fate/webm-av1-extradata-update new file mode 100644 index 0000000000..9dd2056e0e --- /dev/null +++ b/tests/ref/fate/webm-av1-extradata-update @@ -0,0 +1,32 @@ +fbf3091fdf05b2856c578e7c948d68c3 *tests/data/fate/webm-av1-extradata-update.webm +23048 tests/data/fate/webm-av1-extradata-update.webm +#extradata 0: 35, 0x527207cd +#tb 0: 1/1000 +#media_type 0: video +#codec_id 0: av1 +#dimensions 0: 240x100 +#sar 0: 3/1 +0, 0, 0, 0, 8168, 0x1851ab62 +0, 42, 42, 0, 7040, 0x967788f9, F=0x0 +0, 83, 83, 0, 4, 0x01f400e2, F=0x0 +0, 125, 125, 0, 48, 0x49ad107e, F=0x0 +0, 167, 167, 0, 4, 0x021c00fa, F=0x0 +0, 208, 208, 0, 279, 0x69728439, F=0x0 +0, 250, 250, 0, 4, 0x01c400d2, F=0x0 +0, 292, 292, 0, 63, 0x9bbf1836, F=0x0 +0, 333, 333, 0, 4, 0x026c012a, F=0x0 +0, 375, 375, 0, 1065, 0xce2003ac, F=0x0 +0, 417, 417, 0, 4, 0x019400c2, F=0x0 +0, 458, 458, 0, 52, 0x7a0112f1, F=0x0 +0, 500, 500, 0, 4, 0x021c010a, F=0x0 +0, 542, 542, 0, 689, 0x1e8b49e7, F=0x0 +0, 583, 583, 0, 4, 0x01e400f2, F=0x0 +0, 625, 625, 0, 209, 0x124c6790, F=0x0 +0, 667, 667, 0, 42, 0xea690e31, F=0x0 +0, 708, 708, 0, 3521, 0xd76ee284, F=0x0 +0, 750, 750, 0, 63, 0x4572188f, F=0x0 +0, 792, 792, 0, 386, 0xb078c259, F=0x0 +0, 833, 833, 0, 178, 0x1ebb5121, F=0x0 +0, 875, 875, 0, 60, 0x729317f7, F=0x0 +0, 917, 917, 0, 40, 0xad970a66, F=0x0 +0, 958, 958, 0, 61, 0xcc0d1a20, F=0x0 -- 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 1/2] tests/fate-run: Allow to set input options for encoding pass 2022-09-07 22:22 [FFmpeg-devel] [PATCH 1/2] tests/fate-run: Allow to set input options for encoding pass Andreas Rheinhardt 2022-09-07 22:23 ` [FFmpeg-devel] [PATCH 2/2] fate/matroska: Add test for updating AV1 extradata Andreas Rheinhardt @ 2022-09-09 13:24 ` Andreas Rheinhardt 1 sibling, 0 replies; 3+ messages in thread From: Andreas Rheinhardt @ 2022-09-09 13:24 UTC (permalink / raw) To: ffmpeg-devel Andreas Rheinhardt: > This will be useful in the next commit. > > Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> > --- > tests/fate-run.sh | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/tests/fate-run.sh b/tests/fate-run.sh > index 4008bcbc16..61cc59acc0 100755 > --- a/tests/fate-run.sh > +++ b/tests/fate-run.sh > @@ -247,12 +247,13 @@ transcode(){ > ffprobe_opts=$6 > additional_input=$7 > final_decode=$8 > + enc_opt_in=$9 > test -z "$additional_input" || additional_input="$DEC_OPTS $additional_input" > encfile="${outdir}/${test}.${enc_fmt}" > test $keep -ge 1 || cleanfiles="$cleanfiles $encfile" > tsrcfile=$(target_path $srcfile) > tencfile=$(target_path $encfile) > - ffmpeg -f $src_fmt $DEC_OPTS -i $tsrcfile $additional_input \ > + ffmpeg -f $src_fmt $DEC_OPTS $enc_opt_in -i $tsrcfile $additional_input \ > $ENC_OPTS $enc_opt $FLAGS -f $enc_fmt -y $tencfile || return > do_md5sum $encfile > echo $(wc -c $encfile) Will apply this patchset tomorrow unless there are objections. - Andreas _______________________________________________ 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:[~2022-09-09 13:24 UTC | newest] Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2022-09-07 22:22 [FFmpeg-devel] [PATCH 1/2] tests/fate-run: Allow to set input options for encoding pass Andreas Rheinhardt 2022-09-07 22:23 ` [FFmpeg-devel] [PATCH 2/2] fate/matroska: Add test for updating AV1 extradata Andreas Rheinhardt 2022-09-09 13:24 ` [FFmpeg-devel] [PATCH 1/2] tests/fate-run: Allow to set input options for encoding pass Andreas Rheinhardt
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