标签: python raspberry-pi omxplayer
我正在使用omxplayer在树莓派中自动显示视频文件 但我只能循环播放视频。如何按指定的顺序在文件夹中显示多个视频?
from omxplayer.player import OMXPlayer from pathlib import Path from time import sleep VIDEO_PATH = Path("media/test_media_1.mp4") player = OMXPlayer(VIDEO_PATH,args=['--loop'])