AMD AV1 Recording

So this is mostly me trying to see if anyone else has had success with this. What were your settings? I am trying to do a wider screen so I can capture my cam outside of the game and then drag the other where ever if needed. I keep getting "an unspecified error occurred while recording". Now the recording is still going, but I do think it is because I am using fragmented MP4. Any insight into AV1 on AMD specifically would be awesome.
22 Replies
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
Papa Grum (Grumblik)
Yeah I've used MKV in the past, but from what I understand is that the fragmented MP4 will not have the same audio issue where it desyncs.
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
Flaeri
Flaeri3y ago
@grumblik the container is unlikely the issue. The encoder is picky with the resolutions. Assuming it's below the max (check the docs), you will still likely need to pick a resolution it likes, like something in multiples of 8 or 16.
Papa Grum (Grumblik)
Okay I'll look at that. When you say look at the doc do you just mean the AV1 documentation?
Flaeri
Flaeri3y ago
I mean the AMD AMF docs 🙂
Papa Grum (Grumblik)
Aww okay ☺️
Flaeri
Flaeri3y ago
GitHub
AV1 Encoder
The Advanced Media Framework (AMF) SDK provides developers with optimal access to AMD devices for multimedia processing - GPUOpen-LibrariesAndSDKs/AMF
Flaeri
Flaeri3y ago
Here you are. So they apparently want multiples of 64x16 So your horizontal res needs to be divisible by 64 (no remaineder), and same for 16 Horizontal So you can start with 1080 (actually 1088), which is 64*17. 3840 (64*60) 4 352 (64*68) I think its unlikely that whatever software you're using allows you to chose the alignement mode, so either it will accept whatever you give it, and pad with black pixels. Or, it will refuse (like it sounds like its doing for you), hence you will need to pick a valid resolutions that fits that bill hope that makes sense (at least in so far as what to do). Why you have to do it is maybe less understandable 😂 OBS should be using AMF_VIDEO_ENCODER_AV1_ALIGNMENT_MODE_NO_RESTRICTIONS, so it will just pad (in theory), but there could be driver quirks at certain resolutions. or maybe you're using using a resolution that is too high in one of the directions what is the resolution you're trying to use?
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
Papa Grum (Grumblik)
I tried source record and had so many audio issues. But since it's been a while I'll try again. Also a new setup so I'll look back into it Even with source record the encoder experiences overload. I have basically never had luck at recording separate camera video and gameplay video.
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
Papa Grum (Grumblik)
I'll try and get you some logs in the next day or so. I'm not well first and compression unfortunately. I'll also link some screenshots of my settings, both the recording and the source record options.
Papa Grum (Grumblik)
Let me know if you need or see anything that needs addresses. This is with source record Anyone? I get that, but when I try it I always get encoder overload. I am totally willing to learn and any insight would help me Since I think I hit a dead end on this, is the masterclass that is coming out going to go over recording as well as streaming?
DiamondRyce
DiamondRyce3y ago
yes it will.
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
Papa Grum (Grumblik)
I have updated my driver. I actually did it same day. Both of those plugins are updated. So actually in regards to the CBR every time I switch source record to CQP it will stay on CQP but it will change the rate to Kbps almost like it's going back to CBR. I'll look into using h265 or HEVC. I was kind of excited to try anyone but if I can't do it I can't do it. I also fiddle with the key frame interval. It was on auto last I checked. Before when I was doing two it was actually causing a huge amount of CPU usage for some reason. I am in fact using premiere so I'll probably keep that setting the same. And no worries, on the response time. I more just don't want it to get buried. I know it's pretty active in here. I really appreciate the feedback. 🙂 That's awesome!
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
Papa Grum (Grumblik)
I wondered if using the fragmented mp4 was part of the issue. I guess I can test out some settings and go from there.
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
Papa Grum (Grumblik)
Yeah that all seemed to help. Switched to AMD HEVC (H.265). Changed the keyframe to 1. Also figured out that since I don't really need the combined footage I switched the source record for both video and game to always on and made a hotkey to enable and disable so it wasn't always recording, but would get footage. Sadly I can't see how long I have been recording that way, but it works. Also I think I had both source records originally writing to the same file name, so that was a big oversight on my end. Lastly on the source record option it still keeps switching from the CQ level measurement of 18 that I set, to 2500 kbps even though the rate control is still set to CQP. Not sure what is going on there, but the file sizes look like what they should for CQP. So I guess that is manageable.

Did you find this page helpful?