Jump to content

Audio being re-encoded when using subtitles


Recommended Posts

crusher11
Posted

I'm watching Breaking Bad, and some of the conversation is super quiet so I turned on subtitles. This obviously requires the video to be transcoded to burn them in, but it also changed the audio from the original DTS to AC3.

 

Why can't it simply transcode the video and mux it with the original audio?

Happy2Play
Posted

Please post the corresponding server and ffmpeg logs.

Posted

Because the transcoding format can't carry DTS so the audio has to convert as well.

crusher11
Posted

Why can't it transcode into something that can carry DTS?

Posted

There isn't really a suitable option for that.

crusher11
Posted

Why not? The format it's originally in can handle DTS, why can't it transcode into that format?

Posted

The HLS streaming protocol does not support DTS.

crusher11
Posted

What's the "HLS streaming protocol"?

crusher11
Posted

But how does that tie in to this specific context?

Happy2Play
Posted

But how does that tie in to this specific context?

 

The delivery method changed when you add I assume unsupported subtitles and that method required the audio track to be changes also.

crusher11
Posted

But I'm still not seeing why the remux can't use the original delivery method.

Posted

Because the original delivery method is a completed static file. When you have to convert on the fly that's no longer the case. I assume you don't want to wait for the entire file to be converted, so we use a streaming protocol that allows us to send small chunks at a time.

  • Like 1
Happy2Play
Posted (edited)

But I'm still not seeing why the remux can't use the original delivery method.

 

You have not provided the ffmpeg log so we don't know exactly what is going on.  But the file is not being remuxed anymore it is being converted/transcoded.

Edited by Happy2Play
rbjtech
Posted

If you want to maintain the original video and DTS audio - then use an external subtitle text file (.srt) - then it would most likely not need to transcode in the first place...

  • Like 1
Happy2Play
Posted

That is where I was headed but did not know the specifics of this transcode session.

crusher11
Posted (edited)

It's PGS from the BDs. I'm aware that requires the video to be transcoded, I just didn't understand why it would affect the audio.

 

Because the original delivery method is a completed static file. When you have to convert on the fly that's no longer the case. I assume you don't want to wait for the entire file to be converted, so we use a streaming protocol that allows us to send small chunks at a time.

This is the sort of explanation I was looking for, thanks.

Edited by crusher11

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...