ffmpeg | audio to video for youtube
# ffmpeg -loop 1 -r ntsc -i “IMAGE.jpg” -i “AUDIO.mp3” -acodec aac -vcodec libx264 -preset fast -threads 0 -shortest “VIDEO.mov” Advertisements
# ffmpeg -loop 1 -r ntsc -i “IMAGE.jpg” -i “AUDIO.mp3” -acodec aac -vcodec libx264 -preset fast -threads 0 -shortest “VIDEO.mov” Advertisements
Problem: You have a lot of files with strange encoded names like: Your filesystem, transfered from older samba servers, contains files with windows-1252 encoded characters ibn their names, who won’t be displayed by samba. Solution: Use the magic convmv tool: # convmv –notest -r -f windows-1252 -t utf-8 /path/to/your/data Thank you, Bjoern JACKE!
For each character in string do # IN=”\\”;printf -v OUT ‘%%%02x’ “‘$IN”; echo $OUT or # echo “this & that” | perl -MURI::Escape -ne ‘chomp;print uri_escape($_),”\n”‘
curl –get –user -o /dev/null –user “user:password” –data-urlencode “argument_a=la la la la la” –data-url-encode “argument_b=bla bla bla bla” “http://my.site.com/execute.pl”