Register a SA Forums Account here!
JOINING THE SA FORUMS WILL REMOVE THIS BIG AD, THE ANNOYING UNDERLINED ADS, AND STUPID INTERSTITIAL ADS!!!

You can: log in, read the tech support FAQ, or request your lost password. This dumb message (and those ads) will appear on every screen until you register! Get rid of this crap by registering your own SA Forums Account and joining roughly 150,000 Goons, for the one-time price of $9.95! We charge money because it costs us money per month for bills, and since we don't believe in showing ads to our users, we try to make the money back through forum registrations.
 
  • Post
  • Reply
nielsm
Jun 1, 2009



Angry Lobster posted:

I've downloaded OBS but I'm unable to record anything, all I get is a black screen. I've read this is an issue when recording with laptops (I play with a MSI gaming laptop), but I can't find a solution. Anyone can help me with this issue?

Does the preview show your screen?
Have you tried a different capture plugin?
Have you tried using x264 as video encoder?

Adbot
ADBOT LOVES YOU

Angry Lobster
May 16, 2011

Served with honor
and some clarified butter.

nielsm posted:

Does the preview show your screen?
Have you tried a different capture plugin?
Have you tried using x264 as video encoder?

I'm using x264 and it show a black screen on preview, not tried a different plugin yet. I've tried the fixes on the sticky post in the official obs forum:

https://obsproject.com/forum/threads/laptop-black-screen-when-capturing-read-here-first.5965/

I was wondering if anyone has had the same problem.

nielsm
Jun 1, 2009



When the preview is black it's because the capture method doesn't work. No point in even trying to record while you can't get a preview. Try using Window Capture instead of Game Capture, that will probably work, but be slow.

G-Mawwwwwww
Jan 31, 2003

My LPth are Hot Garbage
Biscuit Hider
Looking into starting screenshot LPs of bad RPGs like Pier Solar. I'm a complete baby but I'm working on doing my homework.

I've been digging in this thread but haven't been able to find an answer to this question: what's the best way to extract a talking head from a screenshot?

Janissary Hop
Sep 2, 2012

Apparently the max width an image on lparchive can be is 900. What, if any, are decent resolutions to play at with this limitation?

Solitair
Feb 18, 2014

TODAY'S GONNA BE A GOOD MOTHERFUCKIN' DAY!!!
Has anything significant changed about the software options for capturing and editing video? I'm looking to start my first LP, and my plan is to use OBS and PS4 Remote Play to get footage, but I'm not sure which editing program to use in conjunction with that. I don't have a lot of money to work with.

Mega64
May 23, 2008

I took the octopath less travelered,

And it made one-eighth the difference.

CaptainScraps posted:

Looking into starting screenshot LPs of bad RPGs like Pier Solar. I'm a complete baby but I'm working on doing my homework.

I've been digging in this thread but haven't been able to find an answer to this question: what's the best way to extract a talking head from a screenshot?

1. Hope someone has already ripped the sprites and work from those. The Spriters Resource is generally going to be your best bet. Probably unlikely if you opt for more obscure/newer RPGs.
2. Extract directly from the game files. This will be easier with some games than with others, and it's going to depend largely on the individual game how feasible this will be.
3. Throw some screenshots in a photo editor and crop out (and possibly resize) the talking head. If the background is simple, you may want to use a magic selection tool to delete the background and keep things transparent. Again, the feasibility of this depends on each game.

G-Mawwwwwww
Jan 31, 2003

My LPth are Hot Garbage
Biscuit Hider

Mega64 posted:

1. Hope someone has already ripped the sprites and work from those. The Spriters Resource is generally going to be your best bet. Probably unlikely if you opt for more obscure/newer RPGs.
2. Extract directly from the game files. This will be easier with some games than with others, and it's going to depend largely on the individual game how feasible this will be.
3. Throw some screenshots in a photo editor and crop out (and possibly resize) the talking head. If the background is simple, you may want to use a magic selection tool to delete the background and keep things transparent. Again, the feasibility of this depends on each game.

Thank you, I really appreciate it.

Also all the amazing LPs you've made.

G-Mawwwwwww
Jan 31, 2003

My LPth are Hot Garbage
Biscuit Hider
Anyone got a copy of TouchFuzzy's workflow diagram? Can't get it to load anymore.

Touchfuzzy
Dec 5, 2010

CaptainScraps posted:

Anyone got a copy of TouchFuzzy's workflow diagram? Can't get it to load anymore.

I still have it, but it's horribly out of date and I wouldn't recommend half of the poo poo in it. As a general flow, it's an okay start. If you really wanted, I could make a new one with the stuff I do nowadays.

G-Mawwwwwww
Jan 31, 2003

My LPth are Hot Garbage
Biscuit Hider

Touchfuzzy posted:

I still have it, but it's horribly out of date and I wouldn't recommend half of the poo poo in it. As a general flow, it's an okay start. If you really wanted, I could make a new one with the stuff I do nowadays.

I'd love to know what your process is nowadays. No chart needed.

PlasticAutomaton
Nov 12, 2016

Artoria Pendonut


So I've been trying to record video of a mobile game on my Pixel, but I've been stymied by a systems problem. Due to google's ban on recording internal audio I've been unable to record without it picking up lots of audible noise from my phone's mic. I've figured that the best way around this problem is to stream the audio and video onto my PC and record it through the computer stream

I don't suppose anyone has done this before and can recommend an app or program to use for this? I've been hitting a bit of a wall with my searches.

kirbysuperstar
Nov 11, 2012

Let the fools who stand before us be destroyed by the power you and I possess.
You probably want to use something like scrcpy, though that doesn't do audio natively. You could hook up a 3.5mm cable though. Alternatively, use an Android emulator.

Deviant
Sep 26, 2003

i've forgotten all of your names.


kirbysuperstar posted:

You probably want to use something like scrcpy, though that doesn't do audio natively. You could hook up a 3.5mm cable though. Alternatively, use an Android emulator.

If you can show me an android emulator/simulator that doesn't suck complete rear end, I'll eat my hat and then start using it for my day job.

lohli
Jun 30, 2008
Does the MSI app player/Bluestacks android emulator not do what you need?

berryjon
May 30, 2011

I have an invasion to go to.
So, trying to get Star Fleet Command 2 ready for an LP. I have it running on a Win XP Emulator, 2GB of Ram, patched to 2.0.36. I can get it to run properly, however, when I try to start recording using FRAPS, the Windows audio device crashes taking all sound out until I reboot the emulator.

Has anyone heard of this before?

Touchfuzzy
Dec 5, 2010

CaptainScraps posted:

I'd love to know what your process is nowadays. No chart needed.

Sure, no problem. A few things to keep in mind:
• This is my process, and so is suited to the specific thing I do. The general idea is there, though.
• I don't do LPs of any kind, so if that's your goal, I trust you can twist the info I give to suit your needs.
• I'm not as concerned with getting the absolute best, premium quality. It's an important thing to keep in mind during all stages, but when you realize that (at least if we're talking about video) most people are going to be sitting away from their screen reclined with a pile of cheese puffs on their chest, or watching on their phone while on the toilet, you start not worrying about it too much.

The order is: Capture > Pre-Edit > Editing > Delivery


Capture:--------------------
• Record at the specifications you ultimately want to people to see. If your end goal is 1080p60, record in 1080p60. Your recording isn't going to gain any quality from here, so make this good.
• I tend to just use OBS for everything, even when capturing off of external consoles with an Elgato HD60 Pro, because while the OBS isn't going to magically capture things the Elgato software can't, it does mean I can use my processor to compress footage (using x264 at CRF 8 or some poo poo) rather than the Elgato software's bitrate mode. These ultimately don't mean anything in the grand scheme, it's mostly a file size difference thing, and if you can spare it, use whatever works.
► Of course, your capture method will change depending on what you're recording and what you have available. You could use VirtualDub, Dxtory, OBS with NVENC; whatever you have to use. If you use a high-end capture card, such as one able to capture 4k or uncompressed RGB, the programs you'll use will be different than any of these. Play with the settings to find a quality you like.
• I personally hold that audio is king. People are more likely to withstand sub-par video than they are to stick around sub-par audio. Unless you're doing screenshot LP business, then lol.


Pre-Edit:--------------------
• After I have my file(s), I use AviSynth to apply any broad changes I need done, like resizing, cropping, color fuckery, "framerate normalizing", and the like. I have a single AviSynth script that has every console/source I've recorded in, with notes and frequently associated functions I use commented all out. Things like "I always crop this much off of my NES footage", "I always use these settings to desaturate GBA footage"; things like that.
► If you end up doing a lot of retro games, resizing is something you're going to wrestle with. If you can at all help it, you want whole integer resizes (2x, 3x, etc.), but sometimes it'll be at a size you still want bigger, but don't want overhang on, so you're going to have to delve into uneven resizes and bluring and it's a pain in the rear end. My general rule looking through my scripts seems to be: PointResize if you can, GaussResize if you can't. But again, play with stuff and find what suits your eye.
• I usually then use the Trim function to cut out only the relevant bits I need. Obviously if you're doing a longplay or a screenshot LP, this won't apply to you, but I often record everything I do and take notes while playing, then scrub back through and cut out the bits that have notes. This will drastically cut down on space on the next step, because...
• ...once my script(s) is ready to go, I throw the script into VirtualDub and use the MagicYUV codec to spit out an intermediate working file that, as long as I didn't gently caress up, as all of the important bits I could want to use and isn't so large that it wishes to dwarf my small working SSD.


Editing:--------------------
• This part is going to be very subjective depending on who's reading it, since everyone will have their favorite software and editing needs, so I'm not going to go too deep.
• A good habit to keep is remembering and maintaining the colorspace your videos are in (same thing with audio sample rate). More noticeable on older game footage, if you swap them, certain colors (usually blacks, reds and greens) will not look like what you had originally saw or intended. Actually looking up colorspace definitions and whatnot is some poo poo of the highest grognard magnitude, but it'd benefit yourself to play around with them in Avisynth so you get a good idea of what they are, and so you can attempt to keep a constant one throughout your workflow.
• If you're doing a voiceover LP or something, this would probably be the time you'd sync up your audio to your gameplay, or other people's audio to each other if you went that route. You could do this in Audacity or your video editor, depending on what you have. I can't offer much more help than that, since that's out of the area of my familiarity, though I should state I haven't had a desync between my game footage audio and video in multiple years, so if you do, something is definitely wrong and it's probably your computer.
• Once you've finished editing and the project looks how you want it to be seen, how you export is up to you. If your editor of choice supports exporting to a Frameserver (like DebugMode) you could use that. I used to, but anymore I just export the file once again using MagicYUV.


Delivery:--------------------
• I use MeGUI to encode still, but there's all kinds out now. You could use Handbrake, VirtualDub, your editor's built-in encoder, whatever you want.
• For video, I used to use a heavily modified x264 profile for my encodes, but then I realized it doesn't loving matter. Right now, I just use x265 with the slowest preset and lowest CRF I can stand, which is currently Slow 21. Realistically, I almost always encode before I go to bed or work or some poo poo, so I could go much lower, but that's up to you to play with.
• For audio, I use AAC at a VBR of 320 or higher. Use FAAC, Nero's, FFmpeg AAC; use whatever -- at this bitrate no one is going to tell.
• Once done, throw it up on your hosting site of choice. That's it!

Nidoking
Jan 27, 2009

I fought the lava, and the lava won.
Something I've been finding helpful for longer LP series is to take advantage of the filename to reduce the amount of effort needed to update a script and the try-catch block in Avisynth for operations that sometimes work and sometimes fail. Here's a bit from one of my recent scripts:

code:
final = true

clipname = ScriptFile
clipname = clipname.LeftStr(clipname.StrLen - 10) # "script.avs"
filename = "Raws\" + clipname + "raw"

LoadPlugin("C:\Program Files (x86)\MeGUI\tools\ffms\ffms2.dll")
video = FFVideoSource(filename + ".mp4")
audio = FFAudioSource(filename + ".mp4", track=0)

rawclip = AudioDub(video, audio)

try
{
  video = FFVideoSource(filename + "_1.mp4").ChangeFPS(rawclip)
  audio = FFAudioSource(filename + "_1.mp4", track=0)

  rawclip = rawclip ++ AudioDub(video, audio)
}
catch (err_msg)
{
  # The file didn't exist, so ignore it
  notfound = FindStr(err_msg, "Can't open")
  Assert(notfound != 0, err_msg)
}
This grabs the filename and strips off the end to get the base name for the video. So if I call this script "Sinner06script.avs", the clip name is "Sinner06". It then uses this to look for a video in the Raws folder called "Sinner06raw.mp4". That's my rawclip. Then it sees whether there's a "Sinner06raw_1.mp4", following the naming convention Hauppauge uses for split videos. If it finds one, it appends them to make the longer rawclip. If not, it checks to see whether the error message is "Can't open the file", in which case, it assumes the video doesn't exist and just sticks with the first clip. This smoothly handles single- and two-part videos, and I can add more try blocks for more parts. If the error isn't that it can't find the file, then the script will fail with the original message such as "Framerates don't match" and I can add something to fix that.

I set "final=false" at the top to export the raw clip for editing, then set it back to true to export the final video. This part handles that as well as pulling in the commentary automatically once I've recorded it, again by finding Sinner06sound.wav in the Audio folder. If it doesn't exist, the script ignores it and returns the video with its original audio.

code:
try
{
  soundclip = WavSource("Audio\" + clipname + "sound.wav").ResampleAudio(48000)
  mainclip = mainclip.AudioDub(soundclip)
}
catch (err_msg)
{
  notfound = FindStr(err_msg, "couldn't open file")
  Assert(notfound != 0, err_msg)
}

return final ? mainclip : rawclip
I can also add handlers in the audio catch block to check for things like mismatched bit rates or mismatched channels and fix them inline. Here's how that looks when I tend to get guest recordings and never know how many channels they'll have:

code:
try
{
  soundclip = WavSource("Audio\" + clipname + "sound.wav").ResampleAudio(48000)
  soundclip = soundclip.DelayAudio(-11.5)
  rawclip = rawclip.MixAudio(soundclip, 0.3)
}
catch (err_msg)
{
  notfound = FindStr(err_msg, "same number of channels")
  rawclip = notfound != 0 ? rawclip.MixAudio(soundclip.MergeChannels(soundclip), 0.3) : rawclip
  notfound = notfound != 0 ? notfound : FindStr(err_msg, "couldn't open file")
  Assert(notfound != 0, err_msg)
}
Now, when I make the next video, I just copy the raw video into the Raws folder with the correct name, rename the script, and it connects with the new raw video automatically. There may be some timing issues to resolve, like the DelayAudio in the last example. I set final to false, do my editing, set it back to true, export for commentary, and save the commentary into the Audio folder with the right name. Now I can rerun just the audio and mux jobs in MeGUI to get my final result.

kirbysuperstar
Nov 11, 2012

Let the fools who stand before us be destroyed by the power you and I possess.

Deviant posted:

If you can show me an android emulator/simulator that doesn't suck complete rear end, I'll eat my hat and then start using it for my day job.

It can depend a lot on the app you're trying to run, unfortunately. I've had luck with LDPlayer lately, seems to work a lot better than the other vboxheadless 'solutions' like Nox.

Deviant
Sep 26, 2003

i've forgotten all of your names.


kirbysuperstar posted:

It can depend a lot on the app you're trying to run, unfortunately. I've had luck with LDPlayer lately, seems to work a lot better than the other vboxheadless 'solutions' like Nox.

Okay, I *was* using Genymotion and it's awful.

I need to be able to drop APKs and stuff in. This is literally for my job, not for streaming games, but we were on the subject.

G-Mawwwwwww
Jan 31, 2003

My LPth are Hot Garbage
Biscuit Hider

Touchfuzzy posted:

Sure, no problem. A few things to keep in mind:
• This is my process, and so is suited to the specific thing I do. The general idea is there, though.
• I don't do LPs of any kind, so if that's your goal, I trust you can twist the info I give to suit your needs.
• I'm not as concerned with getting the absolute best, premium quality. It's an important thing to keep in mind during all stages, but when you realize that (at least if we're talking about video) most people are going to be sitting away from their screen reclined with a pile of cheese puffs on their chest, or watching on their phone while on the toilet, you start not worrying about it too much.

The order is: Capture > Pre-Edit > Editing > Delivery


Capture:--------------------
• Record at the specifications you ultimately want to people to see. If your end goal is 1080p60, record in 1080p60. Your recording isn't going to gain any quality from here, so make this good.
• I tend to just use OBS for everything, even when capturing off of external consoles with an Elgato HD60 Pro, because while the OBS isn't going to magically capture things the Elgato software can't, it does mean I can use my processor to compress footage (using x264 at CRF 8 or some poo poo) rather than the Elgato software's bitrate mode. These ultimately don't mean anything in the grand scheme, it's mostly a file size difference thing, and if you can spare it, use whatever works.
► Of course, your capture method will change depending on what you're recording and what you have available. You could use VirtualDub, Dxtory, OBS with NVENC; whatever you have to use. If you use a high-end capture card, such as one able to capture 4k or uncompressed RGB, the programs you'll use will be different than any of these. Play with the settings to find a quality you like.
• I personally hold that audio is king. People are more likely to withstand sub-par video than they are to stick around sub-par audio. Unless you're doing screenshot LP business, then lol.


Pre-Edit:--------------------
• After I have my file(s), I use AviSynth to apply any broad changes I need done, like resizing, cropping, color fuckery, "framerate normalizing", and the like. I have a single AviSynth script that has every console/source I've recorded in, with notes and frequently associated functions I use commented all out. Things like "I always crop this much off of my NES footage", "I always use these settings to desaturate GBA footage"; things like that.
► If you end up doing a lot of retro games, resizing is something you're going to wrestle with. If you can at all help it, you want whole integer resizes (2x, 3x, etc.), but sometimes it'll be at a size you still want bigger, but don't want overhang on, so you're going to have to delve into uneven resizes and bluring and it's a pain in the rear end. My general rule looking through my scripts seems to be: PointResize if you can, GaussResize if you can't. But again, play with stuff and find what suits your eye.
• I usually then use the Trim function to cut out only the relevant bits I need. Obviously if you're doing a longplay or a screenshot LP, this won't apply to you, but I often record everything I do and take notes while playing, then scrub back through and cut out the bits that have notes. This will drastically cut down on space on the next step, because...
• ...once my script(s) is ready to go, I throw the script into VirtualDub and use the MagicYUV codec to spit out an intermediate working file that, as long as I didn't gently caress up, as all of the important bits I could want to use and isn't so large that it wishes to dwarf my small working SSD.


Editing:--------------------
• This part is going to be very subjective depending on who's reading it, since everyone will have their favorite software and editing needs, so I'm not going to go too deep.
• A good habit to keep is remembering and maintaining the colorspace your videos are in (same thing with audio sample rate). More noticeable on older game footage, if you swap them, certain colors (usually blacks, reds and greens) will not look like what you had originally saw or intended. Actually looking up colorspace definitions and whatnot is some poo poo of the highest grognard magnitude, but it'd benefit yourself to play around with them in Avisynth so you get a good idea of what they are, and so you can attempt to keep a constant one throughout your workflow.
• If you're doing a voiceover LP or something, this would probably be the time you'd sync up your audio to your gameplay, or other people's audio to each other if you went that route. You could do this in Audacity or your video editor, depending on what you have. I can't offer much more help than that, since that's out of the area of my familiarity, though I should state I haven't had a desync between my game footage audio and video in multiple years, so if you do, something is definitely wrong and it's probably your computer.
• Once you've finished editing and the project looks how you want it to be seen, how you export is up to you. If your editor of choice supports exporting to a Frameserver (like DebugMode) you could use that. I used to, but anymore I just export the file once again using MagicYUV.


Delivery:--------------------
• I use MeGUI to encode still, but there's all kinds out now. You could use Handbrake, VirtualDub, your editor's built-in encoder, whatever you want.
• For video, I used to use a heavily modified x264 profile for my encodes, but then I realized it doesn't loving matter. Right now, I just use x265 with the slowest preset and lowest CRF I can stand, which is currently Slow 21. Realistically, I almost always encode before I go to bed or work or some poo poo, so I could go much lower, but that's up to you to play with.
• For audio, I use AAC at a VBR of 320 or higher. Use FAAC, Nero's, FFmpeg AAC; use whatever -- at this bitrate no one is going to tell.
• Once done, throw it up on your hosting site of choice. That's it!

Thank you for all this work, I really appreciate it.

Touchfuzzy
Dec 5, 2010

CaptainScraps posted:

Thank you for all this work, I really appreciate it.

If you have any specific questions, let me know.

Carbon dioxide
Oct 9, 2012

Touchfuzzy posted:

Sure, no problem. A few things to keep in mind:
• This is my process, and so is suited to the specific thing I do. The general idea is there, though.
• I don't do LPs of any kind, so if that's your goal, I trust you can twist the info I give to suit your needs.
• I'm not as concerned with getting the absolute best, premium quality. It's an important thing to keep in mind during all stages, but when you realize that (at least if we're talking about video) most people are going to be sitting away from their screen reclined with a pile of cheese puffs on their chest, or watching on their phone while on the toilet, you start not worrying about it too much.

The order is: Capture > Pre-Edit > Editing > Delivery


Capture:--------------------
• Record at the specifications you ultimately want to people to see. If your end goal is 1080p60, record in 1080p60. Your recording isn't going to gain any quality from here, so make this good.
• I tend to just use OBS for everything, even when capturing off of external consoles with an Elgato HD60 Pro, because while the OBS isn't going to magically capture things the Elgato software can't, it does mean I can use my processor to compress footage (using x264 at CRF 8 or some poo poo) rather than the Elgato software's bitrate mode. These ultimately don't mean anything in the grand scheme, it's mostly a file size difference thing, and if you can spare it, use whatever works.
► Of course, your capture method will change depending on what you're recording and what you have available. You could use VirtualDub, Dxtory, OBS with NVENC; whatever you have to use. If you use a high-end capture card, such as one able to capture 4k or uncompressed RGB, the programs you'll use will be different than any of these. Play with the settings to find a quality you like.
• I personally hold that audio is king. People are more likely to withstand sub-par video than they are to stick around sub-par audio. Unless you're doing screenshot LP business, then lol.


Pre-Edit:--------------------
• After I have my file(s), I use AviSynth to apply any broad changes I need done, like resizing, cropping, color fuckery, "framerate normalizing", and the like. I have a single AviSynth script that has every console/source I've recorded in, with notes and frequently associated functions I use commented all out. Things like "I always crop this much off of my NES footage", "I always use these settings to desaturate GBA footage"; things like that.
► If you end up doing a lot of retro games, resizing is something you're going to wrestle with. If you can at all help it, you want whole integer resizes (2x, 3x, etc.), but sometimes it'll be at a size you still want bigger, but don't want overhang on, so you're going to have to delve into uneven resizes and bluring and it's a pain in the rear end. My general rule looking through my scripts seems to be: PointResize if you can, GaussResize if you can't. But again, play with stuff and find what suits your eye.
• I usually then use the Trim function to cut out only the relevant bits I need. Obviously if you're doing a longplay or a screenshot LP, this won't apply to you, but I often record everything I do and take notes while playing, then scrub back through and cut out the bits that have notes. This will drastically cut down on space on the next step, because...
• ...once my script(s) is ready to go, I throw the script into VirtualDub and use the MagicYUV codec to spit out an intermediate working file that, as long as I didn't gently caress up, as all of the important bits I could want to use and isn't so large that it wishes to dwarf my small working SSD.


Editing:--------------------
• This part is going to be very subjective depending on who's reading it, since everyone will have their favorite software and editing needs, so I'm not going to go too deep.
• A good habit to keep is remembering and maintaining the colorspace your videos are in (same thing with audio sample rate). More noticeable on older game footage, if you swap them, certain colors (usually blacks, reds and greens) will not look like what you had originally saw or intended. Actually looking up colorspace definitions and whatnot is some poo poo of the highest grognard magnitude, but it'd benefit yourself to play around with them in Avisynth so you get a good idea of what they are, and so you can attempt to keep a constant one throughout your workflow.
• If you're doing a voiceover LP or something, this would probably be the time you'd sync up your audio to your gameplay, or other people's audio to each other if you went that route. You could do this in Audacity or your video editor, depending on what you have. I can't offer much more help than that, since that's out of the area of my familiarity, though I should state I haven't had a desync between my game footage audio and video in multiple years, so if you do, something is definitely wrong and it's probably your computer.
• Once you've finished editing and the project looks how you want it to be seen, how you export is up to you. If your editor of choice supports exporting to a Frameserver (like DebugMode) you could use that. I used to, but anymore I just export the file once again using MagicYUV.


Delivery:--------------------
• I use MeGUI to encode still, but there's all kinds out now. You could use Handbrake, VirtualDub, your editor's built-in encoder, whatever you want.
• For video, I used to use a heavily modified x264 profile for my encodes, but then I realized it doesn't loving matter. Right now, I just use x265 with the slowest preset and lowest CRF I can stand, which is currently Slow 21. Realistically, I almost always encode before I go to bed or work or some poo poo, so I could go much lower, but that's up to you to play with.
• For audio, I use AAC at a VBR of 320 or higher. Use FAAC, Nero's, FFmpeg AAC; use whatever -- at this bitrate no one is going to tell.
• Once done, throw it up on your hosting site of choice. That's it!

This post deserves a link from the OP.

Fedule
Mar 27, 2010


No one left uncured.
I got you.

Carbon dioxide posted:

This post deserves a link from the OP.

Agreed and done.

Zeratanis
Jun 16, 2009

That's kind of a weird thought isn't it?
Was a little late on seeing it. Thanks Fedule. Added a :siren: next to it myself though. :shobon:

Natural 20
Sep 17, 2007

Wearer of Compasses. Slayer of Gods. Champion of the Colosseum. Heart of the Void.
Saviour of Hallownest.
The whole pre-editing part of that is some bizarre mystery to me since as far as I can tell I just do all of those changes in Premiere. What's the difference and why would you bother doing this outside of your usual editor?

I suppose the only time it would have been relevant is my SotN LP where I just scaled the thing by 1.17 after recording in Retroarch.

Touchfuzzy
Dec 5, 2010

Natural 20 posted:

The whole pre-editing part of that is some bizarre mystery to me since as far as I can tell I just do all of those changes in Premiere. What's the difference and why would you bother doing this outside of your usual editor?

I suppose the only time it would have been relevant is my SotN LP where I just scaled the thing by 1.17 after recording in Retroarch.

At the end of recording, I have a bunch of giant-rear end video files. I can control certain things better in Avisynth than I can in Vegas, my editor. Because I also usually keep notes, it is far quicker and easier for me to load up all the clips into a saved Avisynth template I already have, trim only the parts out that I need and splice them all together, then apply resizing, cropping, and whatever else I need in one fell swoop. Then I just export it and have 1 file that I don't need to gently caress around with, and can just throw into Vegas and start actually making a video, lining up parts and throwing graphics over.

If all you do is the bare minimum of editing (in regards to overall footage captured), then sure, you don't need to do this stuff. You might just check for unsynced audio, cut out a few bits, mess with volume, and export as an LP episode or something. In that case, you don't need to do the pre-edit, or even just do it in your editor of choice.

Touchfuzzy fucked around with this message at 04:50 on Feb 4, 2019

FrenzyTheKillbot
Jan 31, 2008

Good Hustle
So here's a question. I've been working on a new LP, recorded at 1080p and the plan was to output at 1080p. However, I've decided to try outputting the final product at 3840x2160 to reduce how much YouTube screws with it. I figured this would be as easy as throwing a resize at it in Avisynth and encoding as normal, except every time I try I get a whole ton of artifacts. It doesn't seem to matter which resize function I use so I figure it must be the encoding, except all I have is MeGUI set to the slower preset and constant quality with a cf of 18.5. Can anyone tell me what I can do to fix this, or what the best method of upsizing a final video for upload would be?

Maple Leaf
Aug 24, 2010

Let'en my post flyen true
I've come across a weird problem that I can't wrap my head around:

When I record videos, they pop out as mp4 files. I can edit those well enough in avisynth using FFMS2.
But I only use FFMS2 for the video, not the audio, since the audio tended to give me problems during encoding. So I'd have to export the video's audio using Audacity, and then use wavsource to slap it back in and edit it that way.

I've used the same template for years with absolutely zero problems. My templates look like this:
code:
loadplugin("K:\Program Files\AviSynth 2.5\plugins\ffms2.dll")
a=wavsource("1.wav")
v=ffvideosource("1.mp4",fpsnum=60000,fpsden=1000)
audiodub(v,a)
*trims, edits, whathaveyou*
This has worked fine for me, but exporting to wav and then editing it back in is an annoying step that takes up time and space. So, I tried using FFMS2 for audio again, using two different videos as tests.

And it worked! This was the avisynth script I used to edit those videos:

code:
loadplugin("K:\Program Files\AviSynth 2.5\plugins\ffms2.dll")
a=ffaudiosource("1.mp4", track=2)
v=ffvideosource("1.mp4",fpsnum=60000,fpsden=1000)
audiodub(v,a)
amplifydb(15)
trim(1000,87406)
But, thinking that all was well, I tried it again on a third video, and like before, all those years ago, encoding would hang on audio indefinitely. I left it on overnight, to see if MeGUI could just muscle through it, but it didn't make a single percentage of progress. This is the script I used for the third video:

code:
loadplugin("K:\Program Files\AviSynth 2.5\plugins\ffms2.dll")
a=ffaudiosource("1.mp4")
v=ffvideosource("1.mp4",fpsnum=60000,fpsden=1000)
audiodub(v,a)
dissolve(trim(18495,26280), trim(10093,17374), trim(273,9625), 60)
I tried it again using normal trims and not dissolves, but no dice. The mp4 file has multiple channels, so I tried loading a different one using track=, but that didn't work. I did not change any settings in my recording software or on MeGUI. The only other thing I can think of is that MeGUI doesn't like that I'm trying to cut the video into pieces and then stitch them back together in reverse order, but that's unfortunately a necessity with this video.

Any ideas what could be causing this?

Touchfuzzy
Dec 5, 2010

FrenzyTheKillbot posted:

So here's a question. I've been working on a new LP, recorded at 1080p and the plan was to output at 1080p. However, I've decided to try outputting the final product at 3840x2160 to reduce how much YouTube screws with it. I figured this would be as easy as throwing a resize at it in Avisynth and encoding as normal, except every time I try I get a whole ton of artifacts. It doesn't seem to matter which resize function I use so I figure it must be the encoding, except all I have is MeGUI set to the slower preset and constant quality with a cf of 18.5. Can anyone tell me what I can do to fix this, or what the best method of upsizing a final video for upload would be?
Just from first glance, I'd imagine the resize is just quadruple-magnifying the artifacts that were already there in your video. Do these artifacts show up in the preview of the video after the resize but before you encode? Or is it only after you encode? Do you have screenshots of the same frame from both videos to look at?

Maple Leaf posted:

Any ideas what could be causing this?
If you have MediaInfo installed, could you screenshot the statistics of the video and audio?

Maple Leaf
Aug 24, 2010

Let'en my post flyen true

Touchfuzzy posted:

If you have MediaInfo installed, could you screenshot the statistics of the video and audio?

I'm assuming you mean of the base recordings? Here you go:

This one is for the first of the test videos that encoded correctly:
code:
General
Complete name                  : G:\pikmin\recording 8\1.mp4
Format                         : MPEG-4
Format profile                 : Base Media
Codec ID                       : isom
File size                      : 5.56 GiB
Duration                       : 24mn 20s
Overall bit rate mode          : Variable
Overall bit rate               : 32.7 Mbps

Video
ID                             : 1
Format                         : AVC
Format/Info                    : Advanced Video Codec
Format profile                 : High@L4.2
Format settings, CABAC         : Yes
Format settings, ReFrames      : 1 frame
Format settings, GOP           : M=1, N=30
Codec ID                       : avc1
Codec ID/Info                  : Advanced Video Coding
Duration                       : 24mn 20s
Bit rate                       : 32.2 Mbps
Width                          : 1 920 pixels
Height                         : 1 080 pixels
Display aspect ratio           : 16:9
Frame rate mode                : Variable
Frame rate                     : 60.000 fps
Minimum frame rate             : 59.767 fps
Maximum frame rate             : 60.000 fps
Color space                    : YUV
Chroma subsampling             : 4:2:0
Bit depth                      : 8 bits
Scan type                      : Progressive
Bits/(Pixel*Frame)             : 0.259
Stream size                    : 5.47 GiB (98%)

Audio #1
ID                             : 2
Format                         : AAC
Format/Info                    : Advanced Audio Codec
Format profile                 : LC
Codec ID                       : 40
Duration                       : 24mn 20s
Duration_FirstFrame            : 33ms
Bit rate mode                  : Variable
Bit rate                       : 132 Kbps
Channel(s)                     : 2 channels
Channel positions              : Front: L R
Sampling rate                  : 48.0 KHz
Compression mode               : Lossy
Stream size                    : 23.1 MiB (0%)
Title                          : Mixed Audio

Audio #2
ID                             : 3
Format                         : AAC
Format/Info                    : Advanced Audio Codec
Format profile                 : LC
Codec ID                       : 40
Duration                       : 24mn 20s
Duration_FirstFrame            : 33ms
Bit rate mode                  : Variable
Bit rate                       : 132 Kbps
Channel(s)                     : 2 channels
Channel positions              : Front: L R
Sampling rate                  : 48.0 KHz
Compression mode               : Lossy
Stream size                    : 23.0 MiB (0%)
Title                          : Audio Input #0

Audio #3
ID                             : 4
Format                         : AAC
Format/Info                    : Advanced Audio Codec
Format profile                 : LC
Codec ID                       : 40
Duration                       : 24mn 20s
Duration_FirstFrame            : 33ms
Bit rate mode                  : Variable
Bit rate                       : 132 Kbps
Channel(s)                     : 2 channels
Channel positions              : Front: L R
Sampling rate                  : 48.0 KHz
Compression mode               : Lossy
Stream size                    : 23.0 MiB (0%)
Title                          : Audio Playback #0

Audio #4
ID                             : 5
Format                         : AAC
Format/Info                    : Advanced Audio Codec
Format profile                 : LC
Codec ID                       : 40
Duration                       : 24mn 20s
Duration_FirstFrame            : 33ms
Bit rate mode                  : Variable
Bit rate                       : 132 Kbps
Channel(s)                     : 2 channels
Channel positions              : Front: L R
Sampling rate                  : 48.0 KHz
Compression mode               : Lossy
Stream size                    : 23.1 MiB (0%)
Title                          : Mixed Audio (Duplicate Fix for WMP)
And this is for the video that won't encode properly:

code:
General
Complete name                  : G:\1.mp4
Format                         : MPEG-4
Format profile                 : Base Media
Codec ID                       : isom
File size                      : 7.87 GiB
Duration                       : 16mn 31s
Overall bit rate mode          : Variable
Overall bit rate               : 68.2 Mbps

Video
ID                             : 1
Format                         : AVC
Format/Info                    : Advanced Video Codec
Format profile                 : High@L4.2
Format settings, CABAC         : Yes
Format settings, ReFrames      : 1 frame
Format settings, GOP           : M=1, N=30
Codec ID                       : avc1
Codec ID/Info                  : Advanced Video Coding
Duration                       : 16mn 31s
Bit rate                       : 67.7 Mbps
Width                          : 1 920 pixels
Height                         : 1 080 pixels
Display aspect ratio           : 16:9
Frame rate mode                : Variable
Frame rate                     : 60.000 fps
Minimum frame rate             : 59.767 fps
Maximum frame rate             : 60.000 fps
Color space                    : YUV
Chroma subsampling             : 4:2:0
Bit depth                      : 8 bits
Scan type                      : Progressive
Bits/(Pixel*Frame)             : 0.544
Stream size                    : 7.81 GiB (99%)

Audio #1
ID                             : 2
Format                         : AAC
Format/Info                    : Advanced Audio Codec
Format profile                 : LC
Codec ID                       : 40
Duration                       : 16mn 31s
Duration_FirstFrame            : 33ms
Bit rate mode                  : Variable
Bit rate                       : 129 Kbps
Channel(s)                     : 2 channels
Channel positions              : Front: L R
Sampling rate                  : 48.0 KHz
Compression mode               : Lossy
Stream size                    : 15.2 MiB (0%)
Title                          : Mixed Audio

Audio #2
ID                             : 3
Format                         : AAC
Format/Info                    : Advanced Audio Codec
Format profile                 : LC
Codec ID                       : 40
Duration                       : 16mn 31s
Duration_FirstFrame            : 33ms
Bit rate mode                  : Variable
Bit rate                       : 79.9 Kbps
Channel(s)                     : 2 channels
Channel positions              : Front: L R
Sampling rate                  : 48.0 KHz
Compression mode               : Lossy
Stream size                    : 9.44 MiB (0%)
Title                          : Unknown device

Audio #3
ID                             : 4
Format                         : AAC
Format/Info                    : Advanced Audio Codec
Format profile                 : LC
Codec ID                       : 40
Duration                       : 16mn 31s
Duration_FirstFrame            : 33ms
Bit rate mode                  : Variable
Bit rate                       : 129 Kbps
Channel(s)                     : 2 channels
Channel positions              : Front: L R
Sampling rate                  : 48.0 KHz
Compression mode               : Lossy
Stream size                    : 15.2 MiB (0%)
Title                          : Audio Playback #0

Audio #4
ID                             : 5
Format                         : AAC
Format/Info                    : Advanced Audio Codec
Format profile                 : LC
Codec ID                       : 40
Duration                       : 16mn 31s
Duration_FirstFrame            : 33ms
Bit rate mode                  : Variable
Bit rate                       : 129 Kbps
Channel(s)                     : 2 channels
Channel positions              : Front: L R
Sampling rate                  : 48.0 KHz
Compression mode               : Lossy
Stream size                    : 15.2 MiB (0%)
Title                          : Mixed Audio (Duplicate Fix for WMP)
I tried using track=4 on the one that wouldn't work, since maybe the "duplicate fix" could help, but no dice. The only other difference between them is the first video has my mic plugged in for track 2, whereas the second video has no mic plugged in for track 2 and lists it as "unknown device." There's still technically an audio track, just, it's nothing but silence. If that's really what's causing the hangups, then lmao, what a system

nielsm
Jun 1, 2009



FrenzyTheKillbot posted:

I get a whole ton of artifacts

Blocking? Blur? Wrong colors? What kind of artifacts?
If you view the output of your AVS script before encoding it, does it look right?

The two videos you posted info of, the main difference is that the one that gives you problems has much higher bitrate, potentially indicating it is straight up more complex. (More motion, sharper lines, etc.) Is that the case?

Maple Leaf
Aug 24, 2010

Let'en my post flyen true

nielsm posted:

The two videos you posted info of, the main difference is that the one that gives you problems has much higher bitrate, potentially indicating it is straight up more complex. (More motion, sharper lines, etc.) Is that the case?

That is the case, but encoding hangs on audio, not video. If I use ffvideosource and wavsource like I said earlier, it encodes with no problems.

FrenzyTheKillbot
Jan 31, 2008

Good Hustle

Touchfuzzy posted:

Just from first glance, I'd imagine the resize is just quadruple-magnifying the artifacts that were already there in your video. Do these artifacts show up in the preview of the video after the resize but before you encode? Or is it only after you encode? Do you have screenshots of the same frame from both videos to look at?

nielsm posted:

Blocking? Blur? Wrong colors? What kind of artifacts?
If you view the output of your AVS script before encoding it, does it look right?

Alright well I'm a dope. In trying to prove that the artifacts only showed up after encoding I managed to prove that it was an obvious issue I was missing. They were caused by VLC player which I was using to view the final video. If I open it through an AVS script, no artifacts show up. Thanks for the help. I'm dumb.

Maple Leaf posted:

code:
loadplugin("K:\Program Files\AviSynth 2.5\plugins\ffms2.dll")
a=ffaudiosource("1.mp4")
v=ffvideosource("1.mp4",fpsnum=60000,fpsden=1000)
audiodub(v,a)
dissolve(trim(18495,26280), trim(10093,17374), trim(273,9625), 60)
Any ideas what could be causing this?

So even though I've just shown my incompetence, I'm curious. Is there a reason you're importing the audio and video separately and then jamming them together again? Just as an example, in my scripts I pull them together as such:

code:
LoadPlugin("C:\Program Files (x86)\AviSynth\plugins\ffms2.dll")
source1=FFMpegSource2("E:\video1.mp4", vtrack=-1, atrack=-1, fpsnum=30)

Maple Leaf
Aug 24, 2010

Let'en my post flyen true

FrenzyTheKillbot posted:

So even though I've just shown my incompetence, I'm curious. Is there a reason you're importing the audio and video separately and then jamming them together again? Just as an example, in my scripts I pull them together as such:
code:
LoadPlugin("C:\Program Files (x86)\AviSynth\plugins\ffms2.dll")
source1=FFMpegSource2("E:\video1.mp4", vtrack=-1, atrack=-1, fpsnum=30)

When I try to run that script on my video, avisynth tells me that FFMpegSource2 (or FFMpegSource, for that matter) doesn't exist as a command, so. I guess I might be using an older version of FFMS2?

To more directly answer your question, that's just how I've always done it and how I was taught to do it. No real special reason, and if your template worked for me, I'd switch to it immediately.

FrenzyTheKillbot
Jan 31, 2008

Good Hustle

Maple Leaf posted:

When I try to run that script on my video, avisynth tells me that FFMpegSource2 (or FFMpegSource, for that matter) doesn't exist as a command, so. I guess I might be using an older version of FFMS2?

To more directly answer your question, that's just how I've always done it and how I was taught to do it. No real special reason, and if your template worked for me, I'd switch to it immediately.

Yeah that's fair. Most of the things I do are just because that's how it was done in an example I found online. But that's super weird that your FFMS2 doesn't work the same as mine.

nielsm
Jun 1, 2009



FFMS2 the DLL itself does not have one function named FFMpegSource or FFMpegSource2, only the separate FFVideoSource and FFAudioSource functions. The FFMpegSource2 function is given as a wrapper in FFMS2.avsi, which calls FFVideoSource and FFAudioSource and then AudioDubs them together.

Rosemont
Nov 4, 2009
I've run into an issue while trying to do screen capture. For whatever reason, IrfanView isn't capping Neverwinter Nights. I've tested IrfanView on several other games, just in case, and it captured them just fine, but with NWN it only seems to capture the desktop rather than the game. I tried adjusting the different options for the capture area and it's not helping. I'm not sure what else to try at the moment--this is the first time I've ever used the program.

Jamesman
Nov 19, 2004

"First off, let me start by saying curly light blond hair does not suit Hyomin at all. Furthermore,"
Fun Shoe
Can someone help me sort out an issue I'm having?

Using OBS, I capture game footage and audio. This is represented by this image.



Using Goldwave, I record audio commentary from my Yeti. This is represented by this image.



Now the issue I'm having is the length of the audio file is slightly longer than the video file (represented by the second photo being wider than the first), so the commentary starts to desync. Not terribly, but recording for an hour or two will result in commentary being off by about half a second. Since these are two separate files, this is addressed easily enough through editing.

But when I'm streaming, the mic audio and game capture are mixed together in broadcast, and the commentary is "forced" to match the length of the video. So what happens is, every once in a while, the audio is shortened a little. This is represented by this image.



Is there any way I can fix the timing issue so that our beloved Wyld Stallyns can party on in perfect harmony?

Adbot
ADBOT LOVES YOU

Olive Branch
May 26, 2010

There is no wealth like knowledge, no poverty like ignorance.

I too am having serious issues regarding audio and video desyncing from each other.

OK, so I recorded footage from a game using Shadowplay, recording and pausing bits and pieces that I would join together later.

As Shadowplay records footage with the .mp4 extension rather than .avi, I used MP4Joiner to piece together the parts into a larger video which would be then using a plugin to be ffvideosourced. This larger .mp4 file has no difference in audio quality or video quality, and the audio and video are still synchronized perfectly well.

To use Avisynth to do my fade ins, fade outs, and dissolves, I use a code of Maple Leaf's devising, like so:
code:
loadplugin("C:\Program Files (x86)\AviSynth 2.5\plugins\ffms2.dll")
a=wavsource("nameofaudiofilehere.wav")
v=ffvideosource("nameofvideofilehere.mp4",fpsnum=60000,fpsden=1000)
audiodub(v,a)
Noticing that since I need to do Wavsource, I drag my joined, raw footage into Audacity. And here's where I hit a snag: Audacity imports the audio file using FFmpeg codecs. The issue is that this imported audio file tends to be shorter than the actual video file. In the latest example of this error, the imported audio of an .mp4 I had joined together is a whole 2 seconds shorter than the video, so if I try to audiodub the audio .wav and video .mp4, VirtualDub and any other video player dutifully uses that wrong .wav which is missing time from the video.

Any ideas or suggestions on how to fix this? Using "Change Tempo" on Audacity has been a hit-and-miss affair and I just want Audacity to import the audio "as is" and export it "as is" so I can MeGUI the drat thing, already.

  • 1
  • 2
  • 3
  • 4
  • 5
  • Post
  • Reply