Skip to content

Commit

Permalink
Add screencast to README
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxPower15 committed Feb 10, 2024
1 parent a004c45 commit 2a0213d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

This repo demonstrates calculations and ffmpeg commands to encode portions of an audio file with the AAC codec and to recombine them without transcoding.

https://github.com/wistia/seamless-aac-split-and-stitch-demo/assets/493992/3a88dfda-f345-4518-9e86-696c14ae4a2b

The general rule is that, when choosing your audio segment sizes, they _need_ to be aligned with AAC frame boundaries. With aligned frame boundaries, we can use the concat demuxer to cut out the silence ffmpeg adds, as well as some extra padding we add to account for AAC's dependency on previous frames.

This tech is important because it allows faster and more efficient cloud rendering. It may also be used, for example, to render and mux individual HLS segments (TS files) independently of the full file.
Expand Down Expand Up @@ -32,4 +34,4 @@ You can find all artifacts in the "out" directory:

On a Mac, you may want to examine out/stitched.mp4 with a visualization program. The author uses [Audacity](https://www.audacityteam.org/) for that.

open -a Audacity out/stitched.mp4
open -a Audacity out/stitched.mp4

0 comments on commit 2a0213d

Please sign in to comment.