Stinger dont work

DarKat

New Member
I have created a movie file. On the left i have the stinger video, and on the right "the mask". When i selected 'use a track matte', and 'same file, side-by-side', dont work the opacity (or mask), only show the stinger video. Why?

I attach the video:
 

Totana

New Member
I am having the exact same issue... Have tried some stock ones and they work fine but when I create my own using the same methods it doesn't work.
 

Suslik V

Active Member
Alpha channel should cover the left part of the video.
The track matte's part of the alpha channel will be ignored.

Example of the video+alpha into one video_with_alpha in qtrle format with FFmpeg (qtrle is fast but making large files):
Code:
ffmpeg -i "C:/Temp/stinger_and_track_matte.mp4" -vf "movie='C\:/Temp/stinger_alpha.mp4'[a];[in][a]alphamerge" -c:v qtrle "C:/Temp/stinger_output.mov"
the output file has alpha channel and should work OK. Track matte part only defines cross-fade between scene "A" and "B" (not transparency!), so if stinger part has no alpha channel - the stinger part of the video will play full screen and will cover any cross-fade that will be in the background.
 

Totana

New Member
Alpha channel should cover the left part of the video.
The track matte's part of the alpha channel will be ignored.

Example of the video+alpha into one video_with_alpha in qtrle format with FFmpeg (qtrle is fast but making large files):
Code:
ffmpeg -i "C:/Temp/stinger_and_track_matte.mp4" -vf "movie='C\:/Temp/stinger_alpha.mp4'[a];[in][a]alphamerge" -c:v qtrle "C:/Temp/stinger_output.mov"
the output file has alpha channel and should work OK. Track matte part only defines cross-fade between scene "A" and "B" (not transparency!), so if stinger part has no alpha channel - the stinger part of the video will play full screen and will cover any cross-fade that will be in the background.
My existing video has alpha (even shows when I preview without matte track ticked, the preview splits and shows with alpha on the left but when I tick the box its like I have just uploaded the video on the left and not the side by side) and I have no idea how to do what you have just outlined (sorry for my ignorance, I am still learning).
 

Attachments

  • Screenshot 2021-06-06 201342.jpg
    Screenshot 2021-06-06 201342.jpg
    46.2 KB · Views: 45

Suslik V

Active Member
I can only add example of simple stinger+track_matte 1 sec long (that was made with the FFmpeg, look for the details above):

Attachment: ~29KB to download.
CRC of the .7z archive, MD5:60516A29F138A91B757134E885E5E319
(Edit: file is for example only, I mistakenly made the stinger 3 pixels wider, so it spilled a bit into the track matte in the first/last frames)
( Edit 2: newer example is in this post: https://obsproject.com/forum/threads/stinger-transition-point-not-working.171664/post-632504 )
 

Attachments

  • stinger+track_matte_example_obs_v27_0_0.7z
    29.8 KB · Views: 104
Last edited:
Top