Changeset 43809 in spip-zone


Ignore:
Timestamp:
Jan 23, 2011, 1:31:13 AM (10 years ago)
Author:
kent1@…
Message:

Faire de bons exit ...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/spipmotion/script_bash/spipmotion.sh

    r43806 r43809  
    216216                nice -19 $chemin -i $entree $acodec $audiobitrate_quality_ffmpeg $ac_ffmpeg $audiofreq_ffmpeg $pass $fps_ffmpeg -s $size $vcodec $bitrate_ffmpeg $params_sup $fpre -y $sortie  2> $log >> $log ;;
    217217        esac
     218        exit $?
    218219}
    219220
     
    225226        "
    226227        echo "$chemin $entree -v $videoquality $bitrate_ffmpeg2theora --soft-target $audiobitrate_quality_ffmpeg2theora $audiofreq_ffmpeg2theora $ac_ffmpeg2theora --max_size $size $fps_ffmpeg2theora $deux_passes --optimize --nice 9 -o $sortie 2> $log >> $log" >> $log
    227         $chemin $entree -v $videoquality $bitrate_ffmpeg2theora --soft-target $audiobitrate_quality_ffmpeg2theora $audiofreq_ffmpeg2theora $ac_ffmpeg2theora --max_size $size $fps_ffmpeg2theora $deux_passes --optimize --nice 9 -o $sortie 2> $log >> $log   
     228        $chemin $entree -v $videoquality $bitrate_ffmpeg2theora --soft-target $audiobitrate_quality_ffmpeg2theora $audiofreq_ffmpeg2theora $ac_ffmpeg2theora --max_size $size $fps_ffmpeg2theora $deux_passes --optimize --nice 9 -o $sortie 2> $log >> $log
     229        exit $?
    228230}
    229231
     
    233235
    234236        if [ "$info" == "-version" ];then
    235                 ffmpeg $info 2>> $log >> $log
     237                $chemin $info 2>> $log >> $log
    236238        else
    237                 ffmpeg $info 2>> /dev/null >> $log
     239                $chemin $info 2>> /dev/null >> $log
    238240        fi
     241        return $?
    239242}
    240243
Note: See TracChangeset for help on using the changeset viewer.