vlc

libVLC function media_player_new() throws Segmentation Fault

て烟熏妆下的殇ゞ 提交于 2019-12-07 06:33:40
问题 media_player_new() throws segmentation fault. import vlc ins=vlc.Instance() player=ins.media_player_new() Here is where it crashes: Thread 0 Crashed: Dispatch queue: com.apple.main-thread 0 libvlc.dylib 0x000000010059aa78 libvlc_media_player_new + 24 libvlc.dylib is in the place where script is looking: /Applications/VLC.app/Contents/MacOS/lib vlc.py can be found here: git://git.videolan.org/vlc/bindings/python.git Any ideas why or how to debug? 回答1: Launch Python in 32 bit modes by running

Launch VLC in Java and connect to it via rc interface

末鹿安然 提交于 2019-12-07 04:29:27
问题 I've already seen this thread, but I'm still having an issue: starting vlc player in java It appears the Java bindings for VLC are no longer under active development and do not support everything possible on the command line anyway. Given the following code, I can't launch VLC from a Java application on Mac OS 10.5.8 (Java 1.6) and then connect to it via the rc interface through the Terminal or another Java application. public class Main { public static void main(String[] args) { String s =

ActiveX VLC Player events are not working

笑着哭i 提交于 2019-12-06 23:37:40
问题 I have incorporated ActiveX VLC pligin to WPF application. And VLC Plugin is working fine. AxVLCPlugin vlc = new AxVLCPlugin(); vlc.MediaPlayerEncounteredError += vlc_MediaPlayerEncounteredError; vlc.MediaPlayerOpening += vlc_MediaPlayerOpening; vlc.MediaPlayerBuffering += vlc_MediaPlayerBuffering; vlc.MediaPlayerEndReached += vlc_MediaPlayerEndReached; // // Other code // like windowsFormsHost1.Child = vlc; and etc vlc.addTarget(videoURL, null, AXVLC.VLCPlaylistMode.VLCPlayListReplace, 1);

MobileVLCKit iOS Camera roll video “VLC is unable to open the MRL” error

耗尽温柔 提交于 2019-12-06 21:38:21
问题 I have integrated MobileVLCKit Version: 2.2.2 in my iOS project. Having trouble playing the local videos from Camera Roll. Videos from document directory and streaming are working fine though. I am using this code to extract the url of PHAsset object: - (void)urlForPhAsset:(PHAsset*)phAsset withCompletionBlock:(void (^)(NSURL* url))completionBlock{ [[PHImageManager defaultManager] requestAVAssetForVideo:phAsset options:nil resultHandler:^(AVAsset * _Nullable asset, AVAudioMix * _Nullable

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

ぃ、小莉子 提交于 2019-12-06 20:34:25
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 blah protected: void paintEvent(QPaintEvent *); } // ....... void TrackerWidgetVideo::paintEvent

Play video file with VLC, then quit VLC

↘锁芯ラ 提交于 2019-12-06 17:18:27
问题 I am working on a simple Python script that is supposed to do something, then play a video file, and then do some more stuff. I am forced to do this on a Windows XP machine with Python 3.2.3 and VLC to play my video file. I am currently using this code... vlc_path = '\\path\\to\\vlc.exe' video_path = '\\path\\to\\video\\file' subprocess.call([vlc_path, video_path]) ... to open VLC and play the video. It works nicely. However, the script waits for VLC to quit before it goes on. Which is good

使用VLC在macOS上观看IPTV电视

旧城冷巷雨未停 提交于 2019-12-06 16:39:07
怎么在macOS上看电视呢,你可能会在搜索引擎中找各种看直播的软件,可是mac中的直播软件大多是个人开发的,直播源也不能在线更新,下面小编给大家带来通过VLC观看IPTV最方便的方法。 https://www.macdown.com 安装 VLC 软件 VLC 是一款自由、开源的跨平台多媒体播放器及框架,可播放大多数多媒体文件,以及各类流媒体协议,而IPTV就是一种流媒体,所以用VLC再适合不过了,点击下面的链接下载安装即可。 寻找IPTV播放源 这里就要祭出大杀器,github上开源的iptv收录源,共收录了全球各个国家8000+的iptv节目源,其中中国有2722个。 Github开源直播源地址一 Github开源直播源地址二 在Github中找到你喜欢的播放源,或者直接复制中国的IPTV源。 将播放源添加到VLC 1、打开VLC 2、如果VLC未设置为中文,在应用程序中打开VLC,然后在左上角菜单栏点击【preferences】,如图: 点击红框内的【auto】,如图: 选择【简体中文】,然后点击【save】保存,如图: 重新启动【vcl】,然后VLC for mac 中文设置成功! 3、在软件中的播放列表中,选择打开媒体,在弹出窗口中,选择 网络 项,粘贴刚才复杂的iptv的链接,再点打开; 添加完成后,在列表中双击一下标题,即可加载所有的IPTV列表

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

非 Y 不嫁゛ 提交于 2019-12-06 15:43:52
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 ! videoconvert ! x264enc ! mpegtsmux ! queue ! udpsink host=230.0.0.1 port=4012 sync=true which allows me to

VLC stream to MP4 WEBM and Flash

时光毁灭记忆、已成空白 提交于 2019-12-06 14:29:31
I am trying to stream video from a IP Cam to my my Wordpress site. I would like my stream to be available via common devices Windows, Mac, Android and IOS. Currently I am using VLC to stream,but I can only get a flash stream to work but I would like to do FLV, MP4 and webm. What player should I use to display the MP4 and webm video on the site? Also I don't think the calls to VLC are correct cause I can't open the MP4 and webm stream in VLC on another computer, but I can open the flv stream. VLC Script: cd "C:\Program Files (x86)\VideoLAN\VLC" vlc -vvv -I dummy http://IP/cgi/mjpg/mjpg.cgi

RTSP server java implementation problems :(

旧街凉风 提交于 2019-12-06 10:39:36
I'm writing RTSP server and have some problems. I'm using VLC as client. Server receive OPTIONS, DESCRIBE, SETUP and PLAY commands from client (VLC player) and answers to that commands. By SETUP command client send ports numbers and I'm using that ports to send data. When my server receive PLAY command it's sending the answer and starting to stream data. I'm creating two DatagramSocket instances with the client ports. I'm trying to stream mp4 files. I'm using mp4parse java library to get audio and video tracks data to stream. So, when I click play on VLC it's connecting and starting waiting