Static_pages





Some saved shell script tidbits




ffmpeg -i "./NA/93 - Mindscape_89_Lera_Boroditsky_on_Language_Thought_Space_and_Time - XhEvqGkNnrw.mp4" \
-s 176x144 -b:v 1024 -r 1 -acodec aac -b:a 32K -y \
"./NA/93 - Mindscape_89_Lera_Boroditsky_on_Language_Thought_Space_and_Time - XhEvqGkNnrw.3gp"

sleep 5




#!/bin/bash



filename="list.txt"
ind=0;


while IFS= read -r fline;
do
    ind=$(( $ind + 1 ))
#    echo "$ind"
    export ind;
    nline="${fline%.mp4}.3gp"

#    printf '%s\n' "$fline"  "$nline"
    printf '%s\n\n'

    echo ffmpeg -i "\"$fline\"" -s 176x144 -b:v 1024 -r 1 -acodec aac -b:a 32K  -y "\"$nline\""
#    ffmpeg -i "\"$fline\"" -s 176x144 -b:v 1024 -r 1 -acodec aac -b:a 32K  -y "\"$nline\""

#    ffmpeg -loglevel -8 -i "$fline" -s 176x144 -b:v 1024 -r 1 -b:a 12.20K -ac 1 -ar 8000 -af volume=2.0 -y "$nline"
#    echo ffmpeg -i "$fline" -s 176x144 -b:v 1024 -r 1 -acodec aac -b:a 40K -af volume=2.0 "$nline"
#ffmpeg -i M.mp4 -s 176x144 -b:v 1024 -r 1 -b:a 12.20K -ac 1 -ar 8000 -af volume=2.0 M.3gp

#    youtube-dl --config-location ./conf/new1.conf "$fline";
#    youtube-dl --config-location ./conf/new2.conf "$fline";
#    sleep 5;

done < "$filename"