Jump to content

Emby transcodes aac files to opus


Recommended Posts

Posted

Hi

 

I'm running version 3.0.5870.0 on FreeBSD 10.2.  I'm trying to play my aac-files, but Emby transcodes them to opus for some reason.

 

Here's the media info:

Media Info
Audio
Languageund
CodecAAC
ProfileLC
Layoutstereo
Channels2 ch
Bitrate229 kbps
Sample rate44100 khz
DefaultYes
Embedded Image
CodecMJPEG
Level-99
Resolution500x458
Framerate90000
Bit depth8 bit
Pixel formatyuvj420p
Ref frames1
DefaultNo
Containerm4a
Path/mnt/hd2/music/aac/Apulanta/Apulanta - Kaikki kolmesta pahasta/Apulanta - Aggressio.m4a
Size6 MB

 

And serverlog:

 

2016-02-19 08:19:03.2103 Info HttpServer: HTTP POST http://192.168.0.20:8096/emby/Items/287fab5ccb54ac36cfa421858be7ac59/PlaybackInfo?UserId=df8aae35723d4713a60afd95451f2bc3&StartTimeTicks=0. UserAgent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.82 Safari/537.36 OPR/35.0.2066.37
2016-02-19 08:19:03.2145 Info App: Profile: Unknown Profile, No direct play profiles found for Path: /mnt/hd2/music/aac/Apulanta/Apulanta - Kaikki kolmesta pahasta/Apulanta - Aggressio.m4a
2016-02-19 08:19:03.2146 Info App: RemoteClientBitrateLimit: 10000000, RemoteIp: 192.168.0.103, IsInLocalNetwork: True
2016-02-19 08:19:03.2146 Info App: Profile: Unknown Profile, No direct play profiles found for Path: /mnt/hd2/music/aac/Apulanta/Apulanta - Kaikki kolmesta pahasta/Apulanta - Aggressio.m4a
2016-02-19 08:19:03.2146 Info App: RemoteClientBitrateLimit: 10000000, RemoteIp: 192.168.0.103, IsInLocalNetwork: True
2016-02-19 08:19:03.2146 Info App: Profile: Unknown Profile, No direct play profiles found for Path: /mnt/hd2/music/aac/Apulanta/Apulanta - Kaikki kolmesta pahasta/Apulanta - Aggressio.m4a
2016-02-19 08:19:03.2167 Info HttpServer: HTTP Response 200 to 192.168.0.103. Time: 6ms. http://192.168.0.20:8096/emby/Items/287fab5ccb54ac36cfa421858be7ac59/PlaybackInfo?UserId=df8aae35723d4713a60afd95451f2bc3&StartTimeTicks=0
2016-02-19 08:19:03.3167 Info HttpServer: HTTP GET http://192.168.0.20:8096/emby/audio/287fab5ccb54ac36cfa421858be7ac59/stream.opus?DeviceId=60faf72822b83e42f833aa6657ab625fa9218cc5&MediaSourceId=287fab5ccb54ac36cfa421858be7ac59&AudioCodec=opus&AudioBitrate=192000&MaxAudioChannels=2&PlaySessionId=0c129e692d124add9019a71c688596ea&api_key=5977089b55f243f6bfc9dc659fc551cd. UserAgent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.82 Safari/537.36 OPR/35.0.2066.37
2016-02-19 08:19:03.3202 Info App: /usr/local/bin/ffmpeg -i file:"/mnt/hd2/music/aac/Apulanta/Apulanta - Kaikki kolmesta pahasta/Apulanta - Aggressio.m4a" -threads 0 -vn -ab 192000 -ac 2 -id3v2_version 3 -write_id3v1 1 -y "/var/db/emby-server/transcoding-temp/73a6d7dd4a9d8c9d844fccc1306ef7a6.opus"
 
Any ideas what's wrong and how to fix it?
 
Thanks.
 
Posted

Why is it transcoded at all? Doesn't all modern browsers support aac?

 

This happens with all browsers i've tried so far : Chrome, Edge, Firefox, Opera.

Posted

Why is it transcoded at all? Doesn't all modern browsers support aac?

 

This happens with all browsers i've tried so far : Chrome, Edge, Firefox, Opera.

 

We query the browser for supported formats. Try a different browser and see if it makes a difference. 

Posted

Thanks for reply!

 

Are the supported formats logged somewhere? In the console or in the server?

 

Well, there's Safari I could try, but I think one of those 4 I've tried should work.

Posted

ah it's the m4a container. if you have an actual aac file see if that works.

Posted

I drag'n'dropped the file into Opera and Chrome and they both played it fine.

Posted

So, what's the conclusion? Do I have something wrong with my setup? Or is Emby unable to play aac audio from m4a container without transcoding?

Posted

it will be reviewed for a future release, thanks.

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