[MP4 High Quality]
Description=WARNING: Slow, main profile, high quality 2 pass MP4 (H.264/AAC) conversion. This can be helpful with low quality source videos but will not make much difference for HD or high quality source videos. Takes the most time but produces the best results.
2pass=true
order=handbrake,ffmpeg,mencoder
mencoder-general=-ss 3 -vf pullup,softskip,yadif=0:-1,hqdn3d,harddup
mencoder-video=-ovc x264 -x264encopts bitrate=1800:me=hex:trellis=2:subq=8:partitions=all:8x8dct:ref=5:rc_lookahead=50:keyint=25:keyint_min=20:bframes=3:weight_b:level_idc=40:b_pyramid=normal:direct_pred=auto:mixed_refs:deblock=-1,-1:nofast_pskip:nodct_decimate:b_adapt=2:threads=auto
mencoder-audio=-oac faac -faacopts br=192:mpeg=4:tns:object=2
mencoder-audioac3=-oac faac -faacopts br=384:mpeg=4:tns:object=2
mencoder-ext=.avi
mencoder-remuxto=.mp4
mencoder-audiodelay=skip
ffmpeg-general=-threads 0
ffmpeg-video=-ss 3 -vf yadif=0:-1:1,hqdn3d -vcodec libx264 -b 1800k -x264opts me=hex:trellis=2:subq=8:partitions=all:8x8dct=1:ref=5:rc-lookahead=50:keyint=25:min-keyint=20:bframes=3:weightb=1:level=4.0:b-pyramid=normal:direct=auto:mixed-refs=1:deblock=-1,-1:no-fast-pskip=1:no-dct-decimate=1:b-adapt=2:threads=auto -map 0:v -sn
ffmpeg-audio=-acodec libfdk_aac -ab 192k -cutoff 18000 -map 0:a
ffmpeg-audioac3=-acodec libfdk_aac -ab 384k -cutoff 18000 -map 0:a
ffmpeg-ext=.mp4
ffmpeg-audiodelay=skip
handbrake-general=--decomb --denoise="weak" --loose-anamorphic --verbose=2 -T -f mp4 -O
handbrake-video=--start-at duration:3 -e x264 -b 1800 -x me=hex:trellis=2:subq=8:partitions=all:8x8dct:ref=5:rc-lookahead=50:keyint=25:keyint-min=20:bframes=3:weight-b:level-idc=40:b-pyramid=normal:direct-pred=auto:mixed-refs:deblock=-1,-1:nofast-pskip:nodct-decimate:b-adapt=2:threads=auto
handbrake-audio=-E faac -R auto -B 192 -D 0 -a 1,2,3,4,5
handbrake-audioac3=-E faac -R auto -B 384 -D 0 -a 1,2,3,4,5
handbrake-ext=.mp4
handbrake-audiodelay=skip
PreConversionCommercialRemover=true

[MP4 Normal]
Description=Main profile, good quality 1 pass MP4 (H.264/AAC) conversion. Good for most conversions, produces good results and is faster than the two pass conversion.
order=handbrake,ffmpeg,mencoder
mencoder-general=-ss 3 -vf pullup,softskip,yadif=0:-1,hqdn3d,harddup
mencoder-video=-ovc x264 -x264encopts bitrate=1400:me=hex:trellis=1:subq=8:partitions=all:8x8dct:ref=3:rc_lookahead=50:keyint=25:keyint_min=20:bframes=1:weight_b:level_idc=40:b_pyramid=normal:direct_pred=auto:mixed_refs:deblock=-1,-1:nofast_pskip:nodct_decimate:b_adapt=0:threads=auto
mencoder-audio=-oac faac -faacopts br=160:mpeg=4:tns:object=2
mencoder-audioac3=-oac faac -faacopts br=256:mpeg=4:tns:object=2
mencoder-ext=.avi
mencoder-remuxto=.mp4
mencoder-audiodelay=skip
ffmpeg-general=-threads 0
ffmpeg-video=-ss 3 -vf yadif=0:-1:1,hqdn3d -vcodec libx264 -b 1400k -x264opts me=hex:trellis=1:subq=8:partitions=all:8x8dct=1:ref=3:rc-lookahead=50:keyint=25:min-keyint=20:bframes=1:weightb=1:level=4.0:b-pyramid=normal:direct=auto:mixed-refs=1:deblock=-1,-1:no-fast-pskip=1:no-dct-decimate=1:b-adapt=0:threads=auto -map 0:v -sn
ffmpeg-audio=-acodec libfdk_aac -ab 160k -cutoff 18000 -map 0:a
ffmpeg-audioac3=-acodec libfdk_aac -ab 256k -cutoff 18000 -map 0:a
ffmpeg-ext=.mp4
ffmpeg-audiodelay=skip
handbrake-general=--decomb --loose-anamorphic --verbose=2 -f mp4 -O
handbrake-video=--start-at duration:3 -e x264 -b 1400 -x me=hex:trellis=1:subq=8:partitions=all:8x8dct:ref=3:rc-lookahead=50:keyint=25:keyint-min=20:bframes=1:weight-b:level-idc=40:b-pyramid=normal:direct-pred=auto:mixed-refs:deblock=-1,-1:nofast-pskip:nodct-decimate:b-adapt=0:threads=auto
handbrake-audio=-E faac -R auto -B 160 -D 0 -a 1,2,3,4,5
handbrake-audioac3=-E faac -R auto -B 256 -D 0 -a 1,2,3,4,5
handbrake-ext=.mp4
handbrake-audiodelay=skip
PreConversionCommercialRemover=true

[MP4 Fast]
Description=Fast MP4 (H.264/AAC) conversion.  Fastest conversion but lower quality, more sensitive to errors in the source video.
order=handbrake,ffmpeg
ffmpeg-general=-threads 0
ffmpeg-video=-ss 3 -vcodec libx264 -b 1000k -x264opts cabac=0:ref=2:bframes=1:weightp=0:8x8dct=0:trellis=0:subq=6:me=hex:b-adapt=0:threads=auto -map 0:v -sn
ffmpeg-audio=-acodec libfdk_aac -ab 128k -cutoff 18000 -map 0:a
ffmpeg-audioac3=-acodec libfdk_aac -ab 160k -cutoff 18000 -map 0:a
ffmpeg-ext=.mp4
ffmpeg-audiodelay=skip
handbrake-general=--loose-anamorphic --verbose=2 -f mp4 -O
handbrake-video=--start-at duration:3 -e x264 -b 1000 -x cabac=0:ref=2:bframes=1:weightp=0:8x8dct=0:trellis=0:subq=6:me=hex:b-adapt=0:threads=auto
handbrake-audio=-E faac -R auto -B 128 -D 0 -a 1,2,3,4,5
handbrake-audioac3=-E faac -R auto -B 160 -D 0 -a 1,2,3,4,5
handbrake-ext=.mp4
handbrake-audiodelay=skip
PreConversionCommercialRemover=true
AutoDeinterlace=false

[----------------------]

[M4V Apple High Quality]
Description=WARNING: Slow, Apple compatible 2 pass MP4 (H.264/AAC) high quality conversion.  4GB file size limit. More sensitive to errors in the source video. This can be helpful with low quality source videos but will not make much difference for HD or high quality source videos.
order=handbrake,ffmpeg
2pass=true
handbrake-general=--decomb --denoise="weak" --loose-anamorphic --verbose=2 -T -f mp4 -O
handbrake-video=--start-at duration:3 -e x264 -b 1600 -x cabac=0:ref=3:bframes=0:weightp=0:8x8dct=0:trellis=0:subq=6:me=hex
handbrake-audio=-E faac -R auto -B 160 -D 0 -a 1,2,3,4,5
handbrake-audioac3=-E faac -R auto -B 160 -D 0 -a 1,2,3,4,5
handbrake-ext=.m4v
handbrake-audiodelay=skip
ffmpeg-general=-threads 0
ffmpeg-video=-ss 3 -vcodec libx264 -b 1600k -x264opts cabac=0:ref=3:bframes=0:weightp=0:8x8dct=0:trellis=0:subq=6:me=hex:threads=auto -map 0:v -sn
ffmpeg-audio=-acodec libfdk_aac -ab 160k -cutoff 18000 -map 0:a
ffmpeg-audioac3=-acodec libfdk_aac -ab 160k -cutoff 18000 -map 0:a
ffmpeg-ext=.m4v
ffmpeg-audiodelay=skip
PreConversionCommercialRemover=true

[M4V Apple Normal]
Description=Apple compatible 1 pass MP4 (H.264/AAC) conversion. Produces good results and is faster than the two pass conversion.  4GB file size limit. More sensitive to errors in the source video.
order=handbrake,ffmpeg
handbrake-general=--decomb --denoise="weak" --loose-anamorphic --verbose=2 -f mp4 -O
handbrake-video=--start-at duration:3 -e x264 -b 1400 -x cabac=0:ref=2:bframes=0:weightp=0:8x8dct=0:trellis=0:subq=6:me=hex
handbrake-audio=-E faac -R auto -B 160 -D 0 -a 1,2,3,4,5
handbrake-audioac3=-E faac -R auto -B 160 -D 0 -a 1,2,3,4,5
handbrake-ext=.m4v
handbrake-audiodelay=skip
ffmpeg-general=-threads 0
ffmpeg-video=-ss 3 -vcodec libx264 -b 1400k -x264opts cabac=0:ref=2:bframes=0:weightp=0:8x8dct=0:trellis=0:subq=6:me=hex:threads=auto -map 0:v -sn
ffmpeg-audio=-acodec libfdk_aac -ab 160k -cutoff 18000 -map 0:a
ffmpeg-audioac3=-acodec libfdk_aac -ab 160k -cutoff 18000 -map 0:a
ffmpeg-ext=.m4v
ffmpeg-audiodelay=skip
PreConversionCommercialRemover=true

[M4V Apple Fast]
Description=Fast MP4 (H.264/AAC) conversion for Apple conversions.  Fastest conversion but lower quality.  4GB file size limit. More sensitive to errors in the source video.
order=handbrake,ffmpeg
handbrake-general=--loose-anamorphic --verbose=2 -f mp4 -O
handbrake-video=--start-at duration:3 -e x264 -b 1000 -x cabac=0:ref=2:bframes=0:weightp=0:8x8dct=0:trellis=0:subq=6:me=hex
handbrake-audio=-E faac -R auto -B 128 -D 0 -a 1,2,3,4,5
handbrake-audioac3=-E faac -R auto -B 128 -D 0 -a 1,2,3,4,5
handbrake-ext=.m4v
handbrake-audiodelay=skip
ffmpeg-general=-threads 0
ffmpeg-video=-ss 3 -vcodec libx264 -b 1000k -x264opts cabac=0:ref=2:bframes=0:weightp=0:8x8dct=0:trellis=0:subq=6:me=hex:threads=auto -map 0:v -sn
ffmpeg-audio=-acodec libfdk_aac -ab 160k -cutoff 18000 -map 0:a
ffmpeg-audioac3=-acodec libfdk_aac -ab 160k -cutoff 18000 -map 0:a
ffmpeg-ext=.m4v
ffmpeg-audiodelay=skip
PreConversionCommercialRemover=true
AutoDeinterlace=false

[----------------------]

[MKV High Quality]
Description=WARNING: Slow, main profile, high quality 2 pass MKV (H.264/AC3).  This can be helpful with low quality source videos but will not make much difference for HD or high quality source videos. Takes the most time and produces the best results.
2pass=true
order=handbrake,ffmpeg,mencoder
mencoder-general=-ss 3 -vf pullup,softskip,yadif=0:-1,hqdn3d,harddup
mencoder-video=-ovc x264 -x264encopts bitrate=1800:me=hex:trellis=2:subq=8:partitions=all:8x8dct:ref=5:rc_lookahead=50:keyint=25:keyint_min=20:bframes=3:weight_b:level_idc=40:b_pyramid=normal:direct_pred=auto:mixed_refs:deblock=-1,-1:nofast_pskip:nodct_decimate:b_adapt=2:threads=auto
mencoder-audio=-oac lavc -lavcopts acodec=ac3:abitrate=192
mencoder-audioac3=-oac lavc -lavcopts acodec=ac3:abitrate=384
mencoder-ext=.avi
mencoder-remuxto=.mkv
mencoder-audiodelay=skip
ffmpeg-general=-threads 0
ffmpeg-video=-ss 3 -vf yadif=0:-1:1,hqdn3d -vcodec libx264 -b 1800k -x264opts me=hex:trellis=2:subq=8:partitions=all:8x8dct=1:ref=5:rc-lookahead=50:keyint=25:min-keyint=20:bframes=3:weightb=1:level=4.0:b-pyramid=normal:direct=auto:mixed-refs=1:deblock=-1,-1:no-fast-pskip=1:no-dct-decimate=1:b-adapt=2:threads=auto -map 0:v -sn
ffmpeg-audio=-acodec ac3 -ab 192k -map 0:a
ffmpeg-audioac3=-acodec ac3 -ab 384k -map 0:a
ffmpeg-ext=.mkv
ffmpeg-audiodelay=skip
handbrake-general=--decomb --denoise="weak" --loose-anamorphic --verbose=2 -T -O
handbrake-video=--start-at duration:3 -e x264 -b 1800 -x me=hex:trellis=2:subq=8:partitions=all:8x8dct:ref=5:rc-lookahead=50:keyint=25:keyint-min=20:bframes=3:weight-b:level-idc=40:b-pyramid=normal:direct-pred=auto:mixed-refs:deblock=-1,-1:nofast-pskip:nodct-decimate:b-adapt=2:threads=auto
handbrake-audio=-E ffac3 -R auto -B 192 -D 0 -a 1,2,3,4,5
handbrake-audioac3=-E ffac3 -R auto -B 384 -D 0 -a 1,2,3,4,5
handbrake-ext=.mkv
handbrake-audiodelay=skip
PreConversionCommercialRemover=true

[MKV Normal Quality]
Description=Main profile, good quality 1 pass MKV (H.264/AC3). Good for most conversions. Produces good results and is faster than the two pass conversion.
order=handbrake,ffmpeg,mencoder
mencoder-general=-ss 3 -vf pullup,softskip,yadif=0:-1,hqdn3d,harddup
mencoder-video=-ovc x264 -x264encopts bitrate=1400:me=hex:trellis=1:subq=8:partitions=all:8x8dct:ref=3:rc_lookahead=50:keyint=25:keyint_min=20:bframes=1:weight_b:level_idc=40:b_pyramid=normal:direct_pred=auto:mixed_refs:deblock=-1,-1:nofast_pskip:nodct_decimate:b_adapt=0:threads=auto
mencoder-audio=-oac lavc -lavcopts acodec=ac3:abitrate=160
mencoder-audioac3=-oac lavc -lavcopts acodec=ac3:abitrate=256
mencoder-ext=.avi
mencoder-remuxto=.mkv
mencoder-audiodelay=skip
ffmpeg-general=-threads 0
ffmpeg-video=-ss 3 -vf yadif=0:-1:1,hqdn3d -vcodec libx264 -b 1400k -x264opts me=hex:trellis=1:subq=8:partitions=all:8x8dct=1:ref=3:rc-lookahead=50:keyint=25:min-keyint=20:bframes=1:weightb=1:level=4.0:b-pyramid=normal:direct=auto:mixed-refs=1:deblock=-1,-1:no-fast-pskip=1:no-dct-decimate=1:b-adapt=0:threads=auto -map 0:v -sn
ffmpeg-audio=-acodec ac3 -ab 160k -map 0:a
ffmpeg-audioac3=-acodec ac3 -ab 256k -map 0:a
ffmpeg-ext=.mkv
ffmpeg-audiodelay=skip
handbrake-general=--decomb --loose-anamorphic --verbose=2 -O
handbrake-video=--start-at duration:3 -e x264 -b 1400 -x me=hex:trellis=1:subq=8:partitions=all:8x8dct:ref=3:rc-lookahead=50:keyint=25:keyint-min=20:bframes=1:weight-b:level-idc=40:b-pyramid=normal:direct-pred=auto:mixed-refs:deblock=-1,-1:nofast-pskip:nodct-decimate:b-adapt=0:threads=auto
handbrake-audio=-E ffac3 -R auto -B 160 -D 0 -a 1,2,3,4,5
handbrake-audioac3=-E ffac3 -R auto -B 256 -D 0 -a 1,2,3,4,5
handbrake-ext=.mkv
handbrake-audiodelay=skip
PreConversionCommercialRemover=true

[MKV Fast]
Description=Average quality 1 pass MKV (H.264/AC3). Fastest and smallest conversion but lower quality, more sensitive to errors in the source video.
order=handbrake,ffmpeg
ffmpeg-general=-threads 0
ffmpeg-video=-ss 3 -vcodec libx264 -b 1000k -x264opts cabac=0:ref=2:bframes=1:weightp=0:8x8dct=0:trellis=0:subq=6:me=hex:b-adapt=0:threads=auto -map 0:v -sn
ffmpeg-audio=-acodec ac3 -ab 128k -map 0:a
ffmpeg-audioac3=-acodec ac3 -ab 160k -map 0:a
ffmpeg-ext=.mkv
ffmpeg-audiodelay=skip
handbrake-general=--loose-anamorphic --verbose=2 -O
handbrake-video=--start-at duration:3 -e x264 -b 1000 -x cabac=0:ref=2:bframes=1:weightp=0:8x8dct=0:trellis=0:subq=6:me=hex:b-adapt=0:threads=auto
handbrake-audio=-E ffac3 -R auto -B 128 -D 0 -a 1,2,3,4,5
handbrake-audioac3=-E ffac3 -R auto -B 160 -D 0 -a 1,2,3,4,5
handbrake-ext=.mkv
handbrake-audiodelay=skip
PreConversionCommercialRemover=true
AutoDeinterlace=false

[----------------------]

[DivX AVI High Quality]
Description=WARNING: Slow, very high quality, 2 pass DivX / Xvid AVI (XVid/AC3) conversion.  This can be helpful with low quality source videos but will not make much difference for HD or high quality source videos. Takes the most time but produces the best results and a small file.
order=ffmpeg
2pass=true
ffmpeg-general=-threads 0
ffmpeg-video=-ss 3 -vf yadif=0:-1:1,hqdn3d -vcodec libxvid -b 1800k -f avi -mbd rd -flags +mv4+aic -trellis 2 -cmp 2 -subcmp 2 -g 300 -bf 1 -sn
ffmpeg-audio=-acodec ac3 -ab 192k
ffmpeg-audioac3=-acodec ac3 -ab 384k
ffmpeg-ext=.avi
ffmpeg-audiodelay=skip
PreConversionCommercialRemover=true

[DivX AVI Normal]
Description=Good quality, 1 pass DivX / Xvid AVI (XVid/AC3) conversion, great for SD videos.  Produces good results and is faster than the two pass conversion.
order=ffmpeg
ffmpeg-general=-threads 0
ffmpeg-video=-ss 3 -vf yadif=0:-1:1,hqdn3d -vcodec libxvid -b 1400k -f avi -flags +mv4+aic -g 300 -bf 1 -sn
ffmpeg-audio=-acodec ac3 -ab 160k
ffmpeg-audioac3=-acodec ac3 -ab 256k
ffmpeg-ext=.avi
ffmpeg-audiodelay=skip
PreConversionCommercialRemover=true

[DivX AVI Fast]
Description=Good quality, 1 pass DivX / Xvid AVI (XVid/AC3) conversion, good for SD videos.  Much faster conversion, more resilient to errors in the video but a creates a larger file.
order=ffmpeg
ffmpeg-general=-threads 0
ffmpeg-video=-ss 3 -vcodec mpeg4 -vtag xvid -b 1200k -f avi -flags +mv4+aic -g 300 -dts_delta_threshold 0 -sn
ffmpeg-audio=-acodec ac3 -ab 160k
ffmpeg-audioac3=-acodec ac3 -ab 256k
ffmpeg-ext=.avi
ffmpeg-audiodelay=skip
PreConversionCommercialRemover=true

[----------------------]

[TS]
Description=Use this to convert the video into a TS (H.264/AC3) file.
order=handbrake,ffmpeg
ffmpeg-general=-threads 0
ffmpeg-video=-ss 3 -vf yadif=0:-1:1,hqdn3d -vcodec libx264 -crf 22 -f mpegts -map 0:v -sn
ffmpeg-audio=-acodec ac3 -ab 192k -map 0:a
ffmpeg-audioac3=-acodec ac3 -ab 384K -map 0:a
ffmpeg-ext=.ts
ffmpeg-audiodelay=skip
handbrake-general=--decomb --denoise --loose-anamorphic --verbose=2
handbrake-video=--start-at duration:3 -e x264 -q 20
handbrake-audio=-E ffac3 -R auto -B 192 -D 0 -a 1,2,3,4,5
handbrake-audioac3=-E ffac3 -R auto -B 384 -D 0 -a 1,2,3,4,5
handbrake-ext=.mp4
handbrake-remuxto=.ts
handbrake-audiodelay=skip
PreConversionCommercialRemover=true

[TS MPEG-2]
Description=Use this to convert the video into a TS (MPEG2/AC3) file. Caution: This creates very large files
order=ffmpeg,handbrake
ffmpeg-general=-threads 0
ffmpeg-video=-ss 3 -vf yadif=0:-1:1,hqdn3d -vcodec mpeg2video -qscale 2 -f mpegts -map 0:v -sn
ffmpeg-audio=-acodec ac3 -ab 192k -map 0:a
ffmpeg-audioac3=-acodec ac3 -ab 384K -map 0:a
ffmpeg-ext=.ts
ffmpeg-audiodelay=skip
handbrake-general=--decomb --denoise --loose-anamorphic --verbose=2
handbrake-video=--start-at duration:3 -e ffmpeg2 -q 2
handbrake-audio=-E ffac3 -R auto -B 192 -D 0 -a 1,2,3,4,5
handbrake-audioac3=-E ffac3 -R auto -B 384 -D 0 -a 1,2,3,4,5
handbrake-ext=.mp4
handbrake-remuxto=.ts
handbrake-audiodelay=skip
PreConversionCommercialRemover=true

[----------------------]

[HDHomeRun Unprocessed]
Description=Used to remove commercials and create a SiliconDust HDHomeRun compatible MPG file while keeping original video/audio quality and format. It does not remove black bars, resize the video, deinterlace or select audio language.
order=copy,ffmpeg 
copy-ext=.ts 
copy-audiodelay=skip 
ffmpeg-general=-threads 0 
ffmpeg-video=-vcodec copy -f mpegts -map 0:v -sn 
ffmpeg-audio=-acodec copy -map 0:a 
ffmpeg-audioac3=-acodec copy -map 0:a 
ffmpeg-ext=.ts 
ffmpeg-audiodelay=skip 
FixedResolution=true 
SkipCropping=true 
PreConversionCommercialRemover=true 
RenameExt=.mpg

[HDHomeRun H.264]
Description=Use this to remove the commercials and convert the source video into a SiliconDust HDHomeRun compatible MPG file with (H.264/AC3) video/audio.
order=handbrake,ffmpeg 
ffmpeg-general=-threads 0 
ffmpeg-video=-ss 3 -vf yadif=0:-1:1,hqdn3d -vcodec libx264 -crf 22 -f mpegts -map 0:v -sn 
ffmpeg-audio=-acodec ac3 -ab 192k -map 0:a 
ffmpeg-audioac3=-acodec ac3 -ab 384K -map 0:a 
ffmpeg-ext=.ts 
ffmpeg-audiodelay=skip 
handbrake-general=--decomb --denoise --loose-anamorphic --verbose=2 
handbrake-video=--start-at duration:3 -e x264 -q 20 
handbrake-audio=-E ffac3 -R auto -B 192 -D 0 -a 1,2,3,4,5 
handbrake-audioac3=-E ffac3 -R auto -B 384 -D 0 -a 1,2,3,4,5 
handbrake-ext=.mp4 
handbrake-remuxto=.ts 
handbrake-audiodelay=skip 
PreConversionCommercialRemover=true 
RenameExt=.mpg

[----------------------]

[WTV]
Description=Converts the video to creates high quality WTV (H.264/AC3) files.
order=handbrake,ffmpeg
ffmpeg-general=-threads 0
ffmpeg-video=-ss 3 -vf yadif=0:-1:1,hqdn3d -vcodec libx264 -crf 22 -map 0:v -sn
ffmpeg-audio=-acodec ac3 -ab 192k -map 0:a
ffmpeg-audioac3=-acodec ac3 -ab 384K -map 0:a
ffmpeg-ext=.wtv
ffmpeg-audiodelay=skip
handbrake-general=--decomb --denoise --loose-anamorphic --verbose=2 -f mp4
handbrake-video=--start-at duration:3 -e x264 -q 20
handbrake-audio=-E ffac3 -R auto -B 192 -D 0 -a 1,2,3,4,5
handbrake-audioac3=-E ffac3 -R auto -B 384 -D 0 -a 1,2,3,4,5
handbrake-ext=.mp4
handbrake-remuxto=.wtv
handbrake-audiodelay=skip
PreConversionCommercialRemover=true

[WTV Legacy]
Description=This is primarly for older Media Extenders (like XBox, Ceton Echo and Linksys DMA2100) which don't support h.264 in WTV. Converts the video to creates high quality WTV (MPEG2/AC3) files.
order=ffmpeg,handbrake
ffmpeg-general=-threads 0
ffmpeg-video=-ss 3 -vf yadif=0:-1:1,hqdn3d -vcodec mpeg2video -qscale 2 -map 0:v -sn 
ffmpeg-audio=-acodec ac3 -ab 192k -map 0:a
ffmpeg-audioac3=-acodec ac3 -ab 384K -map 0:a
ffmpeg-ext=.wtv
ffmpeg-audiodelay=skip
handbrake-general=--decomb --denoise --loose-anamorphic --verbose=2 -f mp4
handbrake-video=--start-at duration:3 -e ffmpeg2 -q 2
handbrake-audio=-E ffac3 -R auto -B 192 -D 0 -a 1,2,3,4,5
handbrake-audioac3=-E ffac3 -R auto -B 384 -D 0 -a 1,2,3,4,5
handbrake-ext=.mp4
handbrake-remuxto=.wtv
handbrake-audiodelay=skip
PreConversionCommercialRemover=true

[----------------------]

[WMV High Quality]
Description=WARNING: Slow, high quality 2 pass WMV (v2) video and audio. This can be helpful with low quality source videos but will not make much difference for HD or high quality source videos.
2pass=true
order=ffmpeg,mencoder
mencoder-general=-ss 3 -of lavf -lavfopts format=asf -vf pullup,softskip,yadif=0:-1,hqdn3d,harddup
mencoder-video=-ovc lavc -lavcopts vcodec=wmv2:vbitrate=2000:threads=1
mencoder-audio=-oac lavc -lavcopts acodec=wmav2:abitrate=192 -channels 2
mencoder-audioac3=-oac lavc -lavcopts acodec=wmav2:abitrate=192 -channels 2
mencoder-ext=.wmv
mencoder-audiodelay=skip
ffmpeg-general=-threads 0
ffmpeg-video=-ss 3 -vf yadif=0:-1:1,hqdn3d -vcodec wmv2 -b 2000k -sn
ffmpeg-audio=-acodec wmav2 -ab 192k -ac 2
ffmpeg-audioac3=-acodec wmav2 -ab 192k -ac 2
ffmpeg-ext=.wmv
ffmpeg-audiodelay=skip
PreConversionCommercialRemover=true

[WMV Normal]
Description=Good Quality, Single Pass WMV (v2) video and audio.
order=ffmpeg,mencoder
mencoder-general=-ss 3 -of lavf -lavfopts format=asf -vf pullup,softskip,yadif=0:-1,hqdn3d,harddup
mencoder-video=-ovc lavc -lavcopts vcodec=wmv2:vbitrate=1400:threads=1
mencoder-audio=-oac lavc -lavcopts acodec=wmav2:abitrate=192 -channels 2
mencoder-audioac3=-oac lavc -lavcopts acodec=wmav2:abitrate=192 -channels 2
mencoder-ext=.wmv
mencoder-audiodelay=skip
ffmpeg-general=-threads 0
ffmpeg-video=-ss 3 -vf yadif=0:-1:1,hqdn3d -vcodec wmv2 -b 1400k -sn
ffmpeg-audio=-acodec wmav2 -ab 192k -ac 2
ffmpeg-audioac3=-acodec wmav2 -ab 192k -ac 2
ffmpeg-ext=.wmv
ffmpeg-audiodelay=skip
PreConversionCommercialRemover=true

[----------------------]

[iPhone]
Description=iPhone 2G,3G,3GS compatible (H.264 MP4 width 480 pixel video and AAC stereo audio).
order=ffmpeg,mencoder
mencoder-general=-ss 3 -vf pullup,softskip,pp=fd,scale=480:-2,hqdn3d,harddup
mencoder-video=-ovc x264 -x264encopts bitrate=800:subq=6:subme=7:frameref=2:qcomp=0.8:b_pyramid=strict:weight_b=yes:me=umh:partitions=p8x8,i4x4:nodct_decimate=yes:trellis=1:direct_pred=auto:level_idc=30:nocabac=yes:threads=auto
mencoder-audio=-oac faac -faacopts br=128:mpeg=4:tns=yes:object=2
mencoder-audioac3=-oac faac -faacopts br=128:mpeg=4:tns=yes:object=2
mencoder-ext=.avi
mencoder-remuxto=.mp4
mencoder-audiodelay=skip
ffmpeg-general=-threads 0
ffmpeg-video=-ss 3 -vf yadif=0:-1:1,hqdn3d,crop=iw:ih:0:0,scale=min(480\,iw):trunc(ow/dar/2)*2 -vcodec libx264 -b 800k -x264opts ref=2:subq=6:subme=7:qcomp=0.8:b-pyramid=strict:no-weightb=0:me=umh:direct=auto:level=3:partitions=p8x8i4x4:no-cabac=1:trellis=1:no-dct-decimate=1:threads=auto -sn
ffmpeg-audio=-acodec libfdk_aac -ab 160k -cutoff 18000
ffmpeg-audioac3=-acodec libfdk_aac -ab 160k -cutoff 18000
ffmpeg-ext=.mp4
ffmpeg-audiodelay=skip
2ChannelAudio=true
FixedResolution=true
PreConversionCommercialRemover=true

[iPhone Hi-Res]
Description=iPhone 4,4S,5 compatible (H.264 MP4 width 960 pixel video and AAC stereo audio).
order=ffmpeg,mencoder
mencoder-general=-ss 3 -vf pullup,softskip,pp=fd,scale=960:-2,hqdn3d,harddup
mencoder-video=-ovc x264 -x264encopts bitrate=2500:subq=6:subme=7:frameref=3:qcomp=0.8:b_pyramid=strict:weight_b=yes:me=umh:partitions=p8x8,i4x4:nodct_decimate=yes:trellis=1:direct_pred=auto:level_idc=30:nocabac=yes:threads=auto
mencoder-audio=-oac faac -faacopts br=128:mpeg=4:tns=yes:object=2
mencoder-audioac3=-oac faac -faacopts br=128:mpeg=4:tns=yes:object=2
mencoder-ext=.avi
mencoder-remuxto=.mp4
mencoder-audiodelay=skip
ffmpeg-general=-threads 0
ffmpeg-video=-ss 3 -vf yadif=0:-1:1,hqdn3d,crop=iw:ih:0:0,scale=min(960\,iw):trunc(ow/dar/2)*2 -vcodec libx264 -b 2500k -x264opts ref=3:subq=6:subme=7:qcomp=0.8:b-pyramid=strict:no-weightb=0:me=umh:direct=auto:level=3:partitions=p8x8i4x4:no-cabac=1:trellis=1:no-dct-decimate=1:threads=auto -sn
ffmpeg-audio=-acodec libfdk_aac -ab 160k -cutoff 18000
ffmpeg-audioac3=-acodec libfdk_aac -ab 160k -cutoff 18000
ffmpeg-ext=.mp4
ffmpeg-audiodelay=skip
2ChannelAudio=true
FixedResolution=true
PreConversionCommercialRemover=true

[iPad]
Description=iPad, iPad 2 and iPad Mini compatible (H.264 MP4 width 1024 pixel video and AAC stereo audio).
order=ffmpeg,mencoder
mencoder-general=-ss 3 -vf pullup,softskip,pp=fd,scale=1024:-2,hqdn3d,harddup
mencoder-video=-ovc x264 -x264encopts bitrate=2000:subq=6:subme=7:frameref=3:qcomp=0.8:b_pyramid=strict:weight_b=yes:me=umh:partitions=p8x8,i4x4:nodct_decimate=yes:trellis=1:direct_pred=auto:level_idc=30:nocabac=yes:threads=auto
mencoder-audio=-oac faac -faacopts br=128:mpeg=4:tns=yes:object=2
mencoder-audioac3=-oac faac -faacopts br=128:mpeg=4:tns=yes:object=2
mencoder-ext=.avi
mencoder-remuxto=.mp4
mencoder-audiodelay=skip
ffmpeg-general=-threads 0
ffmpeg-video=-ss 3 -vf yadif=0:-1:1,hqdn3d,crop=iw:ih:0:0,scale=min(1024\,iw):trunc(ow/dar/2)*2 -vcodec libx264 -b 2000k -x264opts ref=3:subq=6:subme=7:qcomp=0.8:b-pyramid=strict:no-weightb=0:me=umh:direct=auto:level=3:partitions=p8x8i4x4:no-cabac=1:trellis=1:no-dct-decimate=1:threads=auto -sn
ffmpeg-audio=-acodec libfdk_aac -ab 160k -cutoff 18000
ffmpeg-audioac3=-acodec libfdk_aac -ab 160k -cutoff 18000
ffmpeg-ext=.mp4
ffmpeg-audiodelay=skip
2ChannelAudio=true
FixedResolution=true
PreConversionCommercialRemover=true

[iPad Hi-Res]
Description=iPad 3 compatible high resolution (H.264 MP4 width 2048 pixel video and AAC stereo audio).
order=ffmpeg,mencoder
mencoder-general=-ss 3 -vf pullup,softskip,pp=fd,scale=2048:-2,hqdn3d,harddup
mencoder-video=-ovc x264 -x264encopts bitrate=8000:subq=6:subme=7:frameref=4:qcomp=0.8:b_pyramid=strict:weight_b=yes:me=umh:partitions=p8x8,i4x4:nodct_decimate=yes:trellis=1:direct_pred=auto:level_idc=30:nocabac=yes:threads=auto
mencoder-audio=-oac faac -faacopts br=128:mpeg=4:tns=yes:object=2
mencoder-audioac3=-oac faac -faacopts br=128:mpeg=4:tns=yes:object=2
mencoder-ext=.avi
mencoder-remuxto=.mp4
mencoder-audiodelay=skip
ffmpeg-general=-threads 0
ffmpeg-video=-ss 3 -vf yadif=0:-1:1,hqdn3d,crop=iw:ih:0:0,scale=min(2048\,iw):trunc(ow/dar/2)*2 -vcodec libx264 -b 8000k -x264opts ref=4:subq=6:subme=7:qcomp=0.8:b-pyramid=strict:no-weightb=0:me=umh:direct=auto:level=3:partitions=p8x8i4x4:no-cabac=1:trellis=1:no-dct-decimate=1:threads=auto -sn
ffmpeg-audio=-acodec libfdk_aac -ab 160k -cutoff 18000
ffmpeg-audioac3=-acodec libfdk_aac -ab 160k -cutoff 18000
ffmpeg-ext=.mp4
ffmpeg-audiodelay=skip
2ChannelAudio=true
FixedResolution=true
PreConversionCommercialRemover=true

[iPod]
Description=iPod compatible (H.264 MP4 width 480 pixel video and AAC stereo audio).
order=handbrake,ffmpeg
handbrake-general=--deinterlace --verbose=2 -f mp4 -X 480
handbrake-video=--start-at duration:3 -e x264 -q 20 -x cabac=0:ref=2:me=umh:bframes=0:weightp=0:subme=6:8x8dct=0:trellis=0
handbrake-audio=-E faac -B 128 -R Auto -D 0.0
handbrake-audioac3=-E faac -B 128 -R Auto -D 0.0
handbrake-ext=.mp4
handbrake-audiodelay=skip
ffmpeg-general=-threads 0
ffmpeg-video=-ss 3 -vf yadif=0:-1:1,crop=iw:ih:0:0,scale=min(480\,iw):trunc(ow/dar/2)*2 -vcodec libx264 -crf 20 -x264opts cabac=0:ref=2:me=umh:bframes=0:weightp=0:subme=6:8x8dct=0:trellis=0:threads=auto -sn
ffmpeg-audio=-acodec libfdk_aac -ab 128k -cutoff 18000
ffmpeg-audioac3=-acodec libfdk_aac -ab 128k -cutoff 18000
ffmpeg-ext=.mp4
ffmpeg-audiodelay=skip
2ChannelAudio=true
FixedResolution=true
PreConversionCommercialRemover=true
AutoDeinterlace=false

[Roku]
Description=Roku compatible, good quality 1 pass MP4 (H.264/AAC) conversion. Stereo audio (single audio track), no B-Frames and 4.0 compliant profile at 29.97 fps.
order=handbrake,ffmpeg,mencoder
mencoder-general=-ss 3 -vf pullup,softskip,yadif=0:-1,hqdn3d,harddup
mencoder-video=-ovc x264 -x264encopts bitrate=1400:me=hex:trellis=1:subq=8:partitions=all:8x8dct:ref=3:rc_lookahead=50:keyint=25:keyint_min=20:bframes=0:weight_b:level_idc=40:b_pyramid=normal:direct_pred=auto:mixed_refs:deblock=-1,-1:nofast_pskip:nodct_decimate:b_adapt=0:threads=auto -ofps 29.97
mencoder-audio=-oac faac -faacopts br=128:mpeg=4:tns:object=2
mencoder-audioac3=-oac faac -faacopts br=144:mpeg=4:tns:object=2
mencoder-ext=.avi
mencoder-remuxto=.mp4
mencoder-audiodelay=skip
ffmpeg-general=-threads 0
ffmpeg-video=-ss 3 -vf yadif=0:-1:1,hqdn3d -vcodec libx264 -b 1400k -x264opts me=hex:trellis=1:subq=8:partitions=all:8x8dct=1:ref=3:rc-lookahead=50:keyint=25:min-keyint=20:bframes=0:weightb=1:level=4.0:b-pyramid=normal:direct=auto:mixed-refs=1:deblock=-1,-1:no-fast-pskip=1:no-dct-decimate=1:b-adapt=0:threads=auto -sn -r 29.97
ffmpeg-audio=-acodec libfdk_aac -ab 128k -cutoff 18000
ffmpeg-audioac3=-acodec libfdk_aac -ab 144k -cutoff 18000
ffmpeg-ext=.mp4
ffmpeg-audiodelay=skip
handbrake-general=--decomb --loose-anamorphic --verbose=2 -f mp4
handbrake-video=--start-at duration:3 -e x264 -b 1400 -x me=hex:trellis=1:subq=8:partitions=all:8x8dct:ref=3:rc-lookahead=50:keyint=25:keyint-min=20:bframes=0:weight-b:level-idc=40:b-pyramid=normal:direct-pred=auto:mixed-refs:deblock=-1,-1:nofast-pskip:nodct-decimate:b-adapt=0:threads=auto -r 29.97
handbrake-audio=-E faac -R auto -B 128 -D 0
handbrake-audioac3=-E faac -R auto -B 144 -D 0
handbrake-ext=.mp4
handbrake-audiodelay=skip
2ChannelAudio=true
PreConversionCommercialRemover=true

[Roku 3]
Description=Roku 3 compatible, good quality 1 pass MP4 (H.264/AC3) conversion. Supports multi-channel audio (single audio track), no B-Frames and 4.0 compliant profile at 29.97 fps.
order=handbrake,ffmpeg,mencoder
mencoder-general=-ss 3 -vf pullup,softskip,yadif=0:-1,hqdn3d,harddup
mencoder-video=-ovc x264 -x264encopts bitrate=1400:me=hex:trellis=1:subq=8:partitions=all:8x8dct:ref=3:rc_lookahead=50:keyint=25:keyint_min=20:bframes=0:weight_b:level_idc=40:b_pyramid=normal:direct_pred=auto:mixed_refs:deblock=-1,-1:nofast_pskip:nodct_decimate:b_adapt=0:threads=auto -ofps 29.97
mencoder-audio=-oac lavc -lavcopts acodec=ac3:abitrate=160
mencoder-audioac3=-oac lavc -lavcopts acodec=ac3:abitrate=256
mencoder-ext=.avi
mencoder-remuxto=.mp4
mencoder-audiodelay=skip
ffmpeg-general=-threads 0
ffmpeg-video=-ss 3 -vf yadif=0:-1:1,hqdn3d -vcodec libx264 -b 1400k -x264opts me=hex:trellis=1:subq=8:partitions=all:8x8dct=1:ref=3:rc-lookahead=50:keyint=25:min-keyint=20:bframes=0:weightb=1:level=4.0:b-pyramid=normal:direct=auto:mixed-refs=1:deblock=-1,-1:no-fast-pskip=1:no-dct-decimate=1:b-adapt=0:threads=auto -sn -r 29.97
ffmpeg-audio=-acodec ac3 -ab 160k
ffmpeg-audioac3=-acodec ac3 -ab 256k
ffmpeg-ext=.mp4
ffmpeg-audiodelay=skip
handbrake-general=--decomb --loose-anamorphic --verbose=2 -f mp4
handbrake-video=--start-at duration:3 -e x264 -b 1400 -x me=hex:trellis=1:subq=8:partitions=all:8x8dct:ref=3:rc-lookahead=50:keyint=25:keyint-min=20:bframes=0:weight-b:level-idc=40:b-pyramid=normal:direct-pred=auto:mixed-refs:deblock=-1,-1:nofast-pskip:nodct-decimate:b-adapt=0:threads=auto -r 29.97
handbrake-audio=-E ffac3 -R auto -B 160 -D 0
handbrake-audioac3=-E ffac3 -R auto -B 256 -D 0
handbrake-ext=.mp4
handbrake-audiodelay=skip
PreConversionCommercialRemover=true

[Kindle Fire]
Description=Kindle Fire compatible, good quality 1 pass MP4 (H.264/AAC) conversion. Stereo audio (single audio track), no B-Frames and 4.0 compliant profile at 15 fps.
order=handbrake,ffmpeg,mencoder
mencoder-general=-ss 3 -vf pullup,softskip,yadif=0:-1,hqdn3d,harddup
mencoder-video=-ovc x264 -x264encopts bitrate=1400:me=hex:trellis=1:subq=8:partitions=all:8x8dct:ref=3:rc_lookahead=50:keyint=25:keyint_min=20:bframes=0:weight_b:level_idc=40:b_pyramid=normal:direct_pred=auto:mixed_refs:deblock=-1,-1:nofast_pskip:nodct_decimate:b_adapt=0:threads=auto -ofps 15
mencoder-audio=-oac faac -faacopts br=128:mpeg=4:tns:object=2
mencoder-audioac3=-oac faac -faacopts br=144:mpeg=4:tns:object=2
mencoder-ext=.avi
mencoder-remuxto=.mp4
mencoder-audiodelay=skip
ffmpeg-general=-threads 0
ffmpeg-video=-ss 3 -vf yadif=0:-1:1,hqdn3d -vcodec libx264 -b 1400k -x264opts me=hex:trellis=1:subq=8:partitions=all:8x8dct=1:ref=3:rc-lookahead=50:keyint=25:min-keyint=20:bframes=0:weightb=1:level=4.0:b-pyramid=normal:direct=auto:mixed-refs=1:deblock=-1,-1:no-fast-pskip=1:no-dct-decimate=1:b-adapt=0:threads=auto -sn -r 15
ffmpeg-audio=-acodec libfdk_aac -ab 128k -cutoff 18000
ffmpeg-audioac3=-acodec libfdk_aac -ab 144k -cutoff 18000
ffmpeg-ext=.mp4
ffmpeg-audiodelay=skip
handbrake-general=--decomb --loose-anamorphic --verbose=2 -f mp4
handbrake-video=--start-at duration:3 -e x264 -b 1400 -x me=hex:trellis=1:subq=8:partitions=all:8x8dct:ref=3:rc-lookahead=50:keyint=25:keyint-min=20:bframes=0:weight-b:level-idc=40:b-pyramid=normal:direct-pred=auto:mixed-refs:deblock=-1,-1:nofast-pskip:nodct-decimate:b-adapt=0:threads=auto -r 15
handbrake-audio=-E faac -R auto -B 128 -D 0
handbrake-audioac3=-E faac -R auto -B 144 -D 0
handbrake-ext=.mp4
handbrake-audiodelay=skip
2ChannelAudio=true
PreConversionCommercialRemover=true

[Blackberry]
Description=Blackberry Perl compatible (MPEG4 AVI width 240 pixel video and MP3 stereo audio).
order=mencoder
mencoder-general=-ss 3 -vf pullup,softskip,pp=fd,scale=240:-2,hqdn3d,harddup
mencoder-video=-ovc lavc -lavcopts vcodec=mpeg4:vbitrate=320
mencoder-audio=-oac mp3lame -lameopts cbr=yes:br=64
mencoder-audioac3=-oac mp3lame -lameopts cbr=yes:br=64
mencoder-ext=.avi
mencoder-audiodelay=skip
2ChannelAudio=true
FixedResolution=true

[iRiver]
Description=iRiver compatible (XVID AVI width 320 pixel video and MP3 stereo audio).
order=mencoder
mencoder-general=-ss 3 -vf pullup,softskip,pp=fd,scale=320:-2,harddup
mencoder-video=-ovc xvid -xvidencopts bitrate=450:max_bframes=0 -ffourcc XVID -ofps 24000/1001
mencoder-audio=-oac mp3lame -lameopts mode=0:cbr=yes:br=192
mencoder-audioac3=-oac mp3lame -lameopts mode=0:cbr=yes:br=192
mencoder-ext=.avi
mencoder-audiodelay=skip
2ChannelAudio=true
FixedResolution=true

[Meizu MiniPlayer]
Description=Meizu MiniPlayer compatible (XVID AVI width 320 pixel video and MP3 stereo audio).
order=mencoder
mencoder-general=-ss 3 -vf pullup,softskip,pp=fd,scale=320:-2,rotate=1,harddup
mencoder-video=-ovc xvid -xvidencopts bitrate=512:chroma_opt=yes:trellis=yes:max_bframes=0:vhq=4:noqpel=yes:nogmc=yes:autoaspect=yes -ofps 18
mencoder-audio=-oac mp3lame -lameopts cbr=yes:br=128
mencoder-audioac3=-oac mp3lame -lameopts cbr=yes:br=128
mencoder-ext=.avi
mencoder-audiodelay=skip
2ChannelAudio=true
FixedResolution=true

[Nokia E90]
Description=Nokia E90 compatible (XVID MP4 height 352 pixel video and AAC stereo audio).
order=mencoder
mencoder-general=-ss 3 -vf pullup,softskip,pp=fd,scale=-2:352,hqdn3d,harddup
mencoder-video=-ovc xvid -xvidencopts bitrate=700:chroma_opt=yes:trellis=yes:max_bframes=0:vhq=4:noqpel=yes:nogmc=yes:autoaspect=yes
mencoder-audio=-oac faac -faacopts br=64:raw=yes:mpeg=4:tns=yes:object=2
mencoder-audioac3=-oac faac -faacopts br=64:raw=yes:mpeg=4:tns=yes:object=2
mencoder-ext=.mp4
mencoder-audiodelay=skip
2ChannelAudio=true
FixedResolution=true

[Nokia N8xx]
Description=Nokia N800/N810 compatible (XVID AVI width 400 pixel video and MP3 stereo audio).
order=mencoder
mencoder-general=-ss 3 -vf pullup,softskip,pp=fd,scale=400:-2,harddup
mencoder-video=-ovc xvid -xvidencopts bitrate=860:chroma_opt=yes:trellis=yes:max_bframes=0:vhq=4:noqpel=yes:nogmc=yes:autoaspect=yes -ofps 30000/1001 -ffourcc DX50
mencoder-audio=-oac mp3lame -lameopts cbr=yes:br=128
mencoder-audioac3=-oac mp3lame -lameopts cbr=yes:br=128
mencoder-ext=.avi
mencoder-audiodelay=skip
2ChannelAudio=true
FixedResolution=true

[PS3 & XBox 360]
Description=Playstation 3 and XBox 360 compatible (H.264 MP4 width 720 pixel video and AAC audio).
order=ffmpeg,mencoder
mencoder-general=-ss 3 -vf pullup,softskip,pp=fd,scale=720:-2,hqdn3d,harddup
mencoder-video=-ovc x264 -x264encopts subq=6:bitrate=1200:partitions=p8x8,b8x8,i4x4:weight_b=yes:threads=auto:nopsnr=yes:nossim=yes:frameref=3:mixed_refs=yes:subme=7:level_idc=40:direct_pred=auto:trellis=1:b_pyramid=none:threads=auto
mencoder-audio=-oac faac -faacopts br=192:mpeg=4:tns=yes:object=2
mencoder-audioac3=-oac faac -faacopts br=192:mpeg=4:tns=yes:object=2
mencoder-ext=.avi
mencoder-remuxto=.mp4
mencoder-audiodelay=skip
ffmpeg-general=-threads 0
ffmpeg-video=-ss 3 -vf yadif=0:-1:1,hqdn3d,crop=iw:ih:0:0,scale=min(720\,iw):trunc(ow/dar/2)*2 -vcodec libx264 -b 1200k -subq 6 -x264opts direct=auto:level=4.0:partitions=p8x8,b8x8,i4x4:no-weightb=0:psnr=0:ssim=0:subme=7:ref=3:b-pyramid=none:no-mixed-refs=0:trellis=1:threads=auto -sn
ffmpeg-audio=-acodec libfdk_aac -ab 160k -cutoff 18000
ffmpeg-audioac3=-acodec libfdk_aac -ab 256k -cutoff 18000
ffmpeg-ext=.mp4
ffmpeg-audiodelay=skip
FixedResolution=true
PreConversionCommercialRemover=true
2ChannelAudio=true

[PSP]
Description=Playstation Portable compatible (MPEG4 MP4 width 320 pixel video and AAC audio).
order=mencoder
mencoder-general=-ss 3 -vf pullup,softskip,pp=fd,scale=320:-2,hqdn3d,harddup -of lavf -lavfopts format=psp
mencoder-video=-ovc lavc -lavcopts vglobal=1:vcodec=mpeg4:vbitrate=500 -ofps 30000/1001
mencoder-audio=-oac lavc -lavcopts aglobal=1:acodec=aac -af lavcresample=24000
mencoder-audioac3=-oac lavc -lavcopts aglobal=1:acodec=aac -af lavcresample=24000
mencoder-ext=.mp4
mencoder-audiodelay=skip
2ChannelAudio=true
FixedResolution=true

[PSP Wide]
Description=Playstation Portable Wide Screen compatible (MPEG4 MP4 height 208 pixel video and AAC audio).
order=mencoder
mencoder-general=-ss 3 -vf pullup,softskip,pp=fd,scale=-2:208,hqdn3d,harddup -of lavf -lavfopts format=psp
mencoder-video=-ovc lavc -lavcopts vglobal=1:vcodec=mpeg4:vbitrate=500 -ofps 30000/1001
mencoder-audio=-oac lavc -lavcopts aglobal=1:acodec=aac -af lavcresample=24000
mencoder-audioac3=-oac lavc -lavcopts aglobal=1:acodec=aac -af lavcresample=24000
mencoder-ext=.mp4
mencoder-audiodelay=skip
2ChannelAudio=true
FixedResolution=true

[PSP High Resolution]
Description=Playstation Portable High Resolution compatible (MPEG4 MP4 width 480 pixel video and AAC audio). Requires PSP firmware 3.30 or later.
order=ffmpeg,mencoder
mencoder-general=-ss 3 -vf pullup,softskip,pp=fd,scale=480:-2,hqdn3d,harddup -of lavf -lavfopts format=mp4
mencoder-video=-ovc x264 -x264encopts bitrate=700:global_header:partitions=all:trellis=1:vbv_maxrate=768:vbv_bufsize=2000:level_idc=30:threads=auto -ofps 30000/1001
mencoder-audio=-oac faac -faacopts br=128:raw=yes:mpeg=4:tns=yes:object=2 -af lavcresample=24000
mencoder-audioac3=-oac faac -faacopts br=128:raw=yes:mpeg=4:tns=yes:object=2 -af lavcresample=24000
mencoder-ext=.mp4
mencoder-audiodelay=skip
ffmpeg-general=-threads 0
ffmpeg-video=-ss 3 -vf yadif=0:-1:1,hqdn3d,crop=iw:ih:0:0,scale=min(480\,iw):trunc(ow/dar/2)*2 -vcodec libx264 -b 700k -x264opts level=3:partitions=all:trellis=1:vbv-maxrate=768:vbv-bufsize=2000:threads=auto -sn
ffmpeg-audio=-acodec libfdk_aac -ab 160k -cutoff 18000
ffmpeg-audioac3=-acodec libfdk_aac -ab 160k -cutoff 18000
ffmpeg-ext=.mp4
ffmpeg-audiodelay=skip
2ChannelAudio=true
FixedResolution=true
PreConversionCommercialRemover=true

[Zen Vision]
Description=Zen Vision compatible (XVID AVI width 320 pixel video and MP3 audio).
order=mencoder
mencoder-general=-ss 3 -vf pullup,softskip,pp=fd,scale=320:-2,harddup,format=yv12
mencoder-video=-ovc xvid -xvidencopts bitrate=500:chroma_opt=yes:trellis=yes:max_bframes=0:vhq=4:noqpel=yes:nogmc=yes:autoaspect=yes -ffourcc DX50
mencoder-audio=-oac mp3lame -lameopts cbr=yes:br=192
mencoder-audioac3=-oac mp3lame -lameopts cbr=yes:br=192
mencoder-ext=.avi
mencoder-audiodelay=skip
2ChannelAudio=true
FixedResolution=true

[Zen Vision Wide]
Description=Zen Vision Wide compatible (XVID AVI height 272 pixel video and MP3 audio).
order=mencoder
mencoder-general=-ss 3 -vf pullup,softskip,pp=fd,scale=-2:272,harddup,format=yv12
mencoder-video=-ovc xvid -xvidencopts bitrate=687:chroma_opt=yes:trellis=yes:max_bframes=0:vhq=4:noqpel=yes:nogmc=yes:autoaspect=yess -ffourcc DX50
mencoder-audio=-oac mp3lame -lameopts cbr=yes:br=96
mencoder-audioac3=-oac mp3lame -lameopts cbr=yes:br=96
mencoder-ext=.avi
mencoder-audiodelay=skip
2ChannelAudio=true
FixedResolution=true

[Zune]
Description=Microsoft Zune compatible (H.264 MP4 width 320 pixel video and AAC audio).
order=ffmpeg,mencoder
mencoder-general=-ss 3 -vf pullup,softskip,pp=fd,scale=320:-2,hqdn3d,harddup
mencoder-video=-ovc x264 -x264encopts threads=auto:subq=5:frameref=3:me=umh:partitions=all:b_pyramid=strict:qcomp=0.7:trellis=1:nocabac=yes:level_idc=13:bitrate=500
mencoder-audio=-oac faac -faacopts br=128:mpeg=4:tns=yes:object=2
mencoder-audioac3=-oac faac -faacopts br=128:mpeg=4:tns=yes:object=2
mencoder-ext=.avi
mencoder-remuxto=.mp4
mencoder-audiodelay=skip
ffmpeg-general=-threads 0
ffmpeg-video=-ss 3 -vf yadif=0:-1:1,hqdn3d,crop=iw:ih:0:0,scale=min(320\,iw):trunc(ow/dar/2)*2 -vcodec libx264 -b 500k -x264opts level=1.3:subq=5:ref=3:me=umh:partitions=all:b-pyramid=strict:qcomp=0.7:no-cabac=1:trellis=1:threads=auto -sn
ffmpeg-audio=-acodec libfdk_aac -ab 128k -cutoff 18000
ffmpeg-audioac3=-acodec libfdk_aac -ab 128k -cutoff 18000
ffmpeg-ext=.mp4
ffmpeg-audiodelay=skip
2ChannelAudio=true
FixedResolution=true
PreConversionCommercialRemover=true

[----------------------]

[VCD MPG]
Description=Good quality, 1 pass VCD compliant (352x240) MPEG file (MPEG-1/MP2) conversion.  Legacy file format, primarily for compatibility purposes.
order=ffmpeg
ffmpeg-general=-threads 0
ffmpeg-video=-ss 3 -vf yadif=0:-1:1,hqdn3d,crop=iw:ih:0:0 -target film-vcd -sn
ffmpeg-audio=
ffmpeg-audioac3=
ffmpeg-ext=.mpg
ffmpeg-audiodelay=skip
FixedResolution=true
PreConversionCommercialRemover=true

[DVD TS]
Description=Creates a DVD quality (MPEG-2/AC3) file in a TS format. This can be used to convert the video to a DVD compliant format but stored for local playback in a TS format.
order=ffmpeg
ffmpeg-general=-threads 0
ffmpeg-video=-ss 3 -vf yadif=0:-1:1,hqdn3d,crop=iw:ih:0:0 -qscale 3 -target film-dvd -sn
ffmpeg-audio=
ffmpeg-audioac3=
ffmpeg-ext=.ts
ffmpeg-audiodelay=skip
FixedResolution=true
PreConversionCommercialRemover=true

[DVD VOB]
Description=Creates a DVD quality (MPEG-2/AC3) file in a VOB format. This can be used to convert the video to a DVD compliant VOB file which can be used to later burn onto a DVD using Nero or compatible software.
order=ffmpeg
ffmpeg-general=-threads 0
ffmpeg-video=-ss 3 -vf yadif=0:-1:1,hqdn3d,crop=iw:ih:0:0 -qscale 3 -target film-dvd -sn
ffmpeg-audio=
ffmpeg-audioac3=
ffmpeg-ext=.vob
ffmpeg-audiodelay=skip
FixedResolution=true
PreConversionCommercialRemover=true

[3GP]
Description=3GP (h263) video, with 2 channel AAC audio and CIF (352x288) compliant video. Great for smartphones like Samsung Galaxy S2 (low resolution screens)
order=ffmpeg
ffmpeg-general=-threads 0
ffmpeg-video=-ss 3 -vcodec h263 -s cif -b 700k -sn
ffmpeg-audio=-acodec libvo_aacenc -ab 128k -ac 2
ffmpeg-audioac3=-acodec libvo_aacenc -ab 128k -ac 2
ffmpeg-ext=.3gp
ffmpeg-audiodelay=skip
FixedResolution=true
PreConversionCommercialRemover=true

[----------------------]

[AVI]
Description=Convert the video to a AVI compressed format (H.264/AC3).
order=ffmpeg,mencoder
ffmpeg-general=-threads 0
ffmpeg-video=-ss 3 -vf yadif=0:-1:1,hqdn3d -vcodec libx264 -crf 20 -vtag H264 -sn
ffmpeg-audio=-acodec ac3 -ab 192k
ffmpeg-audioac3=-acodec ac3 -ab 384K
ffmpeg-ext=.avi
ffmpeg-audiodelay=skip
mencoder-general=-ss 3 -vf pullup,softskip,yadif=0:-1,hqdn3d,harddup
mencoder-video=-ovc x264 -x264encopts qp=20:threads=auto
mencoder-audio=-oac lavc -lavcopts acodec=ac3:abitrate=192
mencoder-audioac3=-oac lavc -lavcopts acodec=ac3:abitrate=384
mencoder-ext=.mp4
mencoder-remuxto=.avi
mencoder-audiodelay=skip
PreConversionCommercialRemover=true

[AVI MPEG-2]
Description=Converts the video to a AVI format (MPEG-2/AC3). Windows Media Player does NOT support MPEG-2 in AVI. CAUTION: Creates very large files
order=ffmpeg,mencoder
ffmpeg-general=-threads 0
ffmpeg-video=-ss 3 -vf yadif=0:-1:1,hqdn3d -vcodec mpeg2video -qscale 2 -sn
ffmpeg-audio=-acodec ac3 -ab 192k
ffmpeg-audioac3=-acodec ac3 -ab 384K
ffmpeg-ext=.avi
ffmpeg-audiodelay=skip
mencoder-general=-ss 3 -of mpeg -vf pullup,softskip,yadif=0:-1,hqdn3d,harddup
mencoder-video=-ovc lavc -lavcopts vcodec=mpeg2video:vqscale=2
mencoder-audio=-oac lavc -lavcopts acodec=ac3:abitrate=192
mencoder-audioac3=-oac lavc -lavcopts acodec=ac3:abitrate=384
mencoder-ext=.avi
mencoder-audiodelay=skip
PreConversionCommercialRemover=true

[----------------------]

[MKV Unprocessed]
Description=Very fast but limited functionality. Use this profile if you want to copy the original audio and video tracks, remove the commercials and convert the file format to MKV (e.g. WTV to MKV) without any additional processing (deinterlacing, resizing, volume, cropping etc). The original video can be in any format, MPEG1, MPEG2 or MPEG4/H.264, it will be retained unaltered.
order=ffmpeg,copy
copy-ext=.ts
copy-remuxto=.mkv
copy-audiodelay=skip
ffmpeg-general=-threads 0
ffmpeg-video=-ss 3 -vcodec copy -map 0:v -sn
ffmpeg-audio=-acodec copy -map 0:a
ffmpeg-audioac3=-acodec copy -map 0:a
ffmpeg-ext=.mkv
ffmpeg-audiodelay=skip
PreConversionCommercialRemover=true
FixedResolution=true
SkipCropping=true
AutoDeinterlace=false
DisableEncoderReordering=true

[TS Unprocessed]
Description=Very fast but limited functionality. Use this to convert to TS format while taking out commercials and keeping original video/audio quality. It does not remove black bars, resize the video, deinterlace or select audio language. The original video can be in any format, MPEG1, MPEG2 or MPEG4/H.264, it will be retained unaltered.
order=copy,ffmpeg
copy-ext=.ts
copy-audiodelay=skip
ffmpeg-general=-threads 0
ffmpeg-video=-vcodec copy -f mpegts -map 0:v -sn
ffmpeg-audio=-acodec copy -map 0:a
ffmpeg-audioac3=-acodec copy -map 0:a
ffmpeg-ext=.ts
ffmpeg-audiodelay=skip
FixedResolution=true
SkipCropping=true
PreConversionCommercialRemover=true
AutoDeinterlace=false

[MP4 Unprocessed]
Description=Very fast but limited functionality. Use this profile if the original video has H.264/MPEG video and you want to remove the commercials and convert the file format to MP4 (e.g. WTV to MP4) without any additional processing (deinterlace, resizing, volume, cropping etc). It will copy the original video and audio and put it into a MP4 format unaltered in quality.
order=ffmpeg
ffmpeg-general=-threads 0
ffmpeg-video=-ss 3 -vcodec copy -sn
ffmpeg-audio=-acodec copy
ffmpeg-audioac3=-acodec copy
ffmpeg-ext=.mp4
ffmpeg-audiodelay=skip
PreConversionCommercialRemover=true
FixedResolution=true
SkipCropping=true
AutoDeinterlace=false

[WTV Unprocessed]
Description=Very fast but limited functionality. Creates WTV files by directly copying the video and audio tracks. Useful for taking out commercials keeping original video and audio quality without processing (resize, deinterlace, select audio language etc). Use this if you have high quality HD recordings which don't need processing.
order=copy,ffmpeg
copy-remuxto=.wtv
copy-audiodelay=skip
ffmpeg-general=-threads 0
ffmpeg-video=-vcodec copy -map 0:v -sn
ffmpeg-audio=-acodec copy -map 0:a
ffmpeg-audioac3=-acodec copy -map 0:a
ffmpeg-ext=.wtv
ffmpeg-audiodelay=skip
FixedResolution=true
SkipCropping=true
PreConversionCommercialRemover=true
AutoDeinterlace=false

[AVI Unprocessed]
Description=Very fast but limited functionality. Copy audio and video directly over to a AVI file. Useful for taking out commercials keeping original video and audio quality. Windows Media Player does NOT support MPEG-2 in AVI. CAUTION: Creates very large files, very sensitive to errors and does not reprocess (resize, deinterlace, select audio language etc).
order=copy,ffmpeg
copy-remuxto=.avi
copy-audiodelay=skip
ffmpeg-general=-threads 0
ffmpeg-video=-ss 3 -vcodec copy -sn
ffmpeg-audio=-acodec copy
ffmpeg-audioac3=-acodec copy
ffmpeg-ext=.avi
ffmpeg-audiodelay=skip
FixedResolution=true
SkipCropping=true
PreConversionCommercialRemover=true
UniversalCommercialRemover=true
AutoDeinterlace=false

[----------------------]

[HEVC MP4]
Description=HEVC in MP4 (H.265/AAC) conversion. Creates a smaller file (50% smaller than H.264) with comparable quality but very slow.
order=handbrake,ffmpeg
ffmpeg-general=-threads 0
ffmpeg-video=-ss 3 -vf yadif=0:-1:1,hqdn3d -vcodec libx265 -preset medium -x265-params crf=18 -map 0:v -sn
ffmpeg-audio=-acodec libfdk_aac -ab 128k -cutoff 18000 -map 0:a
ffmpeg-audioac3=-acodec libfdk_aac -ab 160k -cutoff 18000 -map 0:a
ffmpeg-ext=.mp4
ffmpeg-audiodelay=skip
handbrake-general=--decomb --loose-anamorphic --verbose=2 -f mp4
handbrake-video=--start-at duration:3 -e x265 --encoder-preset medium -q 18
handbrake-audio=-E faac -R auto -B 128 -D 0 -a 1,2,3,4,5
handbrake-audioac3=-E faac -R auto -B 160 -D 0 -a 1,2,3,4,5
handbrake-ext=.mp4
handbrake-audiodelay=skip
PreConversionCommercialRemover=true

[HEVC MKV]
Description=HEVC in MKV (H.265/AC3) conversion. Creates a smaller file (50% smaller than H.264) with comparable quality but very slow.
order=handbrake,ffmpeg
ffmpeg-general=-threads 0
ffmpeg-video=-ss 3 -vf yadif=0:-1:1,hqdn3d -vcodec libx265 -preset medium -x265-params crf=18 -map 0:v -sn
ffmpeg-audio=-acodec ac3 -ab 160k -map 0:a
ffmpeg-audioac3=-acodec ac3 -ab 256k -map 0:a
ffmpeg-ext=.mkv
ffmpeg-audiodelay=skip
handbrake-general=--decomb --loose-anamorphic --verbose=2
handbrake-video=--start-at duration:3 -e x265 --encoder-preset medium -q 18
handbrake-audio=-E ffac3 -R auto -B 160 -D 0 -a 1,2,3,4,5
handbrake-audioac3=-E ffac3 -R auto -B 256 -D 0 -a 1,2,3,4,5
handbrake-ext=.mkv
handbrake-audiodelay=skip
PreConversionCommercialRemover=true

[----------------------]

[MP3]
Description=Convert to audio only MP3 stereo output
order=ffmpeg
ffmpeg-general=-threads 0
ffmpeg-video=-vn -sn
ffmpeg-audio=-acodec libmp3lame -ab 160k
ffmpeg-audioac3=-acodec libmp3lame -ab 160k
ffmpeg-ext=.mp3
ffmpeg-audiodelay=skip
skipcropping=true
fixedresolution=true
2ChannelAudio=true
AutoDeinterlace=false

[AAC]
Description=Convert to audio only AAC with MultiChannel option
order=ffmpeg
ffmpeg-general=-threads 0
ffmpeg-video=-vn -sn
ffmpeg-audio=-acodec libfdk_aac -ab 192k -cutoff 18000
ffmpeg-audioac3=-acodec libfdk_aac -ab 384k -cutoff 18000
ffmpeg-ext=.aac
ffmpeg-audiodelay=skip
skipcropping=true
fixedresolution=true
AutoDeinterlace=false
