Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question regarding commandline commands, #314

Open
FrostKnight opened this issue Jan 23, 2022 · 3 comments
Open

Question regarding commandline commands, #314

FrostKnight opened this issue Jan 23, 2022 · 3 comments

Comments

@FrostKnight
Copy link

FrostKnight commented Jan 23, 2022

Would it be possible, to add the newest mpv commands as options to baka-mplayer as options, for the newest release?

In particular, I wondered, if you could add:

audio-device=sndio

So essentially, I am wondering if you can update baka-mplayer to use a newer version of mpv if you choose to use mpv as the part underneath, instead of mplayer.

If this is already done in the master base, let me know though.

Aka, I get a desync error, playing mp4 files that can only be solved this way.

This is the error btw that I get, also it happens whether the mp4 is on my comp or online:

[mpv]: (+) Video --vid=1 () (vp9 1920x1080 30.000fps)
[mpv]: (+) Audio --aid=1 --alang=eng (
) (opus 2ch 48000Hz)
[mpv]: File tags:
[mpv]: Uploader: Tuxic's Music N' Tat
[mpv]: Channel_URL: https://www.youtube.com/channel/UCYkJFI3bd0nRlb9RdidfFTg
[mpv]: AO: [alsa] 48000Hz stereo 2ch s32
[mpv]: VO: [gpu] 1920x1080 yuv420p
[mpv]: Warning: property 'video-aspect' is deprecated, refer to 'video-params/aspect' and 'video-aspect-override'.
[mpv]:
[mpv]: Audio/Video desynchronisation detected! Possible reasons include too slow
[mpv]: hardware, temporary CPU spikes, broken drivers, and broken files. Audio
[mpv]: position will not match to the video (see A-V status field).
[mpv]:

@u8sand
Copy link
Owner

u8sand commented Jan 23, 2022

@FrostKnight

It is possible to add mpv options directly to the bakamplayer.ini file (which is json formatted) under the mpv section. For example:

...
    "mpv": {
        "audio-device": "sndio",
        "msg-level": "status",
...

Be sure bakamplayer is closed while you modify this file.

In terms of using the latest version of mpv, bakamplayer should have no issues with the most up to date mpv library.

@FrostKnight
Copy link
Author

FrostKnight commented Feb 6, 2022

Hmm, I tried to do this, but I ran into some issues, I think its because, I need to change the prefix within the executable itself.

Aka, my distro uses FHS.

;)

https://en.wikipedia.org/wiki/Filesystem_Hierarchy_Standard

I wish there was a way to do so, within this program.

I have tried many ways...

Also, I am not sure what the whole bakamplayer.ini is supposed to look like with my changes added.

Although it is probably more the fact, that a lot of stuff is located in /usr/bin/executable

The odd thing though, they still haven't fixed one part of it, perl.

:(

@u8sand
Copy link
Owner

u8sand commented Feb 6, 2022

Perhaps this document clarifies things? https://github.com/u8sand/Baka-MPlayer/blob/master/DOCS/settings.md

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants