|
Answer» i have video files on diffrent format (wmv, mp4, mpg, flv) and parted files and i am USING windows program for merge but, i wanna merge all files with batch file
ffmpeg command is :
CODE: [Select]ffmpeg -i concat:"file1|file2|file3" -c:v copy -c:a copy "combined.mp4" and all files last chars ; pt1 , pt2 ... p1 , p2 ...
example : video1 pt1.wmv ; video1 pt2.wmv ; video1 pt3.wmv ..... video2 p1.mp4 ; video2 p1.mp4 ; video2 p3.mp4 ..... video3 p01.mpg ; video3 p02.mpg ; video3 p03.mpg ...... video3 p99.mpg....
parts name formated
how i can use that command ? Test this. The command line has a length restriction so the number of filenames you can use depends on the length of all the filenames.
Code: [Select]echo off set "file=" for %%a in (*.mp4) do call set "file=%%file%%|%%a" ffmpeg -i concat:"%file:~1%" -c:v copy -c:a copy "combined.mp4" pause foxidrive
sorry, i late
unfortunately result is
_all named files, MERGED manual with boiler..... programDid you solve the problem??sorry no
dont working
look to bottom line... filename combined only.. no merged filename.. and size wrong must be filename
%%file%%_combinedThe task is unclear but this modification may help you: the change is inside the (......) section.
Code: [Select]echo off set "file=" for %%a in (080_*.mp4) do call set "file=%%file%%|%%a" ffmpeg -i concat:"%file:~1%" -c:v copy -c:a copy "combined.mp4" pause foxidrive
thx, you wanna help me but, have much parted files there but your code creating only one file for all parted and name combined and THATS wrong
filetes_p1.mp4 ; filetes_p2.mp4 ;........; filetes_p#.mp4 will be merged name filetes_combined.mp4 (%%file%%_combined) or (%%file%%_all.mp4)
filesec_1.mp4 ; filesex_2.mp4 ;...... ; filesec_#.mp4 will be merged name "filesec_combined.mp4" (%%file%%_combined) or (%%file%%_all.mp4)
and other file name will be this format (for all video format-s : mp4, wmv, flv, mpg, mpeg, mkv, avi)
your code wanna merge different parted and named files
sorry for my lang and explain
Quote from: TosunPASA on July 19, 2015, 07:37:25 AM thx, you wanna help me but, have much parted files there but your code creating only one file for all parted and name combined and thats wrong
The problem with my code is that your information was both wrong and lacking details. Even in your screen shot there are no extensions.
You should have tried my CHANGED code...
|