Transcode Error - updated log file

Need help? Post your questions here.

Moderator: moderators

Transcode Error - updated log file

Postby coacharnold » Thu Apr 15, 2021 1:40 am

Problem Description: About 50% of Flac files I try to play in ANY of the various Android Subsonic apps, will not play

Troubleshooting Steps: I have Installed and Reinstalled subsonic on several devices with the same results on all.

Playback Application and version: I have the same issue using D-Sub, Android Subsonic, and Ultrasonic

Subsonic Version:

License Subsonic Premium
Version 6.1.6 (build 0cfa60) – November 10, 2019

Server Version: jetty-6.1.x, java 1.8.0_282, HSQLDB, Linux (66.0 MB / 127.5 MB)

Hardware Platform: Linux Ubuntu 20.10

Java Memory Limit: NA

Problem Filename: ABout 50% of the files I attempt to play, 50% work just fine

Output from ffmpeg -i: (If you open a command prompt and type 'ffmpeg -i <filename>' what is the output? Ideally put this in a "code" block)

ffmpeg version 4.3.1-4ubuntu1 Copyright (c) 2000-2020 the FFmpeg developers
built with gcc 10 (Ubuntu 10.2.0-9ubuntu2)
configuration: --prefix=/usr --extra-version=4ubuntu1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libdav1d --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librabbitmq --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --enable-pocketsphinx --enable-libmfx --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-nvenc --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared
libavutil 56. 51.100 / 56. 51.100
libavcodec 58. 91.100 / 58. 91.100
libavformat 58. 45.100 / 58. 45.100
libavdevice 58. 10.100 / 58. 10.100
libavfilter 7. 85.100 / 7. 85.100
libavresample 4. 0. 0 / 4. 0. 0
libswscale 5. 7.100 / 5. 7.100
libswresample 3. 7.100 / 3. 7.100
libpostproc 55. 7.100 / 55. 7.100
Input #0, flac, from '01 - Warheads.flac':
Metadata:
artist : Extreme
album : III Sides to Every Story
genre : POCM-1001
date : 1992
title : Warheads
album_artist : Extreme
comment : ExactAudioCopy v1.6
discId : C311DA0E
track : 1
totaltracks : 14
tracktotal : 14
disc : 1
disctotal : 1
Duration: 00:05:18.60, start: 0.000000, bitrate: 967 kb/s
Stream #0:0: Audio: flac, 44100 Hz, stereo, s16
At least one output file must be specified


Last ten log file lines:

4/14/21 1:23:56 PM EDT] INFO TranscodeInputStream Starting transcoder: /usr/syno/synoman/webman/3rdparty/subsonic/transcode/ffmpeg -i /var/services/homes/fausto/Fausto-Down/holding /Extreme (1992) - III Sides To Every Story [POCM-1001] 2CD Japan Promo/CD/03 - Politicalamity.flac -map 0:0 -b:a 128k -v 0 -f mp3 -
[4/14/21 1:23:56 PM EDT] INFO TranscodeInputStream Starting transcoder: /usr/syno/synoman/webman/3rdparty/subsonic/transcode/ffmpeg -i /var/services/homes/fausto/Fausto-Down/holding /Extreme (1992) - III Sides To Every Story [POCM-1001] 2CD Japan Promo/CD/06 - Peacemaker Die.flac -map 0:0 -b:a 128k -v 0 -f mp3 -
[4/14/21 1:23:56 PM EDT] WARN RESTFilter Error in REST API: EofException
[4/14/21 1:23:56 PM EDT] ERROR JAXBWriter Failed to marshal JAXB
[4/14/21 1:23:56 PM EDT] ERROR RESTFilter Failed to write error response.
[4/14/21 1:23:57 PM EDT] INFO TranscodeInputStream Starting transcoder: /usr/syno/synoman/webman/3rdparty/subsonic/transcode/ffmpeg -i /var/services/homes/fausto/Fausto-Down/holding /Extreme (1992) - III Sides To Every Story [POCM-1001] 2CD Japan Promo/CD/03 - Politicalamity.flac -map 0:0 -b:a 128k -v 0 -f mp3 -
[4/14/21 1:23:57 PM EDT] WARN RESTFilter Error in REST API: EofException
[4/14/21 1:23:57 PM EDT] ERROR JAXBWriter Failed to marshal JAXB
coacharnold
 
Posts: 24
Joined: Mon Sep 10, 2012 11:50 pm

Re: Transcode Error - updated log file

Postby zfl » Wed Dec 08, 2021 6:00 pm

I believe I am having a similar problem.

I am using the Windows version on Windows Server 2016 but the problem is the same.

The symptoms are that while using either the web browser or official Android app the songs appears to go through the transcoder but nothing is actually transcoded and there's a 0 byte file ended up in the cache (directory designated through app on phone).

Some songs work, most seem not to.

This is shown in the log as well with no apparent error. Is there a way to turn up the logging perhaps?

Example:
[2021-12-08 09:53:58,342] INFO TranscodeInputStream - Starting transcoder: c:\subsonic\transcode\ffmpeg -i f:\Shares\media\music\Dave Matthews Band\2001 - Everyday\01 - I Did It.m4a -map 0:0 -b:a 320k -v 0 -f mp3 -
[2021-12-08 09:54:03,983] INFO TranscodeInputStream - Starting transcoder: c:\subsonic\transcode\ffmpeg -i f:\Shares\media\music\Dave Matthews Band\2001 - Everyday\02 - When The World Ends.m4a -map 0:0 -b:a 320k -v 0 -f mp3 -
[2021-12-08 09:54:09,035] INFO TranscodeInputStream - Starting transcoder: c:\subsonic\transcode\ffmpeg -i f:\Shares\media\music\Dave Matthews Band\2001 - Everyday\03 - The Space Between.m4a -map 0:0 -b:a 320k -v 0 -f mp3 -
zfl
 
Posts: 3
Joined: Wed Dec 08, 2021 4:09 pm

Re: Transcode Error - updated log file

Postby zfl » Wed Dec 08, 2021 6:49 pm

Fix for me was turning off transcoding. May not be ideal and I may run into bandwidth/data plan issues on my mobile but at least it 'works'. See viewtopic.php?f=2&t=18773&p=78866#p78866
zfl
 
Posts: 3
Joined: Wed Dec 08, 2021 4:09 pm

Re: Transcode Error - updated log file

Postby thechez » Thu Apr 21, 2022 3:48 pm

I am also running into issues (have been for years) and have never really figured out a solution.
In my log it's telling me something like this:
[2022-04-20 18:39:30,135] INFO TranscodeInputStream - Starting transcoder: /xxxx/.qpkg/QSubSonic/transcode/avconv -i /xxxx/Compilations/Daptone Gold/22 The Stroll Part.2 (With The Mellomatics).m4a -b 320k -q 0 -loglevel error -f mp3
[2022-04-20 18:39:30,143] WARN TranscodingService - Failed to transcode The Stroll Part.2 (With The Mellomatics). Using original.
java.io.IOException: Cannot run program "/xxxx/.qpkg/QSubSonic/transcode/avconv": error=13, Permission denied
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048)
at net.sourceforge.subsonic.io.TranscodeInputStream.<init>(TranscodeInputStream.java:43)
at net.sourceforge.subsonic.service.TranscodingService.createTranscodeInputStream(TranscodingService.java:349)
at net.sourceforge.subsonic.service.TranscodingService.createTranscodedInputStream(TranscodingService.java:261)
at net.sourceforge.subsonic.service.TranscodingService.getTranscodedInputStream(TranscodingService.java:219)
at net.sourceforge.subsonic.io.PlayQueueInputStream.prepare(PlayQueueInputStream.java:110)
at net.sourceforge.subsonic.io.PlayQueueInputStream.read(PlayQueueInputStream.java:67)
at net.sourceforge.subsonic.io.PlayQueueInputStream.read(PlayQueueInputStream.java:62)
at net.sourceforge.subsonic.controller.StreamController.handleRequest(StreamController.java:217)
at net.sourceforge.subsonic.controller.StreamController.handleRequest(StreamController.java:66)
at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:875)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:807)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:571)
at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:501)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1093)
at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:265)
at org.acegisecurity.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:107)
at org.acegisecurity.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:72)
at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
at org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:166)
at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125)
at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
at org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:142)
at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
at org.acegisecurity.wrapper.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:81)
at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
at org.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter(BasicProcessingFilter.java:173)
at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271)
at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
at org.acegisecurity.ui.logout.LogoutFilter.doFilter(LogoutFilter.java:110)
at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249)
at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
at org.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.java:149)
at org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:98)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
at net.sourceforge.subsonic.filter.RequestEncodingFilter.doFilter(RequestEncodingFilter.java:25)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
at net.sourceforge.subsonic.filter.ParameterDecodingFilter.doFilter(ParameterDecodingFilter.java:36)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
at net.sourceforge.subsonic.filter.BootstrapVerificationFilter.doFilter(BootstrapVerificationFilter.java:41)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360)
at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:712)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)
at org.mortbay.jetty.Server.handle(Server.java:313)
at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:506)
at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:830)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:514)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:381)
at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:396)
at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:442)
Caused by: java.io.IOException: error=13, Permission denied
at java.lang.UNIXProcess.forkAndExec(Native Method)
at java.lang.UNIXProcess.<init>(UNIXProcess.java:247)
at java.lang.ProcessImpl.start(ProcessImpl.java:134)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)
... 61 more

I have my transcoding set up as follows:
For any file format other than FLAC: avconv -i %s -b %bk -q 0 -loglevel error -f mp3
For FLAC files: Step 1: flac –silent –decode –stdout %s Step 2: lame –silent -h -b %b –
Downsampling: ffmpeg -i %s -map 0:0 -b:a %bk -v 0 -f mp3 -

Any ideas as to how to remedy this? My permissions are set for 777. It SHOULD be able to access anything.
thechez
 
Posts: 11
Joined: Sun Dec 28, 2014 2:43 am


Return to Help

Who is online

Users browsing this forum: No registered users and 15 guests