Sub topic 4
Meeting the minimum content requirements
This chapter covers the size thresholds a course must clear before Udemy accepts it for review: lecture count, total video length, and the related minimum for learning objectives. It assumes you have already drafted your objectives and a section and lecture outline, as covered in the previous two chapters. It also assumes you can read basic Python and run a shell command.
Why minimum thresholds exist
Udemy reviews courses before they go live. Part of that review is mechanical: a reviewer, or an automated check, counts things. A course with two short videos cannot teach a skill, so a floor on content volume screens out courses that are too thin to be useful.
These thresholds are a floor, not a quality target. A course can pass every count and still be sent back for poor audio or a misleading landing page. The reverse also happens. A course with excellent content fails if it has too few lectures to meet the minimum.
The values below are the ones commonly cited in Udemy's instructor guidance:
| Requirement | Commonly cited minimum | Where it is checked |
|---|---|---|
| Total video content | 30 minutes | Curriculum page, after upload |
| Number of lectures | 5 | Curriculum page |
| Learning objectives | 4 | Intended learners page |
| Practice activity | At least one | Curriculum page |
Udemy changes its guidelines from time to time, and the figures differ for some course types, such as practice-test courses. Treat the numbers in this chapter as constants you confirm against the current Instructor Help Center before every submission.
What counts toward each minimum
Most failures here come from miscounting, not from missing content. Four counting rules matter.
Video minutes count only video
The 30-minute figure is total video content. These items do not add to it:
- Quizzes and assignments, even if they take learners a long time to finish.
- Article lectures and downloadable resources.
- Placeholder videos, such as a few seconds of a title card.
- Silent or near-silent video added only to extend the running time.
Reviewers look at the content, not only the total. A course padded with long pauses may reach the number and still be rejected for instructional quality.
Lectures are items in the curriculum
A lecture is any item in a section. Videos, articles, quizzes and assignments each appear as one curriculum item. Whether every item type counts toward the minimum of 5 depends on current Udemy rules. The safe approach is to meet the lecture minimum with video lectures alone and treat quizzes and articles as extra.
The opposite error is also common. One 40-minute video clears the length requirement but fails the lecture count. Udemy also advises against very long single videos, because short lectures are easier to review, easier to update and easier for learners to resume. Keep each lecture focused on one idea. A range of about 3 to 10 minutes works well for most topics. Choose by the idea, not by a stopwatch.
Objectives are counted separately
The minimum number of learning objectives is separate from the content minimums, but it fails the same way. If you wrote three objectives in your first draft, the submit button stays disabled until you add a fourth. Do not add a filler objective to pass the count. Each objective should still be specific and measurable, and your content must back it up. Add an objective only if you actually teach it.
Practice is required, not optional
Udemy expects at least one practice activity. A quiz, an assignment or a practice test satisfies this. The next chapters cover how to design these, but when you count content, count practice as its own requirement. A course made only of videos can fail even if the video minutes and lecture count are fine.
A relationship between the numbers
The lecture count and the length floor interact. If you plan 5 lectures to reach the minimum, each must average 6 minutes to reach 30 minutes. If you plan 12 lectures of 4 minutes each, you reach 48 minutes and have room to cut.
The diagram shows the order of preference. Fill a shortfall with content that serves an objective, not with filler. Splitting a lecture that covers several ideas improves the course and raises the count at the same time. Adding minutes without adding teaching does neither.
Automating the structural check
Counting by hand on a large course is slow and easy to get wrong, especially after you reorder or delete lectures. A short script turns the count into a repeatable pass or fail list. The thresholds are constants at the top so you can change them when the guidelines change.
MIN_VIDEO_MINUTES = 30 # confirm against current Udemy guidelines
MIN_LECTURES = 5
MIN_OBJECTIVES = 4
def check_course(course):
"""Return a list of problems found in a course outline dict."""
problems = []
lectures = [lec for section in course["sections"] for lec in section["lectures"]]
video_seconds = sum(lec["seconds"] for lec in lectures if lec["type"] == "video")
if len(lectures) < MIN_LECTURES:
problems.append(f"Only {len(lectures)} lectures; need at least {MIN_LECTURES}.")
if video_seconds / 60 < MIN_VIDEO_MINUTES:
problems.append(f"Only {video_seconds / 60:.1f} minutes of video; need at least {MIN_VIDEO_MINUTES}.")
if len(course["objectives"]) < MIN_OBJECTIVES:
problems.append(f"Only {len(course['objectives'])} learning objectives; need at least {MIN_OBJECTIVES}.")
if not any(lec["type"] in ("quiz", "assignment") for lec in lectures):
problems.append("No practice activity (quiz or assignment) found.")
return problems
course = {
"objectives": ["Set up a project", "Write tests", "Debug failures", "Deploy the result"],
"sections": [
{"title": "Getting started", "lectures": [
{"type": "video", "seconds": 420},
{"type": "video", "seconds": 600},
]},
{"title": "Practice", "lectures": [
{"type": "video", "seconds": 540},
{"type": "quiz", "seconds": 0},
]},
],
}
for problem in check_course(course):
print(problem)Running it on the sample outline prints two problems:
Only 4 lectures; need at least 5.
Only 26.0 minutes of video; need at least 30.The outline has four curriculum items (three videos and one quiz) and 1,560 seconds of video, which is 26 minutes. The objectives and practice checks pass.
Reading the script's assumptions
Two choices in the script are worth knowing about, because you may want to change them.
- It counts every curriculum item as a lecture. The quiz in the sample counts toward the five. If you want the conservative rule from earlier, replace the first count with the number of items where
lec["type"] == "video". - It trusts the
secondsvalues you give it. If you type estimates, the script checks your estimates, not your files. The next section shows how to get real durations from the files.
The script also returns a list instead of printing inside the function. That lets you reuse it in a larger audit later, for example by failing a build when the list is not empty.
Getting real durations from your files
Estimated lecture lengths drift from the real ones. A lecture you planned as 6 minutes often exports at 4. Read the actual duration from each exported file with ffprobe, which ships with FFmpeg.
# Print the duration in seconds of one lecture file
ffprobe -v error -show_entries format=duration -of csv=p=0 lecture01.mp4
# Sum the durations of every mp4 in the current folder, in minutes
for f in *.mp4; do
ffprobe -v error -show_entries format=duration -of csv=p=0 "$f"
done | awk '{ total += $1 } END { printf "%.1f minutes\n", total / 60 }'The first command prints a single decimal number such as 372.480000. The loop feeds every file's duration into awk, which adds them and prints the total. Quote "$f" so that file names containing spaces do not break the loop.
You can paste the per-file seconds into the course dictionary, or extend the script to call ffprobe itself through Python's subprocess module. Either way, the count then reflects what you actually uploaded.
Common errors
- Counting the uploaded total instead of the processed total. Udemy's dashboard shows durations after processing. Small differences from your local numbers are normal. Aim for a margin of a few minutes above the minimum, not exactly 30.
- Reaching the length with one recorded screen session. One long file passes the minutes check and fails the lecture count and the engagement guidance. Cut it into lectures at natural topic boundaries.
- Leaving empty or draft lectures in the curriculum. A lecture with no content uploaded may be counted by you but not by Udemy. Delete drafts before you count.
- Letting the minimum drive the course. If you are adding material only to hit a number, ask which objective it supports. If the answer is none, the better fix is a shorter, clearly scoped course description, not padding.
- Forgetting that thresholds can vary by course type. A practice-test course is judged by its question count, not video minutes. Check the rules for your specific type.
A short worked pass
Suppose your sample course came back with the two problems above. A review of the objectives shows that "Deploy the result" has only a brief mention in the last video. That is an uncovered objective, so the diagram's first branch applies. You record a six-minute lecture on deployment, which raises the count to five items and the video total to 32 minutes. The script now prints nothing, which means no problems found. You then move on to the video and audio checks in the following chapters.
Exercise
A course has 7 lectures: 6 videos totaling 24 minutes and 1 quiz. It has 4 well-written objectives. Using the thresholds in this chapter (30 minutes, 5 lectures, 4 objectives, one practice activity), which requirement does it fail, and what is a good way to fix it?
Show answer
It fails the video length requirement. The quiz adds no video minutes, so only the 24 minutes of video count, which is 6 minutes short of 30. The lecture count (7), objectives (4) and practice activity (the quiz) all pass. A good fix is to find an objective that is thinly covered and record one or two new lectures for it, or to split an overloaded lecture and add a worked example. Do not pad with silence or filler, and leave a margin of a few minutes above 30.
Exercise
The script in this chapter counts a quiz toward MIN_LECTURES. Rewrite the lecture-count line so that only video lectures count, and say why you might choose that rule.
Show answer
Replace the count with video items only, for example: videolectures = [lec for lec in lectures if lec["type"] == "video"], then compare len(videolectures) with MIN_LECTURES. You might choose this rule because it is not certain that quizzes count toward the lecture minimum under current Udemy rules. Counting only videos is the conservative choice and means you do not fail review on a counting assumption.