Chiyu 3 Posted May 13, 2022 Posted May 13, 2022 I have some external audio files,which is in FLAC format or mka. And I already have rename this files to same format.
Luke 42085 Posted May 13, 2022 Posted May 13, 2022 Hi there, can you please go over an example? Thanks.
Chiyu 3 Posted May 13, 2022 Author Posted May 13, 2022 (edited) 19 minutes ago, Luke said: Hi there, can you please go over an example? Thanks. For example,The anime K-ON has some other languages audio track in mka format. And The anime Code geass has the Audio commentary track in flac format But,I can't find those audio files in my emby K-on: Code geass: Edited May 13, 2022 by Chiyu
Luke 42085 Posted May 13, 2022 Posted May 13, 2022 Ok.. External audio for video is not supported, but you never know for the future. Thanks.
Chiyu 3 Posted May 13, 2022 Author Posted May 13, 2022 4 minutes ago, Luke said: Ok.. External audio for video is not supported, but you never know for the future. Thanks. Thank you for answering this.I will looking forward to this function in the future
softworkz 5073 Posted May 14, 2022 Posted May 14, 2022 (edited) The problem with that is getting audio and video in-sync. It would surely be possible to mux an external audio track at the server into a video stream when transcoding. But unlike in case of subtitles, it would be between hard and impossible to adjust for a/v time offsets at the client side. And a static offset is just one part. There can also be drift effects due to different time bases which add to this. Edited May 14, 2022 by softworkz
Chiyu 3 Posted May 14, 2022 Author Posted May 14, 2022 14 hours ago, softworkz said: The problem with that is getting audio and video in-sync. It would surely be possible to mux an external audio track at the server into a video stream when transcoding. But unlike in case of subtitles, it would be between hard and impossible to adjust for a/v time offsets at the client side. And a static offset is just one part. There can also be drift effects due to different time bases which add to this. But the truth is I don't need to transcode my video.I Just need to play my video and the external audio at the same time,just like playing in the local player.
softworkz 5073 Posted May 14, 2022 Posted May 14, 2022 1 minute ago, Chiyu said: But the truth is I don't need to transcode my video.I Just need to play my video and the external audio at the same time,just like playing in the local player. But you don't want to play it locally, right?
HtRabbit 11 Posted May 17, 2022 Posted May 17, 2022 Use mkvtoolnix and embed the audio with the video and you will have access to both.
Chiyu 3 Posted May 17, 2022 Author Posted May 17, 2022 On 5/15/2022 at 2:10 AM, softworkz said: But you don't want to play it locally, right? That‘s TRUE
Chiyu 3 Posted May 18, 2022 Author Posted May 18, 2022 59 minutes ago, HtRabbit said: Use mkvtoolnix and embed the audio with the video and you will have access to both. Yeah.This is a effective solution,but it's troublesome to package a lot of videos.
softworkz 5073 Posted May 18, 2022 Posted May 18, 2022 2 minutes ago, Chiyu said: On 5/14/2022 at 8:10 PM, softworkz said: But you don't want to play it locally, right? That‘s TRUE Yes, and for remote playback, there exist protocols for transferring, which expect audio and video to be transferred either together or even when an audio stream would be transferred separately, the audio stream's timestamps will need to exactly match those from the video, so the client can align the two. Also, it's typically the audio stream that a player uses for synchronizing. So....in either case, the audio will need to be remuxed (maybe not necessarily transcoded) but at least muxed with the video by ffmpeg. With that in mind, you may re-read my comment from above: On 5/14/2022 at 4:45 AM, softworkz said: The problem with that is getting audio and video in-sync. It would surely be possible to mux an external audio track at the server into a video stream when transcoding. (or remuxing) But unlike in case of subtitles, it would be between hard and impossible to adjust for a/v time offsets at the client side. And a static offset is just one part. There can also be drift effects due to different time bases which add to this.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now