Sascha-L / WPF-MediaKit

Microsoft Public License
366 stars 116 forks source link

MediaUriElement play transparent movie with alpha channel? #87

Closed Nic1628 closed 6 years ago

Nic1628 commented 6 years ago

I am a beginner in vs. I read lots of articles, but It’s too difficult for me.

Anybody have the full source code for playing transparent movie with alpha channel by using MediaUriElement?

Can it play in WPF VB project ?

Thanks very much !

skaterlui commented 6 years ago

Hi Nic,

movies cannot be transparent. Remember a camera will record a whole rectangle. To make it transparent you have to apply filters. Such as color keys or chroma key.

Von: Nic1628 notifications@github.com Gesendet: Sonntag, 9. September 2018 08:17 An: Sascha-L/WPF-MediaKit WPF-MediaKit@noreply.github.com Cc: Subscribed subscribed@noreply.github.com Betreff: [Sascha-L/WPF-MediaKit] MediaUriElement play transparent movie with alpha channel? (#87)

I am a beginner in vs. I read lots of articles, but It’s too difficult for me.

Anybody have the full source code for playing transparent movie with alpha channel by using MediaUriElement?

Can it play in WPF VB project ?

Thanks very much !

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Sascha-L/WPF-MediaKit/issues/87 , or mute the thread https://github.com/notifications/unsubscribe-auth/AOMNQFkEQeG-yLahK8-N96p3yeEcIr9yks5uZLJIgaJpZM4WgKY4 . https://github.com/notifications/beacon/AOMNQFIh2gS6vcZU_JY9yvX6viUYP14pks5uZLJIgaJpZM4WgKY4.gif

xmedeko commented 6 years ago

It's not possible, there are some workarounds, see the whole discussion in #45:

BTW. this is already answered in the Wiki FAQ, please, read the doc first.

Nic1628 commented 5 years ago

Dear Sir/Madam,

I'm using WPFMediaKit - Videocaptureelement for my school project to capture video from HDMI USB Capture card. However there is no sound, it can display the screen only.

How to activate the sound/audio from the HDMI signal ?

On the other hand, Can I record selected portion of the screen with audio signal, and saved to wmv/mp4 file ?

Anybody can help me please ?

Thanks very much ! NIC

發送自 TypeApp

2018年9月10日 下午3:26, 下午3:26,在 Ondrej Medek notifications@github.com 已写:

It's not possible, there are some workarounds, see the whole discussion in #45:

-- You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub: https://github.com/Sascha-L/WPF-MediaKit/issues/87#issuecomment-419814454

xmedeko commented 5 years ago

@Nic1628 this issue is about image transparency, not sound. You have already asked at SO https://stackoverflow.com/questions/53748497 so wait for reply. (I do not use webcam, so cannot help you).