diff options
Diffstat (limited to 'src/stream_command.sh')
| -rw-r--r-- | src/stream_command.sh | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/src/stream_command.sh b/src/stream_command.sh index 39255c2..3c96b84 100644 --- a/src/stream_command.sh +++ b/src/stream_command.sh @@ -8,9 +8,7 @@ if [[ -n "${args['--download']}" ]]; then "--all-subs" "--cookies-from-browser" "firefox" "--embed-subs" - "-f" 'best[height=1080]' - "--remux" "mkv" - "--merge" "mkv" + '-f' 'bestvideo[ext=mp4]+bestaudio[ext=m4a]/bestvideo+bestaudio/best' "--verbose" "--user-agent" "${user_agent}" "${args[uri]}" @@ -38,14 +36,6 @@ if [[ -n "${args['--download']}" ]]; then return fi -# mpv "$(yt-dlp \ -# --cookies-from-browser firefox \ -# --extractor-args crunchyrollbeta:hardsub=en-US \ -# -f 'best[height=1080]' \ -# -g \ -# --verbose \ -# "${1}")" - subtitles_command=( 'yt-dlp' '--cookies-from-browser' 'firefox' @@ -75,7 +65,7 @@ fi media_command=( 'yt-dlp' '--cookies-from-browser' 'firefox' - '-f' 'best[height=1080]' + '-f' 'bestvideo[ext=mp4]+bestaudio[ext=m4a]/bestvideo+bestaudio/best' '-g' '--user-agent' "${user_agent}" "${args[uri]}" |