vlc

Mjpeg VLC and HTTP Streaming

醉酒当歌 提交于 2019-12-09 07:18:20
问题 I'm generating a MJpeg Stream and trying to stream it to VLC and play it there. The code: public void SendMultiPartData(String contentType, Func<byte[]> getData) { MemoryStream mem = null; response.StatusCode = 200; for ( byte[] buffer = getData(); buffer != null && buffer.Length > 0; buffer = getData()) { response.ContentType = "multipart/x-mixed-replace; boundary=--testboundary"; ASCIIEncoding ae = new ASCIIEncoding(); byte[] boundary = ae.GetBytes("\r\n--testboundary\r\nContent-Type: " +

Replace VLC plugin for Multicast (NPAPI Deprecated)

ⅰ亾dé卋堺 提交于 2019-12-08 14:54:06
问题 we were using the vlc plugin in Chrome to play a multicast stream (RTP Ipv6) but with the deprecation of NPAPI-Plugins we need an alternative. I was trying to search something about html5 video but nothing. NPAPI deprecation: developer guide Any idea? Thanks 回答1: RTP directly to the browser is not a solution I'd use today. The implementation effort to transform a number of RTP packets to Media Segments accepted by the Media Source Extension (MSE) is rather high and perhaps it's not even

How to re-multiplex Multiple Program Transport Stream (MPTS) files into a single TS?

依然范特西╮ 提交于 2019-12-08 14:24:32
问题 I have multiple MPTS files recorded from satellite receivers, I need to cherry pick programs/services/PIDS from each file re-multiplex them into a single MPTS file. Optionally I might be able to get away with taking all the services from every file and adding them to the final MPTS (In case anyone knows about a multiplexer that wouldn't allow me to cherry pick programs) Does anybody know how to do this with open source or free software (like VLC or ffmpeg for example) under either windows or

VLC Python Bindings — Error 193

ぐ巨炮叔叔 提交于 2019-12-08 12:46:15
问题 Have downloaded VLC.py, and placed it in my VLC install directory, where libvlc.dll is also present On typing import vlc I get the following error Traceback (most recent call last): File "C:\Program Files (x86)\VideoLAN\VLC\vlc.py", line 88, in dll = ctypes.CDLL('libvlc.dll') File "C:\Python27\lib\ctypes__init__.py", line 353, in init self._handle = _dlopen(self._name, mode) WindowsError: [Error 193] %1 is not a valid Win32 application Any ideas why? If needed, my config is: Win7 pro 64 bit

Play/Forward video in 2x 3x 4x speed in mobilevlckit didn't work

醉酒当歌 提交于 2019-12-08 11:36:54
问题 In my project, I code trickplay like the following, but the code didn't work.How to solve this problem. If you guys have any ideas, help me . func didTrickPlayValueChanged(_ atRate: Float!){ if( atRate == 1.0){ vlcMediaPlayer.fastForward(atRate: 1.00) } else if(atRate == 2.0){ vlcMediaPlayer.fastForward(atRate: 2.00) } else if(atRate == -2.0){ vlcMediaPlayer.fastForward(atRate: -2.00) } else if(atRate == -1.0){ vlcMediaPlayer.fastForward(atRate: -1.00) }else{ vlcMediaPlayer.fastForward(atRate

vlc.Instance: AttributeError(“module 'vlc' has no attribute 'Instance'”)

限于喜欢 提交于 2019-12-08 10:50:35
问题 I'm trying to make it so that the VLC player will import correctly so that it will play a series of VLC media files in succession. However, I cannot seem to get VLC to import properly! I've downloaded the vlc.py and added it to my workspace. It looks like this; import vlc class PlayerWindow(Frame): def __init__(self, parent): super().__init__() self.parent = parent self.parent.attributes('-alpha', 0) self.parent.attributes("-fullscreen", True) self.parent.bind_all("<Key>", self.key) # VLC

android - can't compile VLC project with Android Studio

大城市里の小女人 提交于 2019-12-08 10:37:35
问题 I downloaded the VLC sources from this link: https://code.videolan.org/videolan/vlc-android and tried to open it in Android Studio 2.1 on Windows 8. When the project was opened I got a message 'Could not find com.jakewharton.sdkmanager:sdk-manager-plugin:1.5.0-SNAPSHOT' Anyone encountered this issue? How to cure it? UPDATED: Downloaded the required pack to the directory it tried to search in (C:\Program Files\Android\Android Studio\gradle\m2repository\com) Now I have CreateProcess error=2 回答1

Setting options for VLC ActiveX Plugin

◇◆丶佛笑我妖孽 提交于 2019-12-08 06:45:14
问题 I was able to use the vlc activex plugin (version 1 and 2) in a c#.net application to display videos. It runs nicely, but I can't set any options. Here's the code: string options = "--brightness=2"; // I also tried ":brightness" axVLCPlugin1.addTarget("file:///"+ filePath1, options, AXVLC.VLCPlaylistMode.VLCPlayListReplaceAndGo, 0); axVLCPlugin1.play(); This is for version 1. Version 2 gives the same results. The "options" do not have any effect on the displayed video. The documentation says

How to draw on the top of an inherited widget (VlcVideoWidget)?

别说谁变了你拦得住时间么 提交于 2019-12-08 05:59:20
问题 How can I draw something on a VLC Video Widget? I'm using VLC-Qt library to play video on a widget in my Qt application. My application requires drawing a text (or something like) on all videos. I already tried subclassing VlcWidgetVideo and reimplementing paintEvent . The method works when no video is playing. Though immadiately after starting to play, my paintings disappear. It looks like they are under VLC's video... The code: class TrackerWidgetVideo : public VlcWidgetVideo{ // Blah blah

GStreamer stream audio and video via UDP to be able to playback on VLC

为君一笑 提交于 2019-12-08 05:44:32
问题 I am trying to stream audio and video via Gstreamer via UDP but playback on VLC only returns video without audio. Currently I am using a sample of Big Buck Bunny and have confirmed that it does have audio. I am planning to use Snowmix to feed media to Gstreamer output in the future. Streaming from file source via UDP to playback on VLC I currently perform by: gst-launch-1.0 -v uridecodebin uri=file:///home/me/files/Snowmix-0.5.1/test/big_buck_bunny_720p_H264_AAC_25fps_3400K.MP4 ! queue !