Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

3
  • using what you wrote i made a change or two to include the ffmpeg options i use and to use ccextractor for subs as they are closed captions buried in a transport stream. for x in *.ts do y=$(basename "$x" .ts) ffmpeg -i "$x" -vf scale=-1:720 -c:v libx264 -crf 23 -preset ultrafast -c:a copy "$y".mp4 ccextractor "$x" -o "$y".srt done Commented Feb 7, 2018 at 11:58
  • could not get it to post in code block, tried 4 spaces and highliting text and ctr k, but did not seem to work Commented Feb 7, 2018 at 11:59
  • @StevenPenny: To be fair — the OP doesn’t have enough rep to upvote, and maybe they want to delay the “accept” until they get the answer completely working. Commented Feb 8, 2018 at 0:03