Skip to main content
deleted 41 characters in body; edited tags
Source Link
Anthon
  • 81.4k
  • 42
  • 174
  • 228

I'm looking to batch-convert a directory (or several) of video files from .avi to .mp4 containers, just copying the video and audio streams across. I know the ffmpegffmpeg command to do this, and have no trouble doing the files individually - but I'm a noob, hopelessly.

I am unfamiliar with ash ash (as opposed to bashbash) and its file-handling and looping procedures, which is making it tough to write a shell script. (It has to run in ash 'cos it's running on an underpowered Synology NAS.)

Anyone got any hints? Ta!

I'm looking to batch-convert a directory (or several) of video files from .avi to .mp4 containers, just copying the video and audio streams across. I know the ffmpeg command to do this, and have no trouble doing the files individually - but I'm a noob, hopelessly unfamiliar with ash (as opposed to bash) and its file-handling and looping procedures, which is making it tough to write a shell script. (It has to run in ash 'cos it's running on an underpowered Synology NAS.)

Anyone got any hints? Ta!

I'm looking to batch-convert a directory (or several) of video files from .avi to .mp4 containers, just copying the video and audio streams across. I know the ffmpeg command to do this, and have no trouble doing the files individually.

I am unfamiliar with ash (as opposed to bash) and its file-handling and looping procedures, which is making it tough to write a shell script. (It has to run in ash 'cos it's running on an underpowered Synology NAS.)

Source Link

ffmpeg batch convert .avi to .mp4 - in ash

I'm looking to batch-convert a directory (or several) of video files from .avi to .mp4 containers, just copying the video and audio streams across. I know the ffmpeg command to do this, and have no trouble doing the files individually - but I'm a noob, hopelessly unfamiliar with ash (as opposed to bash) and its file-handling and looping procedures, which is making it tough to write a shell script. (It has to run in ash 'cos it's running on an underpowered Synology NAS.)

Anyone got any hints? Ta!