avatarJohn Worthington

Free AI web copilot to create summaries, insights and extended knowledge, download it at here

3902

Abstract

only, some have video only, and some have both video and audio. And also they’re available in multiple formats. For video there is AVC (which is apparently H.254), VP09, and AV01. And for audio there’s Mp4a and Opus. I don’t know what Opus is but apparently it is noticeably better than Mp4a. So if you’ve ever gone to a YouTube download page and seen a million download options that’s why. Although I hide the redundant ones and just display the one with the lowest file size at that quality level (usually VP09 or AV01).</p><p id="b96b">It’s actually pretty cool to see AV01 as I talked about it <a href="https://readmedium.com/why-apple-adding-av1-support-is-a-big-deal-faa46a356f3c">here</a>. And it does compress videos a little better than VP09 and a lot better than AVC.</p><p id="d170">Also apparently YouTube does something called DRC, dynamic range compression (Not Democratic Republic of Congo). It makes the quiet sections louder and the loud sections quieter. Apparently people really hate it and I guess there must be a way to disable it because I have not been able to find a music video with DRC enabled. I’ve never heard anyone talk about this before though.</p><p id="e027">So now that we have the formats we can just download them. Each format has a download link oddly enough. I did not expect that. Just keep in mind that the YouTube download links expire in 6 hours.</p><p id="3fc9">Of course here we run into a problem. When I saw this I was like, “Great, let’s just download an audio-only track if we only want audio or a video+audio track if we want video.”</p> <figure id="dd49"> <div> <div> <img class="ratio" src="http://placehold.it/16x9"> <iframe class="" src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2FMvioOPqhOm6b4BI0FQ%2Ftwitter%2Fiframe&amp;display_name=Giphy&amp;url=https%3A%2F%2Fgiphy.com%2Fgifs%2Ffallontonight-jimmy-fallon-tonight-show-MvioOPqhOm6b4BI0FQ&amp;image=https%3A%2F%2Fmedia0.giphy.com%2Fmedia%2Fv1.Y2lkPTc5MGI3NjExa203NTd1dnVhNGpveHByMmxsOGRzZGxsejhsZzh2Zjk5N20xMTYwbSZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw%2FMvioOPqhOm6b4BI0FQ%2Fgiphy.gif&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=giphy" allowfullscreen="" frameborder="0" height="435" width="435"> </div> </div> </figure></iframe></div></div></figure><p id="9eda">If you do that you’re restricted to at most 720p 30fps. Or so I’m told. I haven’t been able to find a file with both video and audio over 360p. And some videos don’t have any video+audio tracks at all. So that means we’re going to have to download a video file and an audio file (preferably without DRC) and merge them together.</p><p id="e01b">And this is perhaps the first really big problem I ran into. If I was doing this locally it would not be that big of a problem because there’s a nice command line package called <code>FFmpeg</code> that will just do it for you. Unfortunately it’s a bit more complicated when you’re working with Node.js because you have to do a bunch of file manipulation stuff.</p><p id="12d8">I ended up deciding to just download the files from Google’s servers separately and then merge them locally. Apparently Flutter has a package called <code>FFmpeg-kit</code> that will do this. Unfortunately it only works on Android, iOS, and MacOS.</p><p id="fdbf">Although Android will not be getting YouTube downloading because Google is really strict about that.</p> <figure id="eaa2"> <div> <div> <img class="ratio" src="http://placehold.it/16x9"> <iframe class="" src="https://cdn.embedly.com/widgets/media.html?type=text%2Fhtml&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;schema=twitter&amp;url=https%3A//twitter.com/EzraDuown/status/1776352074449530961/&amp;image=" a

Options

llowfullscreen="" frameborder="0" height="281" width="500"> </div> </div> </figure></iframe></div></div></figure><p id="7c7c">In fact the app mentioned above, NewPipe, is not available on the Google Play store. So that means that the only platform able to benefit from YouTube downloading is iOS. There is no macOS version of the app but you can run the iOS app on an Apple Silicon Mac. Web users will be restricted to downloading audio or downloading 360p videos. Oh well. Maybe I’ll improve this feature in the future.</p><p id="cae5">And another problem. YouTube throttles some of the downloads. Not all of them though which is weird. I thought it was broken at first. Nope, it’s just that the downloads were really really slow.</p><p id="74fe">Although there’s a way around this too. Flutter has its own package for downloading YouTube videos called <code>youtube_explode_dart</code> and this one has gotten around the throttling issues. It’s listed as issue #180 and fixed in pull request 185.</p><figure id="c76e"><img src="https://cdn-images-1.readmedium.com/v2/resize:fit:800/1*R0QbSVVKcpNt1NDnlL-7Qg.png"><figcaption></figcaption></figure><p id="4a2c">And it works great now. Well, for the streams it supports. It doesn’t support all the streams. But it supports enough.</p><p id="7308">And, one more thing <code>youtube_explode_dart</code> doesn’t actually do everything <code>youtube-dl</code> does. <code>youtube-dl</code> actually gives you a lot more information on the actual files (such as if the audio is DRCed). So I’m still going to have to use it. But I can use <code>youtube_explode_dart</code> to actually download the files.</p><p id="8fe6">I do feel a little silly for wasting so much time on this feature. Like, I built an RSS reader to watch YouTube videos, not to download them. And the only people that can really take advantage of this feature are iOS users.</p><p id="9388">It’s funny. Everyone thinks iOS is the locked-down one. But in this one specific case Android is more locked down. Because if you look up YouTube downloaders on iOS there are pages and pages of them.</p><p id="0e6e">I could see myself taking advantage of this feature. Stratum 3.0.0 also introduces the ability to add external links. So I could find a YouTube video I like that I want to download and I could just download it.</p><p id="01c9">And this experience has taught me a lot about the inner workings of YouTube. Mostly the subtitles. I had no idea the method I was using to get subtitles before was so suboptimal. It works and there’s nothing wrong with it but it could be better.</p><p id="7e7d">I’m pretty happy with Stratum’s YouTube functionality now. I was happy with it before, to be honest, I just went down a ‘YouTube Rabbit Hole’. But I did have one more feature planned: automatic YouTube summary generation.</p><p id="5b0e">Because since adding YouTube summaries I’ve been watching a lot more YouTube. I mean summarizing a lot more YouTube. There are a lot of channels I’m interested in but can’t get to due to time restrictions. Like TED and DW News. Guess what? I follow both of those sources of news now and just read the summaries. But you know what I don’t like? Tapping on the button to generate the summaries.</p><p id="8a38">Well, those are some future plans. It will be expensive though, which is also why I’m planning to announce new pricing for Stratum soon.</p><p id="f6db">If you liked this post and would like to stay updated with my future articles consider using my RSS app Stratum on <a href="https://apple.co/3rZyh9B">iOS</a> and <a href="https://play.google.com/store/apps/details?id=com.amorfatite.keystone">Android</a>. Also check out my language learning app Litany (<a href="https://apple.co/45prCDA">iOS</a>, <a href="https://play.google.com/store/apps/details?id=com.amorfatite.litany">Android</a>).</p></article></body>

The GOP Struggles to Define Woke, Sigh

Illustration designed specifically for this blog by BSIENKART (used with permission from the artist)

The Direction of Thought

​​I think it’s time to talk about blatant “if it was good enough for grand daddy it’s good enough for me” ism. I don’t mind applying the concept to honey do lists, but it gets bizarre when a Representative says something on the floor of the congress which indicates a lack of knowledge of how thought even becomes thought.

On July 30th, MeidasTouch posted a video on YouTube titled Republicans GET TOTALLY OUTMANEUVERED during LIVE hearing by Democrats¹. At the 8:00 mark, there’s a clip of Margery Green saying, essentially, she does not agree to spend “$86,000,000 if that money is to be spent on educating people about gender and gender bias, educate people about their skin color, educate people about how how they think unconsciously without knowing how they think. These are the type of woke ideologies which divide and separate America.” I understand that Marjory has her reputation to uphold but that does not mean that what she stated the other day is anything less than a celebration of ignorance. I suppose I have a very Millennial attitude about this because I really do not care what the likes of Marjory think or do. However, I do find what she said to be alarming.

It’s obvious from that one snippet of her statement to see that the poor girl does not understand how thought courses through her own brain. That’s a shame. She appears to be mentally capable but due to a perhaps rebellious bent left over from childhood Marjory can no longer learn anything. If she does it will be in spite of her assumptions not because of her logical prowess. Here’s a glimpse into the problem that Marjory faces.

Programming in the Mental Realm

As with all computers the brain functions with a hierarchical set of instructions. We can break the hierarchy down to four major parts. Without a doubt there are more, but this explanation needs to be simple. When we are young we learn how to interact with reality. We could say that that interaction with reality forms what we will later refer to as “real.” This set of data then provides a basis for what we call emotions, which then form the basis for what we call feeling, from which we construct our logical processes. In a mechanical computer we have a corresponding structure. An Apple computer is designed to make graphics real and therefore makes design programs optimal. A computer based on business has a corresponding structure that makes business programs optimal. We could say that computers as we know them are divided into two camps. One believes business is real and the other believes design is real. That is silly of course but it is also true.

The reality that the computer is constructed to address affects the apps the computer uses. Windows works well with QuickBooks. Mac doesn’t work as well with QuickBooks. Mac Draw, when it came out represented an impossible dream for designers and a new era in computerdom just as Excel represented a gift from the Magi to businesses everywhere when it came out. To a computer either of these programs were like emotions to we humans. They were metaprograms which controlled whole sets of programs. You can find applications of Excel in any game, in any list and in nearly any “application” which was developed subsequently. The same can be said for Mac Draw. That program was primitive but it formed the basis for all manner of apps which enhanced the design experience.

Then came the feelings of a computer. The colors and fonts of word processing. The Home Screen pictures. YouTube and TikTok could be considered in the same category. It’s interesting to note that it took time to develop all those beliefs, emotions and feelings in the human being and it also takes time to develop that same hierarchy in a mechanical computer.

The Programmer Herself

The question for the likes of Marjory is, “Do you actually think that what you see on your computer screen is what your computer does?” The corollary is, of course, do you actually think that what you talk to yourself about actually represents thought processes? Marjory and her ilk just do not understand that they themselves are the only programming entity for their very own human bio computers. Is it any wonder that the poor girl does goofy things? There is just a wonderfully good chance that Marjory is still running programs written as a young girl because she can not admit error and due to errors in calculating reality she has told her own personal bio computer to do some goofy shit. I don’t mind, but she might want to check out how woke she could actually become should she understand how her own brain functions. If it’s that level of ignorance that allows her to forgo an understanding of subconscious thought as being what she refers to as woke, I think I’ll have another cup of coffee.

I’m picking on Marjory here a bit because she is such a poster child for the ignorance that much of the country seems to be experiencing at this moment in time. I think it’s unfortunate that so many perfectly sane individuals have adopted a mental position that demonizes learning. It isn’t because of mental deficiencies, it appears to be nothing more than a poor grasp of how to suspend disbelief long enough to consider what other people say, or even long enough to consider what she says.

Marjory has kids. She knows, therefore, that it takes very little life experience to disagree with the need for education. A three-year-old can say NO with the best of them. Any first grader can lament mandatory education. That a member of Congress can be so ignorant is not all that surprising, I suppose, but one could hope for a basic understanding of how thought forms in the brain at the very least, even for Marjory, but send enough for her to share with friends.

For a nation of practical, common sense people, to understand how we think is essential to successful leadership on the world stage.

Understanding Thought is Essential

I understand that Marjory is not alone in her anti-woke jihad and that she has many supporters on the right wing of congress, but that does not excuse any of them for being willfully ignorant. I kind of expect that folks like Marjory to behave as though understanding is a mortal sin, but for a nation of practical, common sense people, to understand how we think is essential to successful leadership on the world stage. I sometimes envision some kind of political boot camp where folks choose sides to be either red or blue. Then, that’s your team color forever. I surely hope we don’t all have to go down to the plaza and beat the crap out of each other just to get a ball to the other side. What does that prove anyway?

One of the complaints of the anti-woke folks is that government is controlled by the Deep State. This is another crock of crap but it is a widely held belief of those who identify as anti-woke. I kind of have to scratch my head and my butt when someone spouts this kind of rhetoric. How deep is the state that insists that its constituency is held in utter darkness by celebrated ignorance? Isn’t this ignorance an issue which prevents people from noticing that 45 really did break the law? Isn’t this ignorance what prevents people from seeing that it’s good business to trade with as many of the world’s nations as possible? The only people who would be against making money from having many trading partners would be those who have more money than they can spend. They surely would not want anyone to have more money than they have would they?

So when Marjory or any other congressperson states such idiocies as we cannot afford to fund the education of people about how they think unconsciously without knowing how they think, we have to consider what her word choices say about her understanding and then what her actual agenda is. Why would anyone desire to keep their constituency in a constant state of ignorance unless she thought her constituency were all mushrooms? People might not care all that much about being kept in the dark and fed bullshit as a constant diet. Good for mushrooms, but not so much for people with brains.

References

  1. Tyler, B. (2023, July 30). Republicans GET TOTALLY OUTMANEUVERED during LIVE Hearings by Democrats. YouTube. Retrieved August 10, 2023, from https://www.youtube.com/watch?v=o9eeChoUE38

Forging Agreement’s newest on-demand workshop is available on Teachable now. Learn more about the ideas that John introduces in his blogs in the Program Theory On-Demand Workshop!

One way to think about how your mind works is to consider it as a biocomputer. It has an operating system and different types of applications and programs that run when called, in similar fashion to a regular computer. The results of this workshop will give you new ways to consider your own beliefs, emotions, feelings and logical thoughts and how you can choose to modify them to meet your own requirements.

The workshop combines a series of on-demand videos with group discussions. Program Theory is taught by John Worthington and Paul Grenci. Contact @forgingagreement on Facebook or Instagram or email [email protected] for more information!

The most recent online Reality Creation Through the Dyad Workshop has just wrapped up. The Dyad workshop is an exploration into the relationship that exists between two people- any two people. A Dyadic relationship can be with a spouse, significant other, business partner, co-workers, family members, etc. These relationships can be wonderful and challenging all at the same time, but that is the beauty of relationships; traversing the good, the bad and everything in between.

In this interactive workshop, couples/individuals are afforded the opportunity to examine ever so common problems and tried and true solutions that guarantee an ongoing relationship if one is warranted.

This workshop will be happening on a monthly basis and runs over 2 weeks of 4 consecutive evenings. Contact @forgingagreement on Facebook or Instagram or email [email protected] for more information!

If you would like to support John, please consider subscribing to Medium using his referral link. Due to Medium not supporting mobile-based referrals, please use a desktop browser to sign-up. This ensures that a portion of your commission goes straight to John to support his work on this blog. You will get unlimited access to all of John’s blogs, plus unlimited access to thousands of other writers. Thank you!

Political
Spirituality
Thought Leadership
Understanding Life
Programming
Recommended from ReadMedium