libvlc

how to import vlc plugins in to python script

你离开我真会死。 提交于 2019-12-13 00:46:00
问题 I'm trying to play the video using libvlc with python script, for that i got one script in the stack overflow post. the script is follows: import os import sys import vlc if __name__ == '__main__': #filepath = <either-some-url-or-local-path> movie = os.path.expanduser(filepath) if 'http://' not in filepath: if not os.access(movie, os.R_OK): print ( 'Error: %s file is not readable' % movie ) sys.exit(1) instance = vlc.Instance("--sout=#duplicate{dst=file{dst=example.mpg},dst=display}") try:

Anyone used libvlc on Mac?

核能气质少年 提交于 2019-12-12 21:23:43
问题 Edit I've been able to simplify the reproduction of the error: When trying to build this sample: $ cc example.c -arch i386 -lvlc.2 -L/Applications/VLC.app/Contents/MacOS/lib/ -I/Applications/VLC.app/Contents/MacOS/include/ -o example $ ./example dyld: Library not loaded: @loader_path/lib/libvlc.2.dylib Referenced from: /Users/francis/src/playground/libvlc/./example Original Post I am experiencing the following behavior: Create new XCode project (Cocoa or command line tool) Link with libvlc.2

iOS - Building VLC for iOS - Please install required SDK, or set SDKROOT manually

倾然丶 夕夏残阳落幕 提交于 2019-12-12 14:07:32
问题 I have upgraded my xcode to 4.5, now I am Building VLC for iOS and countered that SDK version 5.1 not found. I have fully installed all the sdk's in my xcode 4.5 Mac-Muhammad-Umair-Mirza:vlc muhammad.umair$ ./extras/package/ios/build.sh [info] Building libvlc for the iOS [info] Using armv7 with SDK version 5.1 usage: dirname path SDKROOT not specified, assuming /Volumes/Xcode/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.1.sdk *** /Volumes/Xcode/Xcode.app

Develop with LibVLC for android on Windows

和自甴很熟 提交于 2019-12-12 07:47:21
问题 I've struggled to even get a demo application running with Android-LibVLC. I can only find documentation for linux and can't get the application to run on my device (although it compiles). When I launch the application it logs: 12-16 15:58:19.572 9121-9121/? E/VLC/LibVLC﹕ Can't load vlcjni library: java.lang.UnsatisfiedLinkError: Couldn't load vlcjni from loader dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/com.compdigitec.libvlcandroidsample-1.apk"],nativeLibraryDirectories=

Using libVLC media_list instead of a media_player to play a directory of songs

我与影子孤独终老i 提交于 2019-12-12 04:15:15
问题 I'm trying to use libVLC v2 C bindings in order to play all the songs ( mp3 / m4a / ogg )s inside a directory given its path. I'm currently only using the module libvlc_media_player , with methods like libvlc_media_player_set_media to set a song from a given path. I see there is a module called libvlc_media_list , with libvlc_media_list_set_media . What is a libvlc_media_list and how do I set it with a path to a directory (with several audio files inside)? The libvlc_media_list_player takes a

Change Audio Stream in VideoLan DotNet for WPF

大城市里の小女人 提交于 2019-12-12 02:49:44
问题 We're using VideoLan DotNet for WPF to play DVD movies in our WPF application. Some movies have multiple audio stream. (for example in multiple languages) How can we choose the desired audio stream? While searching VideoLan's Wiki, I found this: [Browsable(false)] [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] public int AudioTrack { get { return this.nativeVlc.GetVlcObjectInt(ObjectType.VLC_OBJECT_INPUT, "audio-es", -1); } set { this.nativeVlc.SetVlcObjectInt

Provide description in SDP format for RTP stream

北慕城南 提交于 2019-12-11 19:20:18
问题 I'm using LibVLC library 2.1.12 to render an RTP stream to my Android device. I'm using the following SDP description to request RTP/AV packets to be delivered to the given IP address and port (192.168.0.33, port: 65446) v=0 o=- 1537446049254 1537446050285 IN IP4 192.168.0.33 s=- c=IN IP4 192.168.0.33 t=0 0 a=recvonly m=video 65446 RTP/AVP 97 a=rtpmap:97 H264/90000 a=fmtp:97 profile-level-id=42e01e;packetization-mode=1 On my server (android), I can see the incoming RTP packets. Code below:

Using vlc player in xamarin.android project

主宰稳场 提交于 2019-12-11 15:58:13
问题 use LibVLCSharp in my project cause the video pixeled and grey screen I tried to add file-caching=1500 to media player with no success and you can see my code below this.VideoPath = extras.GetString(INTENT_KEY_PARAM_VIDEO_PATH); Core.Initialize(); _libVLC = new LibVLC(); _mediaPlayer = new MediaPlayer(_libVLC); _videoView.MediaPlayer = _mediaPlayer; var mediaUri = Android.Net.Uri.Parse(this.VideoPath); var m = new Media(_libVLC, mediaUri.ToString(), FromType.FromPath); var configuration = new

sout option in nVLC

心已入冬 提交于 2019-12-11 09:17:37
问题 I am trying to record a stream using nVLC in my C# application. nVLC is essentially a C# wrapper around libvlc. Is the sout option supported in libvlc? Below is my C# code but it does not save the file. Here's my code: `m_media = m_factory.CreateMedia<IMedia>("rtsp://<url>"); List<string> mediaOptions = new List<string>(); mediaOptions.Add(@"sout=""#std{access=file,mux=ts,dst=C:\Users\hp\CCTV\Videos\\video.mpg}"""); m_media.AddOptions(mediaOptions); m_player.Open(m_media); m_media.Parse(true)

Cant set VLCKit for IOS

不问归期 提交于 2019-12-11 07:29:57
问题 The last days I'm trying to make an app for IOS including VLCKit. I tried to follow all the methods and tutorials that I found, but I can not get the application to compile correctly. I've tried using cocoapods pod 'MobileVLCKit', '~> 2.2' . But it ends up giving a compilation error, for lack of binaries, when I try to compile the application. I have told xcode not to use binaries, but that only causes more compilation errors, due to lack of functions. So I followed the advice of the Forum