0
1

More than 3 years have passed since last update.

TSファイルをMP4(H.265)に変換する

Last updated at Posted at 2021-02-09

概要

  • PT2/PT3で録画していたらTSファイルが無尽蔵に溜まっていく現象を是正するために、動画ファイルをMP4(H.265)に自動変換していく

実行方法

  1. ffmpegのダウンロード
  2. ffmepgのパスを環境変数に追加
  3. 以下のコマンドを実行する
ffmpeg -i test.ts -c:v libx265 test.mp4"

スクリプト化

  • 録画サーバがWindowsのため、PowerShellを使用する。
  • Windowsのタスクスケジューラを使用して、空いている時間に録画フォルダのTSファイルをMP4(H.265)に変換していく。

H.265の実力

  • H.264の性能は確認していなかったので確認。素人目にはわかりません。
  • 生ファイル(3.91 GB) vlcsnap-2021-02-09-23h50m39s050.jpg
  • H.265(240 MB) vlcsnap-2021-02-09-23h52m20s232.jpg

©椋木ななつ・一迅社/わたてん製作委員会
引用:「私に天使が舞い降りた!」第二話より

0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1