In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/01 Report--
In this issue, Xiaobian will bring you about how to open the default mode of Raspberry Pi video. The article is rich in content and analyzes and narrates from a professional perspective. After reading this article, I hope you can gain something.
Raspberry Pi omxplayer is a command line player, playing video is quite good, but the command line is not convenient to play, such as some Chinese name video, input method is not convenient input, remote terminal can input Chinese, but can not play, local terminal can only ls list files, copy and paste file names to play, quite inconvenient. Double-clicking in a file browser to open a file is familiar to everyone, but linux is not so convenient.
Double-click to open the video file here will prompt you to select the application. If you have installed other visual players, you can directly select them under the installed application directory. Here, only omxplayer configuration is introduced. After all, this supports many video playback formats and also supports hard decoding. Here we choose "Custom Command", and at the beginning I filled in the command as
omxplayer %f
Video can be opened and played, but it cannot be controlled, such as video pause, volume control, exit, can only wait for it to finish playing. To fully control video playback using omxplayer's various shortcuts, check "execute in terminal simulator" below, however, to associate file opening methods instead of typing commands here every time, fill in "settings to maintain association" below and check "default actions for file types" below. But simply filling omxplayer %f in the associated place, still can't control the video playback, and then I try again
sh omxplayer %fbash omxplayer %f
Can't hit the effect, finally test the following command, perfect double-click to open the video, and can control the video playback, command yourself to play it, here will not write. Remember to tick the radio button at the bottom to select the default action.
The above is how to carry out the default opening mode operation of the Raspberry Pi video shared by Xiaobian for everyone. If there is a similar doubt, please refer to the above analysis for understanding. If you want to know more about it, please pay attention to the industry information channel.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.