Skip to content

Commit

Permalink
Attempt to solve encoding problems when the audio is surround.
Browse files Browse the repository at this point in the history
  • Loading branch information
moisespr123 committed Apr 27, 2019
1 parent a24141b commit 07781f7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion rav1e_gui/Form1.Designer.vb

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion rav1e_gui/Form1.vb
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ Public Class Form1
Dim ffmpegProcessInfo As New ProcessStartInfo
Dim ffmpegProcess As Process
ffmpegProcessInfo.FileName = "ffmpeg.exe"
ffmpegProcessInfo.Arguments = "-i """ + input + """ -c:a libopus -application audio -b:a " + bitrate.ToString() + "K """ + tempFolder + "\rav1e-audio.opus"" -y"
ffmpegProcessInfo.Arguments = "-i """ + input + """ -c:a libopus -application audio -b:a " + bitrate.ToString() + "K -af aformat=channel_layouts=""7.1|5.1|stereo"" """ + tempFolder + "\rav1e-audio.opus"" -y"
ffmpegProcessInfo.CreateNoWindow = True
ffmpegProcessInfo.RedirectStandardOutput = False
ffmpegProcessInfo.UseShellExecute = False
Expand Down
4 changes: 2 additions & 2 deletions rav1e_gui/My Project/AssemblyInfo.vb
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@ Imports System.Runtime.InteropServices
' by using the '*' as shown below:
' <Assembly: AssemblyVersion("1.0.*")>

<Assembly: AssemblyVersion("1.11.0.0")>
<Assembly: AssemblyFileVersion("1.11.0.0")>
<Assembly: AssemblyVersion("1.12.0.0")>
<Assembly: AssemblyFileVersion("1.12.0.0")>

0 comments on commit 07781f7

Please sign in to comment.