[LINUX] HOW-TO remux an AVI video file using Linux to make them play smoothly in XBMC
#2
I wrote this little script to quick fix some avi files.
Code:
#!/bin/bash

for i in "$1" ;
do
    mencoder -ovc copy -oac copy -of avi -o "$i.temp" "$i"
    mv "$i.temp" "$i"
done

I don't know bash too well, so I couldn't figure out how to detect avi or mkv file types without processing an entire directory with *.avi.
Reply


Messages In This Thread
[No subject] - by DDM123 - 2009-08-26, 17:53
[No subject] - by schneidz - 2009-11-04, 17:39
[No subject] - by dr_dred5 - 2009-11-12, 21:42
[No subject] - by ghajejha - 2009-11-30, 05:12
Logout Mark Read Team Forum Stats Members Help
[LINUX] HOW-TO remux an AVI video file using Linux to make them play smoothly in XBMC1