Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Subtitle Synchronization Delay in Certain Configurations #86

Open
Dydhzo opened this issue Oct 25, 2024 · 0 comments
Open

Subtitle Synchronization Delay in Certain Configurations #86

Dydhzo opened this issue Oct 25, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@Dydhzo
Copy link

Dydhzo commented Oct 25, 2024

Hello I have a problem here are the explanations:

Describe the bug
There is a delay in subtitle synchronization for certain configurations.

To Reproduce
Steps to reproduce the behavior:

  1. Run the following curl command to transcode the video:
    curl -X POST http://URL:52001/transcode \
         -H "Content-Type: application/json" \
         -d '{
               "inputs": [
                 { 
                   "path": "https://URL.mkv", 
                   "type": "video" 
                 },
                 { 
                   "path": "https://URL.kv", 
                   "type": "audio", 
                   "language": "kor", 
                   "channels": 2 
                 },
                 { 
                   "path": "https://URL.srt OU .vtt", 
                   "type": "text", 
                   "language": "fra" 
                 }
               ],
               "streams": [
                 { 
                   "type": "video", 
                   "codec": "h264", 
                   "height": 360, 
                   "bitrate": 1000000, 
                   "framerate": 23 
                 },
                 { 
                   "type": "audio", 
                   "codec": "aac", 
                   "bitrate": 128000, 
                   "language": "kor", 
                   "channels": 2 
                 },
                 { 
                   "type": "text", 
                   "language": "fra" 
                 }
               ],
               "segmentSize": 2,
               "packageAfter": true
             }'

Expected behavior
Subtitles should be synchronized properly when playing a video file.

Working Configurations:

  • MP4 + VTT: Works without delay
  • MP4 + SRT: Works without delay
  • MKV + MKV (SRT): Works without delay

Non-working Configurations:

  • MKV + VTT: Delayed
  • MKV + SRT: Delayed
@matvp91 matvp91 added the bug Something isn't working label Oct 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants