vlc

Transcoding MJPEG to FLV or MP4

这一生的挚爱 提交于 2019-11-30 07:38:51
I want to transcode MJPEG stream that comes from IP camera ( http://xx.yy.zz.tt:8080/video.cgi ) to FLV or MP4 stream under Linux OS so that users can play the file using a web based Flash player such as Flowplayer . I discovered VLC for that purpose but I cannot figure out the exact command line string. I also need HTTP authentication feature since IP camera access is password protected. I also interested in any non-VLC solution if any (ffmpeg?). appears VLC can do HTTP authentication. http://www.videolan.org/doc/play-howto/en/ch04.html and I believe it can output to flv. Typically I start

Storing RTSP to a file location

流过昼夜 提交于 2019-11-30 05:44:48
问题 I am able to stream an rtsp on windows 7 64 bit machine through C# Winform application. This is the library i used - VLCDotNet and here is the code sample to play the RTSP stream: LocationMedia media = new LocationMedia(@"rtsp://192.168.137.73:554/live.sdp"); vlcControl1.Media = media; vlcControl1.Play(); I would like to store the streams to a file in my PC on a button click and stop the same with another button. How do i achieve this? 回答1: Here is the code: Vlc.DotNet.Core.Medias.MediaBase

VLC Python EventManager callback type?

痞子三分冷 提交于 2019-11-30 01:53:15
问题 I'm having trouble attaching an event handler to tell when a song has finished playing when using the VLC Python bindings. The event_attach function is complaining about the callback type. def __init__(self): self.vlc = vlc.Instance() self.vlc_playlist = self.vlc.media_list_new() self.vlc_player = self.vlc.media_list_player_new() self.vlc_player.set_media_list(self.vlc_playlist) self.vlc_events = self.vlc_player.event_manager() self.vlc_events.event_attach(vlc.EventType.MediaPlayerEndReached,

embed vlc player in HTML

依然范特西╮ 提交于 2019-11-29 23:23:36
i am trying to embed vlc player in a web page. what is the best way to do it. actually i have to stream a video file using vlc and show it on the web page so that other users logging to my site could see that video. i have tried various snippts but unable to embed it. any help will be greatly appreciated. Thanks HTML way, make sure when u install VLC, u install Mozilla plug-in or ActiveX control stuff for (FF, IE or Chrome) <embed type="application/x-vlc-plugin" pluginspage="http://www.videolan.org" version="VideoLAN.VLCPlugin.2" width="100%" height="100%" id="vlc" loop="yes" autoplay="yes"

How to stream your images/files with VLC?

岁酱吖の 提交于 2019-11-29 22:43:38
So I know there are lot of wrappers of libVLC.dll . But I just do not know what one is ready to do what I need... What I need is simple... in my C# program I create some bitmap (once or twice per second)... I now want to stream bitmaps live as video (in some format VLC can to offer me) to some http:localhost:port/ using VLC... How to do that? Ram You need to use following code to stream a image. cd "C:\program files\videolan\vlc" vlc -I dummy fake:// --fake-file c:\1.jpg -vvv --sout #transcode{vcodec=mp4v,vb=1024,scale=1}:duplicate{dst=std{access=udp,mux=ts,dst=localhost:1234}} You can use the

Python bindings for VLC

人盡茶涼 提交于 2019-11-29 22:19:54
问题 I am on Windows, and I wish to use Python Bindings for VLC. I've already downloaded the module from https://github.com/geoffsalmon/vlc-python , and did as per the read me. But, still I'm stuck at importing the module. The error looks like this : Traceback (most recent call last): File "<pyshell#5>", line 1, in <module> import vlc File "c:\python27\python-vlc-1.1.2\vlc.py", line 173, in <module> dll, plugin_path = find_lib() File "c:\python27\python-vlc-1.1.2\vlc.py", line 150, in find_lib dll

how to get vlc logs? [closed]

本小妞迷上赌 提交于 2019-11-29 20:13:50
I am trying to run rtsp url from the VLC player. But an error appears, and "see logs for details" comes up in a dialog box. How can I enable logs in VLC? Or you can use the more obvious solution, right in the GUI: Tools -> Messages (set verbosity to 2)... garima I found the following command to run from command line: vlc.exe --extraintf=http:logger --verbose=2 --file-logging --logfile=vlc-log.txt 来源: https://stackoverflow.com/questions/4303017/how-to-get-vlc-logs

VLC for Android : 编译问题 & 解决办法

十年热恋 提交于 2019-11-29 20:12:10
敬告: 编译前尽量安装/更新必要的软件:vlc-dep, android-sdk, android-ndk 1. libmpeg2 下载源错误, 必须修改$(vlc-setup)/vlc/contrib/src/libmpeg2/rules.mak, 内容如下: #$(vlc-setup)/vlc/contrib/src/libmpeg2/rules.mak LIBMPEG2_VERSION = 0.5.1 #src: #LIBMPEG2_URL := http://libmpeg2.sourceforge.net/files/libmpeg2-$(LIBMPEG2_VERSION).tar.gz #mod: LIBMPEG2_URL := ftp://mirror.ovh.net/gentoo-distfiles/distfiles/libmpeg2-0.5.1.tar.gz P.S. vlc目录是通过git命令下载的,见compile.sh 2. 若出现该错误内容: android-sdk-linux/tools/ant/build.xml:539: Unable to resolve project target 'android-17',则必须更新SDK,命令如下: android update sdk 3 . 如果是在Ubuntu-64bit + Android-NDK

How to use VLC live streams with HTML5 video?

ⅰ亾dé卋堺 提交于 2019-11-29 19:05:58
I tried HTTP Ogg/Theora and works alright with Chrome but not with Firefox 7. VLC Configuration: For testing, I've been streaming the desktop using the following vlc command line configuration: vlc.exe screen:// :screen-fps=30 :screen-caching=100 :sout=#transcode{vcodec=theo,vb=800,scale=1,width=800,height=600,acodec=none}:http{mux=ogg,dst=:8181/desktop} :no-sout-rtp-sap :no-sout-standard-sap :ttl=1 :sout-keep HTML5 video tag configuration: <video id="video" src="http://my_host_name:8181/desktop" type="video/ogg; codecs=theora" autoplay="autoplay"/> Any ideas? Bruno Santos I struggled with

How to disable VLCMediaPlayer error AlertView?

∥☆過路亽.° 提交于 2019-11-29 08:26:39
I am using VLCMediaPlayer class from the MobileVLCKit library to make an audio streaming application. My problem is that when error happens (e.g. incorrect stream url) it automatically alerts its own error message. In my case, I would like to disable that alert message and display my own one. No need to remove this option from source! Simply pass the player option like this: NSArray *options = @[@"--extraintf="]; VLCMediaPlayer *player = [[VLCMediaPlayer alloc] initWithOptions:options]; with recent (MobileVLCKit-prod 2.7.9) of MobileVLCKit you can implement VLCCustomDialogRendererProtocol on