-
Notifications
You must be signed in to change notification settings - Fork 34
/
config.sh
144 lines (129 loc) · 5.77 KB
/
config.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
#!/bin/bash
#
# Example configuration file for chromecastize.
#
# In order to customize the default options that are used by chromecastize, copy
# this file to your config folder (default location is `$HOME/.chromecastize/`)
# and uncomment the relevant options below.
# The 'General' formats that are supported by your Chromecast. This is also
# known as the 'container' format. These match the formats that are reported by
# the `mediainfo` library. If you are trying to encode a file that uses a format
# which is not included in this list, then it will be automatically recoded
# using the `DEFAULT_GFORMAT` (see below).
#
# Full list of possible values, second column should contain `M`:
# https://github.com/MediaArea/MediaInfoLib/blob/master/Source/Resource/Text/DataBase/Format.csv
#
# Official documentation of supported formats:
# https://developers.google.com/cast/docs/media#media_container_formats
#
# Default value (suitable for any Chromecast):
#SUPPORTED_GFORMATS=('MPEG-4' 'Matroska' 'WebM')
# The codec to use if the original general format is not supported.
#
# For a full list of possible values, execute the following command:
# ffmpeg -formats
#
# Official documentation of supported formats:
# https://developers.google.com/cast/docs/media#media_container_formats
#
# Default value (suitable for any Chromecast):
#DEFAULT_GFORMAT=mkv
# The video formats that are supported by your Chromecast. These match the
# formats that are reported by the `mediainfo` library. If you are trying to
# encode a file that uses a format which is not included in this list, then it
# will be automatically recoded using the `DEFAULT_VFORMAT` (see below).
#
# Full list of possible values, second column should contain `V`:
# https://github.com/MediaArea/MediaInfoLib/blob/master/Source/Resource/Text/DataBase/Codec.csv
#
# Official documentation of supported formats:
# https://developers.google.com/cast/docs/media#video_codecs
#
# Default value (suitable for any Chromecast):
#SUPPORTED_VCODECS=('AVC' 'VP8')
# The video codec to use if the original one is not supported.
#
# For a full list of possible values, execute the following command:
# ffmpeg -codecs | grep "^[[:blank:]]*DEV"
#
# Official documentation of supported formats:
# https://developers.google.com/cast/docs/media#video_codecs
#
# Default value (suitable for any Chromecast):
#DEFAULT_VCODEC=h264
# Video encoding options to pass to ffmpeg. The available options depend on the
# video codec. See the FFMPEG documentation for more info on your chosen codec.
# If you use h264, see https://trac.ffmpeg.org/wiki/Encode/H.264
#
# Default value for h264 (suitable for any Chromecast):
#DEFAULT_VCODEC_OPTS="-preset fast -profile:v high -level 4.1 -crf 17 -pix_fmt yuv420p"
# The audio formats that are supported by your Chromecast. These match the
# formats that are reported by the `mediainfo` library. If you are trying to
# encode a file that uses a format which is not included in this list, then it
# will be automatically recoded using the `DEFAULT_AFORMAT` (see below).
#
# Full list of possible values, second column should contain `A`:
# https://github.com/MediaArea/MediaInfoLib/blob/master/Source/Resource/Text/DataBase/Codec.csv
#
# Official documentation of supported formats:
# https://developers.google.com/cast/docs/media#audio_codecs
#
# Default value (suitable for any Chromecast):
#SUPPORTED_ACODECS=('AAC' 'MPEG Audio' 'Vorbis' 'Ogg' 'Opus')
# The audio codec to use if the original one is not supported.
#
# For a full list of possible values, execute the following command:
# ffmpeg -codecs | grep "^[[:blank:]]*DEA"
#
# Official documentation of supported formats:
# https://developers.google.com/cast/docs/media#audio_codecs
#
# Default value (suitable for any Chromecast):
#DEFAULT_ACODEC=libvorbis
# Audio encoding options to pass to ffmpeg. The available options depend on the
# audio codec. See the FFMPEG documentation for more info on your chosen codec.
#
# Default value (suitable for any Chromecast):
#DEFAULT_ACODEC_OPTS=""
# Option to force re-encoding of the video stream. Uncomment this if you want to
# ensure that the video will always be using your encoding options and the
# resulting bitrate will be supported by your device.
#FORCE_VENCODE=1
# Option to force re-encoding of the audio stream.
#FORCE_AENCODE=1
# Option to recode multichannel audio to stereo. Use this if you have problems
# playing multichannel audio on your device, or if you do not have a surround
# setup.
# STEREO=1
# What to do on successful conversion?
# Options are:
# - bak (default) - will move the original file to a .bak extension
# - delete - will delete the original file and just keep the converted file
# - keep - will keep the original file and create a new converted file with the '-chromecast' suffix
#ONSUCCESS=bak
# Suggested options for Chromecast Gen. 1 and Gen 2.
#SUPPORTED_GFORMATS=('MPEG-4' 'Matroska' 'WebM')
#DEFAULT_GFORMAT=mkv
#SUPPORTED_VCODECS=('AVC' 'VP8')
#DEFAULT_VCODEC=h264
#DEFAULT_VCODEC_OPTS="-preset fast -profile:v high -level 4.1 -crf 17 -pix_fmt yuv420p"
#SUPPORTED_ACODECS=('AAC' 'MPEG Audio' 'Vorbis' 'Ogg' 'Opus')
#DEFAULT_ACODEC=libvorbis
# Suggested options for Chromecast Gen. 3.
#SUPPORTED_GFORMATS=('MPEG-4' 'Matroska' 'WebM')
#DEFAULT_GFORMAT=mkv
#SUPPORTED_VCODECS=('AVC' 'VP8')
#DEFAULT_VCODEC=h264
#DEFAULT_VCODEC_OPTS="-preset fast -profile:v high -level 4.2 -crf 17 -pix_fmt yuv420p"
#SUPPORTED_ACODECS=('AAC' 'MPEG Audio' 'Vorbis' 'Ogg' 'Opus')
#DEFAULT_ACODEC=libvorbis
# Suggested options for Chromecast Ultra.
#SUPPORTED_GFORMATS=('MPEG-4' 'Matroska' 'WebM')
#DEFAULT_GFORMAT=mkv
#SUPPORTED_VCODECS=('AVC' 'HEVC' 'VP8' 'VP9')
#UNSUPPORTED_VCODECS=('MPEG-4 Visual' 'xvid' 'MPEG Video')
#DEFAULT_VCODEC=libx265
#DEFAULT_VCODEC_OPTS="-preset fast -level 5.2 -crf 17"
#SUPPORTED_ACODECS=('AAC' 'MPEG Audio' 'Vorbis' 'Ogg' 'Opus')
#DEFAULT_ACODEC=libvorbis