#!/bin/sh DIR_TRANS='transcoded' mkdir -p $DIR_TRANS for filename in `ls *.mp4` do vlc $filename ":sout=#transcode{vcodec=h264,vb=1200,scale=1,acodec=mp4a,ab=256,channels=2}\ :duplicate{dst=std{access=file,mux=mp4,dst=$DIR_TRANS/$filename}}" --play-and-exit done
Friday, July 31, 2009
vlc transcoding entire folder
Here is a script to use vlc to transcode videos stored in a folder :
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment