vlc

Create a videoplayer with the LibVLC for android

拥有回忆 提交于 2019-12-03 08:41:46
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 static MediaPlayer MediaPlayer() { return VLCInstance.getMainMediaPlayer(); } @Override @TargetApi(Build

Run Batch File Before Windows 7 User Login to Start VLC Web Interface

白昼怎懂夜的黑 提交于 2019-12-03 08:41:30
I would like to run a batch file I have that executes the following before a user logs on: start "VLC web Interface" "C:\Program Files (x86)\VideoLAN\VLC\vlc.exe" -I http Currently I have this in my Startup folder but I would like this batch file to be executed before a user is logged in on Windows 7. The goal is to start VideoLAN's Web Interface as a service without requiring a user to login. This way the computer can be turned on, and media can be streamed to my devices without choosing a user profile on the login screen. To be clear, I would like this batch file to run BEFORE a user logs in

Mjpeg VLC and HTTP Streaming

痞子三分冷 提交于 2019-12-03 08:31:19
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: " + contentType + "\r\nContent-Length:" + buffer.Length + "\r\n\r\n"); mem = new MemoryStream(boundary); mem

Stream desktop over RTP using VLC with the lowest latency possible

你。 提交于 2019-12-03 07:50:24
问题 I have been trying to figure out how to stream my desktop (over LAN) using VLC and to achieve the lowest latency possible (<100ms). The goal is to have another computer receive the stream and potentially play games while streaming (i.e playing game from PC1 on the PC beside the TV). What settings should I use? I have tried multiple approaches but have yet to succeed. EDIT: I am open to using something other than VLC as well. 回答1: I have also tried the same with VLC and couldn't ever get

MobileVLCKit fails while compiling

﹥>﹥吖頭↗ 提交于 2019-12-03 07:34:32
问题 I am trying to use MobileVLCKit for iOS in my application. I followed steps given @ Building the Framework for iOS. I have set deploymet target to iOS 7 in my Xcode 5. I used command ./buildMobileVLCKit.sh -f -l to compile the shell file to get an iOS framework. I got following errors on my terminal application. The following build commands failed: Libtool build/MobileVLCKit.build/Release-iphoneos/MobileVLCKit.build/Objects-normal/armv7/libMobileVLCKit.a normal armv7 Libtool build

How to stream RTSP live video in Firefox and Chrome now that the VLC plugin is not supported anymore?

时间秒杀一切 提交于 2019-12-03 06:19:11
Now that the NPAPI that the VLC plugin uses is being discontinued in Firefox and that Google Chrome has discontinued the NPAPI for long is there any solution to stream RTSP live video inside these browsers? Thanks a lot for your help on this. Regards, Tiago Dias After a long time digging and following this topic I have came to interesting results. At this point the best option seems to be an RTSP proxy that changes RTSP in a way that makes it compatible with something supported by web browsers (WebRTC, etc.). I have collected the following solutions: https://github.com/Streamedian/html5_rtsp

Play a video with VLC in X11 from remote terminal

隐身守侯 提交于 2019-12-03 04:35:28
问题 I've got a problem, I hope you can help me. I've got some slim terminals with Linux where a little script it's launched every time they boot. This script has a single cvlc command line which it's the following: cvlc --quiet --fullscreen --no-osd --loop playlist.xspf This works OK because the terminals start the X11 environment and then the script it's launched from autostart; the video it's played and rendered nicely y an LCD. My problem comes when for a reason or another, I need to kill the

Embedding VLC plugin on HTML page

梦想与她 提交于 2019-12-03 03:50:24
I have a html file ( getStream.html ) that takes a stream from a certain url and show it. The code is the following: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta content="text/html; charset=utf-8" http-equiv="Content-Type" /> <title>Vids</title> <link href="main.css" rel="stylesheet" type="text/css" /> </head> <body onload='player("http://mystreamaddress:8080");'> <div id="player"> <object type="application/x-vlc-plugin" id="vlcplayer" width="864px" height=

Sending OpenCV output to VLC stream

不问归期 提交于 2019-12-03 03:23:08
This has been keeping me busy for a good part of the afternoon and I haven't been able to get it to work but I feel like I'm really close. I've got openCV set up which takes the videofeed from a webcam. To be able to access this video feed (with openCV overlay) I want to pipe the output of the openCV python script to a VLC stream. I managed to get the stream up and running and can connect to it. VLC resizes to the correct aspect ratio and resolution so it gets some correct data but the image I get is just Jitter ; python opencv.py | cvlc --demux=rawvideo --rawvid-fps=30 --rawvid-width=320 -

Save continuous RTSP stream to 5-10 minute long mp4 files

时间秒杀一切 提交于 2019-12-03 03:17:43
问题 How can I keep the flow (protocol rtsp, codec h264) in file (container mp4)? That is, on inputting an endless stream (with CCTV camera), and the output files in mp4 format size of 5-10 minutes of recording time. OS: debian, ubuntu Software: vlc, ffmpeg (avconv) Currently this scheme is used: cvlc rtsp://admin:admin@10.1.1.1:554/ch1-s1 --sout=file/ts:stream.ts ffmpeg -i stream.ts -vcodec copy -f mp4 stream.mp4 But it can not record video continuously (between restarts vlc loses about 10