Attract-Mode Support Forum

Attract-Mode Support => General => Topic started by: YellowBirdAZ on February 05, 2018, 08:29:40 AM

Title: Snap Art Without Fade-In?
Post by: YellowBirdAZ on February 05, 2018, 08:29:40 AM
Does anyone have a source for MAME game snap art without the fade-in effect? Progetto's stuff all fades in, and in Emumovies I haven't been able to find any without it either.

Yes, you can trim the first couple seconds but I don't want the sound to cut in abruptly. So I would prefer to have clean, no fade videos, and if I want a fade-in or -out I can use the front end to do it.
Title: Re: Snap Art Without Fade-In?
Post by: keilmillerjr on February 05, 2018, 09:36:04 AM
Can handbrake fade audio in/out?
Title: Re: Snap Art Without Fade-In?
Post by: YellowBirdAZ on February 05, 2018, 11:22:27 AM
You mean trim the video, then add an audio fade in? Not a bad idea, especially if there aren't no-fade videos available.

Yeah, I think Handbrake can probably do that, and I think ffmpeg can too.
Title: Re: Snap Art Without Fade-In?
Post by: keilmillerjr on February 05, 2018, 12:06:56 PM
You mean trim the video, then add an audio fade in? Not a bad idea, especially if there aren't no-fade videos available.

Yeah, I think Handbrake can probably do that, and I think ffmpeg can too.

I know it can trim, wasn’t positive on audio fade. If it can, should be easy to do.
Title: Re: Snap Art Without Fade-In?
Post by: YellowBirdAZ on February 05, 2018, 09:01:52 PM
This pretty much solves this issue...

Trim first 1 second from every video using this command:

Code: [Select]
ffmpeg -ss 00:00:01.0 -i ORIGINAL.MP4 TRIMMED.MP4
There are other ways to do this, but I think this is the best to avoid issues with the screen going blank because you trimmed off vital frame data.

This shaves off the fade-in.

Then apply a 1 second audio fade-in to all the trimmed videos using this command:

Code: [Select]
ffmpeg -i TRIMMED.MP4 -filter:a "afade=in:st=0:d=1" -c:a aac FADED.mp4
The results are pretty good. I am picky so I shaved off a few extra seconds here and there, but 90% of the snap vids work fine like this.

Anyhow, good idea Keilmillerjr.