Jump to content

Firefox transcodes when it can direct play


Recommended Posts

Posted

Now that Firefox finally supports MKV, I have been doing some experimenting.  Running 4.9.5.0 with Firefox 151, if transcoding is enabled for the user, Emby transcodes compatible video and audio streams.  If I disable transcoding, then Emby direct plays the file just fine.

MKV file with transcoding enabled:

transon.png.d149645fab51e4aad943f6fc2c77e619.png

 

The same file with transcoding disabled:

transoff.png.2ad8de39ea69188ed8097049ba9b9288.png

In my case, having transcoding disabled is fine, but this could probably be improved.

Posted

Hi, the reason is indicated in your first screenshot.

Posted

Well, the only difference that I see is the "selecting secondary audio track" bit, but it uses the same audio track in either case.

Posted

OK so for this video you're getting lucky with this particular file but normally when a file has multiple audio tracks, firefox will auto pick the first track listed, and if you select anything other than that, then the only way we can play that track is via transcoding.

Posted

Ah, I get it now (with a little more experimentation).  With transcoding disabled, it only plays one audio track, regardless of what I select.  In this case, there is an AC3 track, then an Opus stereo track, and then an Opus commentary track.  Regardless of what audio selection I make in Emby, it uses the Opus stereo track, I guess because that is the first compatible track.  That actually works very well for my needs and potentially saves me from having to continue to generate stripped down WEBM files just for Firefox.  Thanks!

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