vlc

VLC freezes for low 1 FPS video created from images with ffmpeg

╄→尐↘猪︶ㄣ 提交于 2019-12-05 17:41:18
问题 I am creating a short video from a sequence of 100 images using ffmpeg. There are several articles that helped me put together a command, but the one I'm using is directly taken from ffmpeg images-to-video script anyone?. The following command produces a video file that plays well in all video players I have (OS X). cat input/*.jpg | ffmpeg -f image2pipe -r 10 -vcodec mjpeg -i - out.mp4 But if I change it to, cat input/*.jpg | ffmpeg -f image2pipe -r 1 -vcodec mjpeg -i - out.mp4 It plays well

Change Frames Per Second for VLC Stream

可紊 提交于 2019-12-05 15:59:56
We are currently experimenting with streaming a webcam attached to one of our Linux servers (Ubuntu 12.04) using VLC, and although we are able to successfully stream the video and view it remotely, we need to change the number of frames per second (which is defaulting to 24). We are currently using the following command to create the stream: vlc v4l2:// :v4l2-dev=/dev/video0 \ :v4l2-width=640 \ :v4l2-height=480 -- \ sout="#transcode{vcodec=theo,vb=256}:standard{access=http,mux=ogg,dst=:8090}" \ -I dummy Would someone be able to show us how to modify this to change the number of frames per

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

ActiveX VLC Player events are not working

老子叫甜甜 提交于 2019-12-05 02:56:52
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); vlc.play(); But some how all events of VLC are not working at all. I mean these events: vlc

VLC Server Communication with .NET C#

↘锁芯ラ 提交于 2019-12-05 02:33:24
问题 I am working on a project that allows for video streaming or video-on-demand. I've looked for software packages and VLC looks like an excellent choice for low cost needs. In order to really work with this application I need an API that can communicate with the system. After doing some research there were some bindings via PHP and Java but nothing that is truely .NET. I looked further and found that I can communicate via telnet which is viable for the work I need. I started working on the

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]]){

C# - Capture RTP Stream and send to speech recognition

谁说胖子不能爱 提交于 2019-12-05 00:53:20
问题 What I am trying to accomplish: Capture RTP Stream in C# Forward that stream to the System.Speech.SpeechRecognitionEngine I am creating a Linux-based robot which will take microphone input, send it Windows machine which will process the audio using Microsoft Speech Recognition and send the response back to the robot. The robot might be hundreds of miles from the server, so I would like to do this over the Internet. What I have done so far: Have the robot generate an RTP stream encoded in MP3

Play video file with VLC, then quit VLC

一个人想着一个人 提交于 2019-12-05 00:31:05
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 and I want to keep it that way. My question is: Is there a way to quit VLC right after the video file

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

iOS MobileVLCKit archive problems

荒凉一梦 提交于 2019-12-04 21:09:46
While trying archiving my project I got this error : ld: bitcode bundle could not be generated because '/Users//MobileVLCKit/MobileVLCKit.framework/MobileVLCKit(VLCEmbeddedDialogProvider.o)' was built without full bitcode. All object files and libraries for bitcode must be generated from Xcode Archive or Install build file '/Users//MobileVLCKit/MobileVLCKit.framework/MobileVLCKit' for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation) Tried to do enablebitcode = no but then when i archived the mac get stuck and after a 40 minutes period i gave up