vlc

VLC screen capture using terminal

南笙酒味 提交于 2019-11-29 00:40:03
问题 I'm attempting to capture my screen as video and found VLC to probably be the best solution. What I have to do is capture a specific application using terminal and then stop the capture as well. Right now, I can capture using terminal with the following command: /Applications/VLC.app/Contents/MacOS/VLC -I dummy screen:// --screen-fps=25 --quiet --sout "#transcode{vcodec=h264,vb072}:standard{access=file,mux=mp4,dst="Desktop/vlc-output-terminal.mp4"}" That's great, it works. The question is,

How does vlc.py play video stream?

≡放荡痞女 提交于 2019-11-28 21:28:34
I want to use vlc.py to play mpeg2 stream http://wiki.videolan.org/Python_bindings . There are some examples here: http://git.videolan.org/?p=vlc/bindings/python.git;a=tree;f=examples;hb=HEAD When I run the examples, it just can play video file, I want to know is there any examples to play video stream ? According to this Pastebin entry, linked to in this mailing list, it can be solved using a method like this: import vlc i = vlc.Instance('--verbose 2'.split()) p = i.media_player_new() p.set_mrl('rtp://@224.1.1.1') p.play() I haven't tried it though, so please let me know if it works. This is

embed vlc player in HTML

巧了我就是萌 提交于 2019-11-28 20:40:19
问题 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 回答1: 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

vlc android 代码编译

醉酒当歌 提交于 2019-11-28 20:06:14
系统:ubuntu12.04 代码:git://git.videolan.org/vlc-ports/android.git 代码版本:375646994d0602 年初的时候搞了三个月的vlc android。昨天看到vlc android的beta版本发布了,决定编译一个看看效果。把自己此次的编译过程记录下来,供朋友们参考。下文中的文件路径,要替换成正确的路径。 1. 搭建ubuntu android开发环境 要找一个自己喜欢的目录安装jdk、SDK、NDK、ANT 1.1 安装jdk 参考我转发的 《Ubuntu11.10下安装 jdk-6u30-linux-i586.bin》 1.2 安装SDK 下载SDK: http://developer.android.com/sdk/index.html 把SDK解压到一个目录下: [plain] view plain copy $ sudo tar -xvf android-sdk_r20-linux.tgz 1.3 安装NDK 下载NDK: http://developer.android.com/tools/sdk/ndk/index.html 把NDK解压到一个目录下: [plain] view plain copy $ sudo bzip2 -d android-ndk-r5b-linux-x86.tar.bz2 $

Hunk #1 FAILED at 1. What's that mean?

余生长醉 提交于 2019-11-28 18:06:58
I get the following error when running make , and I have no idea what it means or what to do about it. Can anyone illuminate me or point me in the right direction? (cd libdvdnav-git && patch -p1) < ../../contrib/src/dvdnav/dvdnav.patch patching file Makefile.am Hunk #1 FAILED at 1. 1 out of 1 hunk FAILED -- saving rejects to file Makefile.am.rej make: *** [dvdnav] Error 1 I'm trying to cross compile VLC for win32 (using linux). It is an error generated by patch . If you would open the .patch file, you'd see that it's organized in a bunch of segments, so-called "hunks". Every hunk identifies

Look for fastest video encoder with least lag to stream webcam streaming to ipad

笑着哭i 提交于 2019-11-28 17:56:38
问题 I'm looking for the fastest way to encode a webcam stream that will be viewable in a html5 video tag. I'm using a Pandaboard: http://www.digikey.com/product-highlights/us/en/texas-instruments-pandaboard/686#tabs-2 for the hardware. Can use gstreamer, cvlc, ffmpeg. I'll be using it to drive a robot, so need the least amount of lag in the video stream. Quality doesn't have to be great and it doesn't need audio. Also, this is only for one client so bandwidth isn't an issue. The best solution so

Open video stream on VLC Player through the browser

别来无恙 提交于 2019-11-28 17:36:55
Is it possible to add a type of link on a webpage that will open up VLC Player and start playing a stream video? Like this one: Alternatively, is it possible to embed VLC Player in the browser? UPDATE: 2018-09-25 Most of this response only applies to older browsers, so updating some sections. It was possible on older browsers, but required a client-side browser plugin depending on your Browser and OS versions, see: https://web.archive.org/web/20150212035837/http://www.videolan.org/doc/play-howto/en/ch04.html Here's an excerpt showing how to embed and fallback to download or click to stream:

how to get vlc logs? [closed]

*爱你&永不变心* 提交于 2019-11-28 16:08:47
问题 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? 回答1: Or you can use the more obvious solution, right in the GUI: Tools -> Messages (set verbosity to 2)... 回答2: 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

How to use VLC live streams with HTML5 video?

笑着哭i 提交于 2019-11-28 14:26:47
问题 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

ffmpeg fix watermark size or percentage

痴心易碎 提交于 2019-11-28 12:44:18
问题 i have some videos and i want to add watermark to them but problem is coz in every video "watermark size" is different (in some videos watermark is smaller and in some is bigger - i think because of video input size coz its different) here is my ffmpeg command (just link is different) ffmpeg -i "http://VIDEO-LINK" -i "/var/www/logo/logo.png" -filter_complex 'overlay=17:17' -vcodec h264 -crf 25 -preset veryfast -maxrate 600k -bufsize 600k -aspect '640:360' -s '640:360' -acodec libfdk_aac -hls