To find videos with above average popularity in your YouTube subscriptions, you can follow these steps:

  1. Retrieve a list of your YouTube subscriptions using the YouTube API or a third-party tool.
  2. For each subscribed channel, obtain the view count or engagement metrics of their recent videos.
  3. Calculate the average view count or engagement metrics across all videos for each channel.
  4. Compare the view count or engagement metrics of each video to the average for its channel.
  5. Select the videos that have above-average view count or engagement metrics as the ones with above average popularity in your subscriptions.

Here’s an example code snippet in Python using the YouTube Data API to retrieve the list of subscriptions and calculate the average view count for each channel:

import googleapiclient.discovery

# Create a YouTube API client
youtube = googleapiclient.discovery.build('youtube', 'v3', developerKey='YOUR_API_KEY')

# Retrieve the list of subscriptions
subscriptions = youtube.subscriptions().list(
    part='snippet',
    mine=True
).execute()

# Iterate through each subscribed channel
for subscription in subscriptions['items']:
    channelId = subscription['snippet']['resourceId']['channelId']

    # Get the channel's uploads playlist
    playlist = youtube.channels().list(
        part='contentDetails',
        id=channelId
    ).execute()

    uploadsPlaylistId = playlist['items'][0]['contentDetails']['relatedPlaylists']['uploads']

    # Get the videos in the uploads playlist
    videos = youtube.playlistItems().list(
        part='contentDetails',
        playlistId=uploadsPlaylistId,
        maxResults=10 # Adjust the number of videos to fetch as needed
    ).execute()

    totalViewCount = 0
    numVideos = 0

    # Calculate the total view count for the channel's videos
    for video in videos['items']:
        videoId = video['contentDetails']['videoId']

        videoStats = youtube.videos().list(
            part='statistics',
            id=videoId
        ).execute()

        viewCount = int(videoStats['items'][0]['statistics']['viewCount'])
        totalViewCount += viewCount
        numVideos += 1

    # Calculate the average view count for the channel
    if numVideos > 0:
        averageViewCount = totalViewCount / numVideos
    else:
        averageViewCount = 0

    print(f"Channel: {subscription['snippet']['title']}")
    print(f"Average View Count: {averageViewCount}\n")

You can modify this code to include other engagement metrics like likes, comments, or shares, and use them to determine the videos with above average popularity in your subscriptions.