# Created by PeonDevelopments Inc.
# Feel free to use any of the code below in any way you desire.
#
# Thanks to Daniel Rogers for the ffmpeg ipod encoding options:
# http://lists.mplayerhq.hu/pipermail/ffmpeg-user/2006-June/003218.html
#
# Version 1.1 - Added .vob encoding support (All mpg files operate on 1 or 2 audio channels.)
[Desktop Action convertAsMPEG]
Exec=konsole --nohist --nomenubar -e ffmpeg -r 29.97 -i '%u' -b 1000000 -s 640x480 -pass 2 -ab 192000 -ac 2 '%f.mpg'
Name=Convert File to MPEG
[Desktop Action convertAsDVD]
Exec=konsole --nohist --nomenubar -e ffmpeg -i '%u' -target dvd -ac 5 '%f.mpg'
Name=Convert File to DVD
[Desktop Action convertAsDVDH]
Exec=konsole --nohist --nomenubar -e ffmpeg -i '%u' -target dvd -ac 5 '~/%f.mpg'
Name=Convert File to DVD (Home Dir)
[Desktop Action convertToIpod]
Exec=konsole --noclose --nohist --nomenubar -e ffmpeg -y -i '%u' -f mp4 -vcodec libx264 -pass 1 -me full -refs 3 -subq 5 -b 700000 -maxrate 768000 -bufsize 244000 -s 320x240 -r 23.976023976 -ac 1 -bf 0 -level 13 -acodec libfaac -ar 48000 -ab 160000 -ac 2 '%f.mp4'
Name=Convert To IPod
[Desktop Action convertToIpodH]
Exec=konsole --noclose --nohist --nomenubar -e ffmpeg -y -i '%u' -f mp4 -vcodec libx264 -pass 1 -me full -refs 3 -subq 5 -b 700000 -maxrate 768000 -bufsize 244000 -s 320x240 -r 23.976023976 -ac 1 -bf 0 -level 13 -acodec libfaac -ar 48000 -ab 160000 -ac 2 '~/%f.mp4'
Name=Convert To IPod (Home Dir)
[Desktop Entry]
Name=Encode Videos
Actions=convertAsDVD;convertAsDVDH;convertToIpod;convertToIpodH;convertAsMPEG
ServiceTypes=video/*,video/.vob
X-KDE-Submenu=Video Encoding