Advertisement
Advertisement
| 06.02.2008 at 04:36PM PDT, ID: 23451697 |
|
[x]
Attachment Details
|
||
|
[x]
The Solution Rating System
|
||
With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.
Your Input Matters If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support. Thank you! |
||
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: |
#!/bin/bash
for movie in /home/smartdata/www/html/files/encode/flv/*.* ; do
NEWNAME=`basename $movie`
NEWNAME="${NEWNAME%%.*}.flv"
NEWPATH=/home/smartdata/www/html/files/encoding/flv/$NEWNAME
FINALPATH=/home/smartdata/www/html/files/encoded/flv/$NEWNAME
echo Processing $movie
echo -- New name is $NEWNAME
echo -- New path is $NEWPATH
echo -- Final path is $FINALPATH
mencoder "$movie" -o "$NEWPATH" -of lavf -oac mp3lame -lameopts abr:br=56 -ovc lavc -lavcopts vcodec=flv:vbitrate=500:mbd=2:mv0:trell:v4mv:cbp:last_pred=3 -lavfopts i_certify_that_my_video_stream_does_not_use_b_frames -vf scale=416:312 -srate 22050
mv $movie /var/www/html/files/encode/flv/finished/
mv $NEWPATH $FINALPATH
done
|