vlc

Expand (extend) a video to an specific duration [closed]

旧街凉风 提交于 2020-03-16 06:02:24
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 7 years ago . Do VLC or FFmpeg (or AVconv) have any feature to force the duration of a video to a certain number of seconds? Let's say I have a... 5 minutes .mp4 video (without audio). Is there a way to have any of the aforementioned tools "expanding" the video to a longer duration? The video comes from a Power Point

ubuntu 安装VLC后无法播放

徘徊边缘 提交于 2020-03-12 09:29:36
按照如下方式安装VLC: 安装vlc方法 sudo apt-get update sudo apt-get install vlc sudo apt-get build-dep vlc 安装后无法打开VLC,报如下错误: VLC is not supposed to be run as root. Sorry. If you need to use real-time priorities and/or privileged TCP ports you can use ./vlc_back-wrapper (make sure it is Set-UID root and cannot be run by non-trusted users first). 使用以下三个命令: cp /usr/bin/vlc /usr/bin/vlc-backup needle=$(objdump -d /usr/bin/vlc | grep euid | tail -1 | awk '{print "\\x"$2"\\x"$3"\\x"$4"\\x"$5"\\x"$6;}') sed -ir "s/$needle/\xb8\x01\x00\x00\x00/" /usr/bin/vlc 就可以播放了。 来源: CSDN 作者: mwttry 链接: https://blog.csdn.net

视频监控

南楼画角 提交于 2020-03-10 11:49:22
<html> <body> <!--[if IE]> <object type='application/x-vlc-plugin' id='vlc' events='True' classid='clsid:9BE31822-FDAD-461B-AD51-BE1D1C159921' codebase="http://downloads.videolan.org/pub/videolan/vlc/latest/win32/axvlc.cab" width="720" height="540"> <param name='mrl' value='rtsp://:8554/192.168.1.7' /> <param name='volume' value='50' /> <param name='autoplay' value='true' /> <param name='loop' value='false' /> <param name='fullscreen' value='false' /> </object> <![endif]--> <!--[if !IE]><!--> <object type='application/x-vlc-plugin' id='vlc' events='True' width="720" height="540" pluginspage=

The button with transparent circular edge cannot be drawn correctly above the widget embedded with LibVLC

前提是你 提交于 2020-03-04 06:25:22
问题 I have a program that plays video with LibVLC, and I want to put some circular buttons on top of the VLC Widget for a barrage effect. This is my test code. # -*- coding: utf-8 -*- import sys import os import vlc from PySide2.QtWidgets import * from PySide2.QtGui import * from PySide2.QtCore import * class demo_widget(QWidget): def __init__(self): super(demo_widget, self).__init__() self.__ui__() def __ui__(self): self.resize(600, 400) t_lay_parent = QHBoxLayout() t_lay_parent

How to insert VLC instance into a QFrame

痞子三分冷 提交于 2020-03-01 02:04:48
问题 I'm trying to make a simple video player app by embedding a VLC instance inside a PyQt widget (a QFrame). I found a few examples that go me going, but my code doesn't quite work. When I launch it, it plays "test_video.mp4", but it launches the regular VLC player app in its own, separate window. When I close out of the VLC player window, obviously the video stops, but the audio continues playing until I close my own Qt (PyQt) window. edit 1: Forgot to mention I am using python-vlc, downloaded

使用FFmpeg旋转视频

大城市里の小女人 提交于 2020-02-27 05:55:20
我一直在尝试找出如何使用FFmpeg旋转视频。 我正在使用以人像模式拍摄的iPhone视频。 我知道如何使用 MediaInfo (出色的库,顺便说一句)确定当前的旋转角度,但是现在我陷入了FFmpeg的困境。 根据我的阅读,您需要使用 vfilter 选项。 根据我所看到的,它应如下所示: ffmpeg -vfilters "rotate=90" -i input.mp4 output.mp4 但是,我无法使它正常工作。 首先, -vfilters 不再存在,现在只是 -vf 。 第二,我得到这个错误: No such filter: 'rotate' Error opening filters! 据我所知,我拥有FFmpeg的全选项构建。 运行 ffmpeg -filters 显示如下: Filters: anull Pass the source unchanged to the output. aspect Set the frame aspect ratio. crop Crop the input video to x:y:width:height. fifo Buffer input images and send them when they are requested. format Convert the input video to one of the

vlc for android 字幕方块乱码

馋奶兔 提交于 2020-02-26 10:38:04
使用的手机是小米4c,MIUI7 6.1.7Beta。VLC 2.0.6。 VLC下载地址:http://get.videolan.org/vlc-android/2.0.6/ 加载中文字幕显示方块块的问题, 最好的方法是重新编译供个人使用。 根据之前在linux和windows上遇到的问题,是设置的字幕字体不支持中文,在android手机上也可以这样设置。 为了确保手机能正常使用,不覆盖/system/fonts中的字体文件,而采取修改libvlc.so中的字符串替换默认加载字体的方法。 1. 下载https://github.com/adobe-fonts/source-han-sans/blob/release/OTF/SimplifiedChinese/SourceHanSansSC-Normal.otf 2. 将SourceHanSansSC-Normal.otf重命名为DroidSans-Subt.ttf 3. 将文件放入/system/fonts,前提有root权限并且对system目录可写。(这里我使用幸运破解器突破系统对system目录的限制) 4. 将/data/app/org.videolan.vlc-1/lib/arm64/libvlc.so中的字符串DroidSans-Bold替换为DroidSans-Subt.(先进行备份) 方法有多种

Is there a way to get LibVlc loaded buffer percentage?

ぃ、小莉子 提交于 2020-02-05 06:42:17
问题 I'm currently making a city webcam app which uses libVlc to display the rtsp stream coming from the city webcams. My question is, it is possible to get the actual loaded state of the stream? I would like to show to the user. I can see in Android Studio runLog that there is some kind of buffering but cannot find in the code. D/VLC: core input: Buffering 56% D/VLC: core input: Buffering 58% D/VLC: core input: Buffering 61% D/VLC: core input: Buffering 64% D/VLC: core input: Buffering 66% D/VLC:

How to embed streaming rtsp media into an html5 page

℡╲_俬逩灬. 提交于 2020-02-02 06:09:03
问题 I have a security cam that sends via rtsp, which I'm able to capture on vlc player, but I want to embed that into my webpage. I've been searching for hours on how to do this, but have failed to find any recent documentation on how to do this. I am not set on vlc either, so I'm basically trying to go from cam -> rtsp -> player (if required) -> html embed. Any help would be appreciated. And I know this is an open question, but I'm failing to find what I need on the net, so I'm open to any

How to embed streaming rtsp media into an html5 page

人盡茶涼 提交于 2020-02-02 06:05:51
问题 I have a security cam that sends via rtsp, which I'm able to capture on vlc player, but I want to embed that into my webpage. I've been searching for hours on how to do this, but have failed to find any recent documentation on how to do this. I am not set on vlc either, so I'm basically trying to go from cam -> rtsp -> player (if required) -> html embed. Any help would be appreciated. And I know this is an open question, but I'm failing to find what I need on the net, so I'm open to any