Old 12-31-2020, 05:03 AM   #1
poulhoi
Human being with feelings
 
Join Date: Apr 2020
Posts: 214
Default Video fades are looking a bit rough

Hello.
I'm a bit of a video noob so you'll have to excuse any ignorance on my part.
I'm using the Video processor preset to have video item fades affect the video playback. On long fades it doesn't look very nice; there's clearly visible "stepping", so it's not smooth, and the blacks seem pretty noisy to me. This happens on playback in Reaper and in the export file when I export as MPEG-4, h264.
I'm not sure what settings could affect this, so not sure what else I should write here. But I am on macOS Mojave 10.14.6 if that matters.

Thanks in advance.
poulhoi is offline   Reply With Quote
Old 01-03-2021, 11:57 AM   #2
vanhaze
Human being with feelings
 
vanhaze's Avatar
 
Join Date: Jul 2012
Location: Netherlands
Posts: 5,247
Default

Thx for your post !

I am experiencing the same issue.
Fades are not looking fluid at all and they never have for me, using Reaper for years.

OSX Catalina 10.15.7
Reaper latest version.
__________________
Macbook Pro INTEL | Reaper, always latest version | OSX Ventura | Presonus Studio 24c
My Reaper Tips&Tricks YouTube Channel: https://www.youtube.com/user/vanhaze2000/playlists
vanhaze is offline   Reply With Quote
Old 01-03-2021, 04:28 PM   #3
EpicSounds
Human being with feelings
 
EpicSounds's Avatar
 
Join Date: Jul 2009
Posts: 7,592
Default

I don't think this is user error poulhoi

I can see the steps on long fades too, and I tried it 3 different ways.

example
https://youtu.be/kGpGKdcR5Sc
__________________
REAPER Video Tutorials, Tips & Tricks and more at The REAPER Blog
EpicSounds is offline   Reply With Quote
Old 01-05-2021, 03:08 AM   #4
poulhoi
Human being with feelings
 
Join Date: Apr 2020
Posts: 214
Default

Thanks guys. That's too bad. Still for quick fades it's usable enough in most cases, I think.
poulhoi is offline   Reply With Quote
Old 01-05-2021, 05:47 PM   #5
Justin
Administrator
 
Justin's Avatar
 
Join Date: Jan 2005
Location: NYC
Posts: 15,737
Default

Does it look any better if you force the colorspace to RGB?

I just did a test, 8 sec linear fade, and it does seem to be a bit steppy near the end, I guess:

YV12 colorspace:

normal YV12 https://music.1014.org/._/8sec_fade_test.mp4

Changing the "item fades affect video" preset to be this:
Code:
// Item fades affect video
input_track(0) > 0 ? (
  input_info(0,project_w,project_h,0,ta=0);
  ta < 1 ? (
    gfx_blit(input_next_item(0),1);
    (gfx_a=ta^1.7)>0 ? gfx_blit(0,1);
    gfx_set(1);
    gfx_str_draw(sprintf(#,"%.4f",ta),0,0);
  );
);
(^1.7 tweak) YV12 https://music.1014.org/._/8sec_fade_test2.mp4

(maybe that helped?)

and RGB colorspace:
Code:
// Item fades affect video
input_track(0) > 0 ? (
  input_info(0,project_w,project_h,0,ta=0);
  ta < 1 ? (
    colorspace='RGBA';
    gfx_blit(input_next_item(0),1);
    (gfx_a=ta)>0 ? gfx_blit(0,1);
    gfx_set(1);
    gfx_str_draw(sprintf(#,"%.4f",ta),0,0);
  );
);
normal RGB: https://music.1014.org/._/8sec_fade_test_rgb.mp4
(^1.7 tweak) RGB: https://music.1014.org/._/8sec_fade_test2_rgb.mp4

Thoughts?

Last edited by Justin; 01-05-2021 at 06:19 PM.
Justin is offline   Reply With Quote
Old 01-06-2021, 03:18 AM   #6
poulhoi
Human being with feelings
 
Join Date: Apr 2020
Posts: 214
Default

Quote:
Originally Posted by Justin View Post
Does it look any better if you force the colorspace to RGB?

I just did a test, 8 sec linear fade, and it does seem to be a bit steppy near the end, I guess:

YV12 colorspace:

normal YV12 https://music.1014.org/._/8sec_fade_test.mp4

Changing the "item fades affect video" preset to be this:
Code:
// Item fades affect video
input_track(0) > 0 ? (
  input_info(0,project_w,project_h,0,ta=0);
  ta < 1 ? (
    gfx_blit(input_next_item(0),1);
    (gfx_a=ta^1.7)>0 ? gfx_blit(0,1);
    gfx_set(1);
    gfx_str_draw(sprintf(#,"%.4f",ta),0,0);
  );
);
(^1.7 tweak) YV12 https://music.1014.org/._/8sec_fade_test2.mp4

(maybe that helped?)

and RGB colorspace:
Code:
// Item fades affect video
input_track(0) > 0 ? (
  input_info(0,project_w,project_h,0,ta=0);
  ta < 1 ? (
    colorspace='RGBA';
    gfx_blit(input_next_item(0),1);
    (gfx_a=ta)>0 ? gfx_blit(0,1);
    gfx_set(1);
    gfx_str_draw(sprintf(#,"%.4f",ta),0,0);
  );
);
normal RGB: https://music.1014.org/._/8sec_fade_test_rgb.mp4
(^1.7 tweak) RGB: https://music.1014.org/._/8sec_fade_test2_rgb.mp4

Thoughts?
Hey Justin. Thank you for responding. This does actually look a lot smoother than the original preset, just from testing it quickly. So I think this is a winner
poulhoi is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 09:02 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.