Joined: 10/14/2013
Posts: 335
Location: Australia
Find a video that's displaying at 480p60, right click the video in Youtube and select "stats for nerds". What is the resolution the video is playing back at?
I'm not as active as I once was, but I can be reached here if I should be needed.
Marusame
He/Him
Joined: 1/1/2019
Posts: 9
TheCoreyBurton wrote:
Find a video that's displaying at 480p60, right click the video in Youtube and select "stats for nerds". What is the resolution the video is playing back at?
interesting, 540x720 https://www.youtube.com/watch?v=6FMNvMx3eMo it was also in higher resolutions. But i could have sworn there are more videos on TASVideos that are JUST 480p60fps as its highest resolution. Ill post when i find one but they exist and it weirded me out.
creaothceann
He/Him
Editor
Joined: 4/7/2005
Posts: 1874
Location: Germany
Just double the height, and adjust the aspect ratio with MKVToolNix.
Joined: 10/14/2013
Posts: 335
Location: Australia
Marusame wrote:
540x720
I thought that mighty be the case. It's something that happens with vertical videos. My best guess is that Youtube's encoding calculations are based on height, but it's resolution options are based on width. This means that when it's encoded the video it's detected 720p and encoded a 720p60 stream, but the resulting video has instead been labeled as 480p60.
I'm not as active as I once was, but I can be reached here if I should be needed.
Marusame
He/Him
Joined: 1/1/2019
Posts: 9
creaothceann wrote:
Just double the height, and adjust the aspect ratio with MKVToolNix.
Well im actually capturing real hardware(in real time), and I just ended up saying screw it and just changed the base canvas size in OBS to multiples of 4:3 at 3X the resolution https://www.youtube.com/watch?v=L_Jj6Fifx5Q Im using a retrotink and wanted the best quality to display the retrotinks2x footage. I wanted a 1:1 4:3/60fps video but it seems youtube just cant do that.
creaothceann
He/Him
Editor
Joined: 4/7/2005
Posts: 1874
Location: Germany
Looks like some part of your toolchain erroneously thinks the video is interlaced and applies deinterlacing.
Marusame
He/Him
Joined: 1/1/2019
Posts: 9
creaothceann wrote:
Looks like some part of your toolchain erroneously thinks the video is interlaced and applies deinterlacing.
Well the retrotink 2X is a line doubler RCA/Svideo/Component to hdmi. It IS interlaced and it takes it to 480p, you can add a filter to it as well. Smash Bros Melee has interlace flicker unless you turn the deflicker option so its just a melee thing. The retrotink makes any analog 240i 480i and i think a few others into 480p or 480p with a filter. It does this within or down to a single frame. Its the fastest 0lag solution of playing RCA style inputs on modern setups. For instance if you use your TV's RCA it can put up to 8-10 frames of lag, the retrotinks life goal is to take the image, make it 480p (it has a passthrough mode that displays what its getting in case you wanted to pump the image into an OSSC or framemeister) and shoot it over hdmi the very instant it gets the footage. Its 100$ and developed by a single dude. Its also the best way to get proper aspect ratio's on new tv's. That flicker is also what you would get on a CRT which i know because i have played it on one back in the day for many years. Also im pretty sure I dont have the elgato stretch standard def content or the deinterlacing on (which it wouldnt do anyway as the retrotink puts out 480p). http://www.retrotink.com/ Ill capture other gamecube games, melee is kind of a unique beast and the weird flickering interlaced part shouldnt be in any other gamecube game. Just wish the retrotink could handle 480p input, but I couldnt do that anyway on just a gamecube without spending another 100$+ on the gamecube component cables or one of the 3rd party solutions.
creaothceann
He/Him
Editor
Joined: 4/7/2005
Posts: 1874
Location: Germany
Personally I use a SNES + RGB cable, a FrameMeister and a Live Gamer Extreme capture device. I thought the OSSC was already lag-free? It seems the GC can produce a progressive signal if you use a certain model and a component cable... https://www.nintendo.com/consumer/systems/nintendogamecube/faq.jsp https://www.nintendo.com/consumer/systems/nintendogamecube/component.jsp http://research.omicsgroup.org/index.php/List_of_Nintendo_GameCube_games_with_480p_and_16:9_support What exactly comes out of your GC - 480i or 480p @ 60Hz? If it's the former then you're not done with just doubling the lines. Every odd-numbered 480i@60Hz field is placed one scanline lower (between the even lines), creating full 480-line pictures @ 30Hz (but with half the lines lagging 1/60 of a second behind). To fix this you'd record the interlaced signal and deinterlace it with bob deinterlacing or motion detection filters (don't use inverse telecine). http://avisynth.nl/index.php/Bob http://avisynth.nl/index.php/DoubleWeave http://avisynth.nl/index.php/External_filters#Deinterlacing (The latter filters require more powerful hardware.) The width of the resulting 480p material could be doubled (if you're concerned about the h.264 subsampling). The 480 lines could just be tripled (for 720p) or quadrupled and enlarged with black bars (for 1080p). x264 with CRF (at e.g. 16 or 20) is better than CBR, afaik.
Marusame
He/Him
Joined: 1/1/2019
Posts: 9
creaothceann wrote:
Personally I use a SNES + RGB cable, a FrameMeister and a Live Gamer Extreme capture device. I thought the OSSC was already lag-free? It seems the GC can produce a progressive signal if you use a certain model and a component cable... https://www.nintendo.com/consumer/systems/nintendogamecube/faq.jsp https://www.nintendo.com/consumer/systems/nintendogamecube/component.jsp http://research.omicsgroup.org/index.php/List_of_Nintendo_GameCube_games_with_480p_and_16:9_support What exactly comes out of your GC - 480i or 480p @ 60Hz? If it's the former then you're not done with just doubling the lines. Every odd-numbered 480i@60Hz field is placed one scanline below the even lines, creating full 480-line pictures @ 30Hz (but with half the lines lagging 1/60 of a second behind). To fix this you'd record the interlaced signal and deinterlace it with bob deinterlacing or motion detection filters (don't use inverse telecine). http://avisynth.nl/index.php/Bob http://avisynth.nl/index.php/DoubleWeave http://avisynth.nl/index.php/External_filters#Deinterlacing (The latter filters require more powerful hardware.) The width of the resulting 480p material could be doubled (if you're concerned about the h.264 subsampling). The 480 lines could just be tripled (for 720p) or quadrupled and enlarged with black bars (for 1080p). x264 with CRF (at e.g. 16 or 20) is better than CBR, afaik.
Also you can play gamecube games in progressive on a wii with a component cable which is FARRR cheaper but the wii produces a muddier signal without modding. The Retrotink's passthrough mode is so you can do deinterlacing later if you choose too along the chain. To get progressive out of a gamecube however is VERY expensive since the gamecube component cables have a special chip in them and were in limited numbers only sold through nintendo's website, so they fetch about 150+$ for one, your better off getting one of the gamecube to hdmi devices that sell for around the same price. But the retrotink 2x cant apparently handle a 480p IN signal, it wigs out and splits the image. The retrotink 2x is JUST a line doubler, it effectively does near perfect deinterlacing and does it in 83 microseconds or 5 scanlines apparently. The job of the retrotink2x is to be a more affordable option to play older systems on modern tvs. Sure the RGB+Framemeister is a way to go but the framemeister while amazing, isnt perfect, its still much slower than the retrotink2x and adds a tiny amount of lag. Its very low sure but it just shows how fast the retrotink is. Its damn near CRT levels. Also the hdmi the retrotink sends out is 480p60, it takes 480i or 240i and correctly line doubles it and makes it hdmi compatible. Im currently playing FFIV on my PSONE over svideo and the pixels look pretty damn sharp. Smash bros melee in of it self on gamecube isnt a perfect test since its weird. Also, i have a Wii2hdmi adapter and while it can handle progressive mode and makes it 720p, its a pretty mushy image. Going to 480i mode and using the retrotink with component cables on the wii is actually a much, MUCH cleaner looking image. I wish the retrotink could at least handle progressive even in passthrough so i can capture progressive native but its ability to handle 480i to 480p is pretty damn perfect and is nearly identical to what the game would put out in progressive anyway. But yeah the retrotinks sole goal in life is to make a 480i30fps to 480p60fps out over hdmi as fast as humanly possible with hardware. Its not a perfect device but holy crap does SNES look clean even over composit with it.
Publisher
Joined: 4/23/2009
Posts: 1283
If your goal is to have the best quality on YouTube, I still think capturing the original interlace signal and then using software deinterlacer like QTGMC would be better quality.
Marusame
He/Him
Joined: 1/1/2019
Posts: 9
Aktan wrote:
If your goal is to have the best quality on YouTube, I still think capturing the original interlace signal and then using software deinterlacer like QTGMC would be better quality.
I think the retrotink does a better job but i could do interlace but im not sure how the elgato will capture it. I know it can do interlace but i dont trust the timing of its capture enough to do software rendering afterwards being better than what the retrotink does. I know it does have a passthrough mode, though I couldnt do this for SNES as i think the elgato hd60 wont accept 240i and will process it wrong if it will even see it at all. I know that on some systems the hd60 just shows up a "no signal" so it makes the 480p mode necessary, which in all honesty is one of the sole reason the retrotink exists since many modern stuff and tv's simply cant see, or misread the signal as 480i and interpret it in a weird way. The retrotink was made to fix that issue. Capturing solid, pure footage from older systems will always be an expensive, and pain in the ass thing. My current setup this is the best i can do. I wanted advice here because i know there are some 480p60fps footage on the TAS youtube channel and the end process of encoding from emulators and consoles can be similar. Also the retrotink doesnt just deinterlace, it line doubles it so its a bit more involved than just a deinterlace of a signal to hdmi.
Publisher
Joined: 4/23/2009
Posts: 1283
I really doubt retrotink does a better job from the YouTube video you linked us as there is a lot of problems with that video. It's too bad I don't have a GC to make a sample, but would a sample from a PS2 work for you?
Editor, Emulator Coder, Site Developer
Joined: 5/11/2011
Posts: 1108
Location: Murka
Aktan wrote:
If your goal is to have the best quality on YouTube, I still think capturing the original interlace signal and then using software deinterlacer like QTGMC would be better quality.
Remember that very few games will have genuine interlaced content (each field represents the scene at a different point in time). This is because rendering in this way is very hostile to slowdown: If you're not able to make time on rendering a new field, what do you present this field? The previous field's buffer? But that was for a different location (either one line higher or one line lower than the current one), so the user will notice the jump up or down as a very visible studder. Two fields ago (assuming you still have that in a third buffer somewhere)? But that's actually behind the previous field in time, so the user will notice a huge motion jerk. No, what you actually want to show is the scene that you just presented, but the other "field" for it. But you never rendered that. Whoops! That's why games for consoles in interlaced mode usually render a full progressive image, and then present it for two fields, getting both the bottom and top. If you end up behind, you just show an old field again. There will be slight studder and slowdown as there always is with lag, but with none of the jumps or jerks from the above situation. So, the best way to deinterlace those is to simply recover the original progressive stream by looking at adjacent fields and seeing which ones line up.
Marusame
He/Him
Joined: 1/1/2019
Posts: 9
Aktan wrote:
I really doubt retrotink does a better job from the YouTube video you linked us as there is a lot of problems with that video. It's too bad I don't have a GC to make a sample, but would a sample from a PS2 work for you?
Well like i said, melee is a VERY BAD EXAMPLE https://www.youtube.com/watch?v=Gl7Is-VgB8I here is a recent one i did of ff8 on the psone. No matter HOW you capture smash, unless your do it in progressive mode it will have flicker and that weird interlacing. It doesnt do this on anything else, the retrotink was merely outputting what it was getting in. Smash bros melee just sends out a janky signal, probably doing a sort of screen tearing/interlace interrupt to make it as fast as possible. Worst case scenerio really, I should capture other GC games to show that none of that is present on anything else it does. Trust me, its not a deinterlacing going wrong, its more of a what you see is what you get with this thing and what melee sounds out look just that weird even on a CRT over composit. Thats why it had a deflicker option in the menu of the game that helps with it. Its an engine thing.
creaothceann
He/Him
Editor
Joined: 4/7/2005
Posts: 1874
Location: Germany
Marusame wrote:
I know it does have a passthrough mode, though I couldnt do this for SNES as i think the elgato hd60 wont accept 240i
240p
Marusame wrote:
...and will process it wrong if it will even see it at all. I know that on some systems the hd60 just shows up a "no signal" so it makes the 480p mode necessary, which in all honesty is one of the sole reason the retrotink exists since many modern stuff and tv's simply cant see, or misread the signal as 480i and interpret it in a weird way.
The SNES is a bit difficult because it does the progressive trick (i.e. leave out the last line and make the total number of lines per frame even) and varies the number of clock cycles per line. The mainboard clock is 5*7*9/88 * 6 * 1,000,000 Hz. There are 1364 cycles per line, except for line 240 of the second field in progressive mode which has 1360 cycles. That results in (1364*524 - 4) / 2 cycles per field, and a field rate of ~60.0988 Hz. Meanwhile the capture cards expect the standard field rate of 60/1.001 = ~59.94 Hz, which is why they might show a "skip" every few seconds.
natt wrote:
That's why games for consoles in interlaced mode usually render a full progressive image, and then present it for two fields, getting both the bottom and top.
So they can't render at 60Hz at all...
Marusame
He/Him
Joined: 1/1/2019
Posts: 9
creaothceann wrote:
Marusame wrote:
I know it does have a passthrough mode, though I couldnt do this for SNES as i think the elgato hd60 wont accept 240i
240p
Marusame wrote:
...and will process it wrong if it will even see it at all. I know that on some systems the hd60 just shows up a "no signal" so it makes the 480p mode necessary, which in all honesty is one of the sole reason the retrotink exists since many modern stuff and tv's simply cant see, or misread the signal as 480i and interpret it in a weird way.
The SNES is a bit difficult because it does the progressive trick (i.e. leave out the last line and make the total number of lines per frame even) and varies the number of clock cycles per line. The mainboard clock is 5*7*9/88 * 6 * 1,000,000 Hz. There are 1364 cycles per line, except for line 240 of the second field in progressive mode which has 1360 cycles. That results in (1364*524 - 4) / 2 cycles per field, and a field rate of ~60.0988 Hz. Meanwhile the capture cards expect the standard field rate of 60/1.001 = ~59.94 Hz, which is why they might show a "skip" every few seconds.
natt wrote:
That's why games for consoles in interlaced mode usually render a full progressive image, and then present it for two fields, getting both the bottom and top.
So they can't render at 60Hz at all...
Yeah, im not super technical on video stuff but i try to learn. I know the snes is a weird thing and that many tvs, capture cards simply hate it and interpret it incorrectly. I know ive been harping on this new device i got a lot but all of that is what this box is designed to help fix. Here, instead of me trying to explain what the retrotink does here is the creator explaining it https://www.youtube.com/watch?v=pdIgmQH4AHA and you can get a good idea of its purpose. Okay yeah it doesnt do deinterlacing it just line doubles which i guess is a different thing. Guess it just does the line double to get the progressive signal. If you do the passthrough mode that means ill get some lag on the tv itself since it will try to do deinterlacing but i guess the capture can be deinterlaced later.. idk there is no easy way to do this but atm im okay with simple line doubling capturing the best quality i can from it.
Publisher
Joined: 4/23/2009
Posts: 1283
Marusame wrote:
Well like i said, melee is a VERY BAD EXAMPLE https://www.youtube.com/watch?v=Gl7Is-VgB8I here is a recent one i did of ff8 on the psone. No matter HOW you capture smash, unless your do it in progressive mode it will have flicker and that weird interlacing. It doesnt do this on anything else, the retrotink was merely outputting what it was getting in. Smash bros melee just sends out a janky signal, probably doing a sort of screen tearing/interlace interrupt to make it as fast as possible. Worst case scenerio really, I should capture other GC games to show that none of that is present on anything else it does. Trust me, its not a deinterlacing going wrong, its more of a what you see is what you get with this thing and what melee sounds out look just that weird even on a CRT over composit. Thats why it had a deflicker option in the menu of the game that helps with it. Its an engine thing.
That's the thing, I've done smash videos in the past and I didn't have those problems. Really is too bad I don't have a GC + Smash somewhere to show what I mean. Watching Smash on Twitch.tv, I wonder how they deinterlace on fly. Your FF8 example does look very good, however. But I think I can do the same in software, I do have my PS1 here but FF8 is somewhere else, I could capture FF9 instead.
Marusame
He/Him
Joined: 1/1/2019
Posts: 9
Aktan wrote:
Marusame wrote:
Well like i said, melee is a VERY BAD EXAMPLE https://www.youtube.com/watch?v=Gl7Is-VgB8I here is a recent one i did of ff8 on the psone. No matter HOW you capture smash, unless your do it in progressive mode it will have flicker and that weird interlacing. It doesnt do this on anything else, the retrotink was merely outputting what it was getting in. Smash bros melee just sends out a janky signal, probably doing a sort of screen tearing/interlace interrupt to make it as fast as possible. Worst case scenerio really, I should capture other GC games to show that none of that is present on anything else it does. Trust me, its not a deinterlacing going wrong, its more of a what you see is what you get with this thing and what melee sounds out look just that weird even on a CRT over composit. Thats why it had a deflicker option in the menu of the game that helps with it. Its an engine thing.
That's the thing, I've done smash videos in the past and I didn't have those problems. Really is too bad I don't have a GC + Smash somewhere to show what I mean. Watching Smash on Twitch.tv, I wonder how they deinterlace on fly. Your FF8 example does look very good, however. But I think I can do the same in software, I do have my PS1 here but FF8 is somewhere else, I could capture FF9 instead.
It could be the Svideo, I may try to capture it over just Composit and the flicker might not be there. Also many capture cards including mine, like the GCHD can do deinterlace on the fly which would probably make that go away. I should do some tests. So I could possibly do a passthrough mode, and just select "convert standard definition to 640x480" button. But my idea is to not pretty up the image aftwards with these captures, I sort of want to capture it as it, jank and all. Also I did capture some footage with the game mode "deflicker" option on, the test 4 one, and it was mitigated. I think of the retrotink2x as more of a "what is sent out is mostly what you get back" sort of deal. If the image was flickering since all it does is line double, you will get the flicker doubled as its coming through as well, since its so quick at what it does.
Publisher
Joined: 4/23/2009
Posts: 1283
Marusame wrote:
It could be the Svideo, I may try to capture it over just Composit and the flicker might not be there. Also many capture cards including mine, like the GCHD can do deinterlace on the fly which would probably make that go away. I should do some tests. So I could possibly do a passthrough mode, and just select "convert standard definition to 640x480" button. But my idea is to not pretty up the image aftwards with these captures, I sort of want to capture it as it, jank and all. Also I did capture some footage with the game mode "deflicker" option on, the test 4 one, and it was mitigated. I think of the retrotink2x as more of a "what is sent out is mostly what you get back" sort of deal. If the image was flickering since all it does is line double, you will get the flicker doubled as its coming through as well, since its so quick at what it does.
Don't get me wrong, what retrotink2x does is very impressive for on fly and having near zero lag, but it has it's limitation. I'm not saying to "pretty" it up afterwards, I'm saying the "jank" wasn't there in the first place. I'm saying it's an after effect of using scalers and on fly deinterlacing, etc which can be fixed if a better deinterlacer (though slow) is used on the original content. But for the speed purpose, I can see your setup be good enough. This is why I asked if you want the best quality or just good enough. Edit: Going back to your original question before this tangent, I think 480p60 was a limited time thing on YT (my guess) and it is unlikely to get it. Just a guess, that or it needs to be exactly 60 FPS (a wild guess). Edit 2:
natt wrote:
That's why games for consoles in interlaced mode usually render a full progressive image, and then present it for two fields, getting both the bottom and top. If you end up behind, you just show an old field again. There will be slight studder and slowdown as there always is with lag, but with none of the jumps or jerks from the above situation. So, the best way to deinterlace those is to simply recover the original progressive stream by looking at adjacent fields and seeing which ones line up.
No wonder why doing PS1 on BizHawk I had to choose only certain fields.
Editor, Expert player (2330)
Joined: 5/15/2007
Posts: 3933
Location: Germany
I have encoded a .MP4 with x264 of 11:07 length and tried to mux it in MKVToolNix (v28.something) with a WAV of same length, like I did with hundreds of files before. For some odd reason, the resulting MKV would have a length of 20:16 and shows up in a "not right" way in MPC, VLC and on Youtube. I upgraded to the latest MKVToolNix version (v30) and tried to change parameter in the Encode.bat but the result has always been the same. How to fix this?
creaothceann
He/Him
Editor
Joined: 4/7/2005
Posts: 1874
Location: Germany
Open that file with Avisynth (e.g. AvsPmod) and add the info command. What does the resulting text in the video say?
Editor, Expert player (2330)
Joined: 5/15/2007
Posts: 3933
Location: Germany
I don't know AvsPmod, so I used ffms2.dll with ffvideosource() to open. Let me know if it suffices or if you need me to use AvsPmod. This is what was output by info(): The framerate is 59.286 when opening the .AVS (with which the MP4 is made), but after the conversion to MKV it somehow changes to 32 FPS.
creaothceann
He/Him
Editor
Joined: 4/7/2005
Posts: 1874
Location: Germany
AvsPmod is just an Avisynth text editor with built-in preview. You could try specifying the framerate in MKVToolNix; this would only work if all frames have the same duration. Otherwise it might work with timestamp files (though I wouldn't know how to generate them from a source file).
Joined: 8/3/2008
Posts: 254
Does anyone know how to do batch resizes in Virtualdub2? I think I might be missing something as I was doing batch resizes for my videos. I had already setup the resize settings for one video but it never seems to apply for my queued videos.
Guernsey Adams Pierre
Joined: 10/14/2013
Posts: 335
Location: Australia
The queue contains the entirety of the job info, not only information about the video file. This means that if you queued up a video with no filters, it will be processed with no filters. The easiest way to work with this is to load your first video and apply the filters you desire. Next, save your processing settings (File > Save processing settings) to some easy-to-find location, then before queuing each video, load these same processing settings.
I'm not as active as I once was, but I can be reached here if I should be needed.