Disable noaccurate_seek on audio streams

This commit is contained in:
Zoe Roux
2024-02-11 16:08:02 +01:00
parent 4993d34835
commit 1e0ff4a950
3 changed files with 23 additions and 2 deletions
+4
View File
@@ -22,6 +22,10 @@ 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) getFlags() Flags {
return AudioF
}
func (as *AudioStream) getTranscodeArgs(segments string) []string {
return []string{
"-map", fmt.Sprintf("0:a:%d", as.index),