You are not logged in.
Pages: 1
Greetings,
Is it possible to use libcaca library in MPV player just like in MPlayer? If so, how to do it? (I've scrolled through whole content of 'man mpv' without any luck of information).
Thanks,
Winged
Last edited by Winged4Ever (2013-11-23 10:40:50)
|| Kernel: 4.0.4-2-ARCH || Architecture: i686 || WM: ratpoison || DE: none ||
“A man goes to knowledge as he goes to war: wide-awake, with fear, with respect, and with absolute assurance. Going to knowledge or going to war in any other manner is a mistake, and whoever makes it might never live to regret it”
---Don Juan
Offline
--vo=caca
It's in the man page.
Offline
The mpv from the repos doesn't depend on libcaca and I get
$ mpv -vo help
Available video outputs:
vdpau : VDPAU with X11
opengl : Extended OpenGL Renderer
xv : X11/Xv
opengl-old : OpenGL
vaapi : VA API with X11
x11 : X11 ( XImage/Shm )
null : Null video output
image : Write video frames to image files
opengl-hq : Extended OpenGL Renderer (high quality rendering preset)
wayland : Wayland SHM video output
Offline
So it'll have to be compiled in, I guess
Offline
https://aur.archlinux.org/packages/mp/m … t/PKGBUILD just mentions libcaca in the dependencies, so I guess it's autodetected and compiled in unless it's explicitly disabled in the ./configure line.
Offline
... Now I feel totally ashamed... Thanks for help x33a.
Ok, so now I need to rebuild MPV and add caca support, am I right? Cause when I play the video it says "Video output caca not found!"
@karol Didn't noticed you posted first. I'll tell you if it worked in a moment.
Last edited by Winged4Ever (2013-11-22 15:02:50)
|| Kernel: 4.0.4-2-ARCH || Architecture: i686 || WM: ratpoison || DE: none ||
“A man goes to knowledge as he goes to war: wide-awake, with fear, with respect, and with absolute assurance. Going to knowledge or going to war in any other manner is a mistake, and whoever makes it might never live to regret it”
---Don Juan
Offline
Yup, you need to compile mpv.
Offline
Sorry for bumping, but this can spare you compiling after all: you can just install mpv-git from jelle's unofficial repo: https://wiki.archlinux.org/index.php/Un … positories
$ mpv -vo help
Available video outputs:
vdpau : VDPAU with X11
opengl : Extended OpenGL Renderer
xv : X11/Xv
sdl : SDL 2.0 Renderer
opengl-old : OpenGL (legacy VO, may work better on older GPUs)
vaapi : VA API with X11
x11 : X11 ( XImage/Shm )
null : Null video output
image : Write video frames to image files
caca : libcaca
opengl-hq : Extended OpenGL Renderer (high quality rendering preset)
wayland : Wayland SHM video output
I can confirm caca output works.
Offline
It's the first time I encounter installing something from custom repository like this. How exactly should I do this? By using git or something?
|| Kernel: 4.0.4-2-ARCH || Architecture: i686 || WM: ratpoison || DE: none ||
“A man goes to knowledge as he goes to war: wide-awake, with fear, with respect, and with absolute assurance. Going to knowledge or going to war in any other manner is a mistake, and whoever makes it might never live to regret it”
---Don Juan
Offline
It's the first time I encounter installing something from custom repository like this. How exactly should I do this? By using git or something?
Just add it to your pacman.conf, below all the official repos and run 'pacman -Syu mpv-git'.
Offline
Thank you so much karol, flawless victory ^^
|| Kernel: 4.0.4-2-ARCH || Architecture: i686 || WM: ratpoison || DE: none ||
“A man goes to knowledge as he goes to war: wide-awake, with fear, with respect, and with absolute assurance. Going to knowledge or going to war in any other manner is a mistake, and whoever makes it might never live to regret it”
---Don Juan
Offline
SOLVED
Hurrey, it works! Flawless victory, karol, and it's all because of your help! Thanks!
EDIT: My browser freezed and I thought it didn't posted my previous message. Sorry for bumping.
Last edited by Winged4Ever (2013-11-22 22:56:16)
|| Kernel: 4.0.4-2-ARCH || Architecture: i686 || WM: ratpoison || DE: none ||
“A man goes to knowledge as he goes to war: wide-awake, with fear, with respect, and with absolute assurance. Going to knowledge or going to war in any other manner is a mistake, and whoever makes it might never live to regret it”
---Don Juan
Offline
Please remember to mark the thread as solved https://bbs.archlinux.org/viewtopic.php?id=130309
Offline
You can always file a feature request in the Arch bug tracker. Since libcaca is a dependency of both gstreamer lines, many people already have it installed.
Offline
Pages: 1