Hi, (...)
I have a concatList.txt file like this:
it refers to real files in c:\Code:file 'C:\video1.MP4' file 'C:\video2.MP4' file 'C:\video3.MP4' file 'C:\video4.MP4' file 'C:\video5.MP4'
I need to remux (using ffmpeg) each file one by one in batch mode
Maybe it is necessary something like (but this is NOT working):
Code:for /F "UseBackQ Tokens=2 Delims='" %%g In ("concatList.txt") DO (CALL :process_file_onebyone "%%~g") :process_file_onebyone ffmpeg -i (?) -vcodec copy -acodec copy out(1).mp4 [continuation of the batch when finisched to remux all the files in the concatList.txt]
the desider output is to get from the batch execution:
Code:C:\video1REMUXED.MP4 C:\video2REMUXED.MP4 C:\video3REMUXED.MP4 C:\video4REMUXED.MP4 C:\video5REMUXED.MP4
how to do this? please help the cat
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays!
+ Reply to Thread
Results 1 to 2 of 2
Thread
-
Last edited by marcorocchini; 29th Aug 2022 at 04:48.
-
Something like:
Code:for /F "UseBackQ Tokens=2 Delims='" %%g In ("concatList.txt") DO (CALL :process_file_onebyone "%%~g") pause exit(0) :process_file_onebyone ffmpeg -i %1 -vcodec copy -acodec copy "%~dpn1.remux.mp4"
Similar Threads
-
batch create concat list for ffmpeg by the drag and drop of any files?
By marcorocchini in forum Newbie / General discussionsReplies: 0Last Post: 11th Aug 2022, 09:05 -
How to Batch Process 768kbps DTS .m4a Audio Files to AC3 5.1ch 640Kbps
By askfriends in forum AudioReplies: 5Last Post: 4th Aug 2021, 06:17 -
How to get and list in a .txt file all CLSID contained in a .dll?
By marcorocchini in forum Newbie / General discussionsReplies: 1Last Post: 14th Feb 2019, 03:55 -
batch to return the last item in a .txt file
By marcorocchini in forum Newbie / General discussionsReplies: 1Last Post: 8th Sep 2017, 17:53 -
Aegisub - batch support? or better way to batch process/edit subtitles?
By Restricted in forum SubtitleReplies: 7Last Post: 5th Sep 2017, 22:10