vlc

How to stream Video using VLC in http to other computer [closed]

佐手、 提交于 2021-01-27 13:20:51
问题 Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 22 days ago . Improve this question I want to stream a video from my computer to another computer using http in vlc . I have read the steps of how to do the streaming of the video from here https://wiki.videolan.org/Documentation:Streaming_HowTo_New/ But here they have explain how you can stream

How do I silence vlc output from bash script completely?

被刻印的时光 ゝ 提交于 2021-01-27 12:25:24
问题 I have a script I wrote for myself and it uses vlc somewhere towards to end and I need it to stop outputting anything it wants but keep my own outputs (so no "clear"). i have used the parameters: "-q" and "--no-sout-x264-quiet" but to no avail, it still outputs ugly msgs, ie: "Warning: call to rand()" and "Blocked: ..." and "Gtk-WARNING ** ..." i tried redirecting 'vlc ... > err.log', it dont help... (edit[forgot to add]: the redirect '>' doesnt work, file is empty) i searched in vlc -H but

VLC setting volume from command line/bash [closed]

…衆ロ難τιáo~ 提交于 2021-01-27 02:26:36
问题 Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 1 year ago . Improve this question With the risk of feeling really really stupid here, but I seem not to be able to set the volume of VLC from command line?? vlc file.mp3 --vol 0 I have read the man pages as well as googled but I can not get the above to work. Also tried --volume 0, -vol 0, -volume

libvlc - keep window opened between videos

ぃ、小莉子 提交于 2021-01-07 02:31:28
问题 I am using python wrapper around libvlc for playing videos. The problem is that after I stop previous video playback and start to play new one, window is reopened. I am trying to achieve state where window is still opened and I can change videos in this window without flash of the desktop behind it. import time import vlc i = vlc.Instance() media_player = i.media_player_new() media_player.set_fullscreen(True) m1 = i.media_new('vid1.mp4') m2 = i.media_new('vid2.mp4') media_player.set_media(m1)

libvlc - keep window opened between videos

半腔热情 提交于 2021-01-07 02:30:30
问题 I am using python wrapper around libvlc for playing videos. The problem is that after I stop previous video playback and start to play new one, window is reopened. I am trying to achieve state where window is still opened and I can change videos in this window without flash of the desktop behind it. import time import vlc i = vlc.Instance() media_player = i.media_player_new() media_player.set_fullscreen(True) m1 = i.media_new('vid1.mp4') m2 = i.media_new('vid2.mp4') media_player.set_media(m1)

How to stream the video using VLC-QT wrapper

孤人 提交于 2021-01-05 07:05:07
问题 I want to stream the video using RTSP, HTTP and UDP as they are supported by vlc . I am using Qt5 and as Qt don't have that much good media libraries so I go for open source and now using libvlc through VLC-Qt wrapper. I am able to receive the stream videos in my program, The source code for receiving the streaming video is given below void player::on_actionNETWORK_STREAM_triggered() { QString url= QInputDialog::getText(this,tr("Open Url"),tr("Enter the URL you want to play")); if(url.isEmpty

VLC Scripting with Lua: Jump to a specific time in a file?

大城市里の小女人 提交于 2020-12-28 06:50:58
问题 This seems like it should be simple, but I'm coming up empty handed here. I'm trying to make a simple VLC script that checks if the "random" button is on, and if so when it jumps to a random file, instead of starting at time=0, it starts at a random time. So far, it's looking to me like it should be a playlist script and I can get the duration from the playlist object, but in this documentation page or on Google, I can't seem to find any way to jump to a specific time from within the Lua

VLC Scripting with Lua: Jump to a specific time in a file?

感情迁移 提交于 2020-12-28 06:50:58
问题 This seems like it should be simple, but I'm coming up empty handed here. I'm trying to make a simple VLC script that checks if the "random" button is on, and if so when it jumps to a random file, instead of starting at time=0, it starts at a random time. So far, it's looking to me like it should be a playlist script and I can get the duration from the playlist object, but in this documentation page or on Google, I can't seem to find any way to jump to a specific time from within the Lua

VLC Scripting with Lua: Jump to a specific time in a file?

北战南征 提交于 2020-12-28 06:50:57
问题 This seems like it should be simple, but I'm coming up empty handed here. I'm trying to make a simple VLC script that checks if the "random" button is on, and if so when it jumps to a random file, instead of starting at time=0, it starts at a random time. So far, it's looking to me like it should be a playlist script and I can get the duration from the playlist object, but in this documentation page or on Google, I can't seem to find any way to jump to a specific time from within the Lua

Set Vlc window Dimensions in vlc.py

蹲街弑〆低调 提交于 2020-12-15 05:42:50
问题 I am using VLC in Python to open a video stream (UDP stream). How can I set the dimensions of the video window and its position on the screen This is the code import vlc i = vlc.Instance() p = i.media_player_new() p.set_mrl('udp://@224.1.1.1:1234') p.play() 回答1: In short I don't think that you can, unless your provide it with a window to play in, that you control. This involves wrapping it within a gui , many people use Tkinter , wxPython or Qt for this. Below are samples written on Linux.