lay295 / TwitchDownloader

Twitch VOD/Clip Downloader - Chat Download/Render/Replay
MIT License
2.76k stars 262 forks source link

quicktime container with alpha #188

Open Helpimupdn opened 3 years ago

Helpimupdn commented 3 years ago

Hi is there any functionality to have the chat on alpha? Prores 4444? Or some other alpha video? This way it can be put on top of video? Even a PNG sequence with alpha could be worth.

lay295 commented 3 years ago

Not to be rude but, why not just download it and find out? I happen to be at my computer at the moment but it could have taken me a while to reply.

To answer your question though, there is alpha support with ProRes 4444, as well as RLE but some video editors don't support RLE. You also have the option to generate a transparency mask with a codec that doesn't have an alpha channel such as H264 and overlay it in a video editor. This is because ProRes 4444 files are huge, and RLE isn't well supported. I haven't tried PNG sequences, but I'm sure the file size and file counts will be massive as well.

https://www.youtube.com/watch?v=D-_TD1-w3fY

Helpimupdn commented 3 years ago

Using the luma matte is a lot of extra work for something that's already self contained in a prores 4444. Sorry I work in video production and broadcast and there are times when we'd like to add in some chat overlays to videos and I was thinking this could be a good fit. Since I work with a ton of video having to export 2 files instead of one is quite time consuming if I'm editing say 100 videos a week. In terms of size and space, my servers can handle that without any issue. PNG would be smaller file sizes, but the folders would contain images equal in fps of video you'd like to output. This could then easily be imported and converted into a prores 4444 if needed.

On Thu, Jun 10, 2021 at 3:04 PM lay295 @.***> wrote:

Not to be rude but, why not just download it and find out? I happen to be at my computer at the moment but it could have taken me a while to reply.

To answer your question though, there is alpha support with ProRes 4444, as well as RLE but some video editors don't support RLE. You also have the option to generate a transparency mask with a codec that doesn't have an alpha channel such as H264 and overlay it in a video editor. This is because ProRes 4444 files are huge, and RLE isn't well supported. I haven't tried PNG sequences, but I'm sure the file size and file counts will be massive as well.

https://www.youtube.com/watch?v=D-_TD1-w3fY

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/lay295/TwitchDownloader/issues/188#issuecomment-858924872, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUN35GVGDTFDWAKRNRMX4CDTSEEE5ANCNFSM46PDFRBA .

lay295 commented 3 years ago

I can probably add the option for PNG sequence in the next version, is there a reason you wouldn't just output straight to ProRres instead of a PNG sequence?

I'm not actually a video editor myself, so don't know too much about it.

Helpimupdn commented 3 years ago

Oh I wasn't asking for a png sequence, I was just saying that it was an option. I would be fine outputting in prores, I was curious if the option was available. The version I downloaded before is quite different than the one you've shown in the video. I think this could be really useful, just wanted to let you know as I have a ton of editors that I'd love to share your app with.

I appreciate the video, also if you do have any questions on video feel free to ask.

In terms of PNG sequence, we'd do this if we needed higher resolution, but lower output times. My guess is that the png sequence would output faster than a prores 4444. There are also some situations where the client may request it to be delivered in png sequence.

On Mon, Jun 14, 2021 at 3:15 PM lay295 @.***> wrote:

I can probably add the option for PNG sequence in the next version, is there a reason you wouldn't just output straight to ProRres instead of a PNG sequence?

I'm not actually a video editor myself, so don't know too much about it.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/lay295/TwitchDownloader/issues/188#issuecomment-860928779, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUN35GVW4LRWL252XMQHO53TSZIM7ANCNFSM46PDFRBA .