-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4289 from remotion-dev/field-callbacks
- Loading branch information
Showing
25 changed files
with
1,114 additions
and
237 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
import type {AudioTrack} from '@remotion/media-parser'; | ||
import {Table, TableBody, TableCell, TableRow} from './ui/table'; | ||
|
||
export const AudioTrackOverview: React.FC<{ | ||
readonly track: AudioTrack; | ||
}> = ({track}) => { | ||
return ( | ||
<Table> | ||
<TableBody> | ||
<TableRow> | ||
<TableCell colSpan={3}>Type</TableCell> | ||
<TableCell className="text-right">Audio</TableCell> | ||
</TableRow> | ||
<TableRow> | ||
<TableCell colSpan={3}>Codec</TableCell> | ||
<TableCell className="text-right"> | ||
{track.codecWithoutConfig} | ||
</TableCell> | ||
</TableRow> | ||
<TableRow> | ||
<TableCell colSpan={3}>WebCodecs Codec String</TableCell> | ||
<TableCell className="text-right">{track.codec}</TableCell> | ||
</TableRow> | ||
<TableRow> | ||
<TableCell colSpan={3}>Channels</TableCell> | ||
<TableCell className="text-right">{track.numberOfChannels}</TableCell> | ||
</TableRow> | ||
<TableRow> | ||
<TableCell colSpan={3}>Sample Rate</TableCell> | ||
<TableCell className="text-right">{track.sampleRate}</TableCell> | ||
</TableRow> | ||
</TableBody> | ||
</Table> | ||
); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.