Giter Site home page Giter Site logo

Is there any way to check if the video needs to embed the thumbnail before writing the video information to download_archive.txt? about yt-dlp HOT 4 CLOSED

QPYIDRWIMG avatar QPYIDRWIMG commented on July 19, 2024
Is there any way to check if the video needs to embed the thumbnail before writing the video information to download_archive.txt?

from yt-dlp.

Comments (4)

pukkandan avatar pukkandan commented on July 19, 2024

That should not happen afair unless you are passing -i. Pls show verbose log demonstrating the issue.

from yt-dlp.

QPYIDRWIMG avatar QPYIDRWIMG commented on July 19, 2024

That should not happen afair unless you are passing -i. Pls show verbose log demonstrating the issue.

Sure. Here it is.

[debug] Command-line config: ['-f', 'bestvideo*', '-i', 'https://space.bilibili.com/330443044', '--embed-thumbnail', '--embed-metadata', '--download-archive', '/opt/yt-dlp/哔哩哔哩/训练吧/archive.txt', '--max-downloads', '100', '--windows-filenames', '--min-sleep-interval', '30', '--max-sleep-interval', '60', '--merge-output-format', 'mp4', '--cookies', '/opt/yt-dlp/cookies/www.bilibili.com_cookies.txt', '-o', '/opt/yt-dlp/哔哩哔哩/训练吧/[%(upload_date)s] %(title).200B [%(id)s].%(ext)s', '--verbose']
[debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8 (No ANSI), error utf-8 (No ANSI), screen utf-8 (No ANSI)
[debug] yt-dlp version [email protected] from yt-dlp/yt-dlp [ff0779267] (pip)
[debug] Python 3.8.10 (CPython x86_64 64bit) - Linux-5.4.0-171-generic-x86_64-with-glibc2.29 (OpenSSL 1.1.1f  31 Mar 2020, glibc 2.31)
[debug] exe versions: ffmpeg 4.2.7, ffprobe 4.2.7
[debug] Optional libraries: Cryptodome-3.19.0, brotli-1.1.0, certifi-2019.11.28, mutagen-1.47.0, requests-2.31.0, secretstorage-2.3.1, sqlite3-3.31.1, urllib3-2.0.5, websockets-12.0
[debug] Proxy map: {}
[debug] Request Handlers: urllib, requests, websockets
[debug] Loaded 1810 extractors
[debug] Loading archive file '/opt/yt-dlp/哔哩哔哩/训练吧/archive.txt'
[BilibiliSpaceVideo] Extracting URL: https://space.bilibili.com/330443044
[BilibiliSpaceVideo] A channel URL was given. Only the channel's videos will be downloaded. To download audios, add a "/audio" to the URL
[BilibiliSpaceVideo] 330443044: Downloading JSON metadata
[BilibiliSpaceVideo] 330443044: Downloading page 0
[download] Downloading playlist: 330443044
[BilibiliSpaceVideo] 330443044: Downloading page 1
[BilibiliSpaceVideo] 330443044: Downloading page 2
[BilibiliSpaceVideo] 330443044: Downloading page 3
[BilibiliSpaceVideo] 330443044: Downloading page 4
[BilibiliSpaceVideo] 330443044: Downloading page 5
[BilibiliSpaceVideo] 330443044: Downloading page 6
[BilibiliSpaceVideo] 330443044: Downloading page 7
[BilibiliSpaceVideo] 330443044: Downloading page 8
[BilibiliSpaceVideo] 330443044: Downloading page 9
[BilibiliSpaceVideo] 330443044: Downloading page 10
[BilibiliSpaceVideo] 330443044: Downloading page 11
[BilibiliSpaceVideo] 330443044: Downloading page 12
[BilibiliSpaceVideo] 330443044: Downloading page 13
[BilibiliSpaceVideo] 330443044: Downloading page 14
[BilibiliSpaceVideo] 330443044: Downloading page 15
[BilibiliSpaceVideo] 330443044: Downloading page 16
[BilibiliSpaceVideo] 330443044: Downloading page 17
[BilibiliSpaceVideo] 330443044: Downloading page 18
[BilibiliSpaceVideo] 330443044: Downloading page 19
[BilibiliSpaceVideo] 330443044: Downloading page 20
[BilibiliSpaceVideo] 330443044: Downloading page 21
[BilibiliSpaceVideo] 330443044: Downloading page 22
[BilibiliSpaceVideo] 330443044: Downloading page 23
[BilibiliSpaceVideo] 330443044: Downloading page 24
[BilibiliSpaceVideo] 330443044: Downloading page 25
[info] There are no playlist thumbnails to download
[BilibiliSpaceVideo] Playlist 330443044: Downloading 752 items of 752
[download] BV16D421H7ME: has already been recorded in the archive
[download] BV12J4m1p7cg: has already been recorded in the archive
[download] BV1Vx4y1a7j7: has already been recorded in the archive
[download] BV1ax421m7NU: has already been recorded in the archive
[download] BV1mK421h7nt: has already been recorded in the archive
[download] BV16J4m1G7Hr: has already been recorded in the archive
[download] BV1qu4m1K7XD: has already been recorded in the archive
[download] Downloading item 723 of 752
[BiliBili] Extracting URL: https://www.bilibili.com/video/BV1Bt411g7cY
[BiliBili] 1Bt411g7cY: Downloading webpage
[BiliBili] BV1Bt411g7cY: Extracting videos in anthology
[BiliBili] 59590933: Extracting chapters
[BiliBili] Format(s) 1080P 高码率 are missing; you have to login or become premium member to download them. Use --cookies-from-browser or --cookies for the authentication. See  https://github.com/yt-dlp/yt-dlp/wiki/FAQ#how-do-i-pass-cookies-to-yt-dlp  for how to manually pass cookies
[debug] Formats sorted by: hasvid, ie_pref, lang, quality, res, fps, hdr:12(7), vcodec:vp9.2(10), channels, acodec, size, br, asr, proto, vext, aext, hasaud, source, id
[info] BV1Bt411g7cY: Downloading 1 format(s): 30080
[info] Downloading video thumbnail 0 ...
WARNING: Unable to download video thumbnail 0: (<urllib3.connection.HTTPConnection object at 0x7ff74c421520>, 'Connection to i1.hdslb.com timed out. (connect timeout=20.0)')
[debug] Invoking http downloader on "https://upos-sz-mirrorali.bilivideo.com/upgcxcode/92/53/103815392/103815392-1-30080.m4s?e=ig8euxZM2rNcNbdlhoNvNC8BqJIzNbfqXBvEqxTEto8BTrNvN0GvT90W5JZMkX_YN0MvXg8gNEV4NC8xNEV4N03eN0B5tZlqNxTEto8BTrNvNeZVuJ10Kj_g2UB02J0mN0B5tZlqNCNEto8BTrNvNC7MTX502C8f2jmMQJ6mqF2fka1mqx6gqj0eN0B599M=&uipk=5&nbs=1&deadline=1714054116&gen=playurlv2&os=alibv&oi=1974810531&trid=00000832d68791ce4878b083f5683ce0133bu&mid=339739774539&platform=pc&upsig=606bad9c5734cf5526cb546807855599&uparams=e,uipk,nbs,deadline,gen,os,oi,trid,mid,platform&bvc=vod&nettype=0&orderid=0,3&buvid=DF3DA0BF-19B0-EE25-D503-DD08B7C74AF915877infoc&build=0&f=u_0_0&agrr=1&bw=131577&logo=80000000"
[download] Sleeping 41.16 seconds ...
[download] Destination: /opt/yt-dlp/哔哩哔哩/训练吧/[20190717] 道家养生动作:握固,改善失眠,睡前3分钟,一觉到天亮 [BV1Bt411g7cY].mp4

[download]   0.0% of    9.79MiB at  Unknown B/s ETA 00:10
[download]   0.0% of    9.79MiB at  908.05KiB/s ETA 00:11
[download]   0.1% of    9.79MiB at    1.23MiB/s ETA 00:07
[download]   0.1% of    9.79MiB at    1.84MiB/s ETA 00:05
[download]   0.3% of    9.79MiB at    2.82MiB/s ETA 00:03
[download]   0.6% of    9.79MiB at    1.33MiB/s ETA 00:07
[download]   1.3% of    9.79MiB at    1.32MiB/s ETA 00:07
[download]   2.5% of    9.79MiB at    1.61MiB/s ETA 00:05
[download]   5.1% of    9.79MiB at    2.37MiB/s ETA 00:03
[download]  10.2% of    9.79MiB at    3.54MiB/s ETA 00:02
[download]  20.4% of    9.79MiB at    2.89MiB/s ETA 00:02
[download]  40.9% of    9.79MiB at    2.95MiB/s ETA 00:01
[download]  71.7% of    9.79MiB at    2.97MiB/s ETA 00:00
[download] 100.0% of    9.79MiB at    3.28MiB/s ETA 00:00
[download] 100% of    9.79MiB in 00:00:03 at 2.76MiB/s   
[Metadata] Adding metadata to "/opt/yt-dlp/哔哩哔哩/训练吧/[20190717] 道家养生动作:握固,改善失眠,睡前3分钟,一觉到天亮 [BV1Bt411g7cY].mp4"
[debug] ffmpeg command line: ffmpeg -y -loglevel repeat+info -i 'file:/opt/yt-dlp/哔哩哔哩/训练吧/[20190717] 道家养生动作:握固,改善失眠,睡前3分钟,一觉到天亮 [BV1Bt411g7cY].mp4' -map 0 -dn -ignore_unknown -c copy -write_id3v1 1 -metadata 'title=道家养生动作:握固,改善失眠,睡前3分钟,一觉到天亮' -metadata date=20190717 -metadata 'description=道家养生动作:握固,改善失眠,睡前3分钟,一觉到天亮' -metadata 'synopsis=道家养生动作:握固,改善失眠,睡前3分钟,一觉到天亮' -metadata purl=https://www.bilibili.com/video/BV1Bt411g7cY -metadata comment=https://www.bilibili.com/video/BV1Bt411g7cY -metadata 'artist=训练吧' -movflags +faststart 'file:/opt/yt-dlp/哔哩哔哩/训练吧/[20190717] 道家养生动作:握固,改善失眠,睡前3分钟,一觉到天亮 [BV1Bt411g7cY].temp.mp4'
[EmbedThumbnail] There aren't any thumbnails to embed
[debug] Adding to archive: bilibili BV1Bt411g7cY
[download] Downloading item 724 of 752
[BiliBili] Extracting URL: https://www.bilibili.com/video/BV1zt411G7sT
[BiliBili] 1zt411G7sT: Downloading webpage
[BiliBili] BV1zt411G7sT: Extracting videos in anthology
[BiliBili] 59457668: Extracting chapters

from yt-dlp.

pukkandan avatar pukkandan commented on July 19, 2024

unless you are passing -i

[debug] Command-line config: [..., '-i', ...

You are specifically asking yt-dlp to continue processing videos despite any errors

from yt-dlp.

QPYIDRWIMG avatar QPYIDRWIMG commented on July 19, 2024

unless you are passing -i

[debug] Command-line config: [..., '-i', ...

You are specifically asking yt-dlp to continue processing videos despite any errors

I see what the problem was because I added -i, thank you very much!

from yt-dlp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.