You are not logged in.

#1 2013-11-22 14:33:25

Winged4Ever
Member
Registered: 2013-11-09
Posts: 35

[SOLVED] MPV + Libcaca?

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

#2 2013-11-22 14:36:47

x33a
Forum Fellow
Registered: 2009-08-15
Posts: 4,587

Re: [SOLVED] MPV + Libcaca?

--vo=caca

It's in the man page.

Offline

#3 2013-11-22 14:41:29

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] MPV + Libcaca?

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

#4 2013-11-22 14:48:27

x33a
Forum Fellow
Registered: 2009-08-15
Posts: 4,587

Re: [SOLVED] MPV + Libcaca?

So it'll have to be compiled in, I guess tongue

Offline

#5 2013-11-22 14:51:07

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] MPV + Libcaca?

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

#6 2013-11-22 14:56:56

Winged4Ever
Member
Registered: 2013-11-09
Posts: 35

Re: [SOLVED] MPV + Libcaca?

... 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

#7 2013-11-22 14:58:46

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] MPV + Libcaca?

Yup, you need to compile mpv.

Offline

#8 2013-11-22 15:02:47

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] MPV + Libcaca?

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

#9 2013-11-22 15:22:50

Winged4Ever
Member
Registered: 2013-11-09
Posts: 35

Re: [SOLVED] MPV + Libcaca?

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

#10 2013-11-22 15:28:17

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] MPV + Libcaca?

Winged4Ever wrote:

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

#11 2013-11-22 22:52:23

Winged4Ever
Member
Registered: 2013-11-09
Posts: 35

Re: [SOLVED] MPV + Libcaca?

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

#12 2013-11-22 22:54:08

Winged4Ever
Member
Registered: 2013-11-09
Posts: 35

Re: [SOLVED] MPV + Libcaca?

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

#13 2013-11-22 23:25:38

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] MPV + Libcaca?

Please remember to mark the thread as solved https://bbs.archlinux.org/viewtopic.php?id=130309

Offline

#14 2013-11-23 13:33:07

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: [SOLVED] MPV + Libcaca?

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

Board footer

Powered by FluxBB