MCPcopy Create free account
hub / github.com/chrishulbert/gondola / runConvertToHLS

Function runConvertToHLS

transcode.go:222–300  ·  view source on GitHub ↗

Converts to HLS. If it gets back an error about h264_mp4toannexb, it retries with the appropriate command. frameRate is as per the probe eg "24000/1001"

(inPath string, outFolder string, audioStreamIndex int, videoStreamIndex int, audioArgs []string, videoArgs []string, frameRateString string, duration float64, hasSubtitles bool)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

Calls 1

ffmpegFunction · 0.85

Tested by

no test coverage detected