[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vip /vp / vr / w / wg / wsg / wsr / x / y ] [Search | Home]
4Archive logo
How to stream youtube by MPV ?
If images are not shown try to refresh the page. If you like this website, please disable any AdBlock software!

You are currently reading a thread in /g/ - Technology

Thread replies: 304
Thread images: 21
File: mpv.png (186 KB, 604x270) Image search: [iqdb] [SauceNao] [Google]
mpv.png
186 KB, 604x270
How to stream youtube by MPV ?
>>
youtube-dl
>>
http://www.svp-team.com/wiki/SVPtube
>>
Speaking of mpv, it won't open in windows. I click it and nothing happens.

help
>>
>>45664150
you need to associate files with it
>>
>>45664081
https://github.com/mpv-player/mpv/releases/tag/v0.7.0
>Drop libquvi support (this has been replaced by a built-in Lua script that invokes the youtube-dl tool, which needs to be installed, see the --ytdl option).
>>
>>45664169
I can't just open it?
>>
>>45664180
no
>>
File: wat.jpg (27 KB, 400x300) Image search: [iqdb] [SauceNao] [Google]
wat.jpg
27 KB, 400x300
>>45664192
That's the most retarded thing ever
>>
>>45664150
>>45664180
Why the fuck are you using mpv if you haven't even read up on how to do a simple task such as opening files? Fucking winfag.
>>
>>45664202
Why? it doesn't have a GUI and it closes automatically after the video ended, there would be nothing to display.
You can run it from the command line however
>>
>>45664207
>>45664221
Well atleast show SOMETHING to tell the user there isn't anything wrong with the program and/or requirements to use it.
I bet linuxfags made this program, explains why it's to retarded.
>>
File: 1415234896487.jpg (62 KB, 500x500) Image search: [iqdb] [SauceNao] [Google]
1415234896487.jpg
62 KB, 500x500
>>45664249
>>
>>45664249
Just install MPC-HC, it's more "your level."
>>
>>45664249
Dude, now you're just embarrassing yourself. Stick to VLC, that's more in line with what you can comprehend.
>>
File: dyOdh.png (15 KB, 677x379) Image search: [iqdb] [SauceNao] [Google]
dyOdh.png
15 KB, 677x379
>>45664249
>tell the user there isn't anything wrong with the program and/or requirements to use it.
It does, doesn't it?

Anyway just use this instead
http://bakamplayer.u8sand.net/
It's a gui for mpv, for winbabies like you.
>>
If your mpv is up to date,

mpv --ytdl URL

if it's an older version, download youtube-dl and do

mpv $(youtube-dl -g URL)
>>
>>45664316
>http://bakamplayer.u8sand.net/
this is amazing
>>
>>45664332
>Baka MPlayer is made to be cross-platform and portable. Although no Windows builds currently exist, work is being done to build for Windows.
K.
>>
>>45664249
actually I agree with you. they could have included at least a little readme file or something in the windows install that explains how to use it. I guess the problem is that the majority of people who use MPV on windows are familiar with it from linux and generally understand how computers work, so they don't even see it as a problem. However, it's not obvious for the average user what to do with it.
>>
Can I set up mpv as a plugin for firefox that replaces the youtube / vimeo etc players instead of playing the video in an external program?
>>
>>45664362
>Although no Windows builds currently exist, work is being done to build for Windows.

Sounds just like every /g/ project ever.
>>
>>45664362
did you even look anon? there's windows binaries they just arent the latest version
>>
>>45664362
>implying i just don't want a nice gui for mpv because the default OSD is super ugly
>>
>>45664374
Yes
Look up mozplugger
>>
>>45664363
>they could have included at least a little readme file or something in the windows install that explains how to use it.

Oh, fuck off. Google search "mpv windows guide" and the first result is a full-fledged guide to everything you need to know.

mpv.srsfckn.biz/manual.pdf
>>
>>45664401
they include the manual in the folder as well
>>
>>45664400
>mozplugger
That´s awesome. Thanks anon
>>
>>45664382
>Beta stage several versions behind
>Th-there are builds anon!!! really !!!
Just use MPC-HC. There is no reason for you NOT to use MPC-HC on Windows.
>>
>>45664401
I'm not saying it's difficult. I never needed a guide, but you're just being an elitist cunt. If they included a small readme that said what to do it would save time for every single casual user who downloaded the program.
>>
>>45664420
the manual doesn't help much for that, at least not that I have seen.
>>
>>45664420
Ergo there's no reason for anybody not to figure out how mpv functions. I swear winfags expect to be spoonfed every time they come upon a problem.
>>
mpv $(youtube-dl -g http://your/URL/here)
>>
>>45664532
you don't have to do that anymore, just
mpv -ytdl "url"
>>
>>45664479
that's NEET neckbeard logic. it's not about "can't figure out", it's about how much time you need to spend to figure it out and whether that time is actually necessary. in this case it's completely unnecessary since it could have been explained in a few lines.
>>
>>45664545
Do you have to have youtube-dl in the same root folder as mpv?
>>
>>45664563
no, as long as you have it installed it just werks
>>
>>45664571
How does that even work then? Does mpv search the entire windows installation for youtube-dl?
>>
>>45664585
>windows
kek
>>
>>45664585
I'm wondering if he just builds it and the -ytdl flag just gets it from the directory
>>
>year of the gnu/linux deskterp

lol
>>
>>45664597
I see. Also, are there any additional options for youtube-dl that I can add or does it already download the highest quality option available?
>>
>>45664585
it searches in the PATH
>>
>>45664363
Fuck wintards.
>>
>>45664458
>I never needed a guide, but you're just being an elitist cunt. If they included a small readme that said what to do it would save time for every single casual user who downloaded the program.
STOP
You're totally miscontextualizing the project. No matter how hard you try, you can never make an application sensible enough for a rock with arms. Stop trying to nitpick when googling is obviously the sensible thing to do.
>>
>>45664323
>>45664545
Appeared that:
Error parsing option ytdl (option not found)
Setting commandline option --ytdl= failed.

How to fix?
>>
>>45664654
the windows builds probably don't have it, you'll have to compile it manually
>>
>>45664081
mpv --ytdl link
>>
>>45664654
>>45664661

>Experimental support for youtube-dl as a replacement for the removed libquvi support. This should work with more sites. Just place youtube-dl.exe in mpv’s directory. You can override the default format using the --ytdl-format option. Global options for youtube-dl go to %APPDATA%\youtube-dl\config.txt (see youtube-dl documentation).

It seems that on Windows you do actually have to place youtube-dl.exe in the root directory of mpv.
>>
>>45664644
no, I use linux. That doesn't mean I'll defend every stupid decision made by developers. there's no excuse for not including this information.
>>
>>45664654
see
>>45664679
but be sure you have youtube-dl.exe in the same directory as mpv
>>
File: dyQTM.png (13 KB, 436x478) Image search: [iqdb] [SauceNao] [Google]
dyQTM.png
13 KB, 436x478
>>45664661
It does have it, you just have to setup youtube-dl in the PATH correctly
>>
File: 1370087786431.jpg (122 KB, 860x664) Image search: [iqdb] [SauceNao] [Google]
1370087786431.jpg
122 KB, 860x664
Post your mpv config, niggers
>>
>>45664652
writing good documentation is the sensible thing to do. I honestly cannot see how someone can defend lack of documentation and instead think it's perfectly reasonable that every single user has to solve the same problem, wasting everyone's time. I though the same as you when I was younger, but eventually you grow up and realize that not everyone cares that much about computers.
>>
>Using mpv on Windows
Fucking why? MPC-HC with madVR is much better.
>>
>>45664718
vo=opengl-hq:lscale=spline36:cscale=spline36:dither-depth=auto:fancy-downscaling
vf=vapoursynth=~/.mpv/debanding.vpy
af=ladspa=/usr/lib/ladspa/bs2b.so:bs2b:[725,4.5]
msg-color=yes
framedrop=vo
slang=jp,jpn,eng,en,English
alang=jp,jpn,Japanese,en,eng,English
ao=alsa
autofit-larger=90%x90%
cache-default = 25000
loop=inf
demuxer-mkv-subtitle-preroll=yes
hr-seek=yes
screenshot-format=png
screenshot-png-compression=5
ad-lavc-threads=4
osd-msg2="${vo-drop-frame-count}"
ytdl
border=no
ass-force-style=Kerning=yes
>>
how do i force mpv to open borderless on windows? i can't find a .conf anywhere

>>45664729
>muh russian placebo
>>
>>45664729
>Being part of the botnet
>>
>>45664717
There aren't many tasks in Windows that are harder than finding the settings you want. They are such a horrible fucking mess.
>>
>>45664729
It begins
>>
>>45664717
What were they thinking with the path settings?
>>
>>45664740
put
border=no
in the config
>>
>>45664743
>There aren't many tasks in Linnicks that are harder than finding the settings you want. They are such a horrible fucking mess.
>>
>>45664689
The reason is fuck wintards.
>>
>>45664749
if i could find the config i would. do i need to create it myself and if so what directory does it go in?
>>
>>45664759
Someone's mad.
>>
alias yean='youtube-dl -o - "$(xclip -o)" | mpv --keep-open -'

my bash alias
so just umm

youtube-dl -o - "youtubeurl" | mpv --keep-open -
>>
>>45664718
No, you first.

# A/V
vo=vdpau
ao=pulse
vf=vdpaupp:hqscaling=1
hwdec=vdpau
audio-channels=downmix

# Subs
ass-force-style=Kerning=yes
demuxer-mkv-subtitle-preroll
sub-text-font="OpenSans-Semibold"
sub-text-font-size=60
sub-text-margin-y=24
sub-text-color="#FFFFFF"
sub-text-border-color="#000000"
sub-text-border-size=2
sub-text-shadow-offset=1.25
sub-text-shadow-color="#303030"
sub-text-spacing=0

# OSD
osd-font="OpenSans-Semibold"
osd-font-size=42
osd-bar-h=5
osd-bar-w=90
osd-bar-align-y=0.5
osd-border-size=2
osd-color='#FFFFFF'
osd-border-color='#000000'
osd-shadow-color='#303030'
osd-shadow-offset=1.75
osd-spacing=0

# Tracks
alang=jpn,eng
slang=eng

# Window
geometry=50%:50%

# Screenshots
screenshot-format=png
screenshot-png-filter=0
screenshot-png-compression=2
screenshot-template=~/mpv_ss_%tY.%tm.%td_%tH:%tM:%tS

# Other
no-resume-playback
cache=204800
lua-opts=osc-seekbarstyle=bar


>>45664735
Does the debanding filter do anything REALLY noticeable or is it just a subtle change?
>>
>>45664763
in the mpv folder, there should be another mpv folder
Just edit the file named config, if it doesn't exist make one
>>
>>45664770
It's 2014 and a shit OS is still standard. You should be more mad.
>>
>>45664718
mpv.conf
vo=opengl-hq
hwdec=vda
volume=100
screenshot-template='~/Desktop/%F %p'
autofit-larger=90%x90%
osc=no

demuxer-mkv-subtitle-preroll
ass-force-style=Kerning=yes
sub-text-font='Helvetica Neue Medium'
sub-text-font-size=48
sub-text-margin-y=42
sub-text-color='#ececea'
sub-text-border-color='#29292b'
sub-text-border-size=1.5

osd-bar-h=3
osd-font='Helvetica Neue Light'
osd-font-size=45
osd-border-size=1
osd-color='#fdfdfd'
osd-border-color='#6b6b70'

slang=jp,jpn,en,eng
alang=jp,jpn,en,eng


input.conf
1 ignore
2 ignore
3 ignore
4 ignore
5 ignore
6 ignore
7 ignore
8 ignore

AXIS_DOWN add volume 1
AXIS_UP add volume -1
AXIS_LEFT ignore
AXIS_RIGHT ignore

c show_text ${chapter-list}
y show_text ${track-list}
l cycle_values loop-file "inf" "no"
u seek 80
>>
>>45664081
ytdl=yes


put this in your config
then use mpv URL

also, you'll probably have to use the git version of mpv, very stable
>>
>>45664775
if the encode is good it doesn't matter that much, but I notice a big difference on 8 bit files and youtube videos
>>
>>45664784
That butthurt.
>>
>>45664770
wouldn't you also be mad if you were a 20 year old kissless virgin arguing about media player software on an anonymous image board?
>>
>>45664797
>projecting this hard
>>
>>45664787
How do I use the scroll-wheel to control volume?
>>
>>45664807
well, I'm on an anonymous image board, at least. I'm none of the other things, though.
>>
Livestreamer
How do I update livestreamer to work with twitch again
The jessie livestreamer package still broken
>>
>>45664794
What does butthurt even mean? Why would anger make one's butt hurt? Maybe make your butt hurt if you had the audacity to say the shit you say here to someone's face.
>>
>>45664816
Try these:
AXIS_DOWN add volume 1
AXIS_UP add volume -1

https://github.com/mpv-player/mpv/blob/master/etc/input.conf
>>
>>45664832
>twitch
>>
>>45664832
you need 1.11 or whatever the latest version is. all the older versions are broken now after twitch made some changes. I don't know how you get the latest version in your distro
>>
>>45664835
This mad.
>>
>>45664847
That mad?
>>
>>45664839
I just tried that, scrolling still just seeks
>>
>>45664832
sudo pip install -U livestreamer
or
sudo easy_install -U livestreamer
>>
>>45664723
If not everyone cares that much about computers, then they should consider installing software catering to a target audience that doesn't care that much about computers. There are plenty of options out there: VLC, MPC-HC; there are even predetermined configs for these applications that do a pretty good job of fine-tuning these applications. Again, you need to consider the target audience and the goals of the project before levying criticisms against said project.

To do otherwise is, as the saying goes, to compare apples to oranges. If you judge an apple by how orange it is, you will always consider oranges to be the superior fruit. But in reality, they are different fruits with different uses and different strengths/weaknesses.
>>
>>45664852
Are you on Windows or Linux? Works fine for me on OS X
>>
>>45664777
thanks anon. is it a bad idea to copy >>45664735 a config like this?
>>
>>45664875
arch, using latest mpv-git
>>
>>45664864
>But in reality, they are different fruits with different uses and different strengths/weaknesses.

Yeah, well, no. They're different fruits with the same uses.
>>
>>45664878
it should be fine, just remove the vf and af lines and change the ao line to dsound instead of alsa
>>
>>45664880
AXIS_UP add volume 1
AXIS_DOWN add volume -1
AXIS_LEFT add volume 1
AXIS_RIGHT add volume -1
MOUSE_BTN3 add volume 1
MOUSE_BTN4 add volume -1


one of these will work, just copy everything, depends on mouse
>>
>>45664918
one of those did it, thanks anon
>>
>>45664858
Thanks
>>
File: excellent.jpg (51 KB, 500x375) Image search: [iqdb] [SauceNao] [Google]
excellent.jpg
51 KB, 500x375
>>45664900
appreciate the help anon
>>
>>45664864
I see you enjoy writing a lot of text with no substance and only tangentially related to the main point. How about you actually explain why you think it's better to not include 2-3 lines of documentation that would save time for every single first time user?
>>
How do I get to mpv to show the number of dropped frames when I move the mouse (like it shows the OSC?)
>>
File: 613fa902.jpg (17 KB, 404x362) Image search: [iqdb] [SauceNao] [Google]
613fa902.jpg
17 KB, 404x362
>>45664177
>>Drop libquvi support (this has been replaced by a built-in Lua script that invokes the youtube-dl tool, which needs to be installed, see the --ytdl option).
>>45664081
kek it can't stream, it just downloads and plays the file for you

mpv is shit
>>
>>45665036
it works exactly the same as before, you set a cache size and it just streams to a temp file
>>
>>45665036
>it can't stream, it just downloads and plays the file for you
What would streaming be then?
>>
>>45665036
ayyyyy
>>
>>45665036
>kek it can't stream
I stream with mpv using livestreamer, twitch, ustream etc
Don't see what you're getting at
>>
>>45665052
>What would streaming be then?
DASH probably
or never have the actual file on disk
when you playback on seekbar it just loads a different area and dumps the old
>>
>>45665036
mpv `youtube-dl -g $link`

wauw

also chun-li > juri
>>
>>45664880
>arch
>>
>>45665082
>chun li
>better than anyone
sakura > juri > ibuki > the rest > shit > chun li
>>
>>45665100
mai shiranui > all
though she's from snk, but it's all the same to me
>>
>>45665122
I-no > all other fightin gaem girls
>>
>>45664979
It's already there, dude. I don't know what to tell you. It's just not a README file, which is apparently your fetish or something. Do you also think that grown adults need to be patted on the back before they can burp?
>>
>>45665071
Which is how it works.
>>
Install youtube-dl, give it a link, it just works.

Enabled by default now, you have to do nothing but just give it a link. Slightly older versions you had to put "ytdl" in your config file, and older versions used quvi.

youtube-dl is much better than quvi. mpv is probably the best media player there is for streaming now with youtube-dl built-in like that.

>>45664563
Has to be installed to your $PATH, as in putting it in /usr/bin

>>45664723
There is documentation, specifically documentation telling highly intelligent windows users about "why in click and no gui pop up?"

https://github.com/mpv-player/mpv/wiki/FAQ

See: >If I click mpv, nothing happens.

>>45665036
What is DASH.
>>
>>45664081
mpv --ytdl <youtube.url>
requires a decently recent version of mpv and youtube-dl
>>
It's all well and good that you can stream YouTube URLs in MPV, but but you're still going to be searching in your browser for the chosen video, so why not simply use the native HTML5 player?
>>
>>45664400
Is there a way to get Viewtube to play my videos in mpv instead of totem/vlc?
>>
>>45665356
watching videos while shitposting
pic related
>>
>>45665356
It's not just youtube videos, it's videos/streams from a ton of sites.

http://rg3.github.io/youtube-dl/supportedsites.html

Youtube does support HTML5 players, a lot of sites require flash though, which obviously some people might not want installed.

You're right that if you're looking for a video on youtube and find it, you might as well just watch it in your browser, however what if you're given a link to a youtube video by someone in an irc chat for example? What if you want to watch a video that's really long, and want to do it in a better way than through the built-in player inside a web browser, because mpv is much more comfortable/faster and higher quality?
>>
>>45665293
>What is DASH.
Dynamic Adaptive Streaming over HTTP (DASH)

WHAT IS GOOGLE?
>>
Does anyone have a high quality windows compatible config? I've tried some other config files and the mpv just crashed
>>
>>45665415
What is jeopardy?
>>
>>45665457
Why are you using Windows? Debian's default MPV kicks ass.
>>
>>45665477
Have to use adobe products for work
>>
>>45665484
>employers require brand name software
Are you a graphic designer? Why don't you use a Mac?
>>
>>45665457
Please make sure you're not mixing up "crash", with "put an illegal option in the config file and then it wouldn't start". You don't really need much configuration.

vo=opengl-hq
demuxer-mkv-subtitle-preroll

There you go that's all you need.
>>
>>45665494
No it literally crashes (not responding)

>>45665493
Why would I use a mac over windows?
>>
>>45665510
You know full well that Windows is an absolutely horrible OS to use. At least Mac OS has somewhat of an implementation of Bash. Plus Macs are pretty.
>>
Quick question, is there anyway to set a default folder for screenshots to save to? It currently saves to my home, which is inconvenient.

Google wasnt much help.
>>
>>45665534
Works just fine for what I use™
>>
>>45665510
What options did you use?

>Why would I use a mac over windows?

Not him, but a mac is a computer, one that can also run Windows.

I don't want to use either Windows or OSX, but I would gladly use OSX over Windows any day. It's a far better OS to me, mainly because it's a Unix design.
>>
mpv -ytdl -ytdl-format bestvideo+bestaudio "url"
>>
>>45665538
screenshot-template='~/path/to/folder'

https://github.com/mpv-player/mpv/blob/master/DOCS/man/options.rst#screenshot
>>
>>45665566
I was using this one
https://archive.rebeccablacktech.com/g/thread/S45640014#p45646545
Not sure if it's the best quality though
>>
>>45665293
>mpv is probably the best media player there is for streaming now with youtube-dl built-in like that

True dat. Using both Livestreamer and Youtube-dl, I have access to pretty much anything via mpv. It's glorious.
>>
>>45665544
Yes, searching through russian forums for legacy Catalyst drivers to make your monitor even display the correct resolution, having to uncheck a box so it doesn't install malware on your system, then having to go through a graphical control panel dialog to remove the adware you told it not to install is what I call an OS that works just fine.
>>
>>45665575
Thanks
>>
>>45665599
Just because you're dumb enough to just click everything without reading and then have to deal with the consequences doesn't mean the OS is bad
>>
>>45665538
http://pastebin.com/8i6KhNaQ

Read the man page,
man mpv
, hit "/" to search for words like "screenshot".

screenshot-template=~/Screenshots/shot%n
>>
How does mpv handle youtube-dl though? Does it download the file and then display it? Or does it save a .temp file and then display it?
>>
mpv.conf
vo=opengl-hq:pbo:lscale=spline36:cscale=mitchell:dither-depth=8:temporal-dither:scaler-resizes-only
hwdec=dxva2-copy


#af=scaletempo
alang=Korean,kor,Japanese,jpn,jp,English,eng,en

slang=en,eng,English

screenshot-format=png
screenshot-template=D:\mpv_ss_%tY-%tm-%td_%tH'%tM'%tS

#cache-default=1048576
#cache-file=TMP
#cache-seek-min=1024
#gapless-audio=no
#priority=high
framedrop=no
#geometry=50%:50%
#autofit-larger=960x600
keep-open
no-border
#autofit=960x600



input.conf
1 add window-scale -0.01
2 add window-scale 0.01
3 add volume -1
4 add volume 1
F1 quit
a cycle_values video-aspect "16:10" "-1"
w cycle ontop

MOUSE_BTN0 ignore
MOUSE_BTN2 ignore
MOUSE_BTN3 ignore
MOUSE_BTN4 ignore
MOUSE_BTN5 ignore
MOUSE_BTN6 ignore
q ignore
5 ignore
6 ignore
7 ignore
8 ignore
9 ignore
0 ignore
PAUSE ignore
e ignore
r ignore
o ignore
t ignore
z ignore
x ignore
p ignore
PGUP ignore
PGDWN ignore
/ ignore
* ignore
d ignore
h ignore
j ignore
k ignore
l ignore
, ignore
. ignore
shift+PGUP ignore
shift+PGDWN ignore
Q ignore
E ignore
T ignore
I ignore
O ignore
S ignore
V ignore
_ ignore
shift+UP ignore
shift+DOWN ignore
shift+LEFT ignore
shift+right ignore
UP ignore
DOWN ignore
LEFT ignore
RIGHT ignore


>can't tell the difference between mpc+madvr with my config
>stresses GPU almost unnoticeably
>can do stuff with my keyboard I never imagined


THANKS /g/ !!
>>
>>45665589
Why do people insist on copy/pasting config files, having no clue what the options do, then wondering why they're having trouble?

Take out that "hwdec=dxva2-copy" option, I can only imagine that it's fucking buggy.

Also take out "priority=high"
>>
What .conf setting(s) should I use if I have a strong Intel CPU and Nvidia GPU for the best image settings? Also using Windows.
>>
Just started reading up the scripting reference, I'm going to throw together a quick script that will listen on a port for commands to pass to mpv with the eventual goal of having a remote android app or something like that.
As far as security goes, for the first version I'm not planning on encrypting anything and just having each command be preceeded by a key because I'm lazy as fuck.
Does that sound like something useful to you?
>>
>>45665661
>Why do people insist on copy/pasting config files, having no clue what the options do, then wondering why they're having trouble?
con·ven·ience
(kən-vēn′yəns)
3. Something that increases comfort or saves work: household conveniences such as a washing machine, an electric can opener, and disposable diapers. See Synonyms at amenity.
>>
>>45665610
The fact that that is even possible, that that is accepted practice for the operating system, that it doesn't even have a package manager and you have to search for programs to install yourself in an internet that lies to you, is absolutely bogus.
>>
>>45665632
It plays it right away after a bit of buffering. It's probably saved as a temp file or in ram.

>>45665667
vo=opengl-hq and install vapoursynth with f3kdb for debanding. I haven't tried any other vapoursynth filter yet.
>>
>>45665697
For you maybe
>>
>>45665707
You don't have to use such an awful OS either.
>>
>>45665672
I want to be able to connect to an IRC channel and offer the mods of the room the control of the player for watching stuff simultaneously with friends.
>>
>>45665704
>vo=opengl-hq and install vapoursynth with f3kdb for debanding. I haven't tried any other vapoursynth filter yet.

So I don't need all the fancy audio and video settings I see many people put in their .confs?
>>
>>45665726
So the way I'm seeing things, I'd be setting up a server script that's running inside mpv and is configured to listen on an arbitrary port with a given key.
Client scripts--whether they are irc bots or mobile applications or even a web page--ask for an address, port, and key and all interface with the server script to send commands through to mpv. That's simple enough. Tempted to just start hacking away and not bother with design docs and shit until I have a prototype to play with.
I'm just not sure if this sort of thing is already implemented as I haven't been keeping up with things at all.
>>
>>45665599
I can understand browsing shitty software download websites if it is for some abandonware from 10 years ago, but every release of Catalyst has been copied to dozens of trusted™ freeware/shareware catalogs.

U R DUMB
>>
>>45665672
That's actually quite nice project idea. Making a simple listener and command processor in Lua with LuaSocket would be an easy task, then just slap a frontend for it, be it an application or a website running locally. I'd say, go for it.
>>
>>45665821
Please be bait. I can't tell anymore but dear god let this be bait. Or at least a Linuxfag with a sense of humor.
>>
>>45665729
opengl-hq enables all the best settings by default
You can then specify a few thingh like chroma upscaling but it's pretty much placebo.
>>
>>45665647
this is perfect
>>
>>45665851
Is there a big difference between >>45665647's vo and vdpau with hqscaling?
>>
>>45665901
I'm not on *nix as you can see on my hwdec settings. Yes, for me and my hardware it's better.
>>
>>45665851
Would it be better to use these settings?

vf=vdpaupp:hqscaling=1
hwdec=vdpau
vo=vdpau
ao=pulse
>>
Do we have the same one-button solution for web streams that need rtmpdump to capture?
>>
>>45665953
if you are on lingnux then yes
>>
I just type
mpv link
and it streams for me, it also works on xvideos and places where only a playable file is found(ex as.com/faggot.webm )
>>
File: holy fug.png (463 KB, 1026x453) Image search: [iqdb] [SauceNao] [Google]
holy fug.png
463 KB, 1026x453
>that cpu usage
>>
>>45665851
>opengl-hq enables all the best settings by default

It enables spline36, vs spline64.

vo=opengl:lscale=spline64:cscale=spline64
>>
>>45666017
Any reason it won't work on Windows? Are some settings dependent on the Linux kernel?
>>
>>45666034
It's not the program's fault that you have a toaster for a computer.
>>
>>45666024
Really? On my machine it only recognizes things as urls if it has http(s):// in front of it.
>>
>>45666065
there is no vdpau for windows
>>
>>45666065
Those options are for using VDPAU and pulseaudio.

Go look up what VDPAU and pulseaudio are. Do people seriously just copy options blindly without knowing what they do?
>>
File: yes, fuck yes.jpg (14 KB, 292x315) Image search: [iqdb] [SauceNao] [Google]
yes, fuck yes.jpg
14 KB, 292x315
>>45665410
>all those supported porn sites
now i just need some kind of greasemonkey script that opens videos in mpv instead of going to the page with a load of comments with dick pic avatars
>>
>>45666055
spline36 is enough and mitchell-ntravali looks better for chroma, but that's just like my opinion
>>
>>45666065
there's no pulseaudio for windows
>>
>>45666034
Something is obviously wrong. Did you just copy-paste a config from here?
>>
>>45666106
Using >>45665647
>>
>>45666082
>>45666084
>>45666093
Sorry, my bad. Won't happen again.
>>
>>45666093
…until systemd port is finished.
>>
>>45666113
your pc can't handle not dropping frames
>>
>>45666148
commented framedrop=no, same thing
>>
Does Vapoursynth + mpv work in Windows or am I a retard for not making it work?
>>
>>45666113
Try
hwdec=auto
or something
>>
>>45664081
prolly already been said but smtube
>>
>>45666162
then it's either the ''placebo" opengl filters or the hwdec
>>
>>45666034
Strange, it barely gets my cpu over 3% and my card over 12%, and that is both when each processor put itself in the lowest clock it can go.
>>
File: welp.png (23 KB, 733x379) Image search: [iqdb] [SauceNao] [Google]
welp.png
23 KB, 733x379
>>45666106
>>45666148
>>45666168
>>45666190
welp, turns out "q quit" doesn't close it at all
>>
>>45666208
because he has it ignored in input.conf, remove that
>>
>>45666225
Not even alt + f4 is closing it
>>
>>45666253
>Windows
>>
>>45666208
press F1
>>
>>45665704
>vo=opengl-hq and install vapoursynth with f3kdb for debanding.

Yo, so I literally just tried this on my Windows install and how do I use the f3kdb for debanding?
>>
>>45666165
Vapoursynth doesn't work anywhere.

>>45666208
>>45666113
Take out the hwdec option.
>>
How do I update if I installed with git?
>>
>>45666282
cd to the directory and:

git pull
./waf configure build
sudo ./waf install
>>
>>45666278
Why
>>
So if I want debanding features on Windows using mpv, I'm fucked? Literally fucked?

Guess I HAVE to use MPC-HC + MadVR. I shudder at the thought.
>>
hello, I have a question, can mpv download subtitles like vlc or mpchc?
>>
Seeing as this is the mpv general, how can I get mpv to show the number of dropped frames? Either in the terminal or on-screen?
>>
>>45666091
You know you can hide the entire comments section of every porn site with adblock, right?
>>
>>45666352
It should show in the terminal, here's an example:
Trying to use hardware decoding.
AO: [coreaudio] 48000Hz stereo 2ch s32
VO: [opengl-hq] 1920x1080 vda
(Paused) AV: 00:00:01 / 01:23:52 (0%) A-V: -0.000 Dropped: 1 Cache: 1s+6200KB

It doesn't show the "dropped" part if it hasn't dropped any frames
>>
>>45666278
Vapoursynth works fine in OS X
>>
>>45666391
Okay, thanks!
>tfw no dropped frames on muh 1080p chinese children's cartoons
>>
>>45666335
Post me pics where you actually see a difference. I fooking challenge you m80. No doctored shit, use proper settings.
>>
>>45666335
Don't download shitty rips.
>>
>>45666418
I can't be assed to find any comparison pictures but there are many floating around.

I want debanding and since I use Windows it seems I have to use MPC-HC + MadVR instead of mpv, unless I can get Vapoursynth and f3kdb working.
>>
>>45665680
>saves work
hours of clueless troubleshooting
jep totally
>>
>>45666440
From what or better when, 2012? Not trying to sound like a fucking cunt, but each player continued to improve independently. Sure banding still seems to be a problem, but whatever.

I just want to see a frame by frame side to side screen capture to see how strong it still is.
>>
>>45665966
If livestreamer supports it then mpv can.
>>
>>45666335
No, you can just easily use gradfun from libavfilter

vf=gradfun


That's all you need. Don't bother fucking with vapoursynth.

>>45666352
Open it from the terminal.
>>
>>45666091
There's a Firefox extension that allows you to add any program to the contextual menus of links
>>
>>45666516
Is vf=gradfun better than vf=vdpaupp:hqscaling=1? Or do they not share the same purpose? Can I have them both enabled?
>>
>>45666516
>gradfun
libass
Who thinks of these?
>>
>>45666274
Install Gentoo
No, seriously, don't bother trying to make it work on Windows. Just use mpc-hc and madvr
>>
>>45666540
I just found "open with" and it works perfectly
>>
>>45666558
Read the manual. Gradfun is a debanding filter, it has a completely different purpose than that.

>Can I have them both enabled?

Nope. Certain filters are incompatible with certain video outputs or other filters. VDPAU is incompatible with a lot of filters. OpenGL is compatible with almost any available.
>>
>>45666595
Just to be clear, you can use it with vo=vdpau, just not vf=vdpaupp.
>>
>>45666516
I just turned my computer off so I can't do any comparison but I'm pretty sure that f3kdb is much better than gradfun, especially when a lot of different colors are involved
>>
>>45665398
Is there any way to resize the video with borders off?
>>
>>45666619
I honestly don't care if it is. Using gradfun is as easy as putting "vf=gradfun" in the config file, guess how hard installing vapoursynth, filters for vapoursynth, writing a script to use that filter, then pointing mpv towards that filter is.

I'm not recommending that people do that, unless they really care so much about it and know what they're doing, which in that case they wouldn't be asking anything.
>>
PLACEBO
L
A
C
E
B
O
>>
>>45666595
>>45666616
Alright. Thing is I can't find any documentation about vdpaupp:hqscaling so I'm not quite sure what it does. I just assume it increases quality somehow.

>>45666574
Yeah, for now I'll stick to MPC-HC and MadVR even though I'd much prefer mpv. I swear that the day when Windows dies and Linux takes over can't come soon enough. Whether that be when I get bored of games or I get tired of Windows only time will tell.


Though I'm getting an urge to purchase a sleek laptop and install a nice distro on it. The new Fedora is looking pretty sleek.
>>
>>45666659
what?
>>
>>45666657
It's easy as fuck to set up with the AUR and man.
>>
Is this quality good enough for you faggots?
>>
>>45666339
hey faggits, respond
>>
>>45666719
that looks awesome, 0 shitty grain
>>
>>45666724
mpv is a video player
KISS
>>
>>45666719
That is some fucking disgusting infectious diarrhea shit. I bet it's YIFY or some shitty rip.
>>
how do i edit the osc options? it used to be plugins_osc.conf in .mpv but since I updated to a new version it doesn't seem to be working. too dumb to figure this shit out.
>>
>>45666702
>Thing is I can't find any documentation about vdpaupp:hqscaling

Check. The. Man. Page.

http://pastebin.com/D2aHDgD6
>>
>>45665823
>Lua error: /home/evan/.config/mpv/scripts/server.lua:9: module 'socket' not found
maybe I should actually learn enough lua to figure out why mpv doesn't like my script.
>>
>>45666719
1916x796

lel, freetards can't into Full HD
stay poor, faggots
>>
>>45666719
love the quality of this, better than anything I've seen so far in here
>>
>>45666750
It's not yify though
>>
>>45666775
>>45666750
(you) >>>/b/


>>45666785
don't feed
>>
>>45666768
Lua modules are separate, not bundled by default. You need to install LuaSocket first, if you're on Arch you can do it with:
pacman -S lua-socket


If you're using a different distro, they probably have it somewhere in the repos as well. Again, good luck with the project. Make sure to shill it on /g/ if you ever finish it.
>>
>>45666719
That's not good quality, but it's not the fault of any video player....
>>
>>45666807
What's good quality then?
>inb4 anime screenshot
>>
File: 1400434572337.png (67 KB, 251x237) Image search: [iqdb] [SauceNao] [Google]
1400434572337.png
67 KB, 251x237
>using --panscan=1 to watch based yiffy rips without shitty black bars
literally based
>>
>>45666746
yeah but don't you just love opening a movie on mpchc and hitting d and downloading the subs just like that?
>>
>>45666798
Already have it installed (pretty sure it installs with lua by default). I've been testing my scripts outside of mpv just running them through a lua interpreter and it works well enough there. It's inside mpv that I'm having issues. I may have missed something so I'm going to go check the scripting reference again.
>>
>>45666832
I usually make sure to get my movie with the correct subs in the same torrent, preferably in mkv. I'va had a lot of issues with either unsynced subs or bad OCR when downloading them automatically.
There's probably a simple cli tool to do it anyway.
>>
>>45666832
I've never needed that feature. If I'm watching a foreign film it always has subs muxed in and properly timed.
>>
>>45666756
osc.lua
>>
>>45666877
probably because english is your first language. I download english subtitles nearly everyday in case I miss some bizarre word, and even if english is your first language subtitles help you in case some noise keep you from hearing a word.
>>
>>45666775
Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : [email protected]
Format settings, CABAC : Yes
Format settings, ReFrames : 4 frames
Muxing mode : Header stripping
Codec ID : V_MPEG4/ISO/AVC
Duration : 1h 1mn
Bit rate : 8 648 Kbps
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 23.976 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.174
Stream size : 3.64 GiB (83%)
Writing library : x264 core 120 r2164 da19765
Encoding settings : cabac=1 / ref=4 / deblock=1:0:0 / analyse=0x3:0x133 / me=umh / subme=7 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=0 / chroma_qp_offset=-2 / threads=12 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=2 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=23 / scenecut=40 / intra_refresh=0 / rc_lookahead=50 / rc=2pass / mbtree=1 / bitrate=8648 / ratetol=1.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / ip_ratio=1.40 / aq=1:1.00
>>
>>45666856
What if you give it a full path instead?
local socket = require('/usr/lib/lua/5.1/socket')


Or something like that.
>>
>>45666928
[testserver] 
[testserver] stack traceback:
[testserver] [C]: in function 'require'
[testserver] /home/evan/.config/mpv/scripts/testserver.lua:9: in main chunk
[testserver] [C]: ?
[testserver] [C]: ?
[testserver] Lua error: /home/evan/.config/mpv/scripts/testserver.lua:9: module '/usr/lib/lua/5.1/socket' not found:
[testserver] no field package.preload['/usr/lib/lua/5.1/socket']
[testserver] no file './/usr/lib/lua/5/1/socket.lua'
[testserver] no file '/usr/share/lua/5.1//usr/lib/lua/5/1/socket.lua'
[testserver] no file '/usr/share/lua/5.1//usr/lib/lua/5/1/socket/init.lua'
[testserver] no file '/usr/lib/lua/5.1//usr/lib/lua/5/1/socket.lua'
[testserver] no file '/usr/lib/lua/5.1//usr/lib/lua/5/1/socket/init.lua'
[testserver] no file '/home/evan/.config/mpv/scripts//usr/lib/lua/5/1/socket.lua'
[testserver] no file './/usr/lib/lua/5/1/socket.so'
[testserver] no file '/usr/lib/lua/5.1//usr/lib/lua/5/1/socket.so'
[testserver] no file '/usr/lib/lua/5.1/loadall.so'
[testserver] no file './/usr/lib/lua/5.so'
[testserver] no file '/usr/lib/lua/5.1//usr/lib/lua/5.so'
[testserver] no file '/usr/lib/lua/5.1/loadall.so'
>>
And how can i change the subtitle font? (Windows)
I just know on Linux.
>>
>>45666976
oh. I see the issue, I've got the 5.2 libraries and mpv is looking for 5.1
>>
>>45666976
That's weird, it should also attempt to load core.so file which should exist if LuaSocket is installed. Also, it might be that mpv uses Lua 5.2, in which case you need to point it to 5.2 folder, and make sure that you have LuaSocket for 5.2 installed. Other than that, I'm clueless.
>>
>>45667011
Oh well, I got it the other way around here >>45667014.
>>
>>45666986
Not that impressive
>>
>>45664081
all the comments are dumbfucks

use
mpv http://whateveryoutubeurlitis

done.
>>
>>45666982
sub-text-font=
>>
>>45667046
Possibly want to put that url in quotes since your shell my see some characters in the url as metacharacters otherwise.
>>
>>45666873
the most seeded movies on kat don't have subs so I have to look for them every time I open a movie, with mpchc or vlc I just download them from the program, it'd be great if mpv had that.

although I don't know what makes it better than madvr
>>
>>45667036
I posted the mediainfo here >>45666914
if your non-conform resolution yify file can hold a candle to that, you're more than welcome to post the mediainfo.
>>
>>45667118
How would I do that?
>>
>>45667104
>blaming mpv for your lack of good trackers to use
>>
Why haven't you joined the bottombar master race yet?
>>
>>45667126
>not understanding how the scene works
>>
>>45667140
Mind posting the config for that?
>>
>>45667125
If you're on linux, sudo apt-get install mediainfo, or pacman or yum, or w/e your distro uses for a package manager. If you're on windows, get mediainfo lite, and then right click a file and click mediainfo. http://www.majorgeeks.com/files/details/mediainfo_lite.html

>>45667154
find this in osc.lua, and change bar to bottombar
    layout = "bar",
>>
how is this program better than madvr? does it offer better renders?
>>
File: mpv.png (1 MB, 1392x854) Image search: [iqdb] [SauceNao] [Google]
mpv.png
1 MB, 1392x854
>>45667140
Because I don't like the OSC
>>
>>45667226
>>>/a/
>>
>>45667154
Put this in your mpv.conf:
lua-opts=osc-layout=bottombar

There's also topbar and slimbox
>>
>>45667214
>better
Different. It's better in the sense that the filters and renderers are comparable to madvr, and takes up less resources to do it.
>>
>>45667247
>comparable
comparable how?
>>
>>45664081
http://mplayer2.srsfckn.biz/
>>
>>45667260
99% of the quality, using 25% of the resources
>>
>>45667260
The end product. madvr on Windows and mpv with opengl-hq and some dither and shit looks very visually similar, but mpv takes up less cpu usage to do it.
>>
>>45667247
>takes up less resources to do it
Proof?
>>
>>45667284
but it still doesn't match madvr right? is the windows version worth using if I already have mpchc+madvr?
>>
File: mpv.png (1 MB, 1920x1080) Image search: [iqdb] [SauceNao] [Google]
mpv.png
1 MB, 1920x1080
>>45667290
>>
>>45667340
Probably not if you don't care about resource usage. mpv devs are also mostly focused on Linux and OS X.
>>
>>45667350
Meant to scroll the mediainfo up further, my bad.

video bitrate is 13.8 Mbps, file size is nearly 30gb.
>>
>>45667149
>scene releases
oh yes, please split my video files into 2718 rars and use very specific encoding settings so that every movie has the exact same filesize
wouldn't want a movie to be 2bytes bigger than another one :^)
>>
>>45667368
I don care, I don't want to stress out my i3 processor
>mpv devs are also mostly focused on Linux and OS X
this means the quality on windows is not as good as on linux or osx? I've noticed also that there's no input.conf on the windows build and I also noticed that there's no volume keys
>>
Forgive the multi-track drifting of this thread's topic,

but how the fuck do I queue up a youtube playlist with livestreamer? their documentation and google have nothing to say on the matter, but it's got to be possible, right?
>>
>>45667415
You make your own input.conf
0 and 9 control volume
>>
>>45667406
what the hell is your problem, man? scene releases don't have subtitles and those are the fastest, also scene releases on BTN aren't split so you're full of shit. and also those don't come with subtitles.
>>
>>45667406
Encoding different types of visual content the same way is stupid, but there's a good reason for the split archives.

1.) The scene doesn't live to serve p2p users, they operate through FTPs, where it's easier to use split archives.

2) If your connection drops mid download, would you rather restart an 8gb file from the beginning? Or just restart the 40mb rar that got fucked up? I prefer the latter.
>>
>>45667426
can't I just get one from somewhere? where should I put it on the mpv folder? the reason I'm asking is because maybe input.conf on linux are different
>>
>>45664249
mpv is not for you.
>>
>>45667430
That only applies to TV, your comment about BTN. 'The Evil Within' for PC is 32gb, can you imagine fucking up a 32gb download and having to do it again?
>>
>>45667448
Linux version doesn't come with one either.
They use the same configs, just use one of the ones posted in the thread
>>
>>45667448
CONFIGURATION FILES

Location and Syntax
You can put all of the options in configuration files which will be
read every time mpv is run. The system-wide configuration file
'mpv.conf' is in your configuration directory (/etc/mpv), the
user-specific one is ~/.mpv/config. User-specific options override
system-wide options and options given on the command line override
either. The syntax of the configuration files is option=<value>;
everything after a # is considered a comment. Options that work without
values can be enabled by setting them to yes and disabled by setting
them to no. Even suboptions can be specified in this way.
>>
>>45667415
You can make the input.conf yourself if you want to change the keybindings. The video quality should be the same but it's just that it behaves like a Linux app: you don't have a GUI or anything. Also some new features take longer to get to the Windows version but I guess it has p much everything needed now.
>>45667448
https://github.com/mpv-player/mpv/blob/master/etc/input.conf
>>
>>45667468
and what was I talking about? I was talking about me downloading shit everyday and getting the subs with a simple key on mpchc
>>
>>45667495
thanks, but where do I place it? I don't have those folders on >>45667483 just pic related
>>
>>45667430
tbh, I don't care about scene releases since new movies don't really interest me. The very few that do, I tend to buy (yea, point at me and laugh, idgaf)

>>45667432
seriously, what kind of shit servers don't allow to resume downloads? I remember using some shitty downloadmanager back in the Windows 98 days to resume downloads all the fucking time

also, doesn't the scene use IRC to distribute releases? I vaguely remember learning to IRC for that reason back in the days...
>>
>>45667521
in the mpv folder
>>
>>45667522
good for you, but since I care I was asking if mpv could autoload subtitles from sites like opensubtitles or addic7ed
>>
>>45667521
I think you put it in the mpv folder.
>>
>>45667496
You said BTN doesn't have rar'd content. The person you were replying to is talking about scne releases, not unrar'd scene releases that make their way onto p2p mediums. He is talking about the 1st and 2nd party sources.
>>
>>45667527
ok thanks, I'll try it
>>
>>45667521
try to slap them into the same folder as mpv, or under C:\User\<username>\Appdata\Local\mpv

might be Roaming instead of Local, location of configuration files on windows hardly follow standards
>>
>>45667538
this is going nowhere, all this started because I asked if mpv could get subs.
>>
Is it possible to show the chapter names next to the timecode when you mouse over the seek bar?
>>
>>45667553
thanks, first will try the local folder then the one in roaming
>>
>>45667051
But where's the config file?
>>
>>45667553
hey it worked I put it on the mpv folder on the program folder, not roaming but the folder itself, alongside fonts.conf
now I finally have + and - ad the volume controllers
>>45667613
https://raw.githubusercontent.com/mpv-player/mpv/master/etc/input.conf
>>
>>45667613
%APPDATA%\Roaming\mpv
Thread replies: 304
Thread images: 21
Thread DB ID: 27274



[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vip /vp / vr / w / wg / wsg / wsr / x / y] [Search | Home]

[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vip /vp / vr / w / wg / wsg / wsr / x / y] [Search | Home]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the shown content originated from that site. This means that 4Archive shows their content, archived. If you need information for a Poster - contact them.
If a post contains personal/copyrighted/illegal content, then use the post's [Report] link! If a post is not removed within 24h contact me at [email protected] with the post's information.