![]() YouTube allows you to search by license, so today, we're going to take a look at a fireplace video from Gemmy's Videos available under a Creative Commons attribution license. ![]() For me, in Fedora, it was packaged in my repositories, so installation was as simple as: $ sudo dnf install youtube-dl First, install it using a method appropriate for your distribution. In its simplest form, we're going to use youtube-dl to grab a video for playback in our terminal. There are some interesting legal opinions out there about where public domain dedication fits into the open source landscape, but it's generally considered compatible with existing open source licenses even by organizations who don't recommend its use. Youtube-dl is licensed under a public domain dedication known as the Unlicense that's similar to Creative Common's CC0. A note: please don't use youtube-dl in any context that would violate the copyright laws in your jurisdiction. You can install cava much in the same way, through: $ sudo dnf install mplayer Watch a videoįinally, let's double down on our first tool, MPlayer, and add in one more, youtube-dl.Īs its name would imply, youtube-dl is a command-line utility for downloading YouTube videos, but it can capture video from a number of other sites as well, and it's a really quite full-featured application with thorough documentation to make video acquisition easy. Short for "console-based audio visualizer for ALSA" (although it supports more than just ALSA now), cava is a nice MIT-licensed terminal audio visualization tool that's fun to watch. If you want to do more than just listen, and get a visual representation of what you're listening to, try cava. MPlayer is open source under the GPLv3, and you can find out more about the project and download source code from the project's website. I wanted to listen to the local college radio station here in Raleigh ( 88.1 WKNC they're pretty good!), and so after grabbing the streaming URL from their website, all that took to get my radio up and running, no GUI or web player needed, was: $ mplayer -nocache -afm ffmpeg MPlayer has a slew of command-line options to set depending on your situation. On Fedora, I found it in RPM Fusion (be aware that this is not an "official" repository for Fedora, so exercise caution as you would with any unfamiliar binary source): $ sudo dnf install mplayer If MPlayer is not already installed, you can probably find it packaged for your distribution. ![]() MPlayer is a versatile multimedia player that will support just about any media format you throw at it. I originally profiled these tools as a part of my 24 Days of Linux Toys series on a user there suggested that you might choose mpv as a suitable mplayer replacement, but I'll leave that up to the reader to explore and decide. Today we're going to look at three tools for enjoying sound and video at your Linux terminal: youtube-dl, mplayer, and cava. Some of these tools work better than others, of course, but a lot of them are worth poking around to see if they work for you. If you poke around GitHub for long enough, you can find a command line utility to replace the graphical front end of just about every service out there, at least those with an accessible API. ![]() We all have a tool that we begrudge having to leave the command line to use, whether it's for a web browser or a desktop GUI application. Win XP, Lazarus 0.9.10beta, mplayer-mingw32-1.0pre7 ( a system administrator, you probably spend a lot of time at your terminal. Process.CommandLine := 'c:\mplayer\mplayer.exe -slave some.avi', mean that it will listening stdin only for its own command (play, pause. After this program hang, and when I kill it, console window stay alive and difficult to close. Program raising console window with cursor line inside, with mplayer logo even, and. All hot key and console commands work corectly.īut, I want control it through my application. Process.CommandLine := 'c:\mplayer\mplayer.exe some.avi' Īll work correctly: program raising console window, mplayer write in this window its info data, raising video window and play video. But in Lazarus I have problem when working with it. I need some specific controlling features for playing video then working, so decided design own simle GUI for mplayer. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |