Use ProjectX [1] to cut to correct length, cut out adverts, and demux.
Use https://subtitletools.com/ to convert the SUP subtitles to SRT.
Use ffmpeg to remux the video, audio and subtitle streams.
Use ProjectX [1] to cut to correct length, cut out adverts, and demux.
Use https://subtitletools.com/ to convert the SUP subtitles to SRT.
Use ffmpeg to remux the video, audio and subtitle streams.
def bingo(max) | |
seen = [] | |
while(seen.size < max) | |
r = Random.rand(1..max) | |
next if seen.include?(r) | |
seen << r | |
end |
# Usage: | |
# ruby zlib_deflate_tests.rb < input_file | |
# | |
# Robert Haines | |
require 'zlib' | |
puts "Tests for Ruby Zlib\n-------------------\n\n" | |
comp = [ |
grep --color='auto' -P -n "[\x80-\xFF]" <file> |