推荐学习书目
› Learn Python the Hard Way
Python Sites
› PyPI - Python Package Index
› http://diveintopython.org/toc/index.html
› Pocoo
值得关注的项目
› PyPy
› Celery
› Jinja2
› Read the Docs
› gevent
› pyenv
› virtualenv
› Stackless Python
› Beautiful Soup
› 结巴中文分词
› Green Unicorn
› Sentry
› Shovel
› Pyflakes
› pytest
Python 编程
› pep8 Checker
Styles
› PEP 8
› Google Python Style Guide
› Code Style from The Hitchhiker's Guide
huson
V2EX  ›  Python

请问 Python 有没有控制视频播放的库?

  •  
  •   huson · Apr 18, 2015 · 6360 views
    This topic created in 4191 days ago, the information mentioned may be changed or developed.
    想让多台电脑同时同步播放同一个视频,但是找来找去没有实现的方法
    2 replies  •  2015-04-19 13:16:50 +08:00
    em70
        1
    em70  
       Apr 19, 2015 via Android
    Python不是万能的,完全这个需求要自己实现播放器,最好在VLC,mplayer这些开源播放器基础上做,都是基于C++的。

    但一般同时同步播放,不一定需要那么精确同步,可以搭建rtmp服务器,用web flash来播放,这是很成熟的直播技术,延迟3-5分钟。
    bombless
        2
    bombless  
       Apr 19, 2015
    可以用 mplayer,控制是使用的 TCP(要么就是管道,我忘了),这样用 Python 控制也没问题。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   936 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 19:37 · PVG 03:37 · LAX 12:37 · JFK 15:37
    ♥ Do have faith in what you're doing.