Jump to content

Consulta sobre transcoding en chromecast luego de cambiar de idioma


Recommended Posts

pcorderog205
Posted (edited)

Hola, tengo una consulta. Tengo dos audios ya sea pelicula o serie, uno en español y otro en inglés. En los móviles cuando me paso de audio no tengo problemas. Pero en el chromecast cuando paso de español de a ingles empieza a transcodificar. Cuál será el motivo?

 

image.png.0551901e1ba3db047c8991ebbb00cf77.png

Edited by pcorderog205
Happy2Play
Posted

¿Puedes publicar el registro de ffmpeg?

Can you post the ffmpeg log

Happy2Play
Posted
&TranscodeReasons=SecondaryAudioNotSupported

Dev may have to explain more but the client does not support secondary audio so the media is actually being remuxed.

Es posible que el desarrollador tenga que explicar más, pero el cliente no admite audio secundario, por lo que los medios en realidad se están modificando.

18:53:17.830 Stream mapping:
18:53:17.830   Stream #0:0 -> #0:0 (copy)
18:53:17.830   Stream #0:2 -> #0:1 (copy)

 

pcorderog205
Posted

El desarrollador de google o emby?

Happy2Play
Posted
11 minutes ago, pcorderog205 said:

The developer of google or emby?

Emby dev, but technically the casting device is causing the remux according to the log.

Emby dev, pero técnicamente el dispositivo de transmisión está causando el remux de acuerdo con el registro.

App: Emby for iOS 2.0.8
Paul Cordero’s iPhone

&TranscodeReasons=SecondaryAudioNotSupported

 

Posted (edited)

Hi, the reason is that the Chromecast can only play the first audio track in the file. 

So when the first video is Spanish but you want to play the 2nd audio track which is English the only way to accomplish this is to remux the audio so that the 2nd track is used and now is the 1st audio track.

Edited by cayars
pcorderog205
Posted

Thank you both. I have chromecast 2, do you know if this happen with newer versions of chromecast?

Posted

This is the device shown above where Emby had to remux the file to change the audio track ordering correct?

pcorderog205
Posted

Yes it is.

 

DeviceId=chromecast_1628038347502&MediaSourceId=f9112e2e92b964e4dfb252ba36c38dfa&StartTimeTicks=349502330&PlaySessionId=ed60dac930b04020ab321892b6022e10&api_key=a546cb7ea96444de9a2f5e87fb20622a&VideoCodec=h264,vp8&AudioCodec=ac3,aac,mp3,opus,flac,vorbis&VideoBitrate=6317234&AudioBitrate=192766&MaxWidth=1920&AudioStreamIndex=2&TranscodingMaxAudioChannels=6&CopyTimestamps=true&h264-profile=high,main,baseline,constrainedbaseline&h264-level=42&aac-audiochannels=2&TranscodeReasons=SecondaryAudioNotSupported
 

Posted

So you have your answer correct?

Posted

Chromecast does not have an API to select secondary audio tracks, so when you select that track, the only way we can play it is with transcoding.

pcorderog205
Posted

Thank you all!

  • Like 1
  • Thanks 1

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...