POL_Install_DirectShowFiltersFix

Informations

Creator Message
MTres19 Anonymous

Information

This installer has been approved by the team.

Informations

Platforms:
Downloads: 32681
Wine: System

Feedbacks

Description

This installs K-Lite Codec Pack and sets LAV as the default for all supported formats to overcome deficiencies in Wine's DirectShow filters.

Source code

#!/bin/bash
# PlayOnLinux Function
# Date: 2015-11-25
# Author: MTres19
# Use: Downloads and K-Lite Codec Pack to overcome deficiencies in Wine's DirectShow filters
  
# Download K-Lite
POL_Download_Resource "http://filessjc01.dddload.net/static/K-Lite_Codec_Pack_1170_Basic.exe" "4193bf48de07e9089bda971e98efda8c"
  
# Write unattended installation config
cd "$POL_USER_ROOT/ressources"
  
cat <<EOF>klcp_basic_unattended.ini
[Setup]
Group=K-Lite Codec Pack
NoIcons=0
SetupType=custom
Components=video\h264\lav, video\hevc\lav, video\mpeg4\lav, video\mpeg2\lav, video\vc1\lav, video\wmv\lav, video\other\lav, audio\ac3dts\lav, audio\truehd\lav, audio\aac\lav, audio\mpeg\lav, audio\wma\lav, audio\other\lav, sourcefilter\avi\lav, sourcefilter\matroska\lav, sourcefilter\mp4\lav, sourcefilter\mpegts\lav, sourcefilter\mpegps\lav, sourcefilter\wmv\lav, sourcefilter\lav, subtitles\vsfilter, tools\codectweaktool, shell\icaros_thumbnail, shell\icaros_property, misc\brokencodecs, misc\brokenfilters
Tasks=reset_settings, config_shortcuts, adjust_preferred_decoders
[Thumbnails]
Extensions=.avi;.divx;.amv;.mpeg;.mpg;.m1v;.m2v;.mp2v;.mpv2;.vob;.evo;.wmv;.mp4;.m4v;.mp4v;.mpv4;.hdmov;.mov;.3g2;.3gp;.3gp2;.3gpp;.dv;.mkv;.webm;.flv;.f4v;.ts;.m2ts;.mts;.m2t;.tp;.mxf;.ogm;.ogv;.rm;.rmvb;.ape;.flac;.mka;.mpc;.opus;.tak;.wv;.m4a
[Audio Configuration]
audio_passthrough=0
bitstream_ac3=0
bitstream_dts=0
bitstream_eac3=0
bitstream_dtshd=0
bitstream_thruehd=0
EOF
  
# Start K-Lite setup
POL_Wine K-Lite_Codec_Pack_1170_Basic.exe /verysilent /norestart /LoadInf=".\klcp_basic_unattended.ini"

Contributions

Filters:

Contribute
Member Message
ewew Thursday 23 November 2017 at 22:00
ewew Anonymous

Message

how do i install the codec pack.
sorry, i am a totally newcomer

Replies

MTres19 Friday 27 November 2015 at 3:58
MTres19 Anonymous

Information

This update has been approved by the team.

Message

--Remove systray icons
 

Differences

@@ -16,7 +16,7 @@
 NoIcons=0
 SetupType=custom
 Components=video\h264\lav, video\hevc\lav, video\mpeg4\lav, video\mpeg2\lav, video\vc1\lav, video\wmv\lav, video\other\lav, audio\ac3dts\lav, audio\truehd\lav, audio\aac\lav, audio\mpeg\lav, audio\wma\lav, audio\other\lav, sourcefilter\avi\lav, sourcefilter\matroska\lav, sourcefilter\mp4\lav, sourcefilter\mpegts\lav, sourcefilter\mpegps\lav, sourcefilter\wmv\lav, sourcefilter\lav, subtitles\vsfilter, tools\codectweaktool, shell\icaros_thumbnail, shell\icaros_property, misc\brokencodecs, misc\brokenfilters
-Tasks=reset_settings, config_shortcuts, systray_lavsplitter, systray_lav, adjust_preferred_decoders
+Tasks=reset_settings, config_shortcuts, adjust_preferred_decoders
 [Thumbnails]
 Extensions=.avi;.divx;.amv;.mpeg;.mpg;.m1v;.m2v;.mp2v;.mpv2;.vob;.evo;.wmv;.mp4;.m4v;.mp4v;.mpv4;.hdmov;.mov;.3g2;.3gp;.3gp2;.3gpp;.dv;.mkv;.webm;.flv;.f4v;.ts;.m2ts;.mts;.m2t;.tp;.mxf;.ogm;.ogv;.rm;.rmvb;.ape;.flac;.mka;.mpc;.opus;.tak;.wv;.m4a
 [Audio Configuration]

New source code

#!/bin/bash
# PlayOnLinux Function
# Date: 2015-11-25
# Author: MTres19
# Use: Downloads and K-Lite Codec Pack to overcome deficiencies in Wine's DirectShow filters
  
# Download K-Lite
POL_Download_Resource "http://filessjc01.dddload.net/static/K-Lite_Codec_Pack_1170_Basic.exe" "4193bf48de07e9089bda971e98efda8c"
  
# Write unattended installation config
cd "$POL_USER_ROOT/ressources"
  
cat <<EOF>klcp_basic_unattended.ini
[Setup]
Group=K-Lite Codec Pack
NoIcons=0
SetupType=custom
Components=video\h264\lav, video\hevc\lav, video\mpeg4\lav, video\mpeg2\lav, video\vc1\lav, video\wmv\lav, video\other\lav, audio\ac3dts\lav, audio\truehd\lav, audio\aac\lav, audio\mpeg\lav, audio\wma\lav, audio\other\lav, sourcefilter\avi\lav, sourcefilter\matroska\lav, sourcefilter\mp4\lav, sourcefilter\mpegts\lav, sourcefilter\mpegps\lav, sourcefilter\wmv\lav, sourcefilter\lav, subtitles\vsfilter, tools\codectweaktool, shell\icaros_thumbnail, shell\icaros_property, misc\brokencodecs, misc\brokenfilters
Tasks=reset_settings, config_shortcuts, adjust_preferred_decoders
[Thumbnails]
Extensions=.avi;.divx;.amv;.mpeg;.mpg;.m1v;.m2v;.mp2v;.mpv2;.vob;.evo;.wmv;.mp4;.m4v;.mp4v;.mpv4;.hdmov;.mov;.3g2;.3gp;.3gp2;.3gpp;.dv;.mkv;.webm;.flv;.f4v;.ts;.m2ts;.mts;.m2t;.tp;.mxf;.ogm;.ogv;.rm;.rmvb;.ape;.flac;.mka;.mpc;.opus;.tak;.wv;.m4a
[Audio Configuration]
audio_passthrough=0
bitstream_ac3=0
bitstream_dts=0
bitstream_eac3=0
bitstream_dtshd=0
bitstream_thruehd=0
EOF
  
# Start K-Lite setup
POL_Wine K-Lite_Codec_Pack_1170_Basic.exe /verysilent /norestart /LoadInf=".\klcp_basic_unattended.ini"

Replies

MTres19 Thursday 26 November 2015 at 17:15
MTres19 Anonymous

Warning

This update has not been approved yet by the team.
Use it at your own risk

Differences

@@ -0,0 +1,32 @@
+#!/bin/bash
+# PlayOnLinux Function
+# Date: 2015-11-25
+# Author: MTres19
+# Use: Downloads and K-Lite Codec Pack to overcome deficiencies in Wine's DirectShow filters
+  
+# Download K-Lite
+POL_Download_Resource "http://filessjc01.dddload.net/static/K-Lite_Codec_Pack_1170_Basic.exe" "4193bf48de07e9089bda971e98efda8c"
+  
+# Write unattended installation config
+cd "$POL_USER_ROOT/ressources"
+  
+cat <<EOF>klcp_basic_unattended.ini
+[Setup]
+Group=K-Lite Codec Pack
+NoIcons=0
+SetupType=custom
+Components=video\h264\lav, video\hevc\lav, video\mpeg4\lav, video\mpeg2\lav, video\vc1\lav, video\wmv\lav, video\other\lav, audio\ac3dts\lav, audio\truehd\lav, audio\aac\lav, audio\mpeg\lav, audio\wma\lav, audio\other\lav, sourcefilter\avi\lav, sourcefilter\matroska\lav, sourcefilter\mp4\lav, sourcefilter\mpegts\lav, sourcefilter\mpegps\lav, sourcefilter\wmv\lav, sourcefilter\lav, subtitles\vsfilter, tools\codectweaktool, shell\icaros_thumbnail, shell\icaros_property, misc\brokencodecs, misc\brokenfilters
+Tasks=reset_settings, config_shortcuts, systray_lavsplitter, systray_lav, adjust_preferred_decoders
+[Thumbnails]
+Extensions=.avi;.divx;.amv;.mpeg;.mpg;.m1v;.m2v;.mp2v;.mpv2;.vob;.evo;.wmv;.mp4;.m4v;.mp4v;.mpv4;.hdmov;.mov;.3g2;.3gp;.3gp2;.3gpp;.dv;.mkv;.webm;.flv;.f4v;.ts;.m2ts;.mts;.m2t;.tp;.mxf;.ogm;.ogv;.rm;.rmvb;.ape;.flac;.mka;.mpc;.opus;.tak;.wv;.m4a
+[Audio Configuration]
+audio_passthrough=0
+bitstream_ac3=0
+bitstream_dts=0
+bitstream_eac3=0
+bitstream_dtshd=0
+bitstream_thruehd=0
+EOF
+  
+# Start K-Lite setup
+POL_Wine K-Lite_Codec_Pack_1170_Basic.exe /verysilent /norestart /LoadInf=".\klcp_basic_unattended.ini"
\ No newline at end of file

New source code

#!/bin/bash
# PlayOnLinux Function
# Date: 2015-11-25
# Author: MTres19
# Use: Downloads and K-Lite Codec Pack to overcome deficiencies in Wine's DirectShow filters
  
# Download K-Lite
POL_Download_Resource "http://filessjc01.dddload.net/static/K-Lite_Codec_Pack_1170_Basic.exe" "4193bf48de07e9089bda971e98efda8c"
  
# Write unattended installation config
cd "$POL_USER_ROOT/ressources"
  
cat <<EOF>klcp_basic_unattended.ini
[Setup]
Group=K-Lite Codec Pack
NoIcons=0
SetupType=custom
Components=video\h264\lav, video\hevc\lav, video\mpeg4\lav, video\mpeg2\lav, video\vc1\lav, video\wmv\lav, video\other\lav, audio\ac3dts\lav, audio\truehd\lav, audio\aac\lav, audio\mpeg\lav, audio\wma\lav, audio\other\lav, sourcefilter\avi\lav, sourcefilter\matroska\lav, sourcefilter\mp4\lav, sourcefilter\mpegts\lav, sourcefilter\mpegps\lav, sourcefilter\wmv\lav, sourcefilter\lav, subtitles\vsfilter, tools\codectweaktool, shell\icaros_thumbnail, shell\icaros_property, misc\brokencodecs, misc\brokenfilters
Tasks=reset_settings, config_shortcuts, systray_lavsplitter, systray_lav, adjust_preferred_decoders
[Thumbnails]
Extensions=.avi;.divx;.amv;.mpeg;.mpg;.m1v;.m2v;.mp2v;.mpv2;.vob;.evo;.wmv;.mp4;.m4v;.mp4v;.mpv4;.hdmov;.mov;.3g2;.3gp;.3gp2;.3gpp;.dv;.mkv;.webm;.flv;.f4v;.ts;.m2ts;.mts;.m2t;.tp;.mxf;.ogm;.ogv;.rm;.rmvb;.ape;.flac;.mka;.mpc;.opus;.tak;.wv;.m4a
[Audio Configuration]
audio_passthrough=0
bitstream_ac3=0
bitstream_dts=0
bitstream_eac3=0
bitstream_dtshd=0
bitstream_thruehd=0
EOF
  
# Start K-Lite setup
POL_Wine K-Lite_Codec_Pack_1170_Basic.exe /verysilent /norestart /LoadInf=".\klcp_basic_unattended.ini"

Replies