Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
 help / color / mirror / Atom feed
From: aybe aybe <aybe.one-at-hotmail.com@ffmpeg.org>
To: FFmpeg development discussions and patches <ffmpeg-devel@ffmpeg.org>
Subject: Re: [FFmpeg-devel] [PATCH 1/4] avcodec/mdec: DC reading for STRv1 is like STRv2
Date: Tue, 16 Jan 2024 14:27:16 +0000
Message-ID: <PAVPR08MB9795C7CBBF8CEEBA663B86A79A732@PAVPR08MB9795.eurprd08.prod.outlook.com> (raw)
In-Reply-To: <20240115234249.GI6420@pb2>

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

The new patch appears to work, stuff is synchronized, except:
- 30 FPS video still seen as 150FPS by VLC
- 15 FPS video emits tons of "[vost#0:0/rawvideo @ 000000000269b580] Clipping frame in rate conversion by 0.199989"

As for the corrupt samples, been able to find the original sources:

- the first is good old Descent
    - was cut at exactly 2MB
    - works in FFmpeg
- the second is Ridge Racer Type 4
    - bad/incomplete extract with a tool that added "RIFF....CDXA" header for whatever reason
    - does NOT work in FFmpeg, comprised of 38 audio streams + 2 video streams (only decodes some audio then aborts)
    - but if I extract the relevant section from it, then works in FFmpeg

New videos, samples, logs:
https://github.com/aybe/FFmpeg-PSX-STR-tests

------ Original Message ------
From "Michael Niedermayer" <michael@niedermayer.cc<mailto:michael@niedermayer.cc>>
To "FFmpeg development discussions and patches" <ffmpeg-devel@ffmpeg.org<mailto:ffmpeg-devel@ffmpeg.org>>
Date 1/16/2024 12:42:49 AM
Subject Re: [FFmpeg-devel] [PATCH 1/4] avcodec/mdec: DC reading for STRv1 is like STRv2

On Mon, Jan 15, 2024 at 04:14:46PM +0000, aybe aybe wrote:
Hi!

I just tried what you've suggested, using 150 and setting AVPacket->pts using sector MSF as LBA.

The results are somewhat mixed:

- NTSC video: A/V synchronized but is now seen as 120 FPS by VLC
- PAL video: A/V not synchronized anymore but still seen as 25 FPS by VLC

can you send the patch for this plus links to one sample for both cases ?

id like to take a look

thx

[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

The greatest way to live with honor in this world is to be what we pretend
to be. -- Socrates

[-- Attachment #2: 0001-avformat-psxstr-infer-video-FPS-using-sector-LBA.eml.url --]
[-- Type: application/octet-stream, Size: 134 bytes --]

[-- Attachment #3: 0002-avformat-psxstr-update-fate-checksums.eml.url --]
[-- Type: application/octet-stream, Size: 123 bytes --]

[-- Attachment #4: 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".

  reply	other threads:[~2024-01-16 14:27 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-02  2:49 aybe aybe
2024-01-05 20:53 ` Michael Niedermayer
2024-01-06 12:31   ` aybe aybe
2024-01-10  2:37 ` Michael Niedermayer
2024-01-13  2:32   ` aybe aybe
2024-01-10  2:46 ` Michael Niedermayer
2024-01-13  2:28   ` aybe aybe
2024-01-14 20:38     ` Michael Niedermayer via ffmpeg-devel
2024-01-15 16:14       ` aybe aybe
2024-01-15 23:42         ` Michael Niedermayer
2024-01-16 14:27           ` aybe aybe [this message]
2024-01-16 14:32             ` aybe aybe
     [not found]             ` <emd5d779f2-9283-4be7-82e5-afaf16ca635e@a51bcb19.com>
2024-01-16 14:39               ` aybe aybe
2024-01-16 14:56                 ` aybe aybe

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=PAVPR08MB9795C7CBBF8CEEBA663B86A79A732@PAVPR08MB9795.eurprd08.prod.outlook.com \
    --to=aybe.one-at-hotmail.com@ffmpeg.org \
    --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