[PYTHON] I wrote a script to combine the divided ts files

I want to combine the divided ts files

Even if there are multiple divided ts files, it is difficult to see them as they are, so I want to make one mp4 file.

Tried to make it

https://github.com/MasatoHanayama/cat_ts (MIT license)

Mandatory requirements

  1. Windows (development environment is 10 20H2)
  2. Python3.x
  3. ffmpeg

how to use

  1. Save the ts file you want to combine in one folder
  2. Run ts_cat.py (this will generate ts_cat.txt to feed ffmpeg)
  3. Run cat.bat (hit ffmpeg based on the previously generated ts_cat.txt)
  4. output.mp4 is completed

Recommended Posts

I wrote a script to combine the divided ts files
I wrote a script to upload a WordPress plugin
AtCoder writer I wrote a script to aggregate the contests for each writer
I wrote a script to revive the gulp watch that will die soon
I wrote a script to get a popular site in Japan
I wrote a script that splits the image in two
I just wrote a script to build Android on another machine
I wrote a function to load a Git extension script in Python
I wrote a script to help goodnotes5 and Anki work together
I made a script to display emoji
"Stop committing Japanese files to git on Mac> <" For the time being, I wrote a script to search for incompatible Japanese files on Mac and Linux.
[To Twitter gentlemen] I wrote a script to convert .jpg-large to .jpg at once.
I want to see a list of WebDAV files in the Requests module
I made a script to record the active window using win32gui of Python
I made a command to markdown the table clipboard
I wrote you to watch the signal with Go
I wrote a program quickly to study DI with Python ①
I wrote a Python script that exports all my posts using the Qiita API v2
I made a function to check the model of DCGAN
Process the files in the folder in order with a shell script
I wrote it in Go to understand the SOLID principle
I tried to create a Python script to get the value of a cell in Microsoft Excel
I wrote a doctest in "I tried to simulate the probability of a bingo game with Python"
I tried changing the python script from 2.7.11 to 3.6.0 on windows10
I wrote a script to create a Twitter Bot development environment quickly with AWS Lambda + Python 2.7
I want to create a Dockerfile for the time being.
I made a script to say hello at my Koshien
I wrote AWS Lambda, and I was a little addicted to the default value of Python arguments
I will publish a shell script created to reduce the trouble of creating LiveUSB on Linux
I made a program to solve (hint) Saizeriya's spot the difference
I want to record the execution time and keep a log.
I made a library to easily read config files with Python
[Blender] Script to check if the selected one is a mesh
Conditional branch due to the existence of a shell script file
I created a Python library to call the LINE WORKS API
Create a shell script to run the python file multiple times
[Introduction to StyleGAN] I played with "The Life of a Man" ♬
I want to create a system to prevent forgetting to tighten the key 1
I tried to register a station on the IoT platform "Rimotte"
Write a script to calculate the distance with Elasticsearch 5 system painless
I tried to cut out a still image from the video
For the time being, I want to convert files with ffmpeg !!
A script that returns 0, 1 attached to the first Python prime number
I made a command to display a colorful calendar in the terminal
I made a CUI-based translation script (2)
I made a CUI-based translation script
I calculated the stochastic integral (I to integral)
I wrote the queue in Python
I tried to move the ball
I wrote the stack in Python
I tried to estimate the interval.
I found out by making a python script to record radiko while reading the code of the predecessors
I wrote a code to convert quaternions to z-y-x Euler angles in Python
I tried to verify the best way to find a good marriage partner
I want to send a signal only from the sub thread to the main thread
[Django] I made a field to enter the date with 4 digit numbers
I made a kitchen timer to be displayed on the status bar!
I want to sort a list in the order of other lists
I wrote a corpus reader that reads the results of MeCab analysis
I want to identify the alert email. --Is that x a wildcard? ---
A shell script to make sure you don't forget the pipenv shell again