Git Product home page Git Product logo

Comments (9)

pukkandan avatar pukkandan commented on May 21, 2024 1

No, for the time being, I put the token import inside a try block. So now the import fails silently. As long as it doesn't show any errors for you, it's fine. The token generation will now only work for some users, but I guess it's better than entirely disabling it like youtube-dl did

from yt-dlp.

pukkandan avatar pukkandan commented on May 21, 2024 1

Will update readme when I make release

from yt-dlp.

pukkandan avatar pukkandan commented on May 21, 2024

@nicolaasjan Please confirm whether both your issues are solved

from yt-dlp.

nicolaasjan avatar nicolaasjan commented on May 21, 2024

@nicolaasjan Please confirm whether both your issues are solved

Unfortunately still the ffmpeg embedding issue (both with my own compiled version and with the official one (https://johnvansickle.com/ffmpeg/builds/ffmpeg-git-amd64-static.tar.xz)...

[Edit]
Sorry, scratch that.
I forgot to replace the binary in /usr/local/bin. Haha...

It works alright now!:

youtube-dlc -v -x -f bestaudio https://www.youtube.com/watch?v=UsYkLXycbYU
[debug] User config file: /home/nico/.config/yt-dlp/config
[debug] User config: ['--list-formats-as-table', '-i', '-o', '~/Desktop/test-dlc/%(title)s.%(ext)s', '-f', 'bestvideo[height<=1080][ext=mp4]+bestaudio[ext=m4a]/best[ext=mp4]/best', '--no-mtime', '--add-metadata', '--embed-thumbnail', '--force-ipv4']
[debug] Command-line config: ['-v', '-x', '-f', 'bestaudio', 'https://www.youtube.com/watch?v=UsYkLXycbYU']
[debug] Loading archive file None
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] yt-dlp version 2021.01.28-1
[debug] Python version 3.6.9 (CPython) - Linux-5.4.0-64-generic-x86_64-with-LinuxMint-19.3-tricia
[debug] exe versions: ffmpeg N-55863-g9f38fac053-static, ffprobe N-55863-g9f38fac053-static
[debug] Proxy map: {}
[youtube] UsYkLXycbYU: Downloading webpage
[youtube] {18} signature length 108, html5 player c6df6ed7
[youtube] {134} signature length 108, html5 player c6df6ed7
[youtube] {243} signature length 104, html5 player c6df6ed7
[youtube] {133} signature length 108, html5 player c6df6ed7
[youtube] {242} signature length 108, html5 player c6df6ed7
[youtube] {160} signature length 108, html5 player c6df6ed7
[youtube] {278} signature length 108, html5 player c6df6ed7
[youtube] {140} signature length 108, html5 player c6df6ed7
[youtube] {249} signature length 104, html5 player c6df6ed7
[youtube] {250} signature length 108, html5 player c6df6ed7
[youtube] {251} signature length 104, html5 player c6df6ed7
[debug] Sort order given by user: 
[debug] Formats sorted by: lang, quality, hasvid, ie_pref, res, fps, vcodec, acodec, filesize, fs_approx, tbr, vbr, abr, asr, proto, vext, aext, hasaud, source, id
[info] Downloading format(s) 251
[youtube] UsYkLXycbYU: Downloading thumbnail ...
[youtube] UsYkLXycbYU: Writing thumbnail to: /home/nico/Desktop/test-dlc/cuby and the blizzards window of my eyes.jpg
[debug] Invoking downloader on 'https://r5---sn-5hnedn7e.googlevideo.com/videoplayback?expire=1611852451&ei=Q5YSYKiVFvqF6dsP5ZCUkAM&ip=217.121.193.63&id=o-AEq4vfiOxcTYTcpWBUwsztxCX5h3tkvwOC9WQQ2TYBUI&itag=251&source=youtube&requiressl=yes&mh=tm&mm=31%2C29&mn=sn-5hnedn7e%2Csn-5hne6n7z&ms=au%2Crdu&mv=m&mvi=5&pl=15&initcwndbps=1677500&vprv=1&mime=audio%2Fwebm&ns=oC8umpPVbWJK0yne7cfOIHoF&gir=yes&clen=2481451&dur=200.841&lmt=1496705555203583&mt=1611830681&fvip=5&keepalive=yes&c=WEB&n=35dXZq0LoL3aA75jmBrO&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cvprv%2Cmime%2Cns%2Cgir%2Cclen%2Cdur%2Clmt&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AG3C_xAwRgIhANQA-umqUtgfjtahyPJJ9geWUjFFGhJU4HhqRXutzCMtAiEAr5NlzMDBHN9DJGu5kXcNWq-Idv52kBPx-KDYLKeQDbs%3D&sig=AOq0QJ8wRAIgWe2PAokUHjVil1ZdhhAGcXoc_6YyUVEul9u0TWNUDEMCIB0es95p91rX7Duwemi0FGHZxdt30G8PwihL21zM9fWb&ratebypass=yes'
[download] Destination: /home/nico/Desktop/test-dlc/cuby and the blizzards window of my eyes.webm
[download] 100% of 2.37MiB in 00:00
[debug] ffmpeg command line: ffprobe -show_streams 'file:/home/nico/Desktop/test-dlc/cuby and the blizzards window of my eyes.webm'
[ExtractAudio] Destination: /home/nico/Desktop/test-dlc/cuby and the blizzards window of my eyes.opus
[debug] ffmpeg command line: ffmpeg -y -loglevel repeat+info -i 'file:/home/nico/Desktop/test-dlc/cuby and the blizzards window of my eyes.webm' -vn -acodec copy 'file:/home/nico/Desktop/test-dlc/cuby and the blizzards window of my eyes.opus'
Deleting original file /home/nico/Desktop/test-dlc/cuby and the blizzards window of my eyes.webm (pass -k to keep)
[Metadata] Adding metadata to '/home/nico/Desktop/test-dlc/cuby and the blizzards window of my eyes.opus'
[debug] ffmpeg command line: ffmpeg -y -loglevel repeat+info -i 'file:/home/nico/Desktop/test-dlc/cuby and the blizzards window of my eyes.opus' -map 0 -dn -c copy -metadata 'title=cuby and the blizzards window of my eyes' -metadata date=20081219 -metadata 'description=Great live recording of the legendary song windows of my eyes.
I think the only recording on video of the song with eelco gelling.
Recorded during the "goud van oud" festival 1993 in Den Bosch.' -metadata 'comment=Great live recording of the legendary song windows of my eyes.
I think the only recording on video of the song with eelco gelling.
Recorded during the "goud van oud" festival 1993 in Den Bosch.' -metadata 'purl=https://www.youtube.com/watch?v=UsYkLXycbYU' -metadata artist=boxarnhem 'file:/home/nico/Desktop/test-dlc/cuby and the blizzards window of my eyes.temp.opus'
[EmbedThumbnail] Correcting extension to webp and escaping path for thumbnail "/home/nico/Desktop/test-dlc/cuby and the blizzards window of my eyes.jpg"
[EmbedThumbnail] Converting thumbnail "/home/nico/Desktop/test-dlc/cuby and the blizzards window of my eyes.webp" to JPEG
[debug] ffmpeg command line: ffmpeg -y -loglevel repeat+info -i 'file:/home/nico/Desktop/test-dlc/cuby and the blizzards window of my eyes.webp' -bsf:v mjpeg2jpeg 'file:/home/nico/Desktop/test-dlc/cuby and the blizzards window of my eyes.jpg'
[debug] ffmpeg command line: ffmpeg -y -loglevel repeat+info -i 'file:/home/nico/Desktop/test-dlc/cuby and the blizzards window of my eyes.jpg' -hide_banner 'file:/home/nico/Desktop/test-dlc/cuby and the blizzards window of my eyes.jpg'
Deleting original file /home/nico/Desktop/test-dlc/cuby and the blizzards window of my eyes.jpg (pass -k to keep)
[SponSkrub] Trying to mark sponsor sections
[debug] sponskrub command line: sponskrub -chapter -- UsYkLXycbYU '/home/nico/Desktop/test-dlc/cuby and the blizzards window of my eyes.opus' '/home/nico/Desktop/test-dlc/cuby and the blizzards window of my eyes.spons.opus'
[SponSkrub] No segments in the SponsorBlock database

Schermafdruk op 2021-01-28 11-53-03

from yt-dlp.

pukkandan avatar pukkandan commented on May 21, 2024

I think you didn't pull the current master.

https://github.com/pukkandan/yt-dlp/blob/bf330f5f2932f1d13eb57851f307bd7ea7523c8e/youtube_dlc/postprocessor/embedthumbnail.py#L158

The traceback says:

  File "/usr/local/bin/youtube-dlc/youtube_dlc/postprocessor/embedthumbnail.py", line 158, in run
    size_result = self.run_ffmpeg_multiple_files([thumbnail_filename], '', ['-hide_banner'])

from yt-dlp.

nicolaasjan avatar nicolaasjan commented on May 21, 2024

I think you didn't pull the current master.

https://github.com/pukkandan/yt-dlp/blob/master/youtube_dlc/postprocessor/embedthumbnail.py#L158

The traceback says:

  File "/usr/local/bin/youtube-dlc/youtube_dlc/postprocessor/embedthumbnail.py", line 158, in run
    size_result = self.run_ffmpeg_multiple_files([thumbnail_filename], '', ['-hide_banner'])

Yeah, sorry...
I already edited my comment before I saw your reply.

from yt-dlp.

pukkandan avatar pukkandan commented on May 21, 2024

The anvato issue is also fixed, correct?

from yt-dlp.

nicolaasjan avatar nicolaasjan commented on May 21, 2024

The anvato issue is also fixed, correct?

Don't know for sure, but I guess is must be solved, otherwise I would have encountered the same ModuleNotFoundError.
Did you find the root cause of that one?

from yt-dlp.

nicolaasjan avatar nicolaasjan commented on May 21, 2024

Maybe it's wise to mention installing mutagen in the installation instructions?

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.