Now add yourself to the group named 'video': To accomplish this, do the following under root: One solution would be to run Omxplayer as root, but a nicer solution is to add a udev rule so that /dev/vchiq is also accessible from other users. On bare installations of the default distributions, Omxplayer often has insufficient permissions to access /dev/vchiq. On Raspbian, xrefresh is part of the x11-xserver-utils package Or you can use a small Bash script for video playback to do this every time: If you get a black screen on your X11 desktop after Omxplayer is finished, you can use this command to restore your view: Troubleshooting Black screen after playback hdmi: hdmi output (hdmi_drive=2 is then required in config.txt).It is possible to select the audio output by specifying -o or -adev on the command line between: Support for RTSP was added in 2012 (for instance, allowing the use of VLC media player as the streaming server). URL with Omxplayer, just change the head rtmp:// to rtmpt://. If you have the URL of a (H.264) rtmp:// stream, just stream it with: You do not need to download an MP4 file to watch it with Omxplayer. lavfdopts 'opts' Options passed to libavformat, e.g. user-agent 'ua' Send specified User-Agent as part of HTTP requests cookie 'cookie' Send specified cookie as part of HTTP requests layer n Set video render layer number (higher numbers are on top) key-config Uses key bindings in instead of the default fps n Set fps of video where timestamps are not present orientation n Set orientation of video (0, 90, 180 or 270) timeout n Timeout for stalled file/network operations (default 10s) threshold n Amount of buffered data required to finish buffering video_queue n Size of video input queue in MB audio_queue n Size of audio input queue in MB video_fifo n Size of video output fifo in MB audio_fifo n Size of audio output fifo in seconds Default: stretch if win is specified, letterbox otherwise aspect-mode type Letterbox, fill, stretch. crop x1,y1,x2,y2 Set crop area for input video crop 'x1 y1 x2 y2' Set crop area for input video win x1,y1,x2,y2 Set position of video window win 'x1 y1 x2 y2' Set position of video window lines n Number of lines in the subtitle buffer (default: 3) no-ghost-box No semitransparent boxes behind subtitles align left/center Subtitle alignment (default: left) font-size size Font size in 1/1000 screen height (default: 55) italic-font path Default: /usr/share/fonts/truetype/freefont/FreeSansOblique.ttf font path Default: /usr/share/fonts/truetype/freefont/FreeSans.ttf subtitles path External subtitles in UTF-8 srt format no-keys Disable keyboard input (prevents hangs for certain TTYs) no-osd Do not display status information on screen amp n set initial amplification in millibels (default 0) vol n set initial volume in millibels (default 0) no-boost-on-downmix Don't boost volume when downmixing r -refresh Adjust framerate/resolution to video z -nohdmiclocksync Do not adjust display refresh rate to match video y -hdmiclocksync Display refresh rate to match video (default) M -allow-mvc Allow decoding of both views of MVC stereo stream advanced Allow advanced deinterlace for HD videos nativedeinterlace let display handle interlace I -with-info dump stream format before playback
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |