mr44er wrote:
You could use ffmpeg to copy video files into a new container and log the output into a file. If anything is broken, ffmpeg will detect it.
Some example:
Code:
for f in *.mov; do ffmpeg -i "${f}" -vcodec copy -acodec copy "${f%.*}.mkv"; done
for f in *.mov; do ffmpeg -i "${f}" -vcodec copy -acodec copy "${f%.*}newfile.mp4"; done
for f in *.mp4; do ffmpeg -i "${f}" -vcodec copy -acodec copy "${f%.*}.mkv"; done
Edit:
I don't know how to script in Windows or if ffmpeg is available at all.
The manual way would be:
Code:
ffmpeg -i sourcefile.mp4 -vcodec copy -acodec copy output.mkv
Also I remember that MS-Office software does keep hidden copies/versions in the same folder per file (but not how many and/or for everything)...maybe this older version is available if everything fails.
Hi
If I understood I downloaded ffmpeg
https://www.ffmpeg.org/download.html#build-windowsI pasted in C:\ffmpeg , I do in PowerShell
PS C:\ffmpeg> ffmpeg -i F:\Documents\*.mp4 -vcodec copy -acodec copy output.mkv
error
ffmpeg: The term "ffmpeg" is not recognized as the name of a cmdlet, function, script file, or program
executable. Check the spelling of the name, or if a path exists, verify that the path is correct
and try again.
To Line:1 character : 1
+ ffmpeg -i F:\Documents\*.mp4 -vcodec copy -acodec copy output.mkv
+ ~~~~~~
+ CategoryInfo: ObjectNotFound: (ffmpeg:String)[], CommandNotFoundException
+ FullyQualifiedErrorId: CommandNotFoundException
THANKS