/ Published in: Bash
1. Save under .gnome2/nautilus-scripts/
2. Right click some video file
3. Select Scripts->toFlv
Works with multiple files.
2. Right click some video file
3. Select Scripts->toFlv
Works with multiple files.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
#!/bin/bash while [ $# -gt 0 ]; do clip=$1 flv_clip=`echo "$clip" | sed 's/\.\w*$/.flv/'` ffmpeg -i "$clip" -vcodec libx264 -ab 64k -ac 1 -ar 44100 -minrate 400k -maxrate 1024k -r 20 "$flv_clip" shift done res=`zenity --notification --title="toFlv" --window-icon=info --text="FLV conversion finished"`
URL: to_flv