Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

9 лет назад
9 лет назад
5 лет назад
5 лет назад
9 лет назад
9 лет назад
9 лет назад
9 лет назад
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  1. # Main configuration file for video looper.
  2. # You can change settings like what video player is used or where to search for
  3. # movie files. Lines that begin with # are comments that will be ignored.
  4. # Uncomment a line by removing its preceding # character.
  5. # Video looper configuration block follows.
  6. [video_looper]
  7. # What video player will be used to play movies. Can be either omxplayer or
  8. # hello_video. omxplayer can play common formats like avi, mov, mp4, etc. and
  9. # with full audio and video, but it has a small ~100ms delay between loops.
  10. # hello_video is a simpler player that doesn't do audio and only plays raw H264
  11. # streams, but loops seemlessly. The default is omxplayer.
  12. video_player = omxplayer
  13. #video_player = hello_video
  14. # Where to find movie files. Can be either usb_drive or directory. When using
  15. # usb_drive any USB stick inserted in to the Pi will be automatically mounted
  16. # and searched for video files (only in the root directory). Alternatively the
  17. # directory option will search only a specified directory on the SD card for
  18. # movie files. Note that you change the directory by modifying the setting in
  19. # the [directory] section below. The default is usb_drive.
  20. file_reader = usb_drive
  21. #file_reader = directory
  22. # The rest of the configuration for video looper below is optional and can be
  23. # ignored.
  24. # Control whether informative messages about the current player state are
  25. # displayed, like the number of movies loaded or if it's waiting to load movies.
  26. # Default is true to display these messages, but can be set to false to disable
  27. # them entirely.
  28. osd = true
  29. #osd = false
  30. # To play random playlist.
  31. is_random = false
  32. # Control the program via keyboard
  33. # If enabled, hit ESC key to quit the program anytime (except countdown).
  34. #keyboard_control = false
  35. keyboard_control = true
  36. # Play video only if GPIO Pin is up (or down).
  37. gpio_control = true
  38. gpio_control_pin = 1
  39. gpio_control_upstate = 1
  40. gpio_control_pullUpDnControl = 1
  41. # Set the background to a custom image
  42. # This image is displayed between movies
  43. # Can potentially look broken if video resolution is smaller than display resolution
  44. # bgimage = /home/pi/static/bg.png
  45. bgimage =
  46. # Change the color of the background that is displayed behind movies (only works
  47. # with omxplayer). Provide 3 numeric values from 0 to 255 separated by a commma
  48. # for the red, green, and blue color value. Default is 0, 0, 0 or black.
  49. bgcolor = 0, 0, 0
  50. # Change the color of the foreground text that is displayed with the on screen
  51. # display messages. Provide 3 numeric values in the same format as bgcolor
  52. # above. Default is 255, 255, 255 or white.
  53. fgcolor = 255, 255, 255
  54. # Output program state to standard output if true.
  55. console_output = true
  56. #console_output = false
  57. # Directory file reader configuration follows.
  58. [directory]
  59. # The path to search for movies when using the directory file reader.
  60. path = /home/pi
  61. # USB drive file reader configuration follows.
  62. [usb_drive]
  63. # The path to mount new USB drives. A number will be appended to the path for
  64. # each mounted drive (i.e. /mnt/usbdrive0, /mnt/usbdrive1, etc.).
  65. mount_path = /mnt/usbdrive
  66. # Whether to mount the USB drives as readonly (true) or writable (false). It is
  67. # recommended to mount USB drives readonly for reliability.
  68. readonly = true
  69. # omxplayer configuration follows.
  70. [omxplayer]
  71. # List of supported file extensions. Must be comma separated and should not
  72. # include the dot at the start of the extension.
  73. extensions = avi, mov, mkv, mp4, m4v
  74. # Sound output for omxplayer, either hdmi, local, or both. When set to hdmi the
  75. # video sound will be played on the HDMI output, and when set to local the sound
  76. # will be played on the analog audio output. A value of both will play sound on
  77. # both HDMI and the analog output. The both value is the default.
  78. sound = both
  79. #sound = hdmi
  80. #sound = local
  81. # Sound volume output for the video player will be read from a file near the
  82. # video files. If the file does not exist, a default volume of 0db will be used.
  83. # To use this feature create a file in the same directory as the videos and name
  84. # it the value defined below (like 'sound_volume' by default), then inside the
  85. # file add a single line with the volume value in text to pass to omxplayer (using
  86. # its --vol option which takes a value in millibels).
  87. sound_vol_file = sound_volume
  88. # Any extra command line arguments to pass to omxplayer. It is not recommended
  89. # that you change this unless you have a specific need to do so! The audio and
  90. # video FIFO buffers are kept low to reduce clipping ends of movie at loop.
  91. extra_args = --no-osd --audio_fifo 0.01 --video_fifo 0.01
  92. # hello_video player configuration follows.
  93. [hello_video]
  94. # List of supported file extensions. Must be comma separated and should not
  95. # include the dot at the start of the extension.
  96. extensions = h264