jappeace / cut-the-crap

Automated video editing for streamers
MIT License
103 stars 7 forks source link

Videos get scrambled #52

Closed jappeace closed 4 years ago

jappeace commented 4 years ago

The input.txt used for the final concat command seems to be in a wrong order:

[root@outsource:~]# cat /tmp/sharable-31799-03531b40ae858777/input.txt
file '/tmp/sharable-31799-03531b40ae858777/extract/adaptive-60084.mkv-0000008170.mkv'
file '/tmp/sharable-31799-03531b40ae858777/extract/adaptive-60084.mkv-0000005684.mkv'
file '/tmp/sharable-31799-03531b40ae858777/extract/adaptive-60084.mkv-0000000985.mkv'
file '/tmp/sharable-31799-03531b40ae858777/extract/adaptive-60084.mkv-0000003083.mkv'
file '/tmp/sharable-31799-03531b40ae858777/extract/adaptive-60084.mkv-0000006474.mkv'
file '/tmp/sharable-31799-03531b40ae858777/extract/adaptive-60084.mkv-0000000905.mkv'
file '/tmp/sharable-31799-03531b40ae858777/extract/adaptive-60084.mkv-0000003958.mkv'
file '/tmp/sharable-31799-03531b40ae858777/extract/adaptive-60084.mkv-0000009934.mkv'
file '/tmp/sharable-31799-03531b40ae858777/extract/adaptive-60084.mkv-0000009500.mkv'
file '/tmp/sharable-31799-03531b40ae858777/extract/adaptive-60084.mkv-0000009699.mkv'
file '/tmp/sharable-31799-03531b40ae858777/extract/adaptive-60084.mkv-0000011158.mkv'
file '/tmp/sharable-31799-03531b40ae858777/extract/adaptive-60084.mkv-0000011883.mkv'
file '/tmp/sharable-31799-03531b40ae858777/extract/adaptive-60084.mkv-0000011620.mkv'
file '/tmp/sharable-31799-03531b40ae858777/extract/adaptive-60084.mkv-0000010914.mkv'
file '/tmp/sharable-31799-03531b40ae858777/extract/adaptive-60084.mkv-0000010972.mkv'
file '/tmp/sharable-31799-03531b40ae858777/extract/adaptive-60084.mkv-0000006961.mkv'
file '/tmp/sharable-31799-03531b40ae858777/extract/adaptive-60084.mkv-0000005191.mkv'
file '/tmp/sharable-31799-03531b40ae858777/extract/adaptive-60084.mkv-0000011083.mkv'
file '/tmp/sharable-31799-03531b40ae858777/extract/adaptive-60084.mkv-0000011053.mkv'
file '/tmp/sharable-31799-03531b40ae858777/extract/adaptive-60084.mkv-0000003030.mkv'
file '/tmp/sharable-31799-03531b40ae858777/extract/adaptive-60084.mkv-0000000694.mkv'
file '/tmp/sharable-31799-03531b40ae858777/extract/adaptive-60084.mkv-0000007942.mkv'
file '/tmp/sharable-31799-03531b40ae858777/extract/adaptive-60084.mkv-0000000000.mkv'
file '/tmp/sharable-31799-03531b40ae858777/extract/adaptive-60084.mkv-0000003255.mkv'
file '/tmp/sharable-31799-03531b40ae858777/extract/adaptive-60084.mkv-0000003204.mkv'
file '/tmp/sharable-31799-03531b40ae858777/extract/adaptive-60084.mkv-0000007176.mkv'
file '/tmp/sharable-31799-03531b40ae858777/extract/adaptive-60084.mkv-0000011535.mkv'
file '/tmp/sharable-31799-03531b40ae858777/extract/adaptive-60084.mkv-0000004523.mkv'
file '/tmp/sharable-31799-03531b40ae858777/extract/adaptive-60084.mkv-0000010293.mkv'
file '/tmp/sharable-31799-03531b40ae858777/extract/adaptive-60084.mkv-0000001888.mkv'
file '/tmp/sharable-31799-03531b40ae858777/extract/adaptive-60084.mkv-0000004188.mkv'
file '/tmp/sharable-31799-03531b40ae858777/extract/adaptive-60084.mkv-0000003500.mkv'
file '/tmp/sharable-31799-03531b40ae858777/extract/adaptive-60084.mkv-0000000616.mkv'
file '/tmp/sharable-31799-03531b40ae858777/extract/adaptive-60084.mkv-0000003305.mkv'
file '/tmp/sharable-31799-03531b40ae858777/extract/adaptive-60084.mkv-0000008290.mkv'
file '/tmp/sharable-31799-03531b40ae858777/extract/adaptive-60084.mkv-0000011482.mkv'
file '/tmp/sharable-31799-03531b40ae858777/extract/adaptive-60084.mkv-0000004917.mkv'
file '/tmp/sharable-31799-03531b40ae858777/extract/adaptive-60084.mkv-0000011764.mkv'
file '/tmp/sharable-31799-03531b40ae858777/extract/adaptive-60084.mkv-0000011307.mkv'
file '/tmp/sharable-31799-03531b40ae858777/extract/adaptive-60084.mkv-0000004069.mkv'
file '/tmp/sharable-31799-03531b40ae858777/extract/adaptive-60084.mkv-0000008924.mkv'
file '/tmp/sharable-31799-03531b40ae858777/extract/adaptive-60084.mkv-0000009823.mkv'
file '/tmp/sharable-31799-03531b40ae858777/extract/adaptive-60084.mkv-0000000740.mkv'
file '/tmp/sharable-31799-03531b40ae858777/extract/adaptive-60084.mkv-0000010518.mkv'
file '/tmp/sharable-31799-03531b40ae858777/extract/adaptive-60084.mkv-0000003818.mkv'
file '/tmp/sharable-31799-03531b40ae858777/extract/adaptive-60084.mkv-0000009099.mkv'
file '/tmp/sharable-31799-03531b40ae858777/extract/adaptive-60084.mkv-0000001113.mkv'
file '/tmp/sharable-31799-03531b40ae858777/extract/adaptive-60084.mkv-0000012038.mkv'
file '/tmp/sharable-31799-03531b40ae858777/extract/adaptive-60084.mkv-0000010691.mkv'
file '/tmp/sharable-31799-03531b40ae858777/extract/adaptive-60084.mkv-0000008253.mkv'
file '/tmp/sharable-31799-03531b40ae858777/extract/adaptive-60084.mkv-0000008556.mkv'
file '/tmp/sharable-31799-03531b40ae858777/extract/adaptive-60084.mkv-0000002010.mkv'

I think this is genreted by running ls on that folder, but that shouldn't be neccisary since we can generate those filenames from the listed silences in the detect list.

jappeace commented 4 years ago

Fixed in 2.2.0