Any idea why this command is a no go ? (I am in the folder with these two .MTS files).
Code:
for f in *.MTS; do mencoder “$f” -oac copy -ovc lavc -of mpeg -mpegopts format=dvd -vf scale=1920:1080,harddup -lavcopts vcodec=mpeg2video:vrc_buf_size=1835:vrc_maxrate=9800:vbitrate=8000:keyint=15:aspect=16/9:threads=4 -vf lavcdeint -ofps 25 -fps 50 -o "${f%.MTS}.mpg"; done
MEncoder SVN-r29123-4.3.3 (C) 2000-2009 MPlayer Team
File not found: '“00119.MTS”'
Failed to open “00119.MTS”.
Cannot open file/device.
Exiting...
MEncoder SVN-r29123-4.3.3 (C) 2000-2009 MPlayer Team
File not found: '“00126.MTS”'
Failed to open “00126.MTS”.
Cannot open file/device.
The following command works fine however with the double extension :
Code:
find ~/encode -name '*.MTS' -type f -exec mencoder '{}' -oac copy -ovc lavc -of mpeg -mpegopts format=dvd -vf scale=1920:1080,harddup -lavcopts vcodec=mpeg2video:vrc_buf_size=1835:vrc_maxrate=9800:vbitrate=8000:keyint=15:aspect=16/9:threads=4 -vf lavcdeint -ofps 25 -fps 50 -o '{}'.mpg \;
Bookmarks