Repository Analysis

mifi/lossless-cut

The swiss army knife of lossless video/audio editing

0.4 Likely human-written View on GitHub
0.4
Adjusted Score
0.4
Raw Score
100%
Time Factor
2026-05-30
Last Push
40,786
Stars
TypeScript
Language
54,123
Lines of Code
268
Files
24
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 0HIGH 0MEDIUM 0LOW 24

Pattern Findings

24 matches across 2 categories. Click a row to expand file-level details.

Hyper-Verbose Identifiers22 hits · 22 pts
SeverityFileLineSnippet
LOWsrc/renderer/src/App.tsx1383 async function tryFindAndLoadProjectFile({ chapters, cod }: { chapters: FFprobeChapter[], cod: string | undefined })
LOWsrc/renderer/src/edlFormats.ts390export function parseDvAnalyzerSummaryTxt(txt: string) {
LOWsrc/renderer/src/StreamsSelector.tsx71function getStreamEffectiveDisposition(paramsByStreamId: ParamsByStreamId, fileId: string, stream: FFprobeStream) {
LOWsrc/renderer/src/ffmpeg.ts223export async function createChaptersFromSegments({ segmentPaths, chapterNames }: { segmentPaths: string[], chapterNames?
LOWsrc/renderer/src/ffmpeg.ts251export function mapRecommendedDefaultFormat({ streams, sourceFormat }: { streams: FFprobeStream[], sourceFormat: string
LOWsrc/renderer/src/ffmpeg.ts261async function determineSourceFileFormat(ffprobeFormatsStr: string | undefined, filePath: string) {
LOWsrc/renderer/src/ffmpeg.ts411export async function extractSubtitleTrackToSegments(filePath: string, streamId: number) {
LOWsrc/renderer/src/segments.ts213export function convertSegmentsToChaptersWithGaps(sortedSegments: (DefiniteSegmentBase & { name?: string | undefined })[
LOWsrc/renderer/src/util/outputNameTemplate.ts353export async function generateCutMergedFileNames({ template: desiredTemplate, isCustomFormatSelected, fileFormat, source
LOWsrc/renderer/src/util/streams.ts236export function shouldCopyStreamByDefault(stream: FFprobeStream) {
LOWsrc/renderer/src/util/streams.ts358export async function doesPlayerSupportHevcPlayback() {
LOWsrc/renderer/src/util/streams.ts376export function willPlayerProperlyHandleVideo({ streams, hevcPlaybackSupported, isMasBuild }: {
LOWsrc/renderer/src/util/streams.ts404export function isAudioDefinitelyNotSupported(streams: FFprobeStream[]) {
LOWsrc/renderer/src/components/FileNameTemplateEditor.tsx150 function formatCurrentSegFileOrFirst(names: string[]) {
LOWsrc/renderer/src/hooks/useFfmpegOperations.ts315 function mapInputStreamIndexToOutputIndex(inputFilePath: string, inputFileStreamIndex: number) {
LOWsrc/renderer/src/hooks/useFfmpegOperations.ts594 async function cutEncodeSmartPartWrapper({ cutFrom, cutTo, outPath }: { cutFrom: number, cutTo: number, outPath: s
LOWsrc/renderer/src/dialogs/index.tsx245async function askForSegmentsRandomDurationRange() {
LOWsrc/renderer/src/dialogs/index.tsx388export async function createFixedByteSixedSegments({ fileDuration, fileSize }: {
LOWsrc/renderer/src/dialogs/index.tsx482export async function openYouTubeChaptersDialog(text: string) {
LOWsrc/renderer/src/dialogs/index.tsx517export async function selectSegmentsByLabelDialog(currentName?: string | undefined) {
LOWsrc/main/configStore.ts181async function lookForNeighbourConfigFile() {
LOWsrc/main/index.ts269function safeRequestSingleInstanceLock(additionalData: Record<string, unknown>) {
Over-Commented Block2 hits · 2 pts
SeverityFileLineSnippet
LOWsrc/renderer/src/util/streams.ts381 const realVideoStreams = getRealVideoStreams(streams);
LOWsrc/main/ffmpeg.ts621 // [swscaler @ 0x999fb8000] Unsupported input (Operation not supported): fmt:yuv422p10le csp:bt709 prim:reserved