Distrust -to and -ss to be precise, use the segment splitter for that (wip)

This commit is contained in:
Zoe Roux
2024-02-11 02:25:17 +01:00
parent 5b27eab680
commit d27cf2afc8
3 changed files with 61 additions and 44 deletions
+2 -2
View File
@@ -18,8 +18,8 @@ func NewAudioStream(file *FileStream, idx int32) *AudioStream {
return ret
}
func (as *AudioStream) getOutPath() string {
return fmt.Sprintf("%s/segment-a%d-%%06d.ts", as.file.Out, as.index)
func (as *AudioStream) getOutPath(encoder_id int) string {
return fmt.Sprintf("%s/segment-a%d-%d-%%d.ts", as.file.Out, as.index, encoder_id)
}
func (as *AudioStream) getTranscodeArgs(segments string) []string {