marqs85 / ossc

Open Source Scan Converter
http://junkerhq.net/xrgb/index.php/OSSC
GNU General Public License v3.0
480 stars 65 forks source link

625p is being incorrectly treated as 800×600 #47

Closed ulihox closed 4 years ago

ulihox commented 4 years ago

Feeding AV3 input with 625p signal outputs 800x600.

Info button shows: Prof.0 800x600 625p 540006

marqs85 commented 4 years ago

Both 800x600 and 576p are ~625-line signals although 800x600 is rarely below 56Hz. The firmware currently doesn't consider refresh rate when selecting sampling parameters and chooses the preset depending on input (800x600 for AV3, 576p for AV1-2), but I could add an explicit refresh rate check for these modes.

ulihox commented 4 years ago

I've been doing some testing. If I feed into OSSC 576p (50Hz), it outputs 800x600@50Hz, but with 576p (60Hz) it outputs 640x480@60Hz (always through AV3).

Would it be possible to output the same video mode as input (for example, if I feed 576p then output 576p)?

Thanks @marqs85.

marqs85 commented 4 years ago

Which device you use to output 576p (60Hz) and how many lines in total it has? There's no such standard so I assume the source reduces the number of blanking lines in addition to increasing pixel clock frequency to achieve 60Hz.

Active area used by the source cannot be decoded from analog video which is why presets based on standard/common modes exist. They are fully customizable, though ("adv. timing"), so you can tune mode parameters if you're not getting what you want. In the original case, you'd need to copy timings from 576p preset to 800x600 preset.

ulihox commented 4 years ago

I use a dvdo iscan ultra (it only deinterlaces) with a PAL PS2. Most of the games (PAL) work at 50Hz, but some of them allow to use 60Hz.

According to the manual of the dvdo (https://www.manualslib.com/manual/1211743/Dvdo-Iscan-Ultra.html), it outputs 625 lines per frame (576 active).

I'll try to customize the timings.

marqs85 commented 4 years ago

60Hz mode in PAL games is 480i so you should be getting 480p out from dvdo. VESA 640x480 preset is then selected by default since you're using AV3, but you can change it to "DTV 480p" from sampling menu (480p in sampler) to get more optimal horizontal sampling.

marqs85 commented 4 years ago

Fixed in b1892079d8400fdfcd6f26221228c8e04c079ca7.

Sirethief2525 commented 4 years ago

Hey, I was wondering if one of you could maybe compile the firmware for me so I could test it out with my psp go? I don't have the knowledge to or experience to do it myself, so if one of you could help me out that'd be awesome! Thanks in advance.

On Tue, Apr 28, 2020, 14:37 marqs85 notifications@github.com wrote:

Fixed in b189207 https://github.com/marqs85/ossc/commit/b1892079d8400fdfcd6f26221228c8e04c079ca7 .

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/marqs85/ossc/issues/47#issuecomment-620812702, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABDZHU42IMOV2UHSBMGFKEDRO4V7PANCNFSM4MQ4TMIA .

marqs85 commented 4 years ago

You can thy this test image.

eatnumber1 commented 4 years ago

Out of curiosity, did you actually mean to comment on the PSP related PRs? Otherwise I’d be curious how you got a 625p picture going into AV3 from your PSP go, which afaik only outputs a 480p picture in component YPbPr.

On Thu, Jun 4, 2020 at 11:09 marqs85 notifications@github.com wrote:

You can thy this http://www.niksula.hut.fi/~mhiienka/tmp/ossc_0.86-pre.bin test image.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/marqs85/ossc/issues/47#issuecomment-639017939, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAEJD4T3BEB275GLBPRU6LRU7POBANCNFSM4MQ4TMIA .