Answer the question
In order to leave comments, you need to log in
How to implement this in Ubuntu?
In the folder in Windows 10, there are about fifty bat files, also the file "ffmpeg.exe"
, they have a script of the following type installed:
ffmpeg -i http://example.com/playlist.m3u8 -c copy 1.mp4
Answer the question
In order to leave comments, you need to log in
also the file "ffmpeg.exe"
$ sudo apt update
$ sudo apt install ffmpeg
they have a script like this:
ffmpeg -i http://example.com/playlist.m3u8 -c copy 1.mp4
#!/usr/bin/env bash
ffmpeg -i "http://example.com/playlist.m3u8" -t "3:00:00" -c copy "1.mp4"
$ chmod +x myscript.sh
$ ./myscript.sh
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question