Created
September 22, 2016 22:52
-
-
Save emalloy/9f66b99346da4d1400169b409abb6177 to your computer and use it in GitHub Desktop.
convert realMedia to mp4 , viewable over dlna
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# crafted specifically to handle filenames with a large number of spaces. hence the xargs 0 and i switches | |
find -name \*.rmvb -print0 \ | |
| xargs -0 -i{} ffmpeg -i {} -c:v libx264 -crf 19 -strict experimental {}.mp4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment