You are not logged in.

#326 2015-02-20 03:32:04

xylosper
Member
Registered: 2011-04-16
Posts: 167

Re: bomi - A powerful and easy-to-use multimedia player!

@bobart not SMPlayer, CMPlayer, and it's fixed anyway.

@solid Can you post `bomi --debug` result?

@pjezek lrelease should be installed as makedeps in PKGBUILD. Check qt5-tools package is installed.

Offline

#327 2015-02-20 10:21:22

motaito
Member
Registered: 2015-02-07
Posts: 63

Re: bomi - A powerful and easy-to-use multimedia player!

Usually VLC is all you need. However, on windows I prefer home cinema player (included in cccp codec pack) simply because it has good pan&scan. I have not seen pan&scan in the feature list from bomi. There is no player on linux that has useful pan&scan functionality. IIRC only SM Player has some rudimentary functionality like it. If bomi has it, it would instantly become my new favorite on linux. Well it also needs the ability to watch over SMB share. These are really the two only features I care about. I don't need anything about playlists or remembering what I watched earlier etc. But on occasion I need to adjust the image in size. It may be distorted in width or height or I just want to zoom in or out. Does bomi have those two features or are they planed as features for later?

Offline

#328 2015-02-20 18:05:03

xylosper
Member
Registered: 2011-04-16
Posts: 167

Re: bomi - A powerful and easy-to-use multimedia player!

Usually VLC is all you need.

Great. You just made all other players including bomi useless ones.

However, on windows I prefer home cinema player (included in cccp codec pack) simply because it has good pan&scan. I have not seen pan&scan in the feature list from bomi. There is no player on linux that has useful pan&scan functionality. IIRC only SM Player has some rudimentary functionality like it.

Please define 'good pan&scan' and 'useful pan&scan'. Is 'pan&scan' different from cropping video into the aspect ratio of window which is already in bomi?

Well it also needs the ability to watch over SMB share.

When you say 'watch over SMB share', you mean without mounting?

Does bomi have those two features or are they planed as features for later?

Whatever you want, you have to provide very specific description. I cannot say anything yet because your post is too abstract.

Offline

#329 2015-02-20 19:32:16

motaito
Member
Registered: 2015-02-07
Posts: 63

Re: bomi - A powerful and easy-to-use multimedia player!

Great. You just made all other players including bomi useless ones.

Sorry, that may have come off wrong. I did not intend to diminish you effort! I was in a hurry when I wrote the post earlier. I try to be more specific.

In regard to the features of a player I prefer it simple. The paradox part is that most players have too many features (that I don't need) and still there is always one missing.

Features I am looking for (that may not be in a "standard" player) are usually these:

Color correction:
In case the video colors are off. This may happen for various reasons but usually home made videos look better with some correction. This is however not a very important feature to me. Still nice to have.

Change the aspect ratio:
Change width and height individually. Some videos are messed up and the picture looks squished e.g. some videos taken with cell phones or old movies captured from VHS. A fine graded adjustment is sometimes helpful. By that I mean the ability to change the height or width as needed (not in incremental steps that are several pixels at once so it's either to high or not enough)

Zoom in and zoom out:
Basically change the view size relative to the window size. Some videos seam to be fine, but if you zoom out you will notice that the borders were cut and you did not actually see the entire picture. I had that VLC seamed to present the picture right but when I used Home Cinema player on windows I noticed that the actual frame was not correctly rendered in VLC. It looked the same at first, but when I zoomed out I could see that the video was cropped from the original size. It cut of the border. So being able to zoom out corrects this. I assumed it was a pan and scan issue. While the frame adjusted to the window size it was actually bigger that the viewing area.

Playing videos over a network:
I meant that I could have a video on my windows notebook but I would want to watch it on a bigger screen with my arch box. I could then connect to my notebook using a samba share (not mount a partition) and watch it on arch without having to copy the file onto my arch box first. As far as I know VLC is the only player on linux that can do this.

So, you see I only made the comparison to other players to point out that these features exist. The problem is that there is no player on linux that has all those features at the same time and you can't watch a movie using two players to complement each other... I did not find all these features on you website. Maybe I overlooked them or searched for different terms than the ones you used. My point is if your player has all these features, especially zooming and network, then it would be better suited for me than any other available player out there.That would be awesome. Anyway, I will just install it and see if it works for me. I thought it might help to make you aware that some people need the combination of those features. I have some friends who would be delighted to hear about it if all of those features are present smile

I will just give it a shot and let you know if it worked for me.

Offline

#330 2015-02-20 20:21:09

motaito
Member
Registered: 2015-02-07
Posts: 63

Re: bomi - A powerful and easy-to-use multimedia player!

I gave it a quick spin. Here some initial thoughts.

Aspect Ratio and Crop seam to do the same thing. I could not notice a difference. They are also in relation to the window and can not be set individually or in finer grade. If the given options don't work you can not adjust to your needs.

I found no zooming in or out. Most people probably don't care. To me it has become a deciding factor whether I like a player or not.

Playing over a network does not work. I had to copy the file onto my arch box.

The controls are very obtrusive. As soon as the mouse cursor is over the screen you can't see anything of the video. It tears you out of the movie experience (if that makes sense). I prefer smaller controls on the bottom as they don't interfere so much. A feature I always liked is clicking on frame pauses/restarts the movie. Maybe you could implement it? As for the sliding in boxes on the sides. What is the reasoning for having them over the video? I just opened the file so chances are slim that I need to see what file I choose. I would not render them over the video as soon as the cursor enters the window. Maybe a menu entry to open a popup with the information if needed. I selected "hide" but they still came up. A bug maybe?

I find it a somewhat bold move to have the player as a system tray icon with closing the player not actually doing so. I don't think is like a music player that you want to run in the background. Once you finished watching a movie there is no need to keep the app open. I think a right click on the video frame to open the complete menu is sufficient.

Please don't get me wrong. I don't mean to diminish your work. I think the player has real potential. Maybe see it as constructive criticism instead. If the above point were different I would like it a lot.

Offline

#331 2015-02-21 05:00:39

xylosper
Member
Registered: 2011-04-16
Posts: 167

Re: bomi - A powerful and easy-to-use multimedia player!

Color correction:
In case the video colors are off. This may happen for various reasons but usually home made videos look better with some correction. This is however not a very important feature to me. Still nice to have.

When you saying 'correction', do you mean something different from video color adjustment(brightness/constrast/hue/saturation)?

Change the aspect ratio:
Change width and height individually.

Good. I can add it.

Zoom in and zoom out:
... if you zoom out you will notice that the borders were cut and you did not actually see the entire picture. ...

I don't know about VLC but bomi does not crop anything by default. If you still see same behavior in bomi, it may be a bug of bomi. In that case, please make a bug report.

I could then connect to my notebook using a samba share (not mount a partition) and watch it on arch without having to copy the file onto my arch box first. As far as I know VLC is the only player on linux that can do this.

No. Most major players in Linux including mplayer support samba. bomi does not support because nobody asked me.
I think I can add support for smb:// protocol.

Aspect Ratio and Crop seam to do the same thing. I could not notice a difference.

Aspect ratio chanages width:height ratio by stretching pixels. Crop does by cropping pixels.
If you really didn't see any difference, you found a bug. Please make a report for it.

I found no zooming in or out. Most people probably don't care. To me it has become a deciding factor whether I like a player or not.

As I said, there shouldn't be unknown cropped area. If you still wants zooming-in/out anyway, I can add it.

Playing over a network does not work. I had to copy the file onto my arch box.

'Playing over a network' does not define your case. Your case is specific case for unmounted remote samba share. bomi works for other cases currently.

The controls are very obtrusive.

If you don't like the default skin, please try others. You can see previews in Gallery page in website.
If you still cannot find your one, you can make a feature request.


A feature I always liked is clicking on frame pauses/restarts the movie.

Sorry but I cannot understand what you mean. what frame do you mean, video frame or window frame?

As for the sliding in boxes on the sides. What is the reasoning for having them over the video? I just opened the file so chances are slim that I need to see what file I choose. I would not render them over the video as soon as the cursor enters the window. Maybe a menu entry to open a popup with the information if needed. I selected "hide" but they still came up. A bug maybe?

I have a problem take your point here. Maybe several points can be included.
If you're talking about that playlist should be displayed in separated window, it won't happen unless I change the policy.
If you're talking about that automatic display of playlist is annoying, you can disable it in skin&style page in preferences (Tool > Preferences).
'hide' menu is just to hide it. It does nothing about showing it, literally.
Also, if you're using git version, it wouldn't be so annoying because now, playlist only popup if the cursor hovers over edge for > 0.2 sec.

I find it a somewhat bold move to have the player as a system tray icon with closing the player not actually doing so.

If you don't like it, you can disable it in application page in preferences.

FYI, I'm not a specialist of audio/video or multimedia. I just started to develop bomi because I couldn't find what I wanted in other players and I can make it.
I may not know lots of things about audio/video even if they're common sense for you.
Even if I understand the terms, the image of actual implemetation would be totally different one from what you think.
That's why I keep asking for details. So when you making a request, please define the behavior player should do instead of just giving a keyword or term.

Thank you for long and thoughtful post.

Offline

#332 2015-02-21 06:53:54

xylosper
Member
Registered: 2011-04-16
Posts: 167

Re: bomi - A powerful and easy-to-use multimedia player!

About 'Change width and height individually', why do you need to adjust height?
Because aspect ratio is 'ratio', smaller height means same result of larger width.
Programatically, there's no hard thing to implement both of width and height to be adjustable.
However, if one can get same result with different action, it can make user confused.
If you don't have a special reason which can be solved by adjusting both of width and height at the same time, I want to add function to adjust width only to make it simpler.
It also makes more sense because increasing/decreasing width corresponds to increasing/decreasing aspect ratio respectively.
Adjusting height results to opposite change of aspect ratio.

And, git package now enabled smb:// protocol.

Edit: I think adjusting aspect ratio by e.g., +0.01/-0.01 would be btter than setting the pixel of width/height. what do you think?

Last edited by xylosper (2015-02-21 07:30:31)

Offline

#333 2015-02-21 16:10:25

motaito
Member
Registered: 2015-02-07
Posts: 63

Re: bomi - A powerful and easy-to-use multimedia player!

Just wanted to let you know that I find your willingness to add features based on my comments quite awesome! In turn I want to give you a proper feedback. I am quite busy right now. I will come back to it asap. If not tomorrow, then in the next few days.

Offline

#334 2015-02-22 14:42:28

motaito
Member
Registered: 2015-02-07
Posts: 63

Re: bomi - A powerful and easy-to-use multimedia player!

It's a bit of a lengthy post, but really there aren't too many points. I just tried to make myself as clear as possible. Actually, I think it only need a few minor adjustments to be perfect!

I took a closer look at your player and played with the preferences. I have to say, the more I use it the more I like it! I can choose a different skin and disable the sliding in boxes in the preferences which makes the player slim and clutter free.

I now get the difference between aspect ratio and crop. I did not see it before because I used a full HD movie and looked at it having the window relatively small. So, now issue here after all. Sorry, my bad.

About 'Change width and height individually', why do you need to adjust height?
Because aspect ratio is 'ratio', smaller height means same result of larger width.

Yes, it should deliver the same result, but is it intuitive? Say your video is stretched and the actors look large and thin. You would immediately think that you have to reduce the height, not enlarge the with because the with already takes up the entire width of the window.

But if you enlarge the width, you would expect to see the width getting bigger. If you to that and then resize the video to fit into the window, your action would be to enlarge the width but what you see is the height being reduced. That seams counter intuitive to me. But whatever is less work to implement. As long as you get the desired result I don't see a real problem. Maybe the feature just needs to be named properly like "increase/decrease aspect ratio". That could be sufficient already.

Also, in such a case you might want to make the proportions of the aspect ratio right. Once that is done you might decide that the height is now very low and instead you would rather crop the sides. That is why I mentioned the zoom feature. It's more intuitive if you can first fix the aspect ration and second zoom to the desired size. If you prefer a smaller complete image you would be done but if you rather have the image bigger and therefore sacrifice the sides you would have to zoom in.

If you have the chance to play with the home cinema player on windows (its in the cccp pack) then you would exactly see what I mean. You can play with the video size using the numpad. It would be much clearer than trying to explain it in words. If you can't do that let me know I will try to explain it more clearly. Using the numpad for such adjustments seams to be a good place to me. Maybe you could implement it similarly. If you have the chance to check it out, I would really take the time to do so. It's a very nifty player but window only and no longer under development.

I had few videos which looked the same in all players. However, when I tried them in home cinema player and used the zooming functions to zoom out, I noticed that the video was cropped when in default size. That should not happen in any player so it must have been a problem with the video itself not the player. Still home cinema player was the only one that could handle it and fix the issue. So, it was the only player that let me watch the video without inadvertently cropping the video. I find the zooming feature very useful.

Edit: I think adjusting aspect ratio by e.g., +0.01/-0.01 would be better than setting the pixel of width/height. what do you think?

I agree. You have presets for the aspect ratio (4:3, 16:10 etc). What ever ratio the user choose you can start to manipulate it from there. E.g. the user chooses 16:10 but then has the need to slightly bring down the height. It seams more logical if you don't have to calculate the with in pixels and then make adjustments. Most likely you have the ratio stored somewhere so manipulate these values and then you probably already have the functionality to render the appropriate size based on the ratio.

As for the +0.01/-0.01 steps. That seams good to me. But in the preferences you already have settings like adjusting the steps when changing color values. I would add the same for the aspect ratio, so that the user can choose in what size the steps should be. Most players who have this option use fixed steps that are too big to make sense. So just make sure that the values can be chosen small enough to correspond to a change in the size of a pixel. Then you have covered all possible situations without any extra effort.

On that note I also looked at the color corrections. They seam good to me. I don't think that they need more work. I mentioned the color correction in an earlier post to let you know what features are important to me. I did not mean to imply that yours are inadequate. Some players let you change the color values which can be good if you think e.g. there is too much blue tone over all you can simply bring down the blue rather than try to fix it with the hue. Hue should only affect color and will not affect grey tones and is therefor different. So, maybe if you are a perfectionist that's something to think about. Ideally you have both ways to adjust colors but you could also consider it overkill.

Another thing are the mouse button bindings. I have seen you let the user choose them in the preferences. That is awesome. But there are two small issues. You have these bindings "Player > start" and "Player > stop". By default the "Player > start" is set to the middle mouse button. If the video is playing and I use the middle mouse button I have to press the middle mouse button a couple times and eventually the video will pause. I then have to press the middle mouse button again a couple times and eventually the video will continue to play. That behavior seams buggy. What I would expect is the same behavior as pressing the space bar on the keyboard. One click stops the video and the next click resumes it. Maybe a "Player > toggle pause" would make more sense. Also, can you add a mouse click event? It seams that should not be a big issue as you already have the double mouse click event. Basically you have every possible mouse button click except the normal vanilla mouse click. That's the feature I mentioned earlier in a previous post. Clicking on the video should pause it and clicking again should resume play. Similar to double click makes full screen and another double click exits full screen. Maybe you did not add it because you have the play list sliding in over the video and then you can not handle the mouse click properly? In that case I think it would be sufficient to add a "Player > toggle pause". I would just assign it to the middle mouse button.

You wrote that the git version already has smb:// protocol enabled. I have not yet tried the git version but that sounds awesome. Am I correct in assuming that the git version is the current development state and that this feature is eventually be pushed into the normal version? Also, can I run both versions without conflict?

A long post for what turns out to be actually not that may changes. It feels like you are very close to an awesome player. I should have taken a better look first rather than write in a hurry. My bad, sorry about that!

Hope it helps.

Last edited by motaito (2015-02-22 15:02:55)

Offline

#335 2015-02-22 16:30:04

xylosper
Member
Registered: 2011-04-16
Posts: 167

Re: bomi - A powerful and easy-to-use multimedia player!

As for the +0.01/-0.01 steps. That seams good to me. But in the preferences you already have settings like adjusting the steps when changing color values. I would add the same for the aspect ratio, so that the user can choose in what size the steps should be. Most players who have this option use fixed steps that are too big to make sense. So just make sure that the values can be chosen small enough to correspond to a change in the size of a pixel. Then you have covered all possible situations without any extra effort.

I'll add the option. For instance, for, 1920x1080(16:9) FHD, the default aspect raito is 16/9=1.777... and stretching width by one pixel corresponds to increase of aspect ratio by 1/1080 ~ 0.0009. So, I think 0.0001 would be enough for the finest step. Do you agree?

About zooming, I'll try cccp first. But, I want to try it with your file which has cropped image issue. Can you share it?

On that note I also looked at the color corrections. They seam good to me. I don't think that they need more work. I mentioned the color correction in an earlier post to let you know what features are important to me. I did not mean to imply that yours are inadequate. Some players let you change the color values which can be good if you think e.g. there is too much blue tone over all you can simply bring down the blue rather than try to fix it with the hue. Hue should only affect color and will not affect grey tones and is therefor different. So, maybe if you are a perfectionist that's something to think about. Ideally you have both ways to adjust colors but you could also consider it overkill.

Adjusting RGB values would be easier than adjusting HSB. I'll add it. Because there's too many adjustable parameters(HSBC+RGB), maybe I have to add an color adjustment dialog like audio equalizer dialog.

If the video is playing and I use the middle mouse button I have to press the middle mouse button a couple times and eventually the video will pause. I then have to press the middle mouse button again a couple times and eventually the video will continue to play. That behavior seams buggy. What I would expect is the same behavior as pressing the space bar on the keyboard.

That's odd. It should work as like what space does by default. In fact, there's no 'Start' action in bomi. You can find either one of 'Play' or 'Pause' under 'Play' menu. The item appears as 'Pause' while playing and 'Play' for other cases. So, it's exactly what you want, the 'toggle pause'. Just in a case, is it possible for your middle button(wheel button) to be broken? If you have additional mouse button, please test it with other button.

Basically you have every possible mouse button click except the normal vanilla mouse click.

To allocate an mouse behavior to 'click' is quite tricky because fundamentally, there's no way to tell two single click from one double click.
Usually, double click is determined by 'two single click with short time interval'.
In Linux, this interval is 0.4s and this means, after releasing mouse button, player can respond to the action only after 0.4s futher pased.
In reality, the time delay would be longer because a value too close the interval of double click could cause confliction between single/double click.
0.4s is already long enough to feel the delay and futher delay can make user think it's not working for a moment. If you don't mind still, I can add it.

Am I correct in assuming that the git version is the current development state and that this feature is eventually be pushed into the normal version? Also, can I run both versions without conflict?

Yes, git version is the latest source in git repository. It contains latest features and bug fixes but, it may contain regressions or broken functionality from time to time.
Also git package conficts with versioned package because they share same files.

Eventually, when I think it's time to release a new version, I tag a version number and release it as new version.
Since I don't have a policy for release schedule, there's no fixed schedule.

Thank for detailed feedback.

Offline

#336 2015-02-22 17:40:03

motaito
Member
Registered: 2015-02-07
Posts: 63

Re: bomi - A powerful and easy-to-use multimedia player!

I'll add the option. For instance, for, 1920x1080(16:9) FHD, the default aspect raito is 16/9=1.777... and stretching width by one pixel corresponds to increase of aspect ratio by 1/1080 ~ 0.0009. So, I think 0.0001 would be enough for the finest step. Do you agree?

Yes, that sound more than reasonable. I just thought if the value for the steps can be adjusted in the preferences that would be perfect. No need to limit the user. I don't know about resolutions in the future (ultra hd like 4k and more). I probably would use 0.00001 but have the +/- spin buttons make increases in 0.0001 steps. Then the user has reasonable values for adjustments with the spin buttons but can still go crazy with finer values just in case. But honestly that's because I'm paranoid about such things smile 0.0001 should certainly be small enough. I found it important to point out that if you put more work into it not to have fixed steps that are too big. In other players that's what makes the feature useless. It's then always making a change in size so that the result is either too much or not enough. But you can not make it fit to your needs. Thus rendering the feature useless.

About zooming, I'll try cccp first. But, I want to try it with your file which has cropped image issue. Can you share it?

I will search one. But video files tend to be rather large. If I manipulate it in some editing software to cut out a part the effect would likely disappear. Do you have some ftp upload or something like it? How do you want to get the file? Also, I will test it in your player first to see if it's the same issue that other players have.

Adjusting RGB values would be easier than adjusting HSB. I'll add it. Because there's too many adjustable parameters(HSBC+RGB), maybe I have to add an color adjustment dialog like audio equalizer dialog.

That sounds awesome given that one might not often have the need for it that's quite some extra effort. Adding a dialog is certainly more than adequate.

That's odd. It should work as like what space does by default. In fact, there's no 'Start' action in bomi. You can find either one of 'Play' or 'Pause' under 'Play' menu. The item appears as 'Pause' while playing and 'Play' for other cases. So, it's exactly what you want, the 'toggle pause'. Just in a case, is it possible for your middle button(wheel button) to be broken? If you have additional mouse button, please test it with other button.

Lol, I did not get that the text of the menu entry changes. Also, it is strange indeed. The other buttons don't work for me at all but I can assign the value to the scroll wheel. There it works as expected. I will look at my mouse setup. My mouse work otherwise fine but I am using xinput and maybe some adjustments on my side will fix the issue. Sometimes the middle mouse button click is recognized and sometimes not. The same mouse works flawless on windows. It must be a problem with my setup.

Also git package conflicts with versioned package because they share same files.

In that case I can use the git version if it's more helpful to you. Otherwise I'll wait for an update in the normal version. Since you take the time to add the features I should probably use the git version and test them asap so I can give some feedback, right?

Offline

#337 2015-02-22 23:03:02

xylosper
Member
Registered: 2011-04-16
Posts: 167

Re: bomi - A powerful and easy-to-use multimedia player!

Do you have some ftp upload or something like it?

No I don't. But you can use free web storage service such as google drive.
You can upload and send the shared URL.

Since you take the time to add the features I should probably use the git version and test them asap so I can give some feedback, right?

If you willing to, it would be helpful even if it's only just 'it's fine'.

FYI, aspecti ratio adjustment and RGB color correction/video color editor have been implemented.

Offline

#338 2015-02-23 17:51:28

motaito
Member
Registered: 2015-02-07
Posts: 63

Re: bomi - A powerful and easy-to-use multimedia player!

Those implementations were really quick!

I have installed the git version and tested it. The color correction tools are perfect. The video color editor dialog is no more and no less than what you need. Simple, straight to the point and distraction free. Adding a reset button to zero everything out is the most I could think of and that's being picky. Hue does as advertised (not change grey tones) and so do the color sliders (will change every thing including grey tones).

I see you followed my paranoia about the small steps with the aspect ratio smile It works great. I have to admit that bigger steps would have been sufficient but now there is no limit and the user is free to choose. I love it!

You have also changed the preferences using tree-views. It looks more organized and you have a better overview that way. Nice choice!

I have been searching for the file I mentioned that got accidentally cropped. After a good hour of searching I called a friend who had the exact same problem thinking he might remember which video it was. He did some more research about the problem in the past and informed me that it was apparently a problem with certain codec. The problem has since been fixed when the codec got updated. So that particular issue is no longer there and I can not reproduce the problem. It's a moot point. Interesting though that home cinema player could still handle it. Anyway, there is no point in sending you a file anymore. Still I would like to see a zooming feature as we often make some short videos in training using a cellphone. A lot of them end up having a wired aspect ratio which I can now fix thanks to you. But then there is nothing interesting going on in the edges of the video and it would be nice to zoom in a bit without having to edit the file. These videos are for temporary use only so it's not really important but it would still be nice to have. I almost don't dare to ask since you already put some extra work into it but if you happen not to care about the extra work... similar to the aspect ratio but a zoom feature... just saying smile

I also tried to use the samba share but I could not get it to work. In VLC you have access modules in the extended preferences. There you can enter a username, password and domain for the samba share. I could not find anything like it in your player. Bomi only has an error message saying "Error! Cannot open the media." Am I using it wrong?

Great work so far. I really have to apologize again for having jumped the gun in the beginning. Bomi is becoming my new favorite media player!

Offline

#339 2015-02-23 18:36:57

xylosper
Member
Registered: 2011-04-16
Posts: 167

Re: bomi - A powerful and easy-to-use multimedia player!

. Still I would like to see a zooming feature as we often make some short videos in training using a cellphone. A lot of them end up having a wired aspect ratio which I can now fix thanks to you. But then there is nothing interesting going on in the edges of the video and it would be nice to zoom in a bit without having to edit the file. These videos are for temporary use only so it's not really important but it would still be nice to have. I almost don't dare to ask since you already put some extra work into it but if you happen not to care about the extra work... similar to the aspect ratio but a zoom feature... just saying

Simple zooming is not difficult, so I'll add it.
But the crop menu may be more helpful, I think. In fact, it does not crop anything.
It just displays video given ratio by expanding overflown pixels outside of window.
If you choose 'Same as Window', you can see always the window filled with video image keeping given aspect ratio.

I also tried to use the samba share but I could not get it to work. In VLC you have access modules in the extended preferences. There you can enter a username, password and domain for the samba share. I could not find anything like it in your player. Bomi only has an error message saying "Error! Cannot open the media." Am I using it wrong?

I'm not familiar with samba, so I've tried only paths guest-allowed.
Can you try the form of smb://username:password@domain/path instead of smb://domain/path ?
If it works, I can add options like VLC to generate such URL automatically.
However, you do know the dangerous of saving password, right?

Thank you for kind words.

Offline

#340 2015-02-23 20:07:21

motaito
Member
Registered: 2015-02-07
Posts: 63

Re: bomi - A powerful and easy-to-use multimedia player!

Simple zooming is not difficult, so I'll add it.
But the crop menu may be more helpful, I think. In fact, it does not crop anything.
It just displays video given ratio by expanding overflown pixels outside of window.

I tried it. Depending on the window size it immediately cuts off to much. From there I can't get it right. You can best see what I mean with a movie that has a 16:10 aspect ratio and making your window squared. Cropping will cut off large parts on the sides. You can't control how much. From there you can't get the sides back. You can only distort the image again by screwing up the aspect ratio and even then you don't get the sides back either. Maybe if the cropping also had user defined steps. Not sure though. You could try and see if it gives the same behavior as zooming. It's hard to guess from my side.

I think the best solution would be to add zoom-in, zoom-out and reset zoom ("same as source" to keep the same terms as are already used in the menu). That would make it perfect. In the same manner that you added the increase/decrease aspect ratio.

Of course if you add the zoom and user defined steps for the cropping then you have covered everything and no one could ever say that something is missing smile But if user defined steps in cropping already have the desired zooming effect that would be an overkill.

Also, I figured out how to watch over samba. I have to enter the url using smb://username:password@domain/path like you pointed out. I got confused because in VLC domain refers to the windows workgroup but in bomi I have to use the pc-name instead which I find less logical/convenient. One might have more than a single pc in a workgroup. Anyway, it works. But for convenience I would prefer to be able to use a file manager to select the file and then use "open with -> bomi" from the context menu.

However, you do know the dangerous of saving password, right?

No, not really... unless you safe it in plain text. Even then someone has to first access my pc to get to the password. I am doing this on a hobby machine and have no sensitive data around. I guess it would not be good for many other users though. Maybe it is possible save username and domain and when opening the file prompt the user to input the password. That could be a good compromise. But then you have to detect when the samba share is used and when a local file gets opened. Not sure you can do this when the file gets opened in a file manager. Maybe it's part of the file name and you can parse it out of the file name (file path). Also, if you safe credentials on a pc-name basis and the user has more then one pc, would you then not need to safe every pc-name from every pc that can be accessed? You would then have to prompt for a password with a dialog that let's you select the pc-name. While that would be sweet, it becomes sort of a rats tail with more and more work. I think I have burdened you enough with extra work...

Offline

#341 2015-02-24 01:43:38

xylosper
Member
Registered: 2011-04-16
Posts: 167

Re: bomi - A powerful and easy-to-use multimedia player!

I think the best solution would be to add zoom-in, zoom-out and reset zoom ("same as source" to keep the same terms as are already used in the menu). That would make it perfect. In the same manner that you added the increase/decrease aspect ratio.

Zooming will go into separated menu because it won't try to fit the video into the window unlike crop does.

I got confused because in VLC domain refers to the windows workgroup but in bomi I have to use the pc-name instead which I find less logical/convenient.

And now I got confused. I've never specifed workgroup to access across shared folder. I doubt VLC works with workgroup.

One might have more than a single pc in a workgroup.

That's exactly why you have to specify PC. Without PC name(domain, server name, whatever), how can you find the destination?

Maybe I'm miunderstanding something.
Here's an idea. Please let me know next things:

* Your /etc/samba/smb.conf in server
* one sample URL which you enter in VLC
* Your setting for samba in VLC
* one sample URL which you copied from filemanager in samba share.
* Your setting for samba in filemanager, if any.

If you want some privacy, you can send them by E-mail(darklin20@gmail.com).
You have to notify that you have sent them because sometimes it just goes into spam box.
Before send them, replace real passwords with something others.
Then, I can make a similar environment with your one and I can test what you wanted.

unless you safe it in plain text.

As a matter of fact, it will be saved in plain text, or some equivalent. You can see that VLC also saves it in plain text in ~/.config/vlc/vlcrc .

Prompting password dialog is possible because samba share is specified by 'smb://' protocol. But before adding options or features, I wand to test in the env immitated your one first.

I think I have burdened you enough with extra work...

Never mind. I can only do what I can do. But, If you have additional request, I recommend using the issue tracker in github next time.
I often can't get notification for new post from Arch forum. Also, it will be easier to track your request case by case.

Last edited by xylosper (2015-02-24 01:47:41)

Offline

#342 2015-02-24 10:08:17

pjezek
Member
From: Praha - CZ
Registered: 2005-05-19
Posts: 79

Re: bomi - A powerful and easy-to-use multimedia player!

@pjezek lrelease should be installed as makedeps in PKGBUILD. Check qt5-tools package is installed.

Well, qt5-tools was installed and has been reinstalled - no effect, the error has been persisting... Using yaourt for building AUR packages. Running qt5 DEs and preferably qt5 apps for a clean system with gcc, not gcc-multilib. I wonder lrelease is not recognized by building process when exists in /usr/bin.

Last edited by pjezek (2015-02-24 11:22:05)


Our tomcat for your mice! Archlinux for your comps! Alfa Romeo for your roads! Faster running guaranted!

Offline

#343 2015-02-24 11:39:46

xylosper
Member
Registered: 2011-04-16
Posts: 167

Re: bomi - A powerful and easy-to-use multimedia player!

What's the result of 'lrelease -version' and 'lrelease-qt5 -version' ?

Offline

#344 2015-02-24 22:34:19

motaito
Member
Registered: 2015-02-07
Posts: 63

Re: bomi - A powerful and easy-to-use multimedia player!

@xylosper

Zooming will go into separated menu because it won't try to fit the video into the window unlike crop does.

Yes, I meant that the menu entry has "same as source", "Zoom-in" and "Zoom-out". So, that the user can reset as you have it in the aspect-ratio and crop menu entries as well. I trust you will find an ideal way to add zoom.

About the smb. What you write makes sense so I checked again. Turns out it doesn't matter what I write as SMB domain. VLC ignores it and finds the pc in an other way. I assume it takes it from the filepath. So I think it makes most sense if I write the steps I do in order to open a media file in VLC. I have a standard install and not configured smb in any specific way. In VLC I have:

SMB user name: username_on_windows_pc
SMB password: password_for_user_on_windows_pc
SMB domain: workgroup_from_network

workgroup_from_network: This one actually doesn't matter, I can write in anything or leave it empty. Technically your right. It should be the windows_pc_name not the workgroup_from_network! I messed it up and did not notice because it didn't matter in my case.

The steps I take:
1. open file manager (dolphin)
2. go to "network -> samba shares -> workgroup_from_network -> windows_pc_name -> pc_public_directory"
3. here I right click on the media I want to watch
4. from the context menu I select "Open with -> VLC media player"
5. done

After that the VLC playlist shows "smb://windows_pc_name/pc_public_directory/media_filename". So, I guess VLC parses out the windows_pc_name from there. I never enter a URL myself.

I think the best way would be if you have some part in the preferences that lets you manage users. You could enter username, password and domain (the actual domain as in the pc_name smile). Whereas the password is optional. Then if you detect the pc_name in the URL you can either apply the username and password that correspond to the pc_name or if the password is empty, prompt for user input. Then it would be super convenient and if the user is worried that the password is not stored in a safe manner you just enter it on demand. You would have made it as flexible as possible and covered all bases. Plus it's very convenient if you don't have to browse though the menu and manually enter a URL. What do you think about this idea?

As a matter of fact, it will be saved in plain text, or some equivalent. You can see that VLC also saves it in plain text in ~/.config/vlc/vlcrc .

Ahh, I am slightly shocked. And your right again. I checked and it's really there in plain text. I would have expected some minor encryption smile It doesn't really matter to me though. I don't have sensitive data on that network. Still... not best practice.

If you have additional request, I recommend using the issue tracker in github next time.

I only reply here to keep it somewhat consistent. Should I ever have another request I will contact you using the "Issue tracker" link provided on your page. But if you add these features I am all happy. Bomi would then cover everything I was looking for in a player and still be compact and well structured. I very much appreciate your effort in this! If you add a bitcoin address on your website I'll make a donation wink

Last edited by motaito (2015-02-24 22:36:46)

Offline

#345 2015-02-24 23:00:01

sl1pkn07
Member
From: Spanishtán
Registered: 2010-03-30
Posts: 371

Re: bomi - A powerful and easy-to-use multimedia player!

pjezek wrote:

@pjezek lrelease should be installed as makedeps in PKGBUILD. Check qt5-tools package is installed.

Well, qt5-tools was installed and has been reinstalled - no effect, the error has been persisting... Using yaourt for building AUR packages. Running qt5 DEs and preferably qt5 apps for a clean system with gcc, not gcc-multilib. I wonder lrelease is not recognized by building process when exists in /usr/bin.

you qtchooser installation is broken

Offline

#346 2015-02-25 01:24:23

xylosper
Member
Registered: 2011-04-16
Posts: 167

Re: bomi - A powerful and easy-to-use multimedia player!

I have a standard install and not configured smb in any specific way.

I'm asking the serverside configuration not client, because I couldn't configure samba share requring password.
I think you must have done something because it's not even possible to browse files from filemanager by default, which I've just tried.

Anyway, your instruction tells me that you don't need password because you didn't do anything to retrive files in dolphin.
Have you tried same thing for bomi? bomi also should appear under 'Open with' menu.

But if you add these features I am all happy.

Well, you'll find bugs, soon smile

Offline

#347 2015-02-25 02:28:23

motaito
Member
Registered: 2015-02-07
Posts: 63

Re: bomi - A powerful and easy-to-use multimedia player!

I'm asking the serverside configuration not client

Not sure what to tell you. I made a vanilla install and smb worked out of the box (I use KDE). I have a windows notebook and one with arch. No further setup was necessary to access my windows public folder. I have not installed a smb server explicitly. I just have to enter username and password when dolphin requires it. The only setup there was a kwallet entry which would not be necessary. I made it for convenience so that I don't have to enter the credentials every time by hand. I can't even find a /etc/samba/smb.conf file on my arch box.

From the wiki

KDE
KDE, has the ability to browse Samba shares built in. Therefore do not need any additional packages. However, for a UI in the KDE System Settings, install the kdenetwork-filesharing package from the official repositories.

Right click and open with bomi does not work for me. I have to open bomi and then go to the menu "load URL". There I have to enter an URL like: smb://username:password@pcName/publicFolder/mediaFileName. That works.

Also, I checked in VLC. I do need to have username and password saved in the preferences or else it does not work when using open with VLC. In that case I have to load an URL like in bomi. I guess they use the filepath and rewrite it to the required URL internally... maybe.

Offline

#348 2015-02-25 02:40:55

xylosper
Member
Registered: 2011-04-16
Posts: 167

Re: bomi - A powerful and easy-to-use multimedia player!

Okay, I managed to make my samba require password and implemented options to provide authority informations in 'Network' tab in preferences.
Also 'Video > Zoom' is implemented. I noticed that 'Zoom' and 'Screen Position' menu does what 'Pan & Scan' does in CCCP.

Last edited by xylosper (2015-02-25 02:41:32)

Offline

#349 2015-02-25 03:01:38

motaito
Member
Registered: 2015-02-07
Posts: 63

Re: bomi - A powerful and easy-to-use multimedia player!

Wow, that was quick. And it works like a charm, perfect! Bomi just became my new number one player on linux... genius! Thanks a lot for implementing these features. I appreciate your effort very much.

Offline

#350 2015-02-25 03:10:49

xylosper
Member
Registered: 2011-04-16
Posts: 167

Re: bomi - A powerful and easy-to-use multimedia player!

Btw, I recall your request about single click binding. May I think you agreed with me about binding single click?
And checked CCCP, too. It seems that CCCP just does not try to distinguish single click from double click.
Whe entering into full screen by double click in CCCP, CCCP just pause(first single click) and unpause(sencond single click).
This approach can be applied to only toggle-type actions.

Offline

Board footer

Powered by FluxBB