Skip to content

Commit

Permalink
fix demux
Browse files Browse the repository at this point in the history
  • Loading branch information
RyougiKukoc committed Apr 9, 2024
1 parent 12b6043 commit fd3fd10
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion rkstool/muxer.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ def dfs(
else:
media += 'v'
tid += 1
os.remove('_eac3to_analyze.txt')

# demux and transcode to flac using eac3to
eac3to_cmd = [_eac3to_fp, fn]
Expand Down Expand Up @@ -138,7 +139,7 @@ def dfs(
_ = p.communicate()

if keeptrack:
p = sp.Popen([_eac3to_fp, fn, '-destpath=', f'{name}.demux/', '-log=NUL', '-demux'])
p = sp.Popen([_eac3to_fp, fn, '-demux', '-destpath=', f'{name}.demux/'])
_ = p.communicate()
for tid, track in enumerate(media, 1):
if track == 'v':
Expand Down

0 comments on commit fd3fd10

Please sign in to comment.