mp4 특정 부분 실행하기
# mp3.pyplayer = QMediaPlayer()# 1초=1000start = int(sys.argv[1])end = int(sys.argv[2])def getPosition(pos): print(pos) if pos > end: player.stop() # 프로그램을 완전히 종료하기 위해서 필요 sys.exit()app = QApplication(sys.argv) playlist = QMediaPlaylist()url = QUrl.fromLocalFile('a.mp4')playlist.addMedia(QMediaContent(url)) player.setPlaylist(playlist)player.setPosition(start)player..
2024.05.06