First Stream on a new much better PC

CTMFSparky13

New Member
Good day everyone,

Relative newbie here that just upgraded from a major toaster of a PC to a very nice rig. Today did my first stream after fighting with my PS4 to cooperate with my capture card and for the most part it went well. But I was noticing some video issues. Something similar to screen tear/video glitch. I know when this happened on my toaster I dropped it from 30fps to 29.97 and that was fine. But after stream I tuned it down to 59.94 as opposed to the 60 my new rig is capable of but even that persisted a bit.

I have an error log but unfortunately I closed it and cannot access the old one via link and it's apparently too large to upload. Are there any specific parts of data needed or should I just run a test stream for 5 minutes and upload that log?

Update: here is a link. Unsure if you actually see the video or not but if you do, you'll notice the glitch at the bottom part of the screen
 

koala

Active Member
According to your log, you seem to have serious USB communication issues with your capture device. It's a miracle you even see some picture. Make sure you're using a proper cable. If it is a USB 3 device, make sure you're using USB 3 cable and it's plugged into a USB 3 port. The same for USB 2, in case it is a USB 2 device. As far as I know, USB 2 isn't able to transfer 1920x1080 @60 fps, just 1920x1080@30 fps. Since you configured 60 fps for the capture device, I guess it must be all USB 3.
 

rockbottom

Active Member
HAGS is enabled & it should be disabled. It may not fix your issue but get the low hanging fruit out of the way.
 

rockbottom

Active Member
HAGS had to go.

Unclean shutdown again, does it happen all the time?
17:28:16.254: [Safe Mode] Unclean shutdown detected!
17:30:30.043: [Safe Mode] User elected to launch normally.

Still have the USB or capture device failing, these errors are like the Energizer Bunny.
17:30:34.649: warning: Found EOI before any SOF, ignoring
17:30:34.649: fatal: No JPEG data found in image
17:30:34.649: Video Capture Device: Error decoding video
17:30:34.680: adding 21 milliseconds of audio buffering, total audio buffering is now 21 milliseconds (source: Audio Input Capture)
17:30:34.680:
17:30:34.681: warning: Found EOI before any SOF, ignoring
17:30:34.681: fatal: No JPEG data found in image
17:30:34.681: Video Capture Device: Error decoding video
17:30:34.713: warning: Found EOI before any SOF, ignoring
17:30:34.713: fatal: No JPEG data found in image
17:30:34.713: Video Capture Device: Error decoding video
17:30:34.745: warning: Found EOI before any SOF, ignoring
17:30:34.745: fatal: No JPEG data found in image
 

rockbottom

Active Member
Nothing changed, unclean shutdown, errors galore. Disconnect the capture device/fix your rig. Log is pretty much worthless anyway, there's no completed encoding session, in fact a session wasn't even commenced. Almost the entire log looks like this.

19:11:45.163: Capture Card: Error decoding video
19:11:45.195: warning: Found EOI before any SOF, ignoring
19:11:45.195: fatal: No JPEG data found in image
19:11:45.195: Capture Card: Error decoding video
 

CTMFSparky13

New Member
Gonna be real, you're talking way too advanced for me to understand there. How exactly do I fix my rig? I've got no experience building a PC. Had it built for me. What triggers and ends the encoding anyway?
That aside, I did some more reading and tinkered and I think i got that decoding error to disappear and only one consistent error remains.
The error I'm seeing seems to be rooted to USB stuff?
 

rockbottom

Active Member
Seems to be the USB or the device itself. Could be the driver. Check the support page for your mobo & see if updates are available. Or contact your system builder for assistance.

This SE/java script error popped up in the latest log. It'a a bad browser source.
20:01:16.348: [obs-browser: 'Alerts'] Error: [GraphQL] One or more GraphQL errors were detected on request 01JBJGDEPVE0B2TZKTSPKG9W0B. AlertsFeatureLaunchFlags: unauthenticated, ActivityListContextV2Query: unauthenticated [object Object],[object Object] (https://assets.twitch.tv/assets/sunlight-overlay-b225461d5610c0a91680.js:1)

Take the load off your CPU, use NVENC

20:05:32.929: [x264 encoder: 'simple_video_stream'] preset: veryfast
20:05:32.929: [x264 encoder: 'simple_video_stream'] settings:
20:05:32.929: rate_control: CBR
20:05:32.929: bitrate: 3500
20:05:32.929: buffer size: 3500
20:05:32.929: crf: 23
20:05:32.929: fps_num: 30
20:05:32.929: fps_den: 1
20:05:32.929: width: 1920
20:05:32.929: height: 1080
20:05:32.929: keyint: 60

Log cuts out roughly 15 minutes after you started streaming.
 

CTMFSparky13

New Member
Found MoBo and driver updates. Will install while at work. Also removed the browser source for now.

What's the best way to provide a log then? How long should I run for? Do i need to stream or would record work just as well? So i can make it as easy as possible for someone like you who's much more knowledgeable than me.

I also apologize if I sounded snappy earlier. It's just a bit defeating having gotten a new pc and still facing some very unpleasant issues. Not being very fluent in the tech aspects of computers doesn't help either. So i really do appreciate the help.
 

rockbottom

Active Member
Cool. Hopefully they include release notes.

Make changes, close OBS when finished. Re-open OBS & run the test. When finished, close/re-open OBS & post the previous log.

Check your cables, make sure you're using a USB3 port.

This should be addressed or kicked to the curb
20:01:12.123: Video Capture Device: data.GetDevice failed
20:01:12.123: Video Capture Device: Video configuration failed
20:01:12.456: - scene 'BRB':
20:01:12.456: - source: 'Video Capture Device' (dshow_input)
20:01:12.456: - monitoring: monitor and output
 

rockbottom

Active Member
From the last log, change this back to 48k before testing.
20:01:11.282: audio settings reset:
20:01:11.282: samples per sec: 44100
20:01:11.282: speakers: 2
20:01:11.282: max buffering: 1044 milliseconds
20:01:11.282: buffering type: dynamically increasing

Might as well kill this too, it's not needed & can waste resources. It's in the Windows Gaming section "Captures"
20:01:11.047: Game DVR: On
 

koala

Active Member
I've got no experience building a PC. Had it built for me.
Did you buy this PC as new and custom built? Or did you buy a cheaper 2nd hand PC?

I'm asking, because according to the log, the PC has a Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz and a NVIDIA GeForce GTX 1050 Ti, both which are quite dated. The CPU was manufactured 2017-2019, then replaced by the 9th generation. Current Intel CPU generation (2024) is 14, with 15th on the doorstep. The GPU as well, it was launched 2016 and has since been superseded by the RTX 2000, RTX 3000 and RTX 4000 series.
The value of that PC is probably around 300-350 €.
It's not a bad PC, it's just dated and you should make sure you didn't pay too much.

And if it's a 2nd hand PC, it may be its USB subsystem is slightly damaged. May be one USB port is defective. Try a different USB port for your capture device.
 

CTMFSparky13

New Member
Cool. Hopefully they include release notes.

Make changes, close OBS when finished. Re-open OBS & run the test. When finished, close/re-open OBS & post the previous log.

Check your cables, make sure you're using a USB3 port.

This should be addressed or kicked to the curb
20:01:12.123: Video Capture Device: data.GetDevice failed
20:01:12.123: Video Capture Device: Video configuration failed
20:01:12.456: - scene 'BRB':
20:01:12.456: - source: 'Video Capture Device' (dshow_input)
20:01:12.456: - monitoring: monitor and output
5 minute recording test done. Didn't notice any issues on my end. If I should do a stream instead let me know and I'll do a 5minute one there instead.
The card came with a 3.0 cable and I have 6 3.0 USB drives on the PC. The only things plugged into my 2.0 drives should be my mouse and keyboard.
Audio set back to 4800 and DVR also disabled
 

CTMFSparky13

New Member
Did you buy this PC as new and custom built? Or did you buy a cheaper 2nd hand PC?

I'm asking, because according to the log, the PC has a Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz and a NVIDIA GeForce GTX 1050 Ti, both which are quite dated. The CPU was manufactured 2017-2019, then replaced by the 9th generation. Current Intel CPU generation (2024) is 14, with 15th on the doorstep. The GPU as well, it was launched 2016 and has since been superseded by the RTX 2000, RTX 3000 and RTX 4000 series.
The value of that PC is probably around 300-350 €.
It's not a bad PC, it's just dated and you should make sure you didn't pay too much.

And if it's a 2nd hand PC, it may be its USB subsystem is slightly damaged. May be one USB port is defective. Try a different USB port for your capture device.
2nd hand refurb online. I know it's not the newest thing but compared to what I had prior this is a HUGE jump in power. Last rig had 8g Ram and tech from like 2009 or so. it came with cables, keyboard, mouse, and speakers altogether for 500USD shipped roughly. I know it's not state of the art but I also don't have the money for a HUGE PC sink. Not opposed to upgrading important pieces in time though if they're not too hard to do so I can get some experience in that field.

None of the USBs I've used made a difference on that front. Nor did other devices plugged into it have issues. I did google some of the error codes and found that USBView program talked about on here. I only have one USB host controller. Could that be a part of the problem?
 

koala

Active Member
One USB controller is ok. More important are the hubs. Try to distribute your USB devices over the USB ports of your PC. Don't use an external USB hub to connect your capture device - plug the capture device directly into a USB 3 PC port.

The only thing I can say is that you still have USB data transfer issues according to the last log:
Code:
20:05:33.974: ==== Streaming Start ===============================================
20:05:34.091: warning: mjpeg_decode_dc: bad vlc: 0:0 (0000025F05AAA508)
20:05:34.091: error:   error dc
20:05:34.091: error:   error y=134 x=51
20:05:52.011: warning: mjpeg_decode_dc: bad vlc: 0:0 (0000025F05AAA508)
20:05:52.011: error:   error dc
Errors like this indicate defective data stream between a video capture device and the USB controller. The result is slightly garbled images and laggy/choppy appearance.

If it isn't that, I'm at the end of my wits, which may be because I had all of my wisdom teeth extracted at the start of the week, now there's no wisdom left ;)
 

CTMFSparky13

New Member
One USB controller is ok. More important are the hubs. Try to distribute your USB devices over the USB ports of your PC. Don't use an external USB hub to connect your capture device - plug the capture device directly into a USB 3 PC port.

The only thing I can say is that you still have USB data transfer issues according to the last log:
Code:
20:05:33.974: ==== Streaming Start ===============================================
20:05:34.091: warning: mjpeg_decode_dc: bad vlc: 0:0 (0000025F05AAA508)
20:05:34.091: error:   error dc
20:05:34.091: error:   error y=134 x=51
20:05:52.011: warning: mjpeg_decode_dc: bad vlc: 0:0 (0000025F05AAA508)
20:05:52.011: error:   error dc
Errors like this indicate defective data stream between a video capture device and the USB controller. The result is slightly garbled images and laggy/choppy appearance.

If it isn't that, I'm at the end of my wits, which may be because I had all of my wisdom teeth extracted at the start of the week, now there's no wisdom left ;)
There's only 1 root hub as well. Not sure if that could impact things. Everything is directly into the USB3 ports. Should I move some devices to the front ports as opposed to having all in back? Or should I try a different cable?

So far though from everything that's been suggested it's definitely heavily improved. It went from pretty big image chopping to a very slight "screen blink" very rarely. Don't stress yourself out thinking about answers though if you're recovering from that surgery. It's not fun. Had to recover from that one myself in the past
 

rockbottom

Active Member
1 USB3 root hub stinks. 2 isn't even enough IMO. Back or front all go to the same hub. Remove some devices & see if things improve even further.
 

CTMFSparky13

New Member
I only have 4 devices plugged in. Mouse, keyboard, mic and capture card
Are more hubs something that can be added? Or is this a negative aspect of the pre-built pc and would be a massive overhaul to change?
 

Attachments

  • Screenshot 2024-11-02 115732.png
    Screenshot 2024-11-02 115732.png
    30.6 KB · Views: 8
Top