Skip to content

Commit

Permalink
Set opus as default audio codec if using vpx and mkv
Browse files Browse the repository at this point in the history
  • Loading branch information
beandog committed Sep 27, 2020
1 parent c870f0e commit c872fb7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions dvd_trip.c
Original file line number Diff line number Diff line change
Expand Up @@ -669,6 +669,11 @@ int main(int argc, char **argv) {
vpx = true;
}

// If no audio option is given on vpx for video, vorbis is used as audio by default,
// switch to opus here.
if(mkv && vpx && !aac && !opus)
opus = true;

/** Video **/

// Fix input CRF if needed
Expand Down

0 comments on commit c872fb7

Please sign in to comment.