[FFmpeg-devel] [PATCH 1/4] avcodec/mdec: DC reading for STRv1 is like STRv2

aybe aybe aybe.one at hotmail.com
Tue Jan 16 16:56:26 EET 2024


These email issues made me forgot to tell an important thing...

That new FPS patch is meant to be applied right after this:

avformat/psxstr: fix unknown sector type 00/80
a96d556baaf7cb71babad96238eadb532d02f3a6

i.e. not over the previous FPS patch attempt:

avformat/psxstr: basic FPS detection instead of fixed value
464243adac7abfa9b926a1faf6f59515661efa7f

I think we're good now :)

------ Original Message ------
From "aybe aybe" <aybe.one-at-hotmail.com at ffmpeg.org>
To "FFmpeg development discussions and patches"
<ffmpeg-devel at ffmpeg.org>
Date 1/16/2024 3:39:09 PM
Subject Re: [FFmpeg-devel] [PATCH 1/4] avcodec/mdec: DC reading for
STRv1 is like STRv2

>Lol, I told you I was struggling with emClient, it decided to send .eml as .url...
>
>Here are the patches, hopefully!
>
>[FFmpeg-devel] [PATCH 1/2] avformat/psxstr: infer video FPS using sector LBA
>https://ffmpeg.org/pipermail/ffmpeg-devel/2024-January/319701.html
>
>[FFmpeg-devel] [PATCH 2/2] avformat/psxstr: update fate checksums
>https://ffmpeg.org/pipermail/ffmpeg-devel/2024-January/319702.html
>
>------ Original Message ------
>From "aybe" <aybe.one at hotmail.com<mailto:aybe.one at hotmail.com>>
>To "FFmpeg development discussions and patches" <ffmpeg-devel at ffmpeg.org<mailto:ffmpeg-devel at ffmpeg.org>>
>Date 1/16/2024 3:32:36 PM
>Subject Re[2]: [FFmpeg-devel] [PATCH 1/4] avcodec/mdec: DC reading for STRv1 is like STRv2
>
>Modern email clients like to do stuff they're told not to...
>
>The link I meant previously: https://github.com/aybe/FFmpeg-PSX-STR-tests
>
>
>------ Original Message ------
>From "aybe aybe" <aybe.one-at-hotmail.com at ffmpeg.org<mailto:aybe.one-at-hotmail.com at ffmpeg.org>>
>To "FFmpeg development discussions and patches" <ffmpeg-devel at ffmpeg.org<mailto:ffmpeg-devel at ffmpeg.org>>
>Date 1/16/2024 3:27:16 PM
>Subject Re: [FFmpeg-devel] [PATCH 1/4] avcodec/mdec: DC reading for STRv1 is like STRv2
>
>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 at niedermayer.cc<mailto:michael at niedermayer.cc><mailto:michael at niedermayer.cc>>
>To "FFmpeg development discussions and patches" <ffmpeg-devel at ffmpeg.org<mailto:ffmpeg-devel at ffmpeg.org><mailto:ffmpeg-devel at 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
>_______________________________________________
>ffmpeg-devel mailing list
>ffmpeg-devel at ffmpeg.org
>https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
>To unsubscribe, visit link above, or email
>ffmpeg-devel-request at ffmpeg.org with subject "unsubscribe".


More information about the ffmpeg-devel mailing list