Re: how to install "4K Video Downloader"?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 11Dec2020 14:17, home user <mattisonw@xxxxxxxxxxx> wrote:
>bash.6[~]: youtube-dl -F https://www.youtube.com/watch?v=JahX9hOfz5A
>I put the output in the attached text file "output.txt".
>If I understood things correctly,
>"youtube-dl https://www.youtube.com/watch?v=JahX9hOfz5A";
>will give me 1280x720 video and 22050Hz audio as "best".  How is that 
>"best"?  It seems that "best" would be 1920x1080 video and 48000Hz 
>audio.  How do I get that in one file that VLC can play properly?

Note that VLC isn't your only choice. I use mpv a lot myself.

youtube-dl looks for a config in ~/.config/youtube-dl/config.
Mine says:

    --cache-dir '~/.cache/youtube-dl'
    --add-metadata
    --xattrs
    --no-mtime
    -o '%(title)s--%(uploader)s@youtube--%(upload_date)s--%(resolution)s--id=%(id)s.%(ext)s'
    -f 'bestvideo[ext=mp4]+bestaudio/best[ext=mp4]/best'

The -f option is what you want for control. It doesn't always seem to do 
what I want, but that is the section of the manual you want.

The above often chooses a MKV download for me, maybe because of audio 
formats? For purposes of my DVR I convert MKVs to MP4s with:

    ffmpeg -i blah.mkv blah.mp4

>Another question: If I want to know what resolution was used to make 
>the original video and audio, and download with the result being that, 
>how do I do it?

I don't know if the "original" format is a knowable thing, I just 
presume youtube itself doesn't upscale and that therefore the highest 
res should be the original.

Cheers,
Cameron Simpson <cs@xxxxxxxxxx>
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux