tangled
alpha
login
or
join now
arimelody.space
/
vodular
0
fork
atom
Helper tool for stitching together livestream VOD segments and uploading them to YouTube!
0
fork
atom
overview
issues
pulls
pipelines
remove temporary files.txt after ffmpeg run
arimelody.space
1 month ago
4752e4bf
45db6513
+6
1 changed file
expand all
collapse all
unified
split
video
video.go
+6
video/video.go
···
3
3
import (
4
4
"encoding/json"
5
5
"fmt"
6
6
+
"log"
6
7
"os"
7
8
"path"
8
9
"strconv"
···
62
63
63
64
if err != nil {
64
65
return 0, fmt.Errorf("ffmpeg error: %v", err)
66
66
+
}
67
67
+
68
68
+
if err = os.Remove(fileListPath); err != nil {
69
69
+
log.Fatalf("Failed to remove temporary file list: %v", err)
70
70
+
// not the end of the world; move along
65
71
}
66
72
67
73
fileInfo, err := os.Stat(video.Filename)