当内容已存在本地时,youtube-dl 下载会创建 .temp.mp4 文件。ffmpeg 问题?

当内容已存在本地时,youtube-dl 下载会创建 .temp.mp4 文件。ffmpeg 问题?

当我尝试直接从已经在运行的 twitch.tv 下载内容时,该过程会创建一个 .temp.mp4 文件,它似乎是由 ffmpeg 进程创建的。

如果内容尚不存在,则会正常下载。

当使用 verbose -v 时,我收到一条错误消息:“[ffmpeg] 修复格式错误的 AAC 比特流”

这是命令语法:

root@hosted:/mnt/disk1/twitch/markilokurasy# youtube-dl -v -i --no-overwrites https://www.twitch.tv/markilokurasy/videos/all

这是详细的:

[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'-v', u'-i', u'--no-overwrites', u'https://www.twitch.tv/markilokurasy/videos/all']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2019.01.10
[debug] Python version 2.7.15rc1 (CPython) - Linux-4.15.0-29-generic-x86_64-with-Ubuntu-18.04-bionic
[debug] exe versions: ffmpeg 3.4.4-0ubuntu0.18.04.1, ffprobe 3.4.4-0ubuntu0.18.04.1
[debug] Proxy map: {}
[twitch:videos:all] markilokurasy: Downloading channel info JSON
[twitch:videos:all] markilokurasy: Downloading all videos JSON page 1
[download] Downloading playlist: MarkiLokurasY
[twitch:videos:all] playlist MarkiLokurasY: Collected 76 video ids (downloading 76 of them)
[download] Downloading video 1 of 76
[twitch:vod] 362193684: Downloading vod info JSON
[twitch:vod] 362193684: Downloading vod access token
[twitch:vod] 362193684: Downloading m3u8 information
[debug] Default format spec: bestvideo+bestaudio/best
[debug] Invoking downloader on u'https://vod-secure.twitch.tv/75937e2657f777b6955b_markilokurasy_32122011088_1076251126/chunked/index-muted-UO5C2PH170.m3u8'
[download] SSomos viernessssss _ ig - @markigang-v362193684.mp4 has already been downloaded
[download] 100% of 9.76GiB
[debug] ffmpeg command line: ffprobe -show_streams 'file:SSomos viernessssss _ ig - @markigang-v362193684.mp4'
[ffmpeg] Fixing malformed AAC bitstream in "SSomos viernessssss _ ig - @markigang-v362193684.mp4"
[debug] ffmpeg command line: ffmpeg -y -i 'file:SSomos viernessssss _ ig - @markigang-v362193684.mp4' -c copy -f mp4 '-bsf:a' aac_adtstoasc 'file:SSomos viernessssss _ ig - @markigang-v362193684.temp.mp4'
^C
ERROR: Interrupted by user

您建议使用类似标签来避免这种情况。请注意,当我播放 .mp4 视频文件时,它们可以很好地播放音频。

相关内容