ancientlysine / bililocal Goto Github PK
View Code? Open in Web Editor NEWadd danmaku to local videos
License: GNU General Public License v3.0
add danmaku to local videos
License: GNU General Public License v3.0
xubuntu15
vlc ffmpeg qt5base qtcreator 已装
make显示
make
g++ -c -m64 -pipe -O2 -std=c++0x -Wall -W -D_REENTRANT -fPIE -DBACKEND_VLC -DRENDER_RASTER -DRENDER_OPENGL -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtNetwork -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -o APlayer.o src/Player/APlayer.cpp
In file included from src/Player/APlayer.cpp:32:0:
src/Player/VPlayer.h:8:21: fatal error: vlc/vlc.h: 没有那个文件或目录
#include <vlc/vlc.h>
^
compilation terminated.
Makefile:717: recipe for target 'APlayer.o' failed
make: *** [APlayer.o] Error 1
小白求帮助
果然还是想要发弹幕功能啊
反正实现起来也没啥难度,向http://interface.bilibili.tv/dmpost 这个地址post一系列参数就可以,抓个包就看到了
请满足我这个愿望吧
找的库都链接有问题,太繁琐了。。
每次开机都会在桌面自动生成一个bililocal的文件夹 删除之后下次开机又会出现
现有代码中CID解析部分是采用抓取B站播放页面再用正则表达式来匹配的方法实现的,这一方法对于没有使用B站播放器的一些爱奇艺版权新番是无效的。
建议迁移这一部分代码使用http://api.bilibili.tv/view 这组API,可以规避以上所述的问题。
可以搜索到条目,但是双击后弹出报错对话框Network error occurred, error code: 1
估计和这两天B站全面封闭老接口有关,我看我iPad上老版本的客户端也一点都刷不出了
之前塞了太多二进制大文件,object已经100m多了,需要要全部清理一次,话说该怎么做来着_(:3 L)_
百度贴吧原帖上的网盘地址已经失效,能否给个新版的下载地址?海外党在此谢谢了!
160320版。
(隔了这么久不release一波吗?)
Qt渲染效率惨不忍睹,全面换装SDL的时候到了
在确认过av号以后如果视频存在分P则弹出窗口选择分P,分P的partname在http://api.bilibili.tv/view里
cannot search danmaku with bilibili
即使没有加入屏蔽规则,也有好多垃圾弹幕被屏蔽了
SDL已经写完,侵占了QT的键盘鼠标事件,缩放时窗口闪烁,效率大概提升10%...
滚去OpenGL试试,貌似Qt自己封装的OpenGL还不错
我在从BiliLocal的播放列表中打开视频后,关闭列表,然后发现无法通过鼠标来操作窗口,可以用鼠标双击退出全屏,但是无法移动窗口,最小化、最大化和关闭窗口,Alt+F4也无法使用,但是软件快捷键正常。
系统:Windows 10 1803
版本:0.4.2
/usr/include/qt/QtCore/qhashfunctions.h:101: error: no matching function for call to 'qHash(const AtlasMgr::CreateInfo&)'
Q_DECL_NOEXCEPT_EXPR(noexcept(qHash(t)))
^
现在程序的配置文件解析是手动做的,这点其实不是很好维护....想加一两条配置选项都挺麻烦的...
建议用JSON文件保存配置,易读性强,Qt5内还有现成框架(QJsonDocument)
能调节播放速度吗?比如1.5倍
嗯...B站播放器支持设定同屏最大弹幕数目,我觉得这个功能咱们得提供一个...
一方面是性能节省的考虑,另一方面确实又是一屏内弹幕太多了完全看不清楚....
文件名中的英文句号引起的弹幕匹配错乱。
重现,有文件如下:
Name.E01.mkv
Name.E01.xml
Name.E02.mkv
Name.E02.xml
播放 Name.E02.mkv 时,错误载入 Name.E01.mkv 的弹幕,去掉英文句号后正常。
av810872用于测试。可获取到3000弹幕,但无法播放视频且无法获取全弹幕,已检查过防火墙等网络连接问题。
看了一下AcDown的代码,AcFun的解析方式真是不友好...
需要安装哪些软件,库等
尝试Qt编译提示
./Common.h:5:10: fatal error: 'QtWidgets' file not found
#include
^
1 error generated.
在gentoo下编译Config.cpp文件的时候会出现Lambda function的错误,稍微查了一下,官方的使用c++11 lambda expressions 的connect函数的例子是如下:
http://qt-project.org/wiki/New_Signal_Slot_Syntax
connect(sender, &Sender::valueChanged,
tr1::bind(receiver, &Receiver::updateValue, "senderValue", tr1::placeholder::_1) );
connect(sender, &Sender::valueChanged, [=](const QString &newValue) {
receiver->updateValue("senderValue", newValue);
} );
于是对代码进行了如下的更改
b9671d11a3fac983f8fa1bcf37b9d984b5f99526
然后便可以正常编译。(不过没有理解是为什么……
src/Player/VPlayer.cpp: In function ‘void {anonymous}::mid(const libvlc_event_t*, void*)’:
src/Player/VPlayer.cpp:187:14: error: request for member ‘tryLock’ in ‘time’, which is of non-class type ‘time_t(time_t*) throw () {aka long int(long int*) throw ()}’
if (::time.tryLock()) {
^~~~~~~
src/Player/VPlayer.cpp:191:11: error: request for member ‘unlock’ in ‘time’, which is of non-class type ‘time_t(time_t*) throw () {aka long int(long int*) throw ()}’
::time.unlock();
^~~~~~
src/Player/VPlayer.cpp: In member function ‘virtual void VPlayer::setTime(qint64)’:
src/Player/VPlayer.cpp:395:11: error: request for member ‘lock’ in ‘time’, which is of non-class type ‘time_t(time_t*) throw () {aka long int(long int*) throw ()}’
::time.lock();
^~~~
src/Player/VPlayer.cpp:399:11: error: request for member ‘unlock’ in ‘time’, which is of non-class type ‘time_t(time_t*) throw () {aka long int(long int*) throw ()}’
::time.unlock();
^~~~~~
不太清除这里的状况
提议添加自动关键字推断功能。
虽然有了搜索功能,现在程序已经做的很方便了,但是加载视频之后还是要手动键入关键字搜索...所以建议提供一个自动关键字推断功能...通过打开视频文件的文件名自动推断关键字。
由于大多数新番字幕组用罗马音命名文件,所以我们可以提供一个用于推断关键字的字典,每季新番更新,也可给用户提供UI编辑这个推断字典。
字典保存在一个Keyword.txt什么的地方就可以了...
编译后没有中文
右键->Interface->locale 只有English 是要修改什么地方吗?
(此外 我可以提交这个二进制版本给你发布吗 提供的百度网盘挂了 而且也没有找到现成的linux版二进制文件)
QMake version 3.1
Using Qt version 5.15.2 in /opt/Qt/5.15.2/gcc_64/lib
gcc (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0
OS: Ubuntu 20.04.1 LTS
DE: GNOME
ffmpeg相关lib为官网下载的源代码
其他缺失lib由apt官方源安装
修改: src/APlayer.cpp
因编译报错实参过多而修改
@@ -393,7 +393,8 @@ void VPlayer::setTime(qint64 _time)
time.lock();
qApp->processEvents();
emit jumped(_time);
- libvlc_media_player_set_time(mp,qBound<qint64>(0,_time,getDuration()));
+ //libvlc_media_player_set_time(mp,qBound<qint64>(0,_time,getDuration()), true);
+ libvlc_media_player_set_time(mp,qBound<qint64>(0,_time,getDuration()));
time.unlock();
}
已经很久不能登录了,不知道是不是个例,希望大大能够升级一下逻辑
就是字面意思,把二进制文件和他们的md5码也放到github,#7那个json里存一下本地每个文件的md5,每次启动都检查一下github上的md5和本地的md5,不一样就自动下载更新
Hi,AncientLysine
我想在Ubuntu上运行.十分感谢.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.