tfabris / CrowCam

A set of Bash scripts to control and maintain a YouTube live cam from a Synology NAS.
GNU General Public License v3.0
4 stars 3 forks source link

Choppy video and audio playback 2019-06-16 #41

Closed tfabris closed 5 years ago

tfabris commented 5 years ago

https://youtu.be/j8pnPl_OQxM?t=13453

2019-06-16 - 5:03 pm - Camera feed and playback problems seem to be occuring. Video is jumping every couple seconds and the audio is choppy. Problem continues until feed ends at EOD. Check logs to see what errors were occurring during this time and if there is anything that can be done to fix this issue.

Issue did not occur when the video stream was restarted the following morning.

tfabris commented 5 years ago

Also, the following day, the camera's resolution and bit rate were unchanged from the desired settings, so this is not a recurrence of issue #25.

tfabris commented 5 years ago

There were no issues visible in the log (attached). The entire day the log was clean.

There was a network outage at 9am-ish and the stream successfully bounced. There was also a successful midday stream bounce. The choppy video occurred long after both of those events.

Info    2019-06-17     00:00:06 CrowCam Cleanup - 50 videos found. Processing.
Info    2019-06-16     21:27:40 CrowCam Controller - We are after our sunset/stop time. YouTube Live Broadcast is up. It should be down at this time. Stopping stream.
Info    2019-06-16     14:05:30 CrowCam Controller - Retrieved sunrise/sunset times from Google: 5:11 AM/9:10 PM.
Info    2019-06-16     14:05:28 CrowCam Controller - Retrieving sunrise/sunset times from Google.
Info    2019-06-16     13:17:40 CrowCam Controller - Done bouncing YouTube stream.
Info    2019-06-16     13:15:55 CrowCam Controller - Pausing, after bringing down the stream, before bringing it up again.
Info    2019-06-16     13:15:54 CrowCam Controller - A midday stream bounce is needed, to prevent the current stream segment from exceeding the maximum video length.
Info    2019-06-16     09:17:28 CrowCam Controller - Done bouncing YouTube stream.
Info    2019-06-16     09:15:42 CrowCam Controller - Pausing, after bringing down the stream, before bringing it up again.
Info    2019-06-16     09:15:41 CrowCam Controller - Bouncing the YouTube stream since the network is up.
Info    2019-06-16     09:15:41 CrowCam Controller - Status - Network up: true.
Info    2019-06-16     09:15:41 CrowCam Controller - Testing network again.
Error   2019-06-16     09:15:31 CrowCam Controller - Status - Network up: false - Network problem during outer network test loop 30 of 30 - Pausing 10 seconds to wait for network to come back up. Inner restore attempt loop 1 of 40.
Error   2019-06-16     05:05:51 CrowCam Controller - The configurationIssues contains a bad value. Value retrieved was: videoIngestionStarved. Will not act on this error due to this particular error message proving to be flaky sometimes.
Info    2019-06-16     05:00:03 CrowCam Controller - We are after our sunrise/start time. YouTube Live Broadcast is down. It should be up at this time. Starting stream.
Info    2019-06-16     00:00:06 CrowCam Cleanup - 50 videos found. Processing.

CrowCam Issue 41 Log.txt

tfabris commented 5 years ago

Since there was nothing in the log to work with, my only hope is to catch this again when it's occurring (as opposed to after the fact) and look at the debug output of the LiveStreams output response. Closing bug for now, will re-open when I see the issue recur and can poke at it in realtime.