libvlc

libvlc_new (0, NULL); segmentation fault

血红的双手。 提交于 2019-12-06 08:52:41
I have a problem when I use this line : vlcInstance = libvlc_new(0, NULL); vlcInstance is declare in my header: libvlc_media_player_t *vlcPlayer; I am using Qt 5.0.1 and I have this error: The inferior stopped because it received a signal from the Operating System. Signal name : SIGSEGV Signal meaning : Segmentation fault Can anyone help me? I am using Qt Creator 2.7.2 with QT 5.1.0 on 64-bit Kubuntu 13.04. I'm also using vlc-2.2.0-git. I created a new QT project. I added this to the new project file (change your vlc paths as needed): INCLUDEPATH += /home/linux/vlc/install/include LIBS += -L"

Using VlcManager with last version of Vlc.DotNet

回眸只為那壹抹淺笑 提交于 2019-12-06 08:42:35
问题 I'm trying to use the Vlc.DotNet library for my WinForms C# application. I wan't to use the VlcManager from the Core.Interops of the Vlc.DotNet library but there is no recent documentation. In earlier version you can create an instance of the VlcControl and the VlcManager and set the VlcManager to the VlcControl, but this isn't availible anymore within the last version of Vlc.DotNet. Can anybody tell my how I can add (multiple) VlcControls to a VlcManager? This should decrease memory usage

Transparency of QDeclarativeView containing QML on top of a QWidget playing a video (using either phonon or libvlc)

巧了我就是萌 提交于 2019-12-05 12:40:09
I am currently developing a video player. The GUI as the topmost layer is written in QML. It should be transparent to lower layers. It contains control elements, some Lists etc., It's displayed using a QDeclarativeView . Description QDeclarativeView *upperLayer = new QDeclarativeView(this); upperLayer->setSource(QUrl("/home/projects/QtVideo/qml/videoControl.qml")); upperLayer->setStyleSheet(QString("background: transparent"); upperLayer->setResizeMode(QDeclarativeView::SizeRootObjectToView); uperLayer->showFullScreen(); The layer underneath is a QWidget: I use the libvlc to display the video

libVLC function media_player_new() throws Segmentation Fault

落爺英雄遲暮 提交于 2019-12-05 10:21:18
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? Launch Python in 32 bit modes by running export VERSIONER_PYTHON_PREFER_32_BIT=yes This is not an ideal solution, but it works for me. Applying these

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

最后都变了- 提交于 2019-12-05 01:42:20
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 audioMix, NSDictionary * _Nullable info) { NSURL* url= nil; if([asset isKindOfClass:[AVURLAsset class]]){

VLC syntax to transcode and stream to stdout?

懵懂的女人 提交于 2019-12-04 23:35:18
Goal: I am trying to use VLC as a local server to expand the video capabilities of an app created with Adobe AIR , Flex and Actionscript . I am using VLC to stream to stdout and reading that output from within my app. VLC Streaming capabilities VLC Flash Video Stream VLC to Website with asf and Flash Status: I am able to launch VLC as a background process and control it through its remote control interface ( more detail ). I can load, transcode and stream a local video file. The example app below is a barebones testbed demonstrating this. Issue: I am getting data in to my app but it is not

Using VlcManager with last version of Vlc.DotNet

别说谁变了你拦得住时间么 提交于 2019-12-04 14:52:57
I'm trying to use the Vlc.DotNet library for my WinForms C# application. I wan't to use the VlcManager from the Core.Interops of the Vlc.DotNet library but there is no recent documentation. In earlier version you can create an instance of the VlcControl and the VlcManager and set the VlcManager to the VlcControl, but this isn't availible anymore within the last version of Vlc.DotNet. Can anybody tell my how I can add (multiple) VlcControls to a VlcManager? This should decrease memory usage and gives the possibility to use more functionalities, like NextFrame. Code I could use in earlier

How to save video stream using VLC in commandline?

对着背影说爱祢 提交于 2019-12-04 14:17:33
I'm trying to save online video using VLC in command line on Window 7 Basic. Here are few things I tried and worked partially: I:\movies> vlc http://media.ch9.ms/ch9/7492/a92ae0a6-7b81-4114-b102aa055d147492/E2EMeijerBrachaDartMonadsContinuations.wmv --sout="#duplicate{dst=std{access=file,mux=wmv,dst='file.wmv'}, dst=display}" It plays the video while streaming, and it also saves the stream to file.wmv . But the saved video doesn't have audio! The command worked partially. Another try for youtube: I:\movies> vlc http://www.youtube.com/watch?v=TFr6G5zveS8 --sout="#duplicate{dst=std{access=file

Create a videoplayer with the LibVLC for android

情到浓时终转凉″ 提交于 2019-12-04 13:32:47
问题 I am trying to creat a video player for an android app with the last LibVLC. The problem is that I don't know how this lib works and I can't find sample to help me (as it is say here https://bitbucket.org/edwardcw/libvlc-android-sample) So I try on my own to create the video player : public class VideoPlayerActivity extends AppCompatActivity implements IVideoPlayer, GestureDetector.OnDoubleTapListener, IDelayController { private static LibVLC LibVLC() { return VLCInstance.get(); } private

android libvlc multiple surface problems

你离开我真会死。 提交于 2019-12-03 16:11:07
问题 I would know if is possible to use two surface in same layout and view each at same time. In future I would a grid-view of video-view, but each video-view using vlc. I modify this sample (android-vlc-sample) using fragment. The result is that I see only one video...How can I solve ? From log-cat I not see important error, but I think that there are rendering problems for android UIThread Java Coding public class MultipleVideoPlayFragmentActivity extends FragmentActivity { public final static