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

2024-01-16 Thread aybe aybe
instead of fixed value 464243adac7abfa9b926a1faf6f59515661efa7f I think we're good now :) -- Original Message -- >From "aybe aybe" To "FFmpeg development discussions and patches" Date 1/16/2024 3:39:09 PM Subject Re: [FFmpeg-devel] [PATCH 1/4] avcodec/mdec: DC re

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

2024-01-16 Thread aybe aybe
e 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 &q

[FFmpeg-devel] [PATCH 2/2] avformat/psxstr: update fate checksums

2024-01-16 Thread aybe aybe
Signed-off-by: aybe --- tests/ref/fate/psx-str-demux | 178 +-- 1 file changed, 89 insertions(+), 89 deletions(-) diff --git a/tests/ref/fate/psx-str-demux b/tests/ref/fate/psx-str-demux index 18a21b0bb6..0a31c44323 100644 --- a/tests/ref/fate/psx-str-demux +++

[FFmpeg-devel] [PATCH 1/2] avformat/psxstr: infer video FPS using sector LBA

2024-01-16 Thread aybe aybe
Signed-off-by: aybe --- libavformat/psxstr.c | 44 ++-- 1 file changed, 42 insertions(+), 2 deletions(-) diff --git a/libavformat/psxstr.c b/libavformat/psxstr.c index 306a690f52..c718fb6daf 100644 --- a/libavformat/psxstr.c +++ b/libavformat/psxstr.c

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

2024-01-16 Thread aybe aybe
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" >mailto:aybe.one-at-hotmail@ffmpeg.org>> To "FFmpeg development discussions

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

2024-01-16 Thread aybe aybe
; To "FFmpeg development discussions and patches" 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 +, aybe aybe wrote: Hi! I just tried what y

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

2024-01-15 Thread aybe aybe
mailto:ffmpeg-devel@ffmpeg.org>> Cc "Michael Niedermayer" mailto:mich...@niedermayer.cc>> Date 1/14/2024 9:38:06 PM Subject Re: [FFmpeg-devel] [PATCH 1/4] avcodec/mdec: DC reading for STRv1 is like STRv2 Hi aybe On Sat, Jan 13, 2024 at 02:28:52AM +, aybe aybe wrote: Here

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

2024-01-12 Thread aybe aybe
ent discussions and patches" mailto:ffmpeg-devel@ffmpeg.org>> Date 1/10/2024 3:37:41 AM Subject Re: [FFmpeg-devel] [PATCH 1/4] avcodec/mdec: DC reading for STRv1 is like STRv2 On Tue, Jan 02, 2024 at 02:49:26AM +, aybe aybe wrote: Hi, As I understand, support for .STR files is

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

2024-01-12 Thread aybe aybe
dermayer" >mailto:mich...@niedermayer.cc>> To "FFmpeg development discussions and patches" mailto:ffmpeg-devel@ffmpeg.org>> Date 1/10/2024 3:46:02 AM Subject Re: [FFmpeg-devel] [PATCH 1/4] avcodec/mdec: DC reading for STRv1 is like STRv2 On Tue, Jan 02, 2024 at

Re: [FFmpeg-devel] [PATCH 4/4] avformat/psxstr: basic FPS detection instead of fixed value

2024-01-12 Thread aybe aybe
mailto:ffmpeg-devel@ffmpeg.org>> Date 1/10/2024 3:56:39 AM Subject Re: [FFmpeg-devel] [PATCH 4/4] avformat/psxstr: basic FPS detection instead of fixed value On Tue, Jan 02, 2024 at 03:14:19AM +, aybe aybe wrote: This fourth and last patch is an attempt at removing the hard-coded val

Re: [FFmpeg-devel] [PATCH 4/4] avformat/psxstr: basic FPS detection instead of fixed value

2024-01-08 Thread aybe aybe
velopment discussions and patches" mailto:ffmpeg-devel@ffmpeg.org>> Date 1/7/2024 12:44:03 AM Subject Re: [FFmpeg-devel] [PATCH 4/4] avformat/psxstr: basic FPS detection instead of fixed value On Tue, Jan 02, 2024 at 03:14:19AM +, aybe aybe wrote: This fourth and last patch is an attempt

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

2024-01-06 Thread aybe aybe
n 02, 2024 at 02:49:26AM +, aybe aybe wrote: >> Hi, >> >> As I understand, support for .STR files is broken for almost 10 years now >> (since 161442ff2c4b0dd8a5072c6bbe6bf55303fffccf it seems). >> >> Currently, ffmpeg fails with tons of errors like t

[FFmpeg-devel] [PATCH 4/4] avformat/psxstr: basic FPS detection instead of fixed value

2024-01-01 Thread aybe aybe
This fourth and last patch is an attempt at removing the hard-coded value of 15 FPS. In patch 1/4, although it would render video, the audio and video were not synchronized at all, now there are. In this approach I kept it simple, grab min/max possible rates, pick min, clamp to 15/30 just in

[FFmpeg-devel] [PATCH 3/4] avformat/psxstr: fix unknown sector type 00/80

2024-01-01 Thread aybe aybe
This third patch fixes warnings that are false positives (still on STRv1). That's because these sectors are simply empty ones as can be read in "System Description CD-ROM XA, May 1991, 4.3.2.3". Haven't attempted significant refactoring as it just works, left a comment instead about the

[FFmpeg-devel] [PATCH 2/4] avformat/psxstr: fix demuxing I/O error at EOF

2024-01-01 Thread aybe aybe
This second patch fixes the following error at the end of a .STR stream conversion: [in#0/psxstr @ 00681e80] Error during demuxing: I/O error It's been a bit of trial and error as I've never used ffmpeg, but returning AVERROR_EOF appears to be the way to go (doesn't complain anymore).

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

2024-01-01 Thread aybe aybe
Hi, As I understand, support for .STR files is broken for almost 10 years now (since 161442ff2c4b0dd8a5072c6bbe6bf55303fffccf it seems). Currently, ffmpeg fails with tons of errors like this on version 1 STRs, e.g. Wipeout 1: [mdec @ 027c72c0] ac-tex damaged at 1 9 What happens is