CCExtractor Development

Find out why the Windows version doesn't like pipes

A task that is likely to require more research than coding. The fix is probably simple, but finding what's going on is a different matter.

The bug report says:

-stdin option returns almost immediately after the first few bytes of data.

That option is used to have CCExtractor read the input from stdin instead of file, like this:

type video.ts | ccextractorwin.exe -stdin -in=ts -out=srt -o video.srt

That should work fine, and produce a file called video.srt with the subtitles for the file "video.ts". But in Windows, it terminates after reading just a few bytes. Why?

Task tags

  • windows
  • c
  • bug
  • pipes

Students who completed this task

Evgeny Shulgin

Task type

  • code Code
  • done_all Quality Assurance
close

2016