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

full screening a video doesn't preserve mirroring/flipping #325

Open
steveseguin opened this issue Sep 14, 2020 · 20 comments
Open

full screening a video doesn't preserve mirroring/flipping #325

steveseguin opened this issue Sep 14, 2020 · 20 comments

Comments

@steveseguin
Copy link
Owner

At the moment I don't have control over what the browser does when the video itself is made full-screen. The browser removes all effects and changes I make to the video; it just displays the video in its raw-pure form. 

That said, there still are ways to make it full-screen and mirrored:

One option is to press F11, which Full-screens the Browser itself, and not the video, so the mirroring effect is preserved. There's a button for it as well.

image

Another option is to download and use my Electron-Capture application instead of Chrome:  https://github.com/steveseguin/electroncapture/releases/tag/1.1.0

I provide a way to full-screen the Browser via right-click => Full-Screen in the newest version.  This also does not break the mirroring.

image

@PromptServiceNZ
Copy link

Thanks Steve,
2020-09-11 15 24 45
2020-09-11 15 21 00-1

It looks like these are all solutions for desktop browser viewing but the majority of prompt operators using it require full screen mirrored on mobile devices (phone and tablets). Does anyone have any workarounds for those devices?

nga mihi nui.

@steveseguin
Copy link
Owner Author

@PromptServiceNZ Are we talking mainly android? iPhone or iPad? I have some ideas on how to mirror the video still; it's just that it will be use a lot more CPU/GPU.

Let me give it a try tho..

@PromptServiceNZ
Copy link

Either. Ideally I can let the client use whatever device they wish, though I would probably use iPad for the brightest display for my own rig.
Thanks

@PromptServiceNZ Are we talking mainly android? iPhone or iPad? I have some ideas on how to mirror the video still; it's just that it will be use a lot more CPU/GPU.

Let me give it a try tho..

@steveseguin
Copy link
Owner Author

steveseguin commented Sep 23, 2020

I'm still making progress on this feature request. A test version is out on beta -- looking for freedback

https://docs.google.com/document/d/e/2PACX-1vTcu1bsSLSSWZDAp6Csrbs9WHeYnNSobbY6sVzVATVrOFfzygDzCBrAyXynzHACbO7U4aLUlPdUnrsd/pub

To get a video to mirror while full-screened, you have a few options.

One is to just full screen the browser itself; F11 on most desktops. The video itself may not be fullscreen, but the browser will be and should be pretty close to perfect. Adding &hideheader can hide any menu bars, if there are any.

Another option that is undergoing experimental testing as of Sept 23rd 2020 is to use the &effects option, with effects=2 applying a mirrored effect to the video before publishing the video.

PUSH: https://obs.ninja/beta/?push=XXXXXXXX&effects=2
VIEW: https://obs.ninja/beta/?view=XXXXXXXX

So by adding &effects=2, the video will be mirrored in a way that can be full screened. There are some limitations with this approach still, but I'm curious to get your feedback before I finish working on it.

It is currently on Beta, but when the code is complete it will be added to the WikI as an advanced URL option. It may change between now and then. Currently it is limited to about 720p resolution

@PromptServiceNZ
Copy link

PromptServiceNZ commented Sep 23, 2020 via email

@steveseguin
Copy link
Owner Author

I did, thank you. It might be an edge case issue, but I wanted to still offer a solution for you still

@PromptServiceNZ
Copy link

PromptServiceNZ commented Sep 23, 2020 via email

@PromptServiceNZ
Copy link

PromptServiceNZ commented Sep 24, 2020 via email

@steveseguin
Copy link
Owner Author

steveseguin commented Sep 24, 2020

sending using:
https://obs.ninja/beta/?push=a3DpCBN&effects=2

viewing using:
https://obs.ninja/beta/?view=a3DpCBN&label=PromptServiceTest

It's backwards a bit, but that is because I'm trying to flip the actual video stream before sending it.

@PromptServiceNZ
Copy link

PromptServiceNZ commented Sep 24, 2020 via email

@PromptServiceNZ
Copy link

PromptServiceNZ commented Sep 24, 2020 via email

@PromptServiceNZ
Copy link

full screen mirror image

@steveseguin
Copy link
Owner Author

If you have feedback I'm open to it.

I have to make some improvements to it still; audio support and higher allowed quality/framerates. It's a start though.

I am doing the mirroring on the sender side as I didn't want to overwhelm an iPad with the processing needed, especially if trying to push 1080p60.

I might make an alias for effects=2 , but it's a placeholder for now.

@PromptServiceNZ
Copy link

PromptServiceNZ commented Sep 24, 2020 via email

@steveseguin
Copy link
Owner Author

Tab is crashing? okay, I'll try to test for that. Thank you!! Getting it working wasn't simple, so the fact there are some bugs to work out doesn't surprise me too much. If the basic concept and function is there though, I'll move towards getting it debugged and ready for production.

@PromptServiceNZ
Copy link

PromptServiceNZ commented Sep 25, 2020 via email

@steveseguin
Copy link
Owner Author

that's very kind of you.

The sponsorship page is via Github Sponsors and their payment system, although I provided a way that you can send a one time payment via Paypal I believe. The Paypal is unrelated to the github sponsors though; I just put it up as another option.

I don't see any emails on my side mentioning a recent donation, but if I do I'll let you know over the coming days. If you are on Discord, I can give your account a promoted Sponsor-rank and access to a private sponsors-only channel. Not sure I can add you to github sponsors if paying via paypal thougH? dunno

anyways, the feedback and testing is much appreciated.

@PromptServiceNZ
Copy link

Done now. All I'd done was set up PayPal as the source. Enjoy.

@steveseguin
Copy link
Owner Author

Just got an email.!!

Thank you!!

@PromptServiceNZ
Copy link

Now that new https://obs.ninja/beta/?push=a3DpCBN&effects=2 link isn't seeing any input, but vanilla https://obs.ninja/beta is.
Wanted to replicate the tab crash and send you a screengrab.

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