vlc

open url error using vlc in terminal

懵懂的女人 提交于 2019-12-11 05:33:15
问题 I run the following command in a linux terminal: vlc http://streamx/live/....stream/playlist.m3u8 --rate=1 --video-filter=scene --vout=dummy --run-time=3 --scene-format=png --scene-ratio=24 --scene-path=/home/pi/Desktop vlc://quit If the url is okay, it makes some pictures from streams. I would like to know if the command ran successfully or not. if the url is not correct is writes out: [73b00508] core input error: open of 'http://streamx/live/....stream/playlist.m3u8' failed [73b00508] core

HttpListenerResponse and infinite value for its ContentLength64 property

南笙酒味 提交于 2019-12-11 05:16:15
问题 I have run to a problem with Proxying http stream. First: I am creating http protocol media streaming server with VLC player. Second: I'm listening http requests on one port with HttpListener and trying to forward response from vlc server port as a response from first one. Proxy: Client Server(:1234) VLC(:2345) -request-> HttpListener HttpWebRequest -request-> HttpWebResponse <-response- Stream <=Copy= Stream <-response- HttpListenerResponse Everything works fine. But still there is one

Libvlc media player end reached weird behavior

牧云@^-^@ 提交于 2019-12-11 04:26:22
问题 I'm using libvlc with Qt and I noticed that when the media player reaches the end of the video it doesn't respond anymore to window resizing or "play" to restart the video, it just stop working and that is it. This is what happens if I try to resize when the media player reaches the end: Behavior while playing: Behavior after end reaches: It doesn't happen in the regular Vlc only on the library. Is there any configuration I'm missing or they do something in that situation that I'm not aware

How to pass parameter in a link to open VLC?

 ̄綄美尐妖づ 提交于 2019-12-11 04:11:37
问题 It's an HTML page which I use only locally. I have a link to a video in my HD like this: <a href="/path/to/myvideo.mp4">Watch video</a> When clicking it, it launches the video with VLC directly as expected. Now, I'd like to pass parameter inside like the starting time for this video. In the shell for example you can do: vlc /path/to/myvideo.mp4 --start-time=126 And it will launches the video at the 126 second point. How can I do that with my HTML link? I've tried for example: <a href="/path

Getting “cross-thread operation not valid” even when using invoke method

空扰寡人 提交于 2019-12-11 03:32:04
问题 I get the "cross-thread operation not valid" here: if ( vlc.State == VlcPlayerControlState.PLAYING ) { if ( vlc.InvokeRequired ) { vlc.Invoke( new MediaPlayerNoParameterDelegate( vlc.Stop ) ); } else { vlc.Stop(); // debugger points here } } Debugging shows me that vlc doesn't require invoking. but the thread from which this is accessed is different from the thread it was created on. I'm using the libvlc.net wrapper to play sound, but the problem should not be there. How can I get rid of this

What is the proper way to RTSP stream, transcode and save to file?

眉间皱痕 提交于 2019-12-11 03:18:02
问题 While showing the rstp-stream, we are trying to transcode, and record it to file for later use. VLC 2.1.1 seems to work when using vlc rtsp-stream :sout=#transcode{vcodec=mp1v,vb=700,scale=1}:duplicate{dst=display,dst=std{access=file,mux=asf,dst="C:\file.mpg"}}" This seems to be broken on VLC 2.2.4 Documentation on VLC's wiki seems outdated. 回答1: Discrepancies with the vcodec/mux pairing as well as using samplerate instead of vb seem to fix it. vlc rtsp-stream :sout=#transcode{vcodec=mp4v

Unable to play media with vlc ocx

亡梦爱人 提交于 2019-12-11 02:39:26
问题 I want to embed the vlc media player in a .NET application I've found a lot of solutions VLC .Net interface <- didn't work with me wrappers for dll functions <> http://vlcdotnet.codeplex.com this is nice the activex of VLC - i really liked to use it it must be less bugs and errors but errors found I found 2 controls "VLC ActiveX plugin and IE web plugin v1" , "VLC ActiveX plugin and IE web plugin v2" What is the difference between them?? i dragged and dropped the fist one and used the

C# Vlc ActiveX Play rtsp stream

末鹿安然 提交于 2019-12-11 02:18:19
问题 I have found a problem to embed and playing rtsp stream to VLC activex control. Once i already succeeded but now i cant i dont know why, Im trying to host at WPF a vlc control but its dont work , Its says like a dll is missing , "Failed to import the ActiveX control" I follow after some solutions i found at good but no one helps... I already registered it, and tried more things.. Its has a missing dll on the AxAXVLC dll. And say: Error 1 Compiler errors occurred when generating a Windows

VLC and MJPEG Decoder streaming (invalid header)

北城以北 提交于 2019-12-11 02:16:44
问题 I`m making a WinRT application which includes video streaming. Now I ended at VLC as streaming server and MJPEGDecoder lib (http://mjpeg.codeplex.com/) on client to decode video. But after creating HTTP stream and connecting to it from client, MJPEGDecoder says that header is invalid (it expects multipart stream). VLC-to-VLC works normal. Question 1 : how can it be fixed? Question 2 : what alternatives to create video streaming for WinRT? 回答1: Just to elaborate on your question/answer a bit

Capturing with vlcj only gives a corrupt video file

醉酒当歌 提交于 2019-12-10 22:36:58
问题 I am using vlcj to capture the screen in my Java program. Therefore I use the following code: public static void main(final String[] args) { NativeLibrary.addSearchPath("vlc", "/Applications/VLC.app/Contents/MacOS/lib/"); SwingUtilities.invokeLater(new Runnable() { @Override public void run() { new CaptureTest().start("screen://"); } }); } public CaptureTest() { factory = new MediaPlayerFactory(); mediaPlayer = (HeadlessMediaPlayer) factory.newMediaPlayer(); } private void start(String mrl) {