Am 10.01.24 um 22:38 schrieb Budi Janto:
Hi,
In last week I tried to convert *.dat, *.avi and other video format to
*.mpg. This caused our application support only for *.mpg file (Work
well). So for this required, I just convert it without any modification
sound/video quality (AS-IS) for e.g:
Command used to convert *.dat to *.mpg.
# find * -type f -iname "*.dat" -exec sh -c 'ffmpeg -hide_banner -y -i
"$0" -vcodec copy -acodec copy "${0%.dat}.mpg"' {} \;
Command used to convert *.avi to *.mpg.
# find * -type f -iname "*.avi" -exec sh -c 'ffmpeg -hide_banner -y -i
"$0" -c:v copy -c:a copy "${0%.avi}.mpg"' {} \;
"-vcodec copy -acodec copy" - so you specify don't re-encode anyhting
which can be done also by changing the file extension, both don't make
any sense
_______________________________________________
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user
To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".