Guest - Testers are needed for the reworked CDateTime core component. See... https://forum.kodi.tv/showthread.php?tid=378981 (September 29) x
upnp and replaygain
#1
Hello folks,

like the kodi stuff alot.
lately i began to use kodi as an upnp client / renderer as explained here for listening to music: http://kodi.wiki/view/UPnP/Client
upnp server: subsonic (www.subsonic.org)
upnp controller dsub on android https://play.google.com/store/apps/detai...dsub&hl=en
upnp renderer: kodi

problem i have: replaygain is not working via this setup. if i play a file without upnp the tags are detected and applied correctly:

Code:
17:19:04 T:140066776447104    INFO: ffmpeg[7F63D6747880]:     replaygain_album_gain: -7.59 dB
17:19:04 T:140066776447104    INFO: ffmpeg[7F63D6747880]:     replaygain_album_peak: 1.589859
17:19:04 T:140066776447104    INFO: ffmpeg[7F63D6747880]:     replaygain_track_gain: -10.93 dB
17:19:04 T:140066776447104    INFO: ffmpeg[7F63D6747880]:     replaygain_track_peak: 1.203960
17:19:04 T:140066776447104    INFO: ffmpeg[7F63D6747880]:       replaygain: track gain - -10.930000, track peak - 0.000028, album gain - -7.590000, album peak - 0.000037,
17:19:04 T:140066776447104   DEBUG: AudioDecoder::GetReplayGain - Final Replaygain applied: 0.417350, Track/Album Gain 81.410004, Peak 1.589859

if i play the same song via upnp setup the tags are detected as well, but not applied:

Code:
17:18:30 T:140066776447104    INFO: ffmpeg[7F63D6747880]:     replaygain_album_gain: -7.59 dB
17:18:30 T:140066776447104    INFO: ffmpeg[7F63D6747880]:     replaygain_album_peak: 1.589859
17:18:30 T:140066776447104    INFO: ffmpeg[7F63D6747880]:     replaygain_track_gain: -10.93 dB
17:18:30 T:140066776447104    INFO: ffmpeg[7F63D6747880]:     replaygain_track_peak: 1.203960
17:18:30 T:140066776447104    INFO: ffmpeg[7F63D6747880]:       replaygain: track gain - -10.930000, track peak - 0.000028, album gain - -7.590000, album peak - 0.000037,
17:18:30 T:140066776447104   DEBUG: file http://nasir:4040/rest/stream.view?u=tobias&p=enc:6d7573696361&v=1.2.0&c=DSubCC&id=18279&format=raw could not be opened for tag reading
17:18:30 T:140066776447104   DEBUG: AudioDecoder::GetReplayGain - Final Replaygain applied: 1.000000, Track/Album Gain 89.000000, Peak 0.000000

error seems weird as the tags were already read by ffmpeg. how to fix ?
full log here: http://goo.gl/mEpA9U
Reply
#2
Am I correct in assuming that those lines are the replaygain being applied directly via ffmpeg?

-- DSub developer
Reply
#3
posted anohter log file: http://xbmclogs.com/pjnsyqepl
i think ffmpeg should apply them, but somewhere in between the file is opened using curl another time and then the tag reading fails ?
not sure..
Reply
#4
Try turning off the setting in DSub Settings -> Casting -> Stream original. I pass the original stream by default because DLNA/Chromecast behave much better if they know the content length, which can only happen if it's not being transcoded.
Reply
#5
hi,
changing your suggested setting does not seem to help:
20:12:38 T:139770771638400 DEBUG: file http://nasir:4040/rest/stream.view?u=tob...itRate=256 could not be opened for tag reading
20:12:38 T:139770771638400 DEBUG: SeekTime - seek ended up on time 0
20:12:38 T:139770771638400 DEBUG: Previous line repeats 1 times.
20:12:38 T:139770771638400 INFO: AudioDecoder: File is queued
20:12:38 T:139770771638400 DEBUG: AudioDecoder::GetReplayGain - Final Replaygain applied: 1.000000, Track/Album Gain 89.000000, Peak 0.000000
Reply
#6
Do you have the same transcoding settings applied to the DSubCC player?
Reply
#7
i did not setup maximums so not sure. dsub got upgraded. maxbitrate is set to 320 now. logs are similar and issue remains there.
11:09:19 T:140256067160192 DEBUG: CurlFile::Open(0x65d7ec0) http://nasir:4040/rest/stream.view?u=tob...itRate=320
11:09:19 T:140253782234880 DEBUG: Thread FileCache start, auto delete: false
11:09:19 T:140253782234880 DEBUG: Thread FileCache 140253782234880 terminating
11:09:19 T:140256067160192 DEBUG: file http://nasir:4040/rest/stream.view?u=tob...itRate=320 could not be opened for tag reading
Reply
#8
The problem still persists, the tags are detected at first but then forgotten or ignored and the gain for files without ReplayGain information is applied.
Reply

Logout Mark Read Team Forum Stats Members Help
upnp and replaygain0