We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c3428b7 commit 90c1a01Copy full SHA for 90c1a01
1 file changed
src/acxmaster/Master.java
@@ -136,7 +136,7 @@ private void ffmpeg(Boolean post, String[] ffmpeg) {
136
String[] roughDurationParsed = audioInfo.getRoughDurationString().split(":");
137
try {audioInfo.setRoughDuration((Float.parseFloat(roughDurationParsed[0])*3600)+(Float.parseFloat(roughDurationParsed[1])*60)+Float.parseFloat(roughDurationParsed[2]));} catch (Exception exception) {}
138
}
139
- if (getStreamInfo && line.matches("^\\s+Stream\\s#\\d+:\\d+:\\sAudio:.+")) {
+ if (getStreamInfo && line.matches("^\\s+Stream\\s#\\d+:\\d+.*:\\sAudio:.+")) {
140
String[] elements = line.split(",");
141
audioInfo.setCodec(elements[0].split(":")[3].split(" ")[1].trim());
142
try {audioInfo.setSampleRate(Integer.parseInt(elements[1].split(" ")[1]));} catch (Exception exception) {}
0 commit comments