My goal is speed and efficiency, preferably using ffmpeg or other utility & a script. Recode using H.264 or H.265 video codec and AAC audio codec to make file-sizes smaller, but with little-to-no loss in picture/sound quality. A script that includes deleting original MPG file is an added bonus. This script has to search and find all *.mpg files in the main folder and all sub-folders, convert them all to MP4 files, and then leave them in their respective folders. I would like to keep original filenames (no *-convert.mp4, for example), just with new *.mp4 container/extension. Step-by-step instructions on where to place necessary files/installations (ffmpeg, codec, and script, for example) before running the script would be great. Thanks for everyone's input.
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays!
+ Reply to Thread
Results 1 to 3 of 3
Thread
-
Last edited by ohlee2010; 18th Oct 2017 at 17:54. Reason: added to it
-
There's a thread here with many many posts about batch processing with ffmpeg, including how to process files in all sub-folders.
https://forum.videohelp.com/threads/356314-How-to-batch-convert-multiplex-any-files-with-ffmpeg
The problem you are going to have is the variation that can occur in MPEG files, true interlaced material, progressive encoding with soft pulldown, hard pulldown with interlaced encoding, field blended PAL/NTSC conversions, etc. The best quality requires analysis of the video and processing it correctly. Or you could just encode them all interlaced and live with the results.
Similar Threads
-
Batch converting hundreds of video_ts folders to mp4
By MTwannabe in forum Video ConversionReplies: 18Last Post: 3rd Jun 2015, 03:51 -
Mpeg-4 (h264 - MPEG-4 AVC) batch time-based splitting tool for Windows
By jokob in forum EditingReplies: 3Last Post: 4th May 2015, 19:26 -
Batch Convert - ISO/DVD to MP4
By joepic in forum Video ConversionReplies: 12Last Post: 26th Feb 2015, 12:09 -
Batch Convert DVD folders to movie only ISO
By Todd2022 in forum Video ConversionReplies: 7Last Post: 6th Aug 2014, 02:27 -
Batch Convert .MTS files to .MP4?
By rocketman778 in forum Video ConversionReplies: 13Last Post: 1st Aug 2014, 06:56