One tab per sub-ticket of SP-593. Each tab tells QA how to switch the feature on, what to click on production, what you should see, and what it costs. The content refresh ticket (SP-682) is not part of this page.
Instructors already have slides and a written script. Recording a narrated video by hand takes hours. This feature takes the script (.xlsx) and the slides (.pptx), adds an AI voice, renders a video and puts it in the course video library with captions. QA needs to check the full path on production: switch it on, run one job, see the cost, and see a clear error for a bad file.
Platform admin, tenant, Features, "Lecture video generation".
Course, Lecture video tab, script .xlsx and slides .pptx.
AI suggests the language. The instructor confirms it.
Status "Đang dựng" with the current stage and minutes.
"Đã đưa vào thư viện". Bunny prepares playback, captions follow.
Rules for testing on production. Use only the course "Hoan Course - Test" (draft, private). Do not upload to any other course. Each good job costs real money (about 0.19 USD for the files below). Only one job can run per course at a time.
Download these files before you start. The slides come from MIT OpenCourseWare (15.082J Network Optimization, Fall 2010, CC BY-NC-SA 4.0). They have many PowerPoint animations: 44 effects on 13 slides. The script has 17 English sentences, about 110 seconds. Every instruction line on the slides is also in the script.
| File | Use it for |
|---|---|
| BFS_test_13slides.pptx | Good case. The slides. |
| BFS_test_script.xlsx | Good case. The script. The file name becomes the video name. |
| slide_hong.pptx | Error case. A text file renamed to .pptx. |
| Test_loi_slide_hong.xlsx | Error case. Same script under another name. |
This is how the slide animations look in PowerPoint itself (exported by PowerPoint, 46 seconds, no sound). Compare it with the video the system makes.
Open Platform admin, Tenants, SkillPixel, Features. Search "lecture_video". The switch "Lecture video generation" shows the tenant setting. Below it are three settings: the language model, the render deadline (90 minutes) and the job estimate (50000 VND).
Open the course as its instructor. The course has five tabs and no "Video bài giảng" tab. Typing the address /lecture-video by hand shows a 404 page.
Click the switch. A message confirms "lecture_video.enabled → true (TENANT scope)". The change is saved at once, but the LMS keeps the tenant settings for up to 5 minutes. Open a new browser tab, or wait 5 minutes, before you check the course.
The course now has a sixth tab, "Video bài giảng". Choose BFS_test_script.xlsx and BFS_test_13slides.pptx. Leave "Ngôn ngữ và giọng đọc" on "Tự động nhận diện" so you also test the language step. Click "Bắt đầu tạo video".
The list refreshes every 5 seconds. You do not need to stay on the page.
At about 00:04 the status turned to "Đã đưa vào thư viện". The row says captions are still being added, and that Bunny may need a few minutes before the video plays. "Xem video" opens the player.
Choose Test_loi_slide_hong.xlsx and slide_hong.pptx and start. The job fails at once with "Tệp không dùng được" and a clear message to check the file formats. No video is made and no AI cost is added.
Open Platform admin, SkillPixel, AI. The tenant had no AI use in December before this test, so all numbers below come from the one good job.
| Step | What it does | Requests | Cost |
|---|---|---|---|
| Lecture video lesson profile | AI reads the script and works out its columns. | 1 | 0.0268 USD |
| lecture_video.language | AI detects the narration language. | 1 | 0.0045 USD |
| Lecture video render | The video render. | 2 | 0.1168 USD |
| Lecture video narration (text-to-speech) | The AI voice, one request per sentence group. | 23 | 0.0407 USD |
| Total | 27 | 0.1887 USD |
Checked by hand. 0.0268 + 0.0045 + 0.1168 + 0.0407 = 0.1888 USD; the page shows 0.1887 because each line is rounded. 0.1887 × 26,030 = 4,912 VND; the statement shows 4,913 because it converts each request on its own day.
What the school would pay. The lecture video credit counts cost × USD rate × 1.5, so this job would use about 7,370 VND of credit. Before a job starts, the system holds back one estimate (50,000 VND).
| Case | Expected | Result on 2–3 Dec |
|---|---|---|
| Feature off | No tab. Direct address gives 404. | Pass |
| Turn on in admin | Tab appears after a new tab or up to 5 minutes. | Pass (needed a fresh load) |
| Good files, auto language | AI detects English and waits for the instructor to confirm. | Pass |
| Render and deliver | Status reaches "Đã đưa vào thư viện". | Pass (about 6.5 minutes) |
| Play the video | Plays in the dialog after Bunny finishes. | Pending Bunny still showed "Processing video" at 00:12, 8 minutes after delivery. Check again. |
| Captions | Captions attach after delivery. | Pending still "being added" at 00:12 |
| Cost in admin | Lecture video lines appear on the AI page. | Pass 0.1887 USD |
| Broken .pptx | Fails at once with a clear message, no cost. | Pass with 2 display issues below |
| Credit too low (429) | Start is refused with a message. | Not tested tenant has no allowance |
None of these blocks the feature. They are display problems for the ticket owner to triage.
| Where | What we saw | Expected |
|---|---|---|
| Lecture video list, running job | Stage shows internal English words: "Bước: beats", "render", "deliver". | A Vietnamese label for each stage. |
| Lecture video, broken file | The popup said "deck.pptx is not an Office file. It may have been renamed rather than saved in that format." in English on the Vietnamese page. | A Vietnamese message. |
| Lecture video list, failed job | The name column shows the internal id "PBaClS9Ae7O68cDcdqbvX" instead of the course and file name. | Same name pattern as a good job. |
| Lecture video list, failed job | "Số lần thử: 0/3" shows for a file error, but this kind of error cannot be retried. | Hide the counter when retry is not possible. |
| Platform admin, AI page | The language step shows the raw key "lecture_video.language" instead of a name. | A readable name like the other lines. |
| Platform admin, AI page | Top tiles show "$0.1887"; the statement below shows "0.19 USD". | One money format. |