✨ Watch video
This commit is contained in:
parent
1878224040
commit
2a19f3c8e9
4 changed files with 55 additions and 2 deletions
|
|
@ -22,6 +22,7 @@ var rootCmd = &cobra.Command{
|
|||
file := files.PickRandomFile()
|
||||
out := media.ProbeFile(file)
|
||||
fmt.Printf("%+v\n", out)
|
||||
media.Watch(out.Format.Path)
|
||||
stream := media.SelectAudioStream(out)
|
||||
fmt.Printf("Stream %d of %s: %+v\n", stream, out.Format.Path, out.Streams[stream])
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue