View in English

  • Apple Developer
    • 今すぐ始める

    「今すぐ始める」を詳しく見る

    • 概要
    • 学ぶ
    • Apple Developer Program

    最新情報

    • 最新ニュース
    • Hello Developer
    • プラットフォーム

    プラットフォームを詳しく見る

    • Appleプラットフォーム
    • iOS
    • iPadOS
    • macOS
    • tvOS
    • visionOS
    • watchOS
    • App Store

    特集

    • デザイン
    • 配信
    • ゲーム
    • アクセサリ
    • Web
    • Home
    • CarPlay
    • テクノロジー

    テクノロジーを詳しく見る

    • 概要
    • Xcode
    • Swift
    • SwiftUI

    特集

    • アクセシビリティ
    • App Intent
    • Apple Intelligence
    • ゲーム
    • 機械学習とAI
    • セキュリティ
    • Xcode Cloud
    • コミュニティ

    コミュニティを詳しく見る

    • 概要
    • 「Appleに相談」イベント
    • コミュニティによるイベント
    • デベロッパフォーラム
    • オープンソース

    特集

    • WWDC
    • Swift Student Challenge
    • デベロッパストーリー
    • App Store Awards
    • Apple Design Awards
    • Apple Developer Center
    • ドキュメント

    ドキュメントを詳しく見る

    • ドキュメントライブラリ
    • テクノロジー概要
    • サンプルコード
    • ヒューマンインターフェイスガイドライン
    • ビデオ

    リリースノート

    • 注目のアップデート
    • iOS
    • iPadOS
    • macOS
    • watchOS
    • visionOS
    • tvOS
    • Xcode
    • ダウンロード

    ダウンロードを詳しく見る

    • すべてのダウンロード
    • オペレーティングシステム
    • アプリ
    • デザインリソース

    特集

    • Xcode
    • TestFlight
    • フォント
    • SF Symbols
    • Icon Composer
    • サポート

    サポートを詳しく見る

    • 概要
    • ヘルプガイド
    • デベロッパフォーラム
    • フィードバックアシスタント
    • お問い合わせ

    特集

    • アカウントヘルプ
    • App Reviewガイドライン
    • App Store Connectヘルプ
    • 近日導入予定の要件
    • 契約およびガイドライン
    • システムステータス
  • クイックリンク

    • イベント
    • ニュース
    • Forum
    • サンプルコード
    • ビデオ
 

ビデオ

メニューを開く メニューを閉じる
  • コレクション
  • すべてのビデオ
  • 利用方法

その他のビデオ

  • 概要
  • Summary
  • コード
  • 字幕の生成と字幕スタイルについて

    オンデバイスのモデルを活用する字幕生成で、動画コンテンツのアクセシビリティを向上させましょう。この字幕生成は、発話音声の文字起こしや他言語の字幕の翻訳に対応したパワフルな新機能です。ユーザーが再生中に字幕スタイルをカスタマイズしてプレビューできる字幕スタイルのプレビュー機能と、AVKit、AVPlayerLayer、Media Accessibilityフレームワークの詳細な実装方法についても解説します。

    関連する章

    • 0:00 - Introduction
    • 1:10 - Media authoring
    • 2:14 - Subtitle generation methods
    • 3:03 - Availability and support
    • 4:31 - Presenting subtitles in your app
    • 5:39 - Subtitle style preview
    • 8:55 - Demo
    • 10:20 - Next steps

    リソース

    • What's new in HTTP Live Streaming
      • HDビデオ
      • SDビデオ
  • このビデオを検索
    • 7:43 - Implement subtitle style preview

      // Implement subtitle style preview
      
      import AVFoundation
      import MediaAccessibility
      
      func updateProfileList() {
          subtitleStyleProfileIDs = MACaptionAppearanceCopyProfileIDs() as? [String] ?? []
      }
      
      func showPreviewStyle(subtitleStyleProfileID: String) {
          playerLayer.setCaptionPreviewProfileID(subtitleStyleProfileID, position: .zero, text: nil)
      }
      
      func stopPreviewStyle() {
          playerLayer.stopShowingCaptionPreview()
      }
      
      func setSubtitleStyle(subtitleStyleProfileID: CFString) {
          MACaptionAppearanceSetActiveProfileID(subtitleStyleProfileID)
      }
    • 0:00 - Introduction
    • Why people rely on subtitles for accessibility and comprehension, and what the session covers — how Apple's on-device AI-generated subtitles appear in your app, the subtitle style preview feature, and how media assets are authored.

    • 1:10 - Media authoring
    • An overview of the traditional media authoring process, including how video, audio, and manually created subtitles are combined into the final media package.

    • 2:14 - Subtitle generation methods
    • Discover the two use cases for on-device generated subtitles: speech transcription from source audio, and language translation from existing subtitles.

    • 3:03 - Availability and support
    • The playback scenarios where generated subtitles work automatically — HTTP Live Streaming, video on demand, and file-based content — and the supported devices and languages, including English subtitles and translation into multiple languages.

    • 4:31 - Presenting subtitles in your app
    • Explore options for providing a subtitle selection UI during video playback using AVPlayerViewController, AVPlayerView, and custom controls.

    • 5:39 - Subtitle style preview
    • Explore how to implement a subtitle style preview using AVPlayerLayer and AVCaptionRenderer, allowing users to customize their viewing experience.

    • 8:55 - Demo
    • A walkthrough of both features together — switching a camping video to generated Italian subtitles marked with a sparkle, then customizing the subtitle style for readability.

    • 10:20 - Next steps
    • Review best practices for integrating generated subtitles and style previews into your app to improve accessibility.

Developer Footer

  • ビデオ
  • WWDC26
  • 字幕の生成と字幕スタイルについて
  • メニューを開く メニューを閉じる
    • iOS
    • iPadOS
    • macOS
    • tvOS
    • visionOS
    • watchOS
    Open Menu Close Menu
    • Swift
    • SwiftUI
    • Swift Playground
    • TestFlight
    • Xcode
    • Xcode Cloud
    • SF Symbols
    メニューを開く メニューを閉じる
    • アクセシビリティ
    • アクセサリ
    • Apple Intelligence
    • App Extension
    • App Store
    • オーディオとビデオ(英語)
    • 拡張現実
    • デザイン
    • 配信
    • 教育
    • フォント(英語)
    • ゲーム
    • ヘルスケアとフィットネス
    • アプリ内課金
    • ローカリゼーション
    • マップと位置情報
    • 機械学習とAI
    • オープンソース(英語)
    • セキュリティ
    • SafariとWeb(英語)
    メニューを開く メニューを閉じる
    • 英語ドキュメント(完全版)
    • 日本語ドキュメント(一部トピック)
    • チュートリアル
    • ダウンロード
    • フォーラム(英語)
    • ビデオ
    Open Menu Close Menu
    • サポートドキュメント
    • お問い合わせ
    • バグ報告
    • システム状況(英語)
    メニューを開く メニューを閉じる
    • Apple Developer
    • App Store Connect
    • Certificates, IDs, & Profiles(英語)
    • フィードバックアシスタント
    メニューを開く メニューを閉じる
    • Apple Developer Program
    • Apple Developer Enterprise Program
    • App Store Small Business Program
    • MFi Program(英語)
    • Mini Apps Partner Program
    • News Partner Program(英語)
    • Video Partner Program(英語)
    • セキュリティ報奨金プログラム(英語)
    • Security Research Device Program(英語)
    Open Menu Close Menu
    • Appleに相談
    • Apple Developer Center
    • App Store Awards(英語)
    • Apple Design Awards
    • Apple Developer Academy(英語)
    • WWDC
    最新ニュースを読む。
    Apple Developerアプリを入手する。
    Copyright © 2026 Apple Inc. All rights reserved.
    利用規約 プライバシーポリシー 契約とガイドライン