Joined: 8/3/2008
Posts: 254
What codecs work with animated scenes in Sega CD/Mega CD when you are recording in AVI? Is it better to record Sonic CD in Bizhawk?
Zinfidel wrote:
Virtual dub can encode videos using any VFW encoders you have installed. There is a VFW x264 encoder you can download. You select Video > Compression, then choose an encoder. When you "save as avi" from the file menu, it will encode using that encoder. Virtualdub has a bunch of filters you can apply. You can crop with a null filter, you can resize, etc. Just search for tutorials on how to do that stuff. Here's one I found in like 5 seconds: http://granjow.net/virtualdub-tutorial-editing.html
And this will help translate FFMPEG commands into Virtualdub? I will have to take a look that site. Thanks.
Guernsey Adams Pierre
creaothceann
He/Him
Editor
Joined: 4/7/2005
Posts: 1874
Location: Germany
Guernsey wrote:
What codecs work with animated scenes in Sega CD/Mega CD when you are recording in AVI?
For TASes always use a lossless one, like ZMBV, Lagarith, Camstudio or ffdshow 'uncompressed'. They are / can be very fast and will record all pixels just as they are displayed on screen; the disadvantage is that they create relatively big files. ZMBV is the best afaik because it only records changes from one frame to the next (Camstudio always records a full frame, Lagarith at least supports null frames), but it only accepts 16-bit and 32-bit RGB, whereas some older emulators like SNES9x output 24-bit RGB. (If you use ZMBV then jumping around in the recorded file might be very slow because afaik it doesn't insert keyframes by itself; VirtualDub has an option to force a keyframe in regular intervals.) Formats like h.264 are like JPEG compression: they convert the RGB data to YUV first (not sure about x264's "RGB" mode) and by default apply lossy compression, which is relatively slow. The advantage is much smaller files.
Guernsey wrote:
And this will help translate FFMPEG commands into VirtualDub?
x264vfw has a text field in its configuration dialog for extra parameters.
Joined: 8/3/2008
Posts: 254
creaothceann wrote:
Guernsey wrote:
What codecs work with animated scenes in Sega CD/Mega CD when you are recording in AVI?
For TASes always use a lossless one, like ZMBV, Lagarith, Camstudio or ffdshow 'uncompressed'. They are / can be very fast and will record all pixels just as they are displayed on screen; the disadvantage is that they create relatively big files. ZMBV is the best afaik because it only records changes from one frame to the next (Camstudio always records a full frame, Lagarith at least supports null frames), but it only accepts 16-bit and 32-bit RGB, whereas some older emulators like SNES9x output 24-bit RGB. (If you use ZMBV then jumping around in the recorded file might be very slow because afaik it doesn't insert keyframes by itself; VirtualDub has an option to force a keyframe in regular intervals.) Formats like h.264 are like JPEG compression: they convert the RGB data to YUV first (not sure about x264's "RGB" mode) and by default apply lossy compression, which is relatively slow. The advantage is much smaller files.
Looks like I will using the H.264 codec from now on for Sega CD/Mega CD. So H.264 is the most ideal for these kinds of files?
x264vfw has a text field in its configuration dialog for extra parameters.
You could insert commands like the one in the previous page in x264vfw? I need to test that one.
Guernsey Adams Pierre
creaothceann
He/Him
Editor
Joined: 4/7/2005
Posts: 1874
Location: Germany
Guernsey wrote:
Looks like I will using the H.264 codec from now on for Sega CD/Mega CD. So H.264 is the most ideal for these kinds of files?
As I said it's lossy compression - the recording will have compression artifacts, and they will be much more noticeable with low resolutions like the Genesis' 256x240 or 320x240 graphics modes. Also, each new encoding step will add more artifacts, just like saving a picture to JPG over and over again. This is why I'd record with a lossless codec, do my editing, and then finally spend a lot of CPU time to create a much smaller h.264 file that can be shared or uploaded to YT. Also note that emulators will create recordings with uncompressed PCM audio. You can halve that audio's size with a codec like FLAC (you can think of it as ZIP for audio), and for the final encoding use something like MP3 (via LAME MP3 encoder) or OGG. You can export the PCM audio from VirtualDub to a WAV file, compress it, and then insert it into your final file. I use MKVToolNix GUI for that.
Joined: 8/3/2008
Posts: 254
I see. I think get you now. In your opinion, what codecs are ideal for Sega CD/Mega CD? Also, are encoders like Handbrake or H264 encoder useful?
Guernsey Adams Pierre
Editor, Expert player (2330)
Joined: 5/15/2007
Posts: 3933
Location: Germany
I saw comments on my youtube videos were disabled without my doing. I then figured, it's because of the setting whether a video is "made for kids". If it is "not made for kids", then the comments would display normally. I found this out by editing a single video. Then I tried bulk editing all of my videos to set them to "not made for kids", and it said the edit was successful. But it didn't change anything. The videos were still "yes, made for kids". I tried twice without success. Any help?
EZGames69
He/They
Publisher, Reviewer, Expert player (4461)
Joined: 5/29/2017
Posts: 2762
How long has it been since you changed the setting back?
[14:15] <feos> WinDOES what DOSn't 12:33:44 PM <Mothrayas> "I got an oof with my game!" Mothrayas Today at 12:22: <Colin> thank you for supporting noble causes such as my feet MemoryTAS Today at 11:55 AM: you wouldn't know beauty if it slapped you in the face with a giant fish [Today at 4:51 PM] Mothrayas: although if you like your own tweets that's the online equivalent of sniffing your own farts and probably tells a lot about you as a person MemoryTAS Today at 7:01 PM: But I exert big staff energy honestly lol Samsara Today at 1:20 PM: wouldn't ACE in a real life TAS just stand for Actually Cease Existing
Editor, Expert player (2330)
Joined: 5/15/2007
Posts: 3933
Location: Germany
I did the edit on the single video yesterday, and before that I've pretty much never edited my videos in regard to the "Made for kids" setting.
Joined: 8/3/2008
Posts: 254
I am planning on using Bizhawk to record my Sega CD videos and while it has an option to record normally, it also has an option for FFMPEG. The question I have is: Should I has FFMPEG to record my videos? Or should it done post recording? Also, what is a good formula for Sega CD videos? I asked on another forum that there is no 'ideal' setup for these videos but it does help me come up with something for Youtube.
Guernsey Adams Pierre
xxezrabxxx
He/Him
Joined: 7/15/2017
Posts: 199
Location: Kentucky
It depends on the resolution If it's at the usual 256x224, I would encode it at 1400x1080. I heard SegaCD resolutions can vary sometimes, but if it's still the normal 4:3 screen, just do 1400x1800, unless you want to render higher or lower Here's a list for ya: 720p: 960x720 1080: 1400x1080 1440: 1920x1400 4K: 2880x2160 Those are my recommendations, and publishers use these resolutions when encoding tool-assisted runs. You can pick a resolution based on your computer speed, if your gonna render at 4K on just an average computer, it will take a while and sometimes even end up hanging/crashing.
I like to comment on submissions and look around the site. You have probably seen me before (if you have been around for a while) either on the site, Discord, or any other social media. I recently took up making temporary encodes for new submissions. Also, I never forget to greet Tompa wherever I find him! "when resyncing stuff sucks it's called Resuccing" - EZGames69 “If an emulator stops being accepted to the site it should be called an emuLAMEr” - EZGames69 "oh no discord, everything I say will now be logged forever, sdfsdf, time to hide" - Masterjun "just had to give therapy to a taxi with daddy issues" - psx Current Projects: Mother 3 (75% complete)
Joined: 8/3/2008
Posts: 254
It turns out you can choose the format, codec, etc in the FFMPEG writer or just record normally on BizHawk. Which option works best for high quality but low disk space?
Guernsey Adams Pierre
xxezrabxxx
He/Him
Joined: 7/15/2017
Posts: 199
Location: Kentucky
Use the Lagriath Loseless Codec. You can also dump to AVI using that codec, if’s a really good one.
I like to comment on submissions and look around the site. You have probably seen me before (if you have been around for a while) either on the site, Discord, or any other social media. I recently took up making temporary encodes for new submissions. Also, I never forget to greet Tompa wherever I find him! "when resyncing stuff sucks it's called Resuccing" - EZGames69 “If an emulator stops being accepted to the site it should be called an emuLAMEr” - EZGames69 "oh no discord, everything I say will now be logged forever, sdfsdf, time to hide" - Masterjun "just had to give therapy to a taxi with daddy issues" - psx Current Projects: Mother 3 (75% complete)
Experienced player (705)
Joined: 2/5/2012
Posts: 1799
Location: Brasil
what is the highest quality native AVI option for VisualBoyAdvance? i wanna encode a TAS that i will not submit here and wanted to get the cleanest image possible without any additional downloads, feel free to suggest some easy to use tool if you think it would help too much
I want all good TAS inside TASvideos, it's my motto. TAS i'm interested: Megaman series, specially the RPGs! Where is the mmbn1 all chips TAS we deserve? Where is the Command Mission TAS? i'm slowly moving away from TASing fighting games for speed, maybe it's time to start finding some entertainment value in TASing.
Site Admin, Skilled player (1254)
Joined: 4/17/2010
Posts: 11475
Location: Lake Char­gogg­a­gogg­man­chaugg­a­gogg­chau­bun­a­gung­a­maugg
KusogeMan wrote:
what is the highest quality native AVI option for VisualBoyAdvance? i wanna encode a TAS that i will not submit here and wanted to get the cleanest image possible without any additional downloads, feel free to suggest some easy to use tool if you think it would help too much
http://tasvideos.org/EncodingGuide/CustomEncoding.html
Warning: When making decisions, I try to collect as much data as possible before actually deciding. I try to abstract away and see the principles behind real world events and people's opinions. I try to generalize them and turn into something clear and reusable. I hate depending on unpredictable and having to make lottery guesses. Any problem can be solved by systems thinking and acting.
Joined: 8/3/2008
Posts: 254
So most of the TASers here use the resize option in Bizhawk to resize the video or do use just dump the video and resize it using Virtaldub, AVISynth, etc.?
Guernsey Adams Pierre
Editor, Player (69)
Joined: 6/22/2005
Posts: 1050
What individual users do for their personal encodes could be variable. Most of the encodes for publications, however, dump the video and resize it using AviSynth.
Current Projects: TAS: Wizards & Warriors III.
Joined: 8/3/2008
Posts: 254
I can just dump the video with Bizhawk and resize the video with AVISynth? What does the resize option on Bizhawk do then? Also, can you use FFMPEG option in Bizhawk to make the dump?
Guernsey Adams Pierre
ventuz
He/Him
Player (125)
Joined: 10/4/2004
Posts: 940
Anyone got more simplified avisynth script to do a comparison video of old movie vs new movie side by side and I could input old movie frame checkpoint and new movie frame checkpoint? So that it can pause if the new video is ahead of old video. I saw one but author said logic broken and it's weird to look at, it uses 4 videos? I'm looking to just insert 2 videos.
Site Admin, Skilled player (1254)
Joined: 4/17/2010
Posts: 11475
Location: Lake Char­gogg­a­gogg­man­chaugg­a­gogg­chau­bun­a­gung­a­maugg
Warning: When making decisions, I try to collect as much data as possible before actually deciding. I try to abstract away and see the principles behind real world events and people's opinions. I try to generalize them and turn into something clear and reusable. I hate depending on unpredictable and having to make lottery guesses. Any problem can be solved by systems thinking and acting.
ventuz
He/Him
Player (125)
Joined: 10/4/2004
Posts: 940
feos wrote:
https://pastebin.com/qnjG2vje
That was quick, TY. Skimming thru it, look like i gotta put in length of pause in there. All good anyway.
Joined: 8/3/2008
Posts: 254
Should I use the FFMPEG in Bizhawk? Or should I just record it normally? How do you stop the video from splitting apart when it reaches a certain size?
Guernsey Adams Pierre
xRavenXP
He/Him
Joined: 4/15/2012
Posts: 116
Location: Brazil
Hello TasVideos friends, how are you? Next, there is an option in the script.avs called "trimframe" and the value I found has the number 654321. I went to make the HD encode of a movie with more than 1000,000 frames (one million frames) and the movie only gives that 654321. I use an old version of EncodingPackage that does not have this limit, but does not have this "trimframe" line. What number should I put in order for the "trimframe" to be unlimited? I await reply. Thank you very much.
I love games and love to record videos (longplays). Visit my Youtube channel https://www.youtube.com/user/xRavenXP
Zinfidel
He/Him
Player (206)
Joined: 11/21/2019
Posts: 247
Location: Washington
xRavenXP wrote:
Hello TasVideos friends, how are you? Next, there is an option in the script.avs called "trimframe" and the value I found has the number 654321. I went to make the HD encode of a movie with more than 1000,000 frames (one million frames) and the movie only gives that 654321. I use an old version of EncodingPackage that does not have this limit, but does not have this "trimframe" line. What number should I put in order for the "trimframe" to be unlimited? I await reply. Thank you very much.
Set it to 0.
Joined: 8/3/2008
Posts: 254
I have two questions: 1. How do you prevent BizHawk from splitting your video at 2G? And when it encounters different resolutions? 2. Can you use Lanzcos3 to do an extra resize of certain video dumps after resizing with Nearest Neighbor?
Guernsey Adams Pierre
Zinfidel
He/Him
Player (206)
Joined: 11/21/2019
Posts: 247
Location: Washington
Guernsey wrote:
I have two questions: 1. How do you prevent BizHawk from splitting your video at 2G? And when it encounters different resolutions? 2. Can you use Lanzcos3 to do an extra resize of certain video dumps after resizing with Nearest Neighbor?
1. You use a dumping method that isn't AVI. Bizhawk will always split AVI files. ffmpeg can do ffv1 if you need a lossless codec. I've never used the other options so I don't know about them. 2. You need to clarify your question. You can resize a video using any filters you want as often as you like. What do you mean by an "extra" resize"? What do you mean by "certain" video dumps?