JoshuaAJones 54 Posted November 9, 2018 Share Posted November 9, 2018 mpv file with Theme/7.1 activated Theater mpv log.txt Link to comment Share on other sites More sharing options...
JoshuaAJones 54 Posted November 9, 2018 Share Posted November 9, 2018 Theme song deactivated/7.1 Theater mpv log.txt Link to comment Share on other sites More sharing options...
JoshuaAJones 54 Posted November 9, 2018 Share Posted November 9, 2018 Theme song Activated/Auto Theater mpv log.txt Link to comment Share on other sites More sharing options...
JoshuaAJones 54 Posted November 19, 2018 Share Posted November 19, 2018 Any theories on this, as it still happens? Currently, I have disabled theme songs to clear the error. Link to comment Share on other sites More sharing options...
Luke 37024 Posted November 19, 2018 Share Posted November 19, 2018 Not yet, but you could try the newest theater version which has an updated mpv. Link to comment Share on other sites More sharing options...
Guest asrequested Posted November 19, 2018 Share Posted November 19, 2018 Do you have upmix for music, enabled? Link to comment Share on other sites More sharing options...
Guest asrequested Posted November 19, 2018 Share Posted November 19, 2018 Because I'm seeing this, and it shouldn't be happening. 0.045][d][lavfi] Filter graph: [ 0.045][d][lavfi] +--------------+ [ 0.045][d][lavfi] mpv_src_in0:default--[44100Hz fltp:stereo]--default| Parsed_pan_0 |default--[44100Hz fltp:7.1]--mpv_sink_out0:default [ 0.045][d][lavfi] | (pan) | [ 0.045][d][lavfi] +--------------+ [ 0.045][d][lavfi] [ 0.045][d][lavfi] +---------------+ [ 0.045][d][lavfi] Parsed_pan_0:default--[44100Hz fltp:7.1]--default| mpv_sink_out0 | [ 0.045][d][lavfi] | (abuffersink) | [ 0.045][d][lavfi] +---------------+ [ 0.045][d][lavfi] [ 0.045][d][lavfi] +-------------+ [ 0.045][d][lavfi] | mpv_src_in0 |default--[44100Hz fltp:stereo]--Parsed_pan_0:default [ 0.045][d][lavfi] | (abuffer) | [ 0.045][d][lavfi] +-------------+ [ 0.045][d][lavfi] [ 0.045][d][lavfi] [ 0.045][v][af] [userspeed] 44100Hz 7.1 8ch floatp [ 0.045][v][af] [userspeed] (disabled) [ 0.045][v][af] [convert] 44100Hz 7.1 8ch floatp Link to comment Share on other sites More sharing options...
Guest asrequested Posted November 19, 2018 Share Posted November 19, 2018 (edited) Yup! There it is. That shouldn't be being used in this case. [ 4.094][v][vf] User filter list: [ 4.094][v][vf] (empty) [ 4.095][v][ad] Codec list: [ 4.095][v][ad] aac - AAC (Advanced Audio Coding) [ 4.095][v][ad] aac_fixed (aac) - AAC (Advanced Audio Coding) [ 4.095][v][ad] Opening decoder aac [ 4.095][v][ad] Requesting 1 threads for decoding. [ 4.099][v][ad] Selected codec: aac (AAC (Advanced Audio Coding)) [ 4.099][d][user_filter_wrapper] Setting option 'graph' = 'pan=7.1|FL=FL|SL=FL|BL=FL|FR=FR|SR=FR|BR=FR|FC<0.5*FL + 0.5*FR' (flags = 0) [ 4.100][v][af] User filter list: [ 4.100][v][af] lavfi (lavfi.00) [ 4.100][v][cplayer] Starting playback... [ 4.101][v][af] [in] 48000Hz 5.1 6ch floatp [ 4.101][v][af] [lavfi] 48000Hz 5.1 6ch floatp [ 4.102][d][ffmpeg] mpv_src_in0: tb:1/48000 samplefmt:fltp samplerate:48000 chlayout:(null) [ 4.102][d][ffmpeg] Parsed_pan_0: o0 = 1 i0 + 0 i1 + 0 i2 + 0 i3 + 0 i4 + 0 i5 [ 4.102][d][ffmpeg] Parsed_pan_0: o1 = 0 i0 + 1 i1 + 0 i2 + 0 i3 + 0 i4 + 0 i5 [ 4.102][d][ffmpeg] Parsed_pan_0: o2 = 0.5 i0 + 0.5 i1 + 0 i2 + 0 i3 + 0 i4 + 0 i5 [ 4.102][d][ffmpeg] Parsed_pan_0: o3 = 0 i0 + 0 i1 + 0 i2 + 0 i3 + 0 i4 + 0 i5 [ 4.102][d][ffmpeg] Parsed_pan_0: o4 = 1 i0 + 0 i1 + 0 i2 + 0 i3 + 0 i4 + 0 i5 [ 4.102][d][ffmpeg] Parsed_pan_0: o5 = 0 i0 + 1 i1 + 0 i2 + 0 i3 + 0 i4 + 0 i5 [ 4.102][d][ffmpeg] Parsed_pan_0: o6 = 1 i0 + 0 i1 + 0 i2 + 0 i3 + 0 i4 + 0 i5 [ 4.102][d][ffmpeg] Parsed_pan_0: o7 = 0 i0 + 1 i1 + 0 i2 + 0 i3 + 0 i4 + 0 i5 [ 4.102][d][lavfi] Filter graph: [ 4.102][d][lavfi] +--------------+ [ 4.102][d][lavfi] mpv_src_in0:default--[48000Hz fltp:5.1]--default| Parsed_pan_0 |default--[48000Hz fltp:7.1]--mpv_sink_out0:default [ 4.102][d][lavfi] | (pan) | [ 4.102][d][lavfi] +--------------+ [ 4.102][d][lavfi] [ 4.102][d][lavfi] +---------------+ [ 4.102][d][lavfi] Parsed_pan_0:default--[48000Hz fltp:7.1]--default| mpv_sink_out0 | [ 4.102][d][lavfi] | (abuffersink) | [ 4.102][d][lavfi] +---------------+ [ 4.102][d][lavfi] [ 4.102][d][lavfi] +-------------+ [ 4.102][d][lavfi] | mpv_src_in0 |default--[48000Hz fltp:5.1]--Parsed_pan_0:default [ 4.102][d][lavfi] | (abuffer) | [ 4.102][d][lavfi] +-------------+ [ 4.102][d][lavfi] [ 4.102][d][lavfi] [ 4.102][v][af] [userspeed] 48000Hz 7.1 8ch floatp [ 4.102][v][af] [userspeed] (disabled) [ 4.102][v][af] [convert] 48000Hz 7.1 8ch floatp Edited November 19, 2018 by Doofus Link to comment Share on other sites More sharing options...
Guest asrequested Posted November 19, 2018 Share Posted November 19, 2018 (edited) It's kicking off with the theme music, and not switching back. But It shouldn't be working at all in that environment. It should just play directly, as stereo. Edited November 19, 2018 by Doofus Link to comment Share on other sites More sharing options...
Luke 37024 Posted November 19, 2018 Share Posted November 19, 2018 So it's only when upmix is enabled? Link to comment Share on other sites More sharing options...
Guest asrequested Posted November 19, 2018 Share Posted November 19, 2018 I haven't tested it. That's what's in his log. But that's definitely what's happening. Here it is in the beginning of the log when it plays the mp3 theme song [ 0.042][v][lavf] select track 0 [ 0.042][i][cplayer] (+) Audio --aid=1 (mp3 2ch 44100Hz) [ 0.043][v][ad] Codec list: [ 0.043][v][ad] mp3float (mp3) - MP3 (MPEG audio layer 3) [ 0.043][v][ad] mp3 - MP3 (MPEG audio layer 3) [ 0.043][v][ad] Opening decoder mp3float [ 0.043][v][ad] Requesting 1 threads for decoding. [ 0.043][v][ad] Selected codec: mp3float (MP3 (MPEG audio layer 3)) [ 0.043][d][user_filter_wrapper] Setting option 'graph' = 'pan=7.1|FL=FL|SL=FL|BL=FL|FR=FR|SR=FR|BR=FR|FC<0.5*FL + 0.5*FR' (flags = 0) [ 0.044][v][af] User filter list: [ 0.044][v][af] lavfi (lavfi.00) [ 0.044][v][cplayer] Starting playback... [ 0.045][v][af] [in] 44100Hz stereo 2ch floatp [ 0.045][v][af] [lavfi] 44100Hz stereo 2ch floatp [ 0.045][d][ffmpeg] mpv_src_in0: tb:1/44100 samplefmt:fltp samplerate:44100 chlayout:(null) [ 0.045][d][ffmpeg] Parsed_pan_0: o0 = 1 i0 + 0 i1 [ 0.045][d][ffmpeg] Parsed_pan_0: o1 = 0 i0 + 1 i1 [ 0.045][d][ffmpeg] Parsed_pan_0: o2 = 0.5 i0 + 0.5 i1 [ 0.045][d][ffmpeg] Parsed_pan_0: o3 = 0 i0 + 0 i1 [ 0.045][d][ffmpeg] Parsed_pan_0: o4 = 1 i0 + 0 i1 [ 0.045][d][ffmpeg] Parsed_pan_0: o5 = 0 i0 + 1 i1 [ 0.045][d][ffmpeg] Parsed_pan_0: o6 = 1 i0 + 0 i1 [ 0.045][d][ffmpeg] Parsed_pan_0: o7 = 0 i0 + 1 i1 [ 0.045][d][lavfi] Filter graph: [ 0.045][d][lavfi] +--------------+ [ 0.045][d][lavfi] mpv_src_in0:default--[44100Hz fltp:stereo]--default| Parsed_pan_0 |default--[44100Hz fltp:7.1]--mpv_sink_out0:default [ 0.045][d][lavfi] | (pan) | [ 0.045][d][lavfi] +--------------+ [ 0.045][d][lavfi] [ 0.045][d][lavfi] +---------------+ [ 0.045][d][lavfi] Parsed_pan_0:default--[44100Hz fltp:7.1]--default| mpv_sink_out0 | [ 0.045][d][lavfi] | (abuffersink) | [ 0.045][d][lavfi] +---------------+ [ 0.045][d][lavfi] [ 0.045][d][lavfi] +-------------+ [ 0.045][d][lavfi] | mpv_src_in0 |default--[44100Hz fltp:stereo]--Parsed_pan_0:default [ 0.045][d][lavfi] | (abuffer) | [ 0.045][d][lavfi] +-------------+ [ 0.045][d][lavfi] [ 0.045][d][lavfi] [ 0.045][v][af] [userspeed] 44100Hz 7.1 8ch floatp [ 0.045][v][af] [userspeed] (disabled) [ 0.045][v][af] [convert] 44100Hz 7.1 8ch floatp Link to comment Share on other sites More sharing options...
JoshuaAJones 54 Posted November 25, 2018 Share Posted November 25, 2018 Sorry... I've been busy the last week. 3.0.5 has the same problems. Disabling Upmix did solve the problem, too. Theme Music/7.1 w/Upmix Disabled Theater mpv log.txt Link to comment Share on other sites More sharing options...
jmccl069 6 Posted November 29, 2018 Author Share Posted November 29, 2018 Ok, so there're two ways you can go. I can show you how to bitstream AAC, or I can show you how to have it converted to AC3, and be bitstreamed that way. Here's the difference. If you bitstream AAC, that means all AAC will be bitstreamed. 2 channel AAC, too. If you choose AC3 encoding, it can be configured to only encode a set number of channels. For instance. It can be configured to only encode audio streams with 3 or more channels, and not encode stereo. The AC3 encoding can be applied globally, meaning all non-bitstreamed audio (not just AAC) with that many channels will be encoded. It can also be applied as a profile, and be specific to the codecs that you choose. I may be over-explaining this I still can't get AAC to bitstream... Don't know what's going on there... I've adjusted all of the settings I can think of but still no joy... Would you mind explaining how to convert it to AC3 on the fly? Or at least point me in the right direction... Thanks Link to comment Share on other sites More sharing options...
Guest asrequested Posted November 29, 2018 Share Posted November 29, 2018 (edited) I still can't get AAC to bitstream... Don't know what's going on there... I've adjusted all of the settings I can think of but still no joy... Would you mind explaining how to convert it to AC3 on the fly? Or at least point me in the right direction... Thanks Bitstreaming AAC can't be done through the settings. You need to use an mpv.conf. I'm assuming you haven't tried that? Can I ask why you want to bitstream AAC? What is your goal? Edited November 29, 2018 by Doofus Link to comment Share on other sites More sharing options...
jmccl069 6 Posted November 30, 2018 Author Share Posted November 30, 2018 Bitstreaming AAC can't be done through the settings. You need to use an mpv.conf. I'm assuming you haven't tried that? Can I ask why you want to bitstream AAC? What is your goal? I followed your instructions on post #12 however can't get it to bitstream. My receiver decodes AAC natively so I thought the easiest way to get surround sound would be to bitstream. Since I can't get that to work I thought I may as well go the AC3 route... Link to comment Share on other sites More sharing options...
Guest asrequested Posted November 30, 2018 Share Posted November 30, 2018 I followed your instructions on post #12 however can't get it to bitstream. My receiver decodes AAC natively so I thought the easiest way to get surround sound would be to bitstream. Since I can't get that to work I thought I may as well go the AC3 route... Do you have any stereo AAC audio that you don't want to be AC3? Link to comment Share on other sites More sharing options...
jmccl069 6 Posted November 30, 2018 Author Share Posted November 30, 2018 No... AC3 for everything is fine... Link to comment Share on other sites More sharing options...
Guest asrequested Posted November 30, 2018 Share Posted November 30, 2018 No... AC3 for everything is fine... OK, so the thread directly below this, actually has all the info you need. You can start with this post, and read through. Let me know if you get stuck. https://emby.media/community/index.php?/topic/53468-no-audio-when-playing-dts-hd-via-emby-theater/?p=516907 Link to comment Share on other sites More sharing options...
Guest asrequested Posted November 30, 2018 Share Posted November 30, 2018 If that's TL;DR, then if you've already made an mpv.conf, just add this line af=lavcac3enc=yes:384:2 Link to comment Share on other sites More sharing options...
Guest asrequested Posted November 30, 2018 Share Posted November 30, 2018 (edited) One thing, though. Using 2 will make all stereo non-bitstreamed audio, AC3. MP3s, too, so your music will be AC3. If you don't want that, change it to 3 af=lavcac3enc=yes:384:3 Edited November 30, 2018 by Doofus Link to comment Share on other sites More sharing options...
Guest asrequested Posted November 30, 2018 Share Posted November 30, 2018 If you want all AAC be AC3 and everything else unchanged, then you'll need an auto-profile. Which I can help you with, if you want that. Link to comment Share on other sites More sharing options...
jmccl069 6 Posted November 30, 2018 Author Share Posted November 30, 2018 If you want all AAC be AC3 and everything else unchanged, then you'll need an auto-profile. Which I can help you with, if you want that. That’s exactly what I’m after!!! Your assistance would be very much appreciated... Thanks Link to comment Share on other sites More sharing options...
Guest asrequested Posted November 30, 2018 Share Posted November 30, 2018 That’s exactly what I’m after!!! Your assistance would be very much appreciated... Thanks OK. gimme a minute. I'll have to collate some stuff. Did you already make an mpv.conf? Link to comment Share on other sites More sharing options...
Guest asrequested Posted November 30, 2018 Share Posted November 30, 2018 In the folder where you made the mpv.conf, make a folder called scripts Copy the auto-profiles.lua to the scripts folder (delete the .txt) Copy this profile to your mpv.conf, make it the last entry at the bottom [AAC to AC3] profile-desc=cond:p["audio-codec"]==aac af=lavcac3enc=yes:384:2 Take it for a spin! 1 Link to comment Share on other sites More sharing options...
jmccl069 6 Posted November 30, 2018 Author Share Posted November 30, 2018 In the folder where you made the mpv.conf, make a folder called scripts Copy the auto-profiles.lua to the scripts folder (delete the .txt) Copy this profile to your mpv.conf, make it the last entry at the bottom [AAC to AC3] profile-desc=cond:p["audio-codec"]==aac af=lavcac3enc=yes:384:2 Take it for a spin! Thanks so much... I'm not home at the moment but I will give it a go and let you know... Very much appreciated... Link to comment Share on other sites More sharing options...
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