Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
 help / color / mirror / Atom feed
From: Manuel Lauss <manuel.lauss@gmail.com>
To: ffmpeg-devel@ffmpeg.org
Subject: Re: [FFmpeg-devel] [PATCH v2 0/3] avcodec/sanm: Fixes for "StarWars - Making Magic"
Date: Wed, 7 May 2025 09:00:23 +0200
Message-ID: <CAOLZvyEUnRoqHhPGKk-VHzW=DAYaUkRoZvZsm0TG27of6BUjBw@mail.gmail.com> (raw)
In-Reply-To: <20250506154056.920553-1-manuel.lauss@gmail.com>

Hi,

If there are no objections, I will commit this with whitespace fixes
in 2-3 days.  I see no regressions with existing sanm video support.

Manuel

On Tue, May 6, 2025 at 5:41 PM Manuel Lauss <manuel.lauss@gmail.com> wrote:
>
> This patchset extends the SANM codec handler to support video of
> the 1996 CD-ROM Title "StarWars - Making Magic".
> These videos all consist of a 640x480 codec3 background, with 320x240
> codec48 animations put on top at random left/top offsets.
>
> v2: reworded descriptions, fixes in #3.
>
> #1: some "Making Magic" files advertise codec48 compression type 6.
>     The actual data stops after the codec headers, and the dos exe as well as
>     the codec48 decoder in the MotS game exe don't know of it and simply
>     ignore it.
>
> #2: change the FOBJ frame size determination to recognize common sizes.
>     With the scheme employed by Making Magic, the codec48 dimensions can no
>     longer be blindly trusted.
>
> #3: support video of Making Magic.  This patch also brings the fobj
>     handling more in line with what the game engines actually do.
>
> Tested with RA1, RA2 (c37), Outlaws (c47), MotS (c48)
>
> See https://ibb.co/73Pt803  for post/pre fix screenshots.
>
> Manuel Lauss (3):
>   avcodec/sanm: ignore codec48 compression type 6
>   avcodec/sanm: add a whitelist for known FOBJ sizes
>   avcodec/sanm: support "StarWars - Making Magic" video
>
>  libavcodec/sanm.c | 100 ++++++++++++++++++++++++++++++++--------------
>  1 file changed, 70 insertions(+), 30 deletions(-)
>
> --
> 2.49.0
_______________________________________________
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:[~2025-05-07  7:01 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-05-06 15:40 Manuel Lauss
2025-05-06 15:40 ` [FFmpeg-devel] [PATCH v1 1/3] avcodec/sanm: ignore codec48 compression type 6 Manuel Lauss
2025-05-06 15:40 ` [FFmpeg-devel] [PATCH v2 2/3] avcodec/sanm: recognize common FOBJ sizes Manuel Lauss
2025-05-06 15:40 ` [FFmpeg-devel] [PATCH v2 3/3] avcodec/sanm: support "StarWars - Making Magic" video Manuel Lauss
2025-05-07  7:00 ` Manuel Lauss [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='CAOLZvyEUnRoqHhPGKk-VHzW=DAYaUkRoZvZsm0TG27of6BUjBw@mail.gmail.com' \
    --to=manuel.lauss@gmail.com \
    --cc=ffmpeg-devel@ffmpeg.org \
    /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