Python:VLC流式传输错误 [英] Python: VLC streaming error

查看:368
本文介绍了Python:VLC流式传输错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

该模块设法以某种方式正常工作引用

The module somehow managed to work Refer

但是现在尝试运行程序时:

But now while trying to run the program:

import vlc
i = vlc.Instance('--verbose 2'.split())
p = i.media_player_new()
p.set_mrl('rtp://@192.168.1.109:8080/video')
p.play()

我收到以下错误:

[002d332c] main libvlc debug: VLC media player - 2.1.5 Rincewind
[002d332c] main libvlc debug: Copyright ■ 1996-2014 the VideoLAN team
[002d332c] main libvlc debug: revision 2.1.5-9-gb3fd0af
[002d332c] main libvlc debug: configured with ../extras/package/win32/../../../configure  '--enable-update-check' '--enable-lua' '--enable-faad' '--enable-flac' '--enable-theora' '--enable-twolame' '--enable-quicktime' '--enable-avcodec' '--enable-merge-ffmpeg' '--enable-dca' '--enable-mpc' '--enable-libass' '--enable-x264' '--enable-schroedinger' '--enable-realrtsp' '--enable-live555' '--enable-dvdread' '--enable-shout' '--enable-goom' '--enable-caca' '--disable-sdl' '--enable-qt' '--enable-skins2' '--enable-sse' '--enable-mmx' '--enable-libcddb' '--enable-zvbi' '--disable-telx' '--enable-nls' '--disable-dirac' '--host=i686-w64-mingw32' 'host_alias=i686-w64-mingw32'
[002d332c] main libvlc debug: using multimedia timers as clock source
[002d332c] main libvlc debug:  min period: 1 ms, max period: 1000000 ms
[002d332c] main libvlc debug: searching plug-in modules
[002d332c] main libvlc debug: loading plugins cache file C:\Program Files (x86)\VideoLAN\VLC\plugins\plugins.dat
[002d332c] main libvlc debug: recursively browsing `C:\Program Files (x86)\VideoLAN\VLC\plugins'
[002d332c] main libvlc debug: saving plugins cache C:\Program Files (x86)\VideoLAN\VLC\plugins\plugins.dat
[002d332c] main libvlc debug: plug-ins loaded: 391 modules
[002d332c] main libvlc debug: translation test: code is "C"
[002d332c] main libvlc debug: CPU has capabilities MMX MMXEXT SSE SSE2 SSE3 SSSE3 SSE4.1 FPU 
[02b0419c] main input debug: Creating an input for 'rtp://192.168.1.109:8080/video'

***Repl Closed***

SublimeREPl用红色突出显示路径行,如下所示:

The path lines are highlighted in red by SublimeREPl as seen here:

推荐答案

我认为该软件包适用于* nix,不适用于Windows.

I think this package is for *nix not for Windows.

这篇关于Python:VLC流式传输错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆