Audio glitches when transcoding DTS on some files
I'm using Serviio 1.0.1 and I was encountering problems with some files when transcoding DTS. I just examined the problem a bit.
I ran Serviio in Ubuntu 12.10 using ffmpeg from Jon Severinsson's PPA (because normal Ubuntu ffmpeg is too old). When playing via VLC and transcoding DTS to AC3 or MP2, I heard clipping and audio was noticeably louder than when playing DTS. The same thing could be heard if playing the transcoded temporary file using ffplay. Setting "Audio channels" to "Keep original" instead of "Downmix to stereo" avoided the volume increase and clipping. Audio played properly on the LG 47LW5600 TV.
When running Serviio in Windows 7, this configuration change did not fix the problem. With "Keep original" I was still hearing audio interruptions with clicks. It did not sound like clipping. The same thing played properly from C:\Windows\Temp using mplayer. Replacing ffmpeg.exe with the one from Serviio 0.6.2 fixed the problem. The ffmpeg.exe from 1.0 had the same problem.
I hope Serviio 1.0.1 will work properly with ffmpeg.exe from 0.6.2. If there are any problems with this, I will downgrade Serviio to 0.6.2.
I ran Serviio in Ubuntu 12.10 using ffmpeg from Jon Severinsson's PPA (because normal Ubuntu ffmpeg is too old). When playing via VLC and transcoding DTS to AC3 or MP2, I heard clipping and audio was noticeably louder than when playing DTS. The same thing could be heard if playing the transcoded temporary file using ffplay. Setting "Audio channels" to "Keep original" instead of "Downmix to stereo" avoided the volume increase and clipping. Audio played properly on the LG 47LW5600 TV.
When running Serviio in Windows 7, this configuration change did not fix the problem. With "Keep original" I was still hearing audio interruptions with clicks. It did not sound like clipping. The same thing played properly from C:\Windows\Temp using mplayer. Replacing ffmpeg.exe with the one from Serviio 0.6.2 fixed the problem. The ffmpeg.exe from 1.0 had the same problem.
I hope Serviio 1.0.1 will work properly with ffmpeg.exe from 0.6.2. If there are any problems with this, I will downgrade Serviio to 0.6.2.