Embedding Movie in Quartz Composer screen saver - macos

I am working on Quartz Composer Screen Saver, Using One animated video which i created. I used Movie Importer Patch for this. in movie location set the video location and connected the image with another patch 'Resize Image If in Preview'.
the screen saver created and it works fine in my machine. what i want is how can i embed this video that the screen saver can work in other machin. right now if i change the video name or location then screen saver not working, nor i can send to other machine to view the screen.
is there any way that i can user remote location of video, like i will host video on my server use that http path in movie location path.. i tried this but its not working.
need help in this either to embed video or to use remote video location to run the screen saver.!
Quartz Composer for screen saver

ok, i find solution by my own, host video on remote server and use that http path in movie import location. in my case issue was that the video file was .mp4 but was not proper mp4, so i converted video properly and then start working.

Related

Capture and Record Desktop Screen with/as Webcam Video

Webcam lets others view either still pictures or motion video of a user or other object in front of it. I want to configure Webcam in a way that it start capturing desktop screen instead of what is in front of it.
I want to manipulate desktop screen captured through Webcam using FFMPEG library. Such as:
ffmpeg -f dshow -i video="Integrated Webcam" -f mp4 cam_stream.mp4
I want to use this same application to capture my Desktop Screen that will be possible just in that case when Webcam will be able to capture my Desktop Screen instead. So above command will start recording what Webcam will be capturing that I want it to capture my desktop screen.
Note: I know other ways to capture, record or stream desktop screen but I want to achieve it through Webcam.
What I tried so far: I tried some Fake/Virtual Webcam software (manycam, sparkocam etc.) but I don't think they fulfil what I exactly want.
P.S. I posted the same question in another community but didn't get any response.
Please guide me if there is any way to achieve this? Thanks
Solution to this problem would be to capture desktop directly by using ffmpeg.
Follow the link Capture Desktop using ffmpeg
Ive been searching all day for a similar thing.
Ive found this: https://streamshark.io/blog/using-obs-as-a-virtual-webcam-on-windows-and-macos/ With this software you can create a virtual cam that can utilize a portion of your screen as a fake webcam output.
Exactly what I need and what I think the OP is talking about.
So for future ref, bumped.
(Why do I need this for instance?: I dont have a smartphone, but a virtualbox android. I want to install the windows desktop app versions of certain apps. For which I need to "hold the phone (virtualbox) in front of a computer screen (main os)"...
On this forum see this post on capturing the desktop:
Capture Windows screen with ffmpeg
If I understand well, you also want to add views from your webcam. The above mentioned link on capturing the desktop shows how to use dshow. So the desktop and the webcam are both input streams for your output mp4.
I suggest to add your webcam as input:
-f dshow
-i <webcam>
Next, e.g. use the overlay filter to put both the desktop and the webcam on one view.

How to play uploaded videos in an iframe on a Mac system

I have tried using iframe and also video tag and object tag to play the video. In some cases, it plays only the audio from the video, but video doesn't show up.
Secondly, the same video file plays well on a separate tab in the browser, but not within my iframe.
This issue is on all browsers on my Mac, but on a windows machine it plays well.
I finally found it. Apple has a good documentation of its own for this. https://developer.apple.com/library/mac/documentation/quicktime/conceptual/qtscripting_html/QTScripting_HTML_Document/ScriptingHTML.html#//apple_ref/doc/uid/TP40001525-2-GettingaBrowsertoLoadQuickTime
I simply had to use the embed tag properly as they have explained.

How to download and save audio and video in wp7 mediaLiabrary?

Can you please tell me how to save or store sample audio and vidio into mediaLibrary.From my application if i long press on a picture i get a save picture option that saves the picture under saved pictures category in MediaLibrary. Similarly how do i save a mp3 and mp4 file.
I am able to downloadcontent and play the audio on emulator directly but not able to save any mp3 file from the web onto the MediaLibrary. Is there any other way to add songs to MediaLibrary?
Please Help me.
Thanks
The Windows Phone 7 API does not allow saving audio and video to the Media library, only on the isolated storage of the application itself.
This is in contrast to Pictures, which like you said you can save to the Media library.

Is it possible to grab a snapshot from a previously recorded video on Windows Phone 7?

I'd like to know if it's possible to grab snapshots from previously recorded videos. Those videos are recorded in the app itself.
By the way, I'd like to grab the snapshot from a video file saved in IsolatedStorage without having to play the video.
Is it possible? If so, how can I do it?
Cheers,
Rafael
I am not aware of an official platform feature to do this. However, if the video file is within your app's isolated storage, you might be able to:
Send the video to a server to do the processing
Add codecs/C# code to your app to process the raw MPEG4 frames.
Try using WriteableBitmap to capture a specific frame when using the media element. Since most media is handled in hardware, however, it is possible that the frame will be blank.
I solved the problem by creating the thumbnail while recording the video (captureSource.CaptureImageAsync()). To do that, I used the same instance of the CaptureSource I'm using to record the video.

capture video from screen for stream

i am looking for differnt solutions to capture video stream from monitor screen and send it to vidoestreaming server to broadcast in web. it must occuring in "live".
i'd not like to use external services like "procaster" for broad.
OS: Windows.
it will be great to know the ideas and expirience people have to accomplish that.
Thanks all.
Recently, I build a GoLang project called ScreenStreamer, is a tool to stream current active window or full screen (Linux's or Windows's) to other device, like phone or another PC, as MJPEG over http or FLV over rtmp, it's very realtime (delay < 100ms). It works on Windows and Linux.
After building it, you can run it as:
# enter the project root directory
cd ./src/ScreenStreamer
# run it
./mjpeg or .\mjpeg.exe
# use a web browser or other video player, open http://host:port/mjpeg
./rtmp or .\rtmp.exe
# use a video player, open rtmp://host:port/live/screen
Screenshot:
Windows SDK includes Push Source Filters Sample, which in turn contains CPushSourceDesktop filter/class.
CPushSourceDesktop: Copy of current desktop image (GDI only)
It captures desktop image and pushes it into DirectShow pipeline. From there on you can process it using video compression codec and stream it to remote location. A decent screen image compression codec is included with Windows Media subsystem, network streaming will have to be a custom or third party component. Alternatively, it is possible to make the capture class a virtual camera and have Windows Media Encoder broadcast it (or, it already has a simila feature built in).
Alternatively, you can check VNC (or one of the clones) source code and see how it hooks windows and captures image updates, then compresses them and makes it available for remote applications.
Note that you will have to specifically capture non-GDI images (such as coming from video/gaming applications, which use hardware acceleration and non-RGB surffaces).

Resources