Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
 help / color / mirror / Atom feed
From: Cosmin Stejerean via ffmpeg-devel <ffmpeg-devel@ffmpeg.org>
To: "FFmpeg development discussions and patches" <ffmpeg-devel@ffmpeg.org>
Cc: "Cosmin Stejerean" <cosmin@cosmin.at>
Subject: Re: [FFmpeg-devel] [PATCH v3 3/3] tests/fate/mov: add a test for reading and writing amve box
Date: Sun, 4 Feb 2024 13:01:10 +0000
Message-ID: <0101018d74355c54-4f4dfb7c-c25e-4dd3-affd-703a004ff753-000000@us-west-2.amazonses.com> (raw)
In-Reply-To: <9190bdc1-bb86-463d-b51c-3e3d40ef544a@gmail.com>



> On Feb 4, 2024, at 13:44, James Almer <jamrial@gmail.com> wrote:
> 
> On 2/4/2024 8:16 AM, Cosmin Stejerean via ffmpeg-devel wrote:
>> From: Cosmin Stejerean <cosmin@cosmin.at>
>> 
>> ---
>>  tests/fate/mov.mak            |  5 +++++
>>  tests/ref/fate/mov-read-amve  |  8 ++++++++
>>  tests/ref/fate/mov-write-amve | 33 +++++++++++++++++++++++++++++++++
>>  3 files changed, 46 insertions(+)
>>  create mode 100644 tests/ref/fate/mov-read-amve
>>  create mode 100644 tests/ref/fate/mov-write-amve
>> 
>> diff --git a/tests/fate/mov.mak b/tests/fate/mov.mak
>> index f202f36d96..ebad6ff2f4 100644
>> --- a/tests/fate/mov.mak
>> +++ b/tests/fate/mov.mak
>> @@ -9,6 +9,7 @@ FATE_MOV = fate-mov-3elist \
>>             fate-mov-frag-encrypted \
>>             fate-mov-tenc-only-encrypted \
>>             fate-mov-invalid-elst-entry-count \
>> +           fate-mov-write-amve \
>>             fate-mov-gpmf-remux \
>>             fate-mov-440hz-10ms \
>>             fate-mov-ibi-elst-starts-b \
>> @@ -25,6 +26,7 @@ FATE_MOV_FFPROBE = fate-mov-neg-firstpts-discard \
>>                     fate-mov-zombie \
>>                     fate-mov-init-nonkeyframe \
>>                     fate-mov-displaymatrix \
>> +                   fate-mov-read-amve \
>>                     fate-mov-spherical-mono \
>>                     fate-mov-guess-delay-1 \
>>                     fate-mov-guess-delay-2 \
>> @@ -109,6 +111,9 @@ fate-mov-init-nonkeyframe: CMD = run ffprobe$(PROGSSUF)$(EXESUF) -show_packets -
>> 
>>  fate-mov-displaymatrix: CMD = run ffprobe$(PROGSSUF)$(EXESUF) -show_entries stream=display_aspect_ratio,sample_aspect_ratio:stream_side_data_list -select_streams v -v 0 $(TARGET_SAMPLES)/mov/displaymatrix.mov
>> 
>> +fate-mov-read-amve: CMD = run ffprobe$(PROGSSUF)$(EXESUF) -show_entries stream_side_data_list -select_streams v -v 0 $(TARGET_SAMPLES)/mov/amve.mov
> 
> There's no need for this test if you add the other. The writing one
> succeeding means the box was read and propagated from the input file.
> 

That is true, although if the writing fails the read test will still succeed and help point to an error in writing. But if we don't want the extra test I can delete it.


>> +fate-mov-write-amve: CMD = transcode mov $(TARGET_SAMPLES)/mov/amve.mov mp4 "-c copy" "-c copy -t 0.5" "-show_entries stream_side_data_list"
> 
> -c:v

Will fix.

- Cosmin
_______________________________________________
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:[~2024-02-04 13:01 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20240204111648.76522-1-cosmin@cosmin.at>
2024-02-04 11:16 ` [FFmpeg-devel] [PATCH v3 0/3] avformat/mov: add support for 'amve' ambient viewing environment box Cosmin Stejerean via ffmpeg-devel
     [not found] ` <20240204111648.76522-2-cosmin@cosmin.at>
2024-02-04 11:16   ` [FFmpeg-devel] [PATCH v3 1/3] avcodec: add ambient viewing environment packet side data Cosmin Stejerean via ffmpeg-devel
2024-02-04 11:45     ` Anton Khirnov
     [not found]       ` <57A56D7C-E692-4A97-93AC-8436B5B38739@cosmin.at>
2024-02-04 11:51         ` Cosmin Stejerean via ffmpeg-devel
     [not found] ` <20240204111648.76522-3-cosmin@cosmin.at>
2024-02-04 11:16   ` [FFmpeg-devel] [PATCH v3 2/3] avformat/mov: add support for 'amve' ambient viewing environment box. As defined in ISOBMFF (ISO/IEC 14496-12) document Cosmin Stejerean via ffmpeg-devel
2024-02-04 12:28     ` James Almer
     [not found] ` <20240204111648.76522-4-cosmin@cosmin.at>
2024-02-04 11:16   ` [FFmpeg-devel] [PATCH v3 3/3] tests/fate/mov: add a test for reading and writing amve box Cosmin Stejerean via ffmpeg-devel
2024-02-04 12:45     ` James Almer
     [not found]       ` <C603FBA4-EA08-4952-A2D3-82C5EC5A1E04@cosmin.at>
2024-02-04 13:01         ` Cosmin Stejerean via ffmpeg-devel [this message]

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=0101018d74355c54-4f4dfb7c-c25e-4dd3-affd-703a004ff753-000000@us-west-2.amazonses.com \
    --to=ffmpeg-devel@ffmpeg.org \
    --cc=cosmin@cosmin.at \
    /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