Open up the “ s” file in your favorite text editor and delete the lines you don’t want to watch. $ find -maxdepth 1 -type f -name \*.\* | sort > s To create a playlist using files in current directory use this command. In that case, we need to create a playlist and delete the part we have already watched (or don’t want to watch). Let’s say you have already watched first 20 videos on this directory and you want to watch the rest. However, not always we sit and watch the whole series. This command will play all the files in current directory with our start and end time specified on each. Or we can also use this command (we are listing each file in this case, but the end result is same) find. We can just use wild card character ( *) with our extension to play all the videos. Thankfully in most cases most of our videos are listed sequentially in a directory. If we can figure out roughly when the videos in the series start and roughly when the videos end, we can specify the section, in the middle which we are going to watch (i.e waste least amount of time for those starting and endings). In my opinion this use case is suitable for our purpose. In this case video seeks to 80 seconds at the beginning and ends 1 minutes 30 seconds from end. Specifying end from end $ mpv -start=80 -end=-90 In this case video seeks to 30 seconds and ends at 40 seconds. You can see all of these examples in mpv manual ( man mpv).Ĭ. This seeks to 3 minutes 20 seconds and only plays 10 seconds of the video. If you know the length you can use $ mpv -start=3:20 -length=10 Similarly there are options like 01:10:00 to seek 1 hour 10 minutes, 50% to start playing at middle.ī. Start at a specific time $ mpv -start=80 Therefore, I am going to use mpv ( mpv is a fork of mplayer2 and MPlayer) for our purpose.Ī. Since I love mplayer/smplayer for playing most videos, I am not going to deviate from those lines. In this tutorial, I wish to tackle that problem. Also, if you are just starting to watch a series recommended by others, those extra 5 minutes could be saved to watch next video and progress quickly. 1.Sometimes we like to watch cool starting and ends of videos (like the heart touching ending), but after a time those could become repetitive and boring. Please keep in mind that the list is in no particular order of ranking. I have mentioned the commands, but if you like, you can install them from the Software Center. You should have universe repository enabled to find and install these video players from the software center or by using the command line. These open-source video players should be available in any Linux distribution you are using.Īnother note for Ubuntu users. I have included the installation steps for Ubuntu but that shouldn’t make it a list of Ubuntu video players. You won’t have an issue utilizing the default player-however, if you want more open-source video player choices (or alternatives to the default one), you can find them here. Usually, you go with the default video player that comes baked in with your Linux distribution (that could be anything). Watching movies/TV series or other media content on computers is not an ‘ancient tradition’ yet. You can also download videos from YouTube and watch them later, or if you are in a country where you cannot get Netflix and other streaming services, you may have to rely on torrent services like Popcorn Time in Linux. You can watch Hulu, Prime Video and/or Netflix on Linux. Wondering which video player you should use on Linux? Here’s a list of top open source video players available for Linux distributions.
0 Comments
Leave a Reply. |