I want to have the output file to have same name from source ( for eg first filename from list.txt
), how can I do it?
This is the code I have which converts the all the .avi in folder to a single files and renames it to output.avi
.
Instead of output.avi
I want the filename to be same as first filename from source folder or first filename from list.txt
.
for %%f in (*.avi) do (
echo file %%f >> list.txt
)
ffmpeg -f concat -safe 0 -i list.txt -c copy output.avi
del list.txt
One more thing I want to know, is it possible to flip video horizontal or mirror it without re-encoding?