![]() |
MPV (mplayer fork) on Sailfish: no success :(
After some days dealing with this issue, lots of headaches, tricks, patches and the like, I have came to a dead end.
MPV compiles with success. But when it's time to open a video file, there's nothing. I have joined MPV official IRC channel and this is what they have told me: Code:
mced What do you think? Keep trying to run "Mplayer" (actually MPV) is useless on Sailfish? Because I'm tired of things like unsupported XviD. Repeating the steps I've followed: 1. Download MPV 0.1.7 source code, do ./configure --disable-x11 --disable-sdl --enable-wayland --disable-libass. It seems to detect Wayland... Code:
============ Checking for Wayland ============ Code:
Enabled optional drivers: Code:
./mpv -vo help |
Re: MPV (mplayer fork) on Sailfish: no success :(
well, already the summary tells no video out, it seems only some digital tv and dvd codecs got compiled.
So, You will need to figure out how to adress the correct video framework available on Jolla and if you are missing some optional codecs. Seems from the IRC that those guys believe gles is not supported. |
Re: MPV (mplayer fork) on Sailfish: no success :(
But there is something weird: at first,both Wayland and Pulseaudio were undetected (no dev packages). And so it was written in summary: "pulse" and "wayland" where listed in "Disabled optional drivers".
Installed pulseaudio-devel, then 'configure script' detected it and was written in summary "enabled" section, as you can see. Installed a bunch of weird things in order to let 'configure script' detect Wayland. It succeeded. But summary doesn't show it at all, "enabled" nor "disabled". Disappeared. I don't understand it. Also, I can't let OpenGL be detected, as somebody suggested on IRC. These are the times when I miss my Debian and its great collection of devel packages. |
Re: MPV (mplayer fork) on Sailfish: no success :(
Check video/out folder and compare to newest version, no vo_wayland.* in the wayland 1.1 (0.1.7) version you're trying to make, only gl_wayland (the latest version has wayland listed in output if you modify configure to look for 1.1, but of course won't build, this is scary, our bleeding edge is already 6 months old for this project, hopefully jolla plan to move to wayland 1.2 soon)
|
Re: MPV (mplayer fork) on Sailfish: no success :(
Oh, that makes sense. Thank you very much. Time to wait until 1.2 is released.
|
Re: MPV (mplayer fork) on Sailfish: no success :(
@mced have you tried with the latest MPV version (0.4.2)...jolla wayland version is now 1.1.0+git2-1.2.1.....I really hope Jolla would upgrade to 1.4
|
Re: MPV (mplayer fork) on Sailfish: no success :(
Thanks, my Jolla was stolen five months ago and I'm sort of away, waiting for Jolla 2 on... 2015?
|
Re: MPV (mplayer fork) on Sailfish: no success :(
Quote:
|
Re: MPV (mplayer fork) on Sailfish: no success :(
I have been able to compile the most recent version of mpv with SDL2 + GLES2 backend. I used this configuration because mpvs wayland backend requires version 1.6 of wayland and SailfishOS currently ships with wayland 1.3.
but video playback does not work. these are the current issues: sometimes when i start a video this happens: https://bpaste.net/show/9609926e10ae but sometimes it starts fine.. but the progress is not changing, the screen is black and there is no audio if i press left/right or pause(space) and unpause(space again) it starts progressing automatically but there is neither video nor audio output i have tried different file formats and file sizes but i had no success in starting a video yet. the SDL2 errors i mentioned above happen independent of the file size at random. |
Re: MPV (mplayer fork) on Sailfish: no success :(
It's been almost 8 months. Any update on this?
|
Re: MPV (mplayer fork) on Sailfish: no success :(
hey, I don't need mplayer to play videos.
I need just a console version to play music and radio streams. Can you share the compiled version? Or compile it without video support at all? And add to openrepos. I believe can do that, I used to compile mplayer in the past often. But I have a lot of work these couple of days, and no Jolla sdk environment, and would appreciate if some one would do that. |
Re: MPV (mplayer fork) on Sailfish: no success :(
i have managed to compile mpv and it plays back videos!
via this hack: https://bpaste.net/show/49b5baf12149 audio doesn't work yet though (probably need libaudioresource), and video needs to be rotated |
Re: MPV (mplayer fork) on Sailfish: no success :(
I mean.... your username is only that, right?
|
Re: MPV (mplayer fork) on Sailfish: no success :(
https://www.youtube.com/watch?v=uwZy0Mk9R9o
video (size meh) and audio (need to figure out where to put the code...) work EDIT: ... silly me ... you can use the --fs (fullscreen) option to have the video appropriately sized :) |
Re: MPV (mplayer fork) on Sailfish: no success :(
great news! :)
could you provide the rpm for testing purpose? :D Many thanks :) |
Re: MPV (mplayer fork) on Sailfish: no success :(
hey! any update on that package?
|
Re: MPV (mplayer fork) on Sailfish: no success :(
heres a (crappy, work-in-progress) cmdline audio-file player that i use as the backend to my music thingie (klomp). it requires pyqt which is installable using zypper if you ignore the error about breaking it.
unfortunately, there is a bug in QT that makes the QMediaPlayer fail on vbr MP3s, so i had to write an extremely lowlevel player using QAudioDecoder for mp3. also no keyboard control yet, just a few cmdline args https://github.com/teleshoes/klomp/b...rc/qtcmdplayer Code:
usage: qtcmdplayer [-h] [--loop] [--volume VOLUME] [--mp3] [--nomp3] |
All times are GMT. The time now is 01:08. |
vBulletin® Version 3.8.8