Skip to content

Commit

Permalink
update timescale to 90000
Browse files Browse the repository at this point in the history
  • Loading branch information
cedricve committed Feb 11, 2023
1 parent a2b4ee1 commit ec42b9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion machinery/src/utils/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ func CreateFragmentedMP4(fullName string, fragmentedDuration int64) {
path, _ := os.Getwd()
duration := fragmentedDuration * 1000
// This timescale is crucial, as it should be the same as the one defined in JOY4.
cmd := exec.Command("mp4fragment", "--timescale", "10000", "--fragment-duration", strconv.FormatInt(duration, 10), fullName, fullName+"f.mp4")
cmd := exec.Command("mp4fragment", "--timescale", "90000", "--fragment-duration", strconv.FormatInt(duration, 10), fullName, fullName+"f.mp4")
cmd.Dir = path
log.Log.Info(cmd.String())
var out bytes.Buffer
Expand Down

0 comments on commit ec42b9e

Please sign in to comment.