Am Mittwoch, 24. Februar 2010 15:21:15 schrieben Sie: > I also found a problem with very small clips, about 270kB. The script hangs > with very small files, creating the deinterlaced version.
It helped a little bit to put "sync" in the loop, so a few files passed, but then it hangs again. When I used the problem file only, it worked. What could I do in the script below, that lame is not used, but a lossless codec? Maybe it is a problem with lame. [export_ffmpeg.so] Using FFMPEG codec 'ffv1' (FourCC 'FFV1', FF Video Codec 1 (an experimental lossless codec)). [export_ffmpeg.so] No profile selected [export_ffmpeg.so] warning: Error opening configuration file ./ffmpeg.cfg: No such file or directory [export_ffmpeg.so] Starting 1 thread(s) [export_ffmpeg.so] Set display aspect ratio to input [transcode] Audio: using lame-3.99 (alpha 1, Jan 16 2010 07:35:24) Here it hangs for over a minute. > ________________________________________________________________ > > > #!/bin/bash > > cd "$1" > > TOPIC=`basename "$1"` > SOURCEDIR=`pwd` > STABLEDIR=`dirname "$SOURCEDIR"`"_stable/"`basename "$SOURCEDIR"` > mkdir -p "$STABLEDIR" > > > > > find "$1" -type f -name '*.avi' | sort | \ > while read -r FILE; do > echo > echo "-------------------------------------------------" > echo "$FILE" > echo "-------------------------------------------------" > echo > DEINTERFILE="$STABLEDIR""/"`basename "$FILE" | \ > sed 's/\.avi/.\deinter/'` > transcode -J smartdeinter -i "$FILE" \ > -x ffmpeg -y ffmpeg,tcaud -F ffv1 -o "$DEINTERFILE" > done Al