Skip to content

Commit

Permalink
Allow avc intra with no audio tracks
Browse files Browse the repository at this point in the history
  • Loading branch information
KillerX committed Jul 22, 2024
1 parent bb20804 commit ae189da
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion services/transcode/avc_intra.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ func AvcIntra(input AVCIntraEncodeInput, progressCallback ffmpeg.ProgressCallbac
params = append(
params,
"-map", "v",
"-map", "a",
"-map", "a?",
"-y",
outputPath,
)
Expand Down
2 changes: 1 addition & 1 deletion workflows/misc/watch_folder_transcode.go
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ func WatchFolderTranscode(ctx workflow.Context, params WatchFolderTranscodeInput
FrameRate: 25,
}).Get(ctx, &transcodeOutput)
case common.FolderAVCIntra100HD:
err = wfutils.Execute(ctx, activities.Video.TranscodeToH264Activity, activities.EncodeParams{
err = wfutils.Execute(ctx, activities.Video.TranscodeToAVCIntraActivity, activities.EncodeParams{
FilePath: path,
OutputDir: tmpFolder,
Resolution: "1920x1080",
Expand Down

0 comments on commit ae189da

Please sign in to comment.