I am facing issues in background noise in last 3 sec weird sound is there in json file

I am facing issues in background noise in last 3 sec weird sound is there in json file

{
    "timeline": {
        "soundtrack": {
            "src": "https://demo-shotstack.s3.amazonaws.com/Data/12_full_believe-in-yourself-2_0123.wav",
            "effect": "fadeOut"
        },
        "background": "#000000",
        "tracks": [
            { 
                "clips": [
                    {
                        "asset": {
                            "type": "html",
                            "html": "<p>I am ...</p>",
                            "css": "p { font-family: \"Lato\"; color: #ffffff; font-size: 60px; text-align: center; font-weight: bold;    }",
                            "width": 1000,
                            "height": 500,
                            "position": "center"
                        },
                        "start": 0,
                        "length": 8
                        
                    },
                    {
                        "asset": {
                            "type": "html",
                            "html": "<p>San Fransico Local</p>",
                            "css": "p { font-family: \"Lato\"; color: #ffffff; font-size: 100px; text-align: center; font-weight: bold;    }",
                            "width": 1000,
                            "height": 200,
                            "position": "center"
                        },
                        "start": 8,
                        "length": 1
                    },
                    {
                        "asset": {
                            "type": "html",
                            "html": "<p>Soccer Addict</p>",
                            "css": "p { font-family: \"Lato\"; color: #ffffff; font-size: 100px; text-align: center; font-weight: bold;    }",
                            "width": 1000,
                            "height": 200,
                            "position": "center"
                        },
                        "start": 10,
                        "length": 1
                    },
                    {
                        "asset": {
                            "type": "html",
                            "html": "<p>Art Historian</p>",
                            "css": "p { font-family: \"Lato\"; color: #ffffff; font-size: 100px; text-align: center; font-weight: bold;    }",
                            "width": 1000,
                            "height": 200,
                            "position": "center"
                        },
                        "start": 12,
                        "length": 1
                    },
                    {
                        "asset": {
                            "type": "html",
                            "html": "<p>Photography Fanatic</p>",
                            "css": "p { font-family: \"Lato\"; color: #ffffff; font-size: 100px; text-align: center; font-weight: bold;    }",
                            "width": 1000,
                            "height": 200,
                            "position": "center"
                        },
                        "start": 14,
                        "length": 1
                    },
                    {
                        "asset": {
                            "type": "html",
                            "html": "<p>Thrill Seeker</p>",
                            "css": "p { font-family: \"Lato\"; color: #ffffff; font-size: 100px; text-align: center; font-weight: bold;    }",
                            "width": 1000,
                            "height": 200,
                            "position": "center"
                        },
                        "start": 16,
                        "length": 1
                    },
                    {
                        "asset": {
                            "type": "html",
                            "html": "<p>Cat Lover</p>",
                            "css": "p { font-family: \"Lato\"; color: #ffffff; font-size: 100px; text-align: center; font-weight: bold;    }",
                            "width": 1000,
                            "height": 200,
                            "position": "center"
                        },
                        "start": 20,
                        "length": 1
                    },
                    {
                        "asset": {
                            "type": "html",
                            "html": "<p>I am</p>",
                            "css": "p { font-family: \"Lato\"; color: #ffffff; font-size: 70px; text-align: left; font-weight: bold; margin-left:20%;   }",
                            "width": 1000,
                            "height": 200,
                            "position": "center"
                        },
                        "start": 24,
                        "length": 6
                    },
                    {
                        "asset": {
                            "type": "html",
                            "html": "<p>I am Sanfransisco Local</p>",
                            "css": "p { font-family: \"Lato\"; color: #ffffff; font-size: 70px; margin-left:50%;padding-left:10px; font-weight: bold;margin-left:20%;     }",
                            "width": 1000,
                            "height": 200,
                            "position": "center"
                        },
                        "start": 25,
                        "length": 0.4
                    },
                    {
                        "asset": {
                            "type": "html",
                            "html": "<p>I am Soccer Addict</p>",
                            "css": "p { font-family: \"Lato\"; color: #ffffff; font-size: 70px; margin-left:50%;padding-left:10px;  font-weight: bold; margin-left:20%;    }",
                            "width": 1000,
                            "height": 200,
                            "position": "center"
                        },
                        "start": 25.4,
                        "length": 0.4
                    },
                    {
                        "asset": {
                            "type": "html",
                            "html": "<p>I am Art Historian</p>",
                            "css": "p { font-family: \"Lato\"; color: #ffffff; font-size: 70px; margin-left:50%;padding-left:10px;  font-weight: bold; margin-left:20%;    }",
                            "width": 1000,
                            "height": 200,
                            "position": "center"
                        },
                        "start": 25.8,
                        "length": 0.4
                    },
                    {
                        "asset": {
                            "type": "html",
                            "html": "<p>I am Photography Fanatic</p>",
                            "css": "p { font-family: \"Lato\"; color: #ffffff; font-size: 70px; margin-left:50%;padding-left:10px;  font-weight: bold; margin-left:20%;    }",
                            "width": 1000,
                            "height": 200,
                            "position": "center"
                        },
                        "start": 26.2,
                        "length": 0.4
                    },
                    {
                        "asset": {
                            "type": "html",
                            "html": "<p>I am Thrill Seeker</p>",
                            "css": "p { font-family: \"Lato\"; color: #ffffff; font-size: 70px; margin-left:50%;padding-left:10px;  font-weight: bold;  margin-left:20%;    }",
                            "width": 1000,
                            "height": 200,
                            "position": "center"
                        },
                        "start": 26.6,
                        "length": 0.4
                    },
                    {
                        "asset": {
                            "type": "html",
                            "html": " <p>I am Cat Lover</p>",
                            "css": "p { font-family: \"Lato\"; color: #ffffff; font-size: 70px;margin-left:50%;padding-left:10px;  font-weight: bold;  margin-left:20%;    }",
                            "width": 1000,
                            "height": 200,
                            "position": "center"
                        },
                        "start": 27,
                        "length": 0.4
                    },
                    {
                        "asset": {
                            "type": "html",
                            "html": "I AM <p>I am Matthew Parent</p>",
                            "css": "p { font-family: \"Lato\"; color: #ffffff; font-size: 70px; margin-left:40%;padding-left:10px;  font-weight: bold;  margin-left:20%;    }",
                            "width": 1000,
                            "height": 200,
                            "position": "center"
                        },
                        "start": 27.5,
                        "length": 2.6
                    }                           

                ]
            },
            {
                "clips": [
                    {
                        "asset": {
                            "type": "video",
                            "src": "https://iloveread.in/arand/video1.mp4"
                        },
                        "start": 0,
                        "length": 8,
                        "transition": {
                            "out": "fade"
                        }                        
                    },
                    {
                        "asset": {
                            "type": "video",
                            "src": "https://iloveread.in/arand/photo1.png"
                        },
                        "start": 9,
                        "length": 1
                    },
                    {
                        "asset": {
                            "type": "video",
                            "src": "https://iloveread.in/arand/photo2.png"
                        },
                        "start": 11,
                        "length": 1
                    },
                    {
                        "asset": {
                            "type": "video",
                            "src": "https://iloveread.in/arand/photo-art.png"
                        },
                        "start": 13,
                        "length": 1                     
                    },
                    {
                        "asset": {
                            "type": "video",
                            "src": "https://iloveread.in/arand/photo4.png"
                        },
                        "start": 15,
                        "length": 1                     
                    },
                    {
                        "asset": {
                            "type": "video",
                            "src": "https://iloveread.in/arand/video2.mp4"
                        },
                        "start": 17,
                        "length": 3  ,
                        "transition": {
                            "out": "fade"
                        }               
                    },
                    {
                        "asset": {
                            "type": "video",
                            "src": "https://iloveread.in/arand/video3.mp4"
                        },
                        "start": 21,
                        "length": 3,
                        "transition": {
                            "out": "fade"
                        }
                    },
                    {
                        "asset": {
                            "type": "video",
                            "src": "https://iloveread.in/arand/video3.mp4"
                        },
                        "start": 24,
                        "length": 3,
                        "transition": {
                            "out": "fade"
                        }
                    },
                    {
                        "asset": {
                            "type": "video",
                            "src": "https://iloveread.in/arand/video3.mp4"
                        },
                        "start": 27,
                        "length": 3,
                        "transition": {
                            "out": "fade"
                        }
                    }
                   
                    
                ]
            }
        ]
    },
    "output": {
        "format": "mp4",
        "resolution": "hd"
    }
}

I just checked the JSON and can hear the audio pop. @Jeff.S can you take a look?

I am able to hear sound but for last 3 seconds gives weird noise of something

This happens when you have a video file that is shorter than the length you specify in the JSON. For example your video https://iloveread.in/arand/video3.mp4 has a length of 3 seconds but the actual length is 2.334 seconds. There is a bug in the editor that will repeat the last few samples of audio that go past the actual duration. So for this example you get 0.6 seconds of looped stuttering sound.

We have a fix in testing at the moment and will be available in the next few weeks.

The fix for now is to use the probe endpoint to get the actual duration of the video and then make sure the length is no longer that the duration. More details on the probe endpoint are here: Inspecting Assets | Shotstack Documentation and here: Shotstack v1 API Reference Documentation.

Also I am not sure the intent of your video but I noticed it has a soundtrack but also music in the videos. You can set the volume of the videos to 0 and then you will only hear the soundtrack. Just an idea if you only want background music.