ccextractor icon indicating copy to clipboard operation
ccextractor copied to clipboard

[OBSERVATION/QUESTION] No embedded captions found in standard YouTube downloaded MP4 files

Open DarkPhoenixrise opened this issue 10 months ago • 7 comments

When running CCExtractor on a typical YouTube video download (file named videoplayback.mp4), the tool processes the file correctly but reports "No captions were found in input".

How to verify

  1. Download a YouTube video directly (e.g., via browser or tool, resulting in .mp4 with no separate subtitle file).
  2. Run: ccextractor videoplayback.mp4 -o output.srt
  3. Output ends with: "No captions were found in input."

Expected behavior Maybe show a user-friendly message like "This file format (YouTube download) usually does not contain embedded closed captions. Try yt-dlp for subtitles"

Actual behavior Processes file -> "No captions were found in input."

CCExtractor version Version: 0.96.5

Operating System Windows 11

Suggestion Suggestion: Add a note in README.md or docs about this common use-case and recommend yt-dlp for YouTube videos.

Thanks for the great tool!

DarkPhoenixrise avatar Jan 17 '26 21:01 DarkPhoenixrise

Build verified on Ubuntu 24.04.

Command: ./linux/ccextractor --version

Version: 0.96.5

mohithshuka avatar Jan 19 '26 15:01 mohithshuka

Build verified successfully on Ubuntu 24.04.

Command used: ./linux/ccextractor --version

Version: 0.96.5

mohithshuka avatar Jan 19 '26 15:01 mohithshuka

@DarkPhoenixrise have you verfied that the downloaded video had embedded subtitles?

aniketchawardol avatar Jan 20 '26 05:01 aniketchawardol

The "Build verified successfully” message only refers to a successful build and basic execution check.

mohithshuka avatar Jan 20 '26 17:01 mohithshuka

Hi there,

I’m Srijan Jaiswal, and I’m eager to contribute to this project as part of my open-source contribution. I have reviewed this issue and feel confident that I can provide a solution since I have experience working with similar technologies in my past projects. Could you please assign this issue to me? I’d love to work on it and contribute to the project.

Best regards, Srijan Jaiswal

ionfwsrijan avatar Jan 23 '26 05:01 ionfwsrijan

Hi, I’m new to CCExtractor and recently started learning how it works.

From my understanding, CCExtractor extracts captions that are already embedded inside the video stream. Standard YouTube MP4 downloads usually do not contain embedded captions, since captions are stored separately, so CCExtractor correctly reports that no captions are found.

Since this behavior can be confusing for new users, it might help to: 1) Improve the user-facing message when no embedded captions are found, and/or 2) Add a short note in the README or documentation explaining this common YouTube use-case.

If this approach sounds reasonable, I’d be happy to work on a small documentation update or a message improvement, based on what you prefer.

sairajsachinpatil avatar Jan 25 '26 06:01 sairajsachinpatil

No, I don't think we need to change our documentation for this - CCExtractor is not for streaming services, I don't want to bloat our documentation explaining what CCExtractor doesn't do.

cfsmp3 avatar Jan 25 '26 08:01 cfsmp3