Skip to content

Commit 34da69e

Browse files
authored
chore: x264 (#440)
1 parent 4239a78 commit 34da69e

4 files changed

Lines changed: 18 additions & 18 deletions

File tree

i18n/locales/en.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -636,9 +636,9 @@
636636
"playcast_learn_more": "Learn more",
637637
"encoding_section": "Encoding",
638638
"live_video_codec": "Live Stream Codec",
639-
"live_video_codec_description": "H.265 (HEVC) is ~30% smaller at matched quality and the default. Chrome and Firefox viewers fall back to the HLS path which carries HEVC fine; HEVC-over-WebRTC is Safari 17+ only. Switch to H.264 if your audience needs the lowest-latency WebRTC path on every browser. Falls back to H.264 automatically if the GPU lacks NVENC HEVC.",
640-
"codec_h265": "H.265 / HEVC (recommended)",
641-
"codec_h264": "H.264",
639+
"live_video_codec_description": "H.264 is the default for the broadest browser and device compatibility, including the lowest-latency WebRTC path on every browser. H.265 (HEVC) is ~30% smaller at matched quality, but HEVC-over-WebRTC is Safari 17+ only — Chrome and Firefox viewers fall back to the HLS path. H.265 falls back to H.264 automatically if the GPU lacks NVENC HEVC.",
640+
"codec_h265": "H.265 / HEVC",
641+
"codec_h264": "H.264 (recommended)",
642642
"updated": "Updated Streaming Settings"
643643
},
644644
"create_matches_role": "Minimum Role Allowed to Create Matches",
@@ -847,13 +847,13 @@
847847
"clips_max_storage_description": "The maximum storage size for highlight clips in GB. Oldest clips are deleted first when this is exceeded.",
848848
"highlights_section": "Highlights",
849849
"clip_video_codec": "Highlight Codec",
850-
"clip_video_codec_description": "H.265 (HEVC) produces ~30% smaller files at matched visual quality and is decoded in hardware by modern Chrome, Edge, Safari, and iOS. Falls back to H.264 automatically if the GPU lacks NVENC HEVC.",
850+
"clip_video_codec_description": "H.264 is the default for the broadest playback compatibility across browsers and devices. H.265 (HEVC) produces ~30% smaller files at matched visual quality and is decoded in hardware by modern Chrome, Edge, Safari, and iOS, but is less universally supported. H.265 falls back to H.264 automatically if the GPU lacks NVENC HEVC.",
851851
"clip_fps": "Highlight FPS",
852852
"clip_fps_description": "Output frame rate for rendered highlights and manually-edited clips. 60 FPS is smoother but doubles the encode work and file size; 30 FPS is the lighter option.",
853853
"clip_resolution": "Highlight Resolution",
854854
"clip_resolution_description": "Default output resolution for rendered highlights and manually-edited clips. Users can still override per-clip in the render dialog. 1080p balances quality and file size; 720p produces ~50% smaller files. Both benefit when GPU nodes render at 1440p — the streamer supersamples that down to the selected output resolution.",
855-
"codec_h265": "H.265 / HEVC (recommended)",
856-
"codec_h264": "H.264",
855+
"codec_h265": "H.265 / HEVC",
856+
"codec_h264": "H.264 (recommended)",
857857
"clip_bake_branding": "Bake player chip + outro into highlights",
858858
"clip_bake_branding_description": "Renders the player chip overlay and brand outro directly into the highlight file. Disable to ship raw captures without overlays.",
859859
"auto_generate_match_clips": "Auto-generate match highlights",

i18n/locales/pt_BR.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -636,9 +636,9 @@
636636
"playcast_learn_more": "Leia mais",
637637
"encoding_section": "Encodando",
638638
"live_video_codec": "Live Stream Codec",
639-
"live_video_codec_description": "H.265 (HEVC) é ~30% menor na mesma qualidade e é o padrão. Os espectadores no Chrome e Firefox usam o caminho HLS, que suporta HEVC normalmente; HEVC via WebRTC está disponível apenas no Safari 17+. Troque para H.264 se sua audiência precisar do caminho WebRTC de menor latência em todos os navegadores. Volta automaticamente para H.264 se a GPU não tiver NVENC HEVC.",
640-
"codec_h265": "H.265 / HEVC (recomendado)",
641-
"codec_h264": "H.264",
639+
"live_video_codec_description": "H.264 é o padrão por oferecer a maior compatibilidade com navegadores e dispositivos, incluindo o caminho WebRTC de menor latência em todos os navegadores. H.265 (HEVC) é ~30% menor na mesma qualidade, mas HEVC via WebRTC está disponível apenas no Safari 17+ — espectadores no Chrome e Firefox usam o caminho HLS. H.265 volta automaticamente para H.264 se a GPU não tiver NVENC HEVC.",
640+
"codec_h265": "H.265 / HEVC",
641+
"codec_h264": "H.264 (recomendado)",
642642
"updated": "Configurações de streaming atualizadas"
643643
},
644644
"create_matches_role": "Cargo mínimo para criar partidas",
@@ -847,13 +847,13 @@
847847
"clips_max_storage_description": "Tamanho máximo de armazenamento para highlights em GB. Os clipes mais antigos são excluídos primeiro quando esse limite é ultrapassado.",
848848
"highlights_section": "Highlights",
849849
"clip_video_codec": "Codec dos Highlights",
850-
"clip_video_codec_description": "H.265 (HEVC) gera arquivos ~30% menores na mesma qualidade visual e é decodificado por hardware nos navegadores modernos Chrome, Edge, Safari e iOS. Volta automaticamente para H.264 se a GPU não tiver NVENC HEVC.",
850+
"clip_video_codec_description": "H.264 é o padrão por oferecer a maior compatibilidade de reprodução entre navegadores e dispositivos. H.265 (HEVC) gera arquivos ~30% menores na mesma qualidade visual e é decodificado por hardware nos navegadores modernos Chrome, Edge, Safari e iOS, mas tem suporte menos universal. H.265 volta automaticamente para H.264 se a GPU não tiver NVENC HEVC.",
851851
"clip_fps": "FPS do highlight",
852852
"clip_fps_description": "Taxa de quadros de saída para highlights renderizados e clipes editados manualmente. 60 FPS é mais suave, mas dobra o trabalho de codificação e o tamanho do arquivo; 30 FPS é a opção mais leve.",
853853
"clip_resolution": "Resolução do highlight",
854854
"clip_resolution_description": "Resolução de saída padrão para highlights renderizados e clipes editados manualmente. Os usuários ainda podem substituir por clipe no diálogo de renderização. 1080p equilibra qualidade e tamanho de arquivo; 720p produz arquivos ~50% menores. Ambos se beneficiam quando os nós de GPU renderizam em 1440p — o streamer faz supersampling reduzindo para a resolução de saída selecionada.",
855-
"codec_h265": "H.265 / HEVC (recomendado)",
856-
"codec_h264": "H.264",
855+
"codec_h265": "H.265 / HEVC",
856+
"codec_h264": "H.264 (recomendado)",
857857
"clip_bake_branding": "Incorporar chip do jogador + outro nos highlights*",
858858
"clip_bake_branding_description": "*Renderiza a sobreposição do chip do jogador e o outro de marca diretamente no arquivo de highlight. Desative para exportar capturas brutas sem sobreposições.",
859859
"auto_generate_match_clips": "Gerar automaticamente highlights de partidas",

pages/settings/application/highlights.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -452,7 +452,7 @@ export default {
452452
auto_clip_default_visibility: z
453453
.enum(["private", "public"])
454454
.default("private"),
455-
clip_video_codec: z.enum(["h265", "h264"]).default("h265"),
455+
clip_video_codec: z.enum(["h265", "h264"]).default("h264"),
456456
clip_fps: z.enum(["30", "60"]).default("60"),
457457
clip_resolution: z.enum(["720p", "1080p"]).default("1080p"),
458458
}),
@@ -479,7 +479,7 @@ export default {
479479
if (setting.name === "clip_video_codec") {
480480
this.form.setFieldValue(
481481
setting.name,
482-
setting.value === "h264" ? "h264" : "h265",
482+
setting.value === "h265" ? "h265" : "h264",
483483
);
484484
continue;
485485
}
@@ -562,7 +562,7 @@ export default {
562562
},
563563
{
564564
name: "clip_video_codec",
565-
value: this.form.values.clip_video_codec ?? "h265",
565+
value: this.form.values.clip_video_codec ?? "h264",
566566
},
567567
{
568568
name: "clip_fps",

pages/settings/application/streaming.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ export default {
193193
.string()
194194
.default(e_player_roles_enum.streamer),
195195
}),
196-
live_video_codec: z.enum(["h265", "h264"]).default("h265"),
196+
live_video_codec: z.enum(["h265", "h264"]).default("h264"),
197197
}),
198198
),
199199
}),
@@ -207,7 +207,7 @@ export default {
207207
if (setting.name === "live_video_codec") {
208208
this.form.setFieldValue(
209209
setting.name,
210-
setting.value === "h264" ? "h264" : "h265",
210+
setting.value === "h265" ? "h265" : "h264",
211211
);
212212
continue;
213213
}
@@ -271,7 +271,7 @@ export default {
271271
},
272272
{
273273
name: "live_video_codec",
274-
value: this.form.values.live_video_codec ?? "h265",
274+
value: this.form.values.live_video_codec ?? "h264",
275275
},
276276
],
277277
on_conflict: {

0 commit comments

Comments
 (0)