Page 1 of 1

Some errors (wav, m4a, parsing tags) (4.6)

PostPosted: Tue Jan 10, 2012 5:03 pm
by Archimede333
Hello,
I have installed a Subsonic v4.6 on my QNAP. This sofware is pretty cool, but I have some problem :/

But, when I want to play wav and m4a I have this errors :

[10/01/12 16:45:07 GMT] WARN JaudiotaggerParser Error when parsing tags in /share/Multimedia/Musiques/NRJ Hits 2011, Vol. 2/NRJ Hits 2011, Vol. 2 Disc 1/05 Distress (Sending out an SOS).wav
[10/01/12 16:45:07 GMT] WARN JaudiotaggerParser Error when parsing tags in /share/Multimedia/Musiques/NRJ Hits 2011, Vol. 2/NRJ Hits 2011, Vol. 2 Disc 1/08 Baci.wav
[10/01/12 16:45:07 GMT] WARN JaudiotaggerParser Error when parsing tags in /share/Multimedia/Musiques/NRJ Hits 2011, Vol. 2/NRJ Hits 2011, Vol. 2 Disc 1/13 Electric Violin.wav
[10/01/12 16:45:07 GMT] WARN JaudiotaggerParser Error when parsing tags in /share/Multimedia/Musiques/NRJ Hits 2011, Vol. 2/NRJ Hits 2011, Vol. 2 Disc 1/06 Il Nous Faut.wav
[10/01/12 16:45:11 GMT] DEBUG InputStreamReaderThread (/share/HDA_DATA/.qpkg/Subsonic/home/transcode/lame) fatal error: can't update LAME-tag frame!
[10/01/12 16:45:19 GMT] WARN StreamController Unknown duration for /share/Multimedia/Musiques/NRJ Hits 2011, Vol. 2/NRJ Hits 2011, Vol. 2 Disc 1/13 Electric Violin.wav. Unable to estimate transcoded size.
[10/01/12 16:45:19 GMT] INFO PlaylistInputStream admin listening to "NRJ Hits 2011, Vol. 2 Disc 1/13 Electric Violin.wav"
[10/01/12 16:45:19 GMT] DEBUG TranscodeInputStream Starting transcoder: [/share/HDA_DATA/.qpkg/Subsonic/home/transcode/ffmpeg] [-i] [/share/Multimedia/Musiques/NRJ Hits 2011, Vol. 2/NRJ Hits 2011, Vol. 2 Disc 1/13 Electric Violin.wav] [-ab] [128k] [-v] [0] [-f] [mp3] [-]
[10/01/12 16:45:19 GMT] DEBUG InputStreamReaderThread (/share/HDA_DATA/.qpkg/Subsonic/home/transcode/ffmpeg) FFmpeg version UNKNOWN, Copyright (c) 2000-2008 Fabrice Bellard, et al.
[10/01/12 16:45:19 GMT] DEBUG InputStreamReaderThread (/share/HDA_DATA/.qpkg/Subsonic/home/transcode/ffmpeg) configuration: --enable-cross-compile --cross-prefix=/home/slug/optware/ts509/toolchain/i686-unknown-linux-gnu/bin/i686-unknown-linux-gnu- --arch=i686 --disable-encoder=snow --disable-decoder=snow --enable-shared --disable-static --enable-gpl --enable-postproc --prefix=/opt
[10/01/12 16:45:19 GMT] DEBUG InputStreamReaderThread (/share/HDA_DATA/.qpkg/Subsonic/home/transcode/ffmpeg) libavutil version: 49.6.0
[10/01/12 16:45:19 GMT] DEBUG InputStreamReaderThread (/share/HDA_DATA/.qpkg/Subsonic/home/transcode/ffmpeg) libavcodec version: 51.54.0
[10/01/12 16:45:19 GMT] DEBUG InputStreamReaderThread (/share/HDA_DATA/.qpkg/Subsonic/home/transcode/ffmpeg) libavformat version: 52.13.0
[10/01/12 16:45:19 GMT] DEBUG InputStreamReaderThread (/share/HDA_DATA/.qpkg/Subsonic/home/transcode/ffmpeg) libavdevice version: 52.0.0
[10/01/12 16:45:19 GMT] DEBUG InputStreamReaderThread (/share/HDA_DATA/.qpkg/Subsonic/home/transcode/ffmpeg) built on Nov 24 2010 00:00:06, gcc: 4.2.1
[10/01/12 16:45:19 GMT] DEBUG InputStreamReaderThread (/share/HDA_DATA/.qpkg/Subsonic/home/transcode/ffmpeg) Input #0, wav, from '/share/Multimedia/Musiques/NRJ Hits 2011, Vol. 2/NRJ Hits 2011, Vol. 2 Disc 1/13 Electric Violin.wav':
[10/01/12 16:45:19 GMT] DEBUG InputStreamReaderThread (/share/HDA_DATA/.qpkg/Subsonic/home/transcode/ffmpeg) Duration: 00:02:57.4, bitrate: 1411 kb/s
[10/01/12 16:45:19 GMT] DEBUG InputStreamReaderThread (/share/HDA_DATA/.qpkg/Subsonic/home/transcode/ffmpeg) Stream #0.0: Audio: pcm_s16le, 44100 Hz, stereo, 1411 kb/s
[10/01/12 16:45:19 GMT] DEBUG InputStreamReaderThread (/share/HDA_DATA/.qpkg/Subsonic/home/transcode/ffmpeg) Stream mapping:
[10/01/12 16:45:19 GMT] DEBUG InputStreamReaderThread (/share/HDA_DATA/.qpkg/Subsonic/home/transcode/ffmpeg) Stream #0.0 -> #0.0
[10/01/12 16:45:19 GMT] DEBUG InputStreamReaderThread (/share/HDA_DATA/.qpkg/Subsonic/home/transcode/ffmpeg) Unsupported codec for output stream #0.0
[10/01/12 16:47:37 GMT] INFO PlaylistInputStream Alexandre listening to "Doo-Wops & Hooligans/07 Talking To The Moon.mp3"
[10/01/12 16:47:37 GMT] DEBUG TranscodeInputStream Starting transcoder: [/share/HDA_DATA/.qpkg/Subsonic/home/transcode/lame] [-S] [-h] [--resample] [44.1] [-b] [128] [--tt] [Talking To The Moon] [--ta] [Bruno Mars] [--tl] [Doo-Wops & Hooligans] [/share/Multimedia/Musiques/Bruno Mars/Doo-Wops & Hooligans/07 Talking To The Moon.mp3] [-]
[10/01/12 16:48:59 GMT] DEBUG InputStreamReaderThread (/share/HDA_DATA/.qpkg/Subsonic/home/transcode/lame) fatal error: can't update LAME-tag frame!
[10/01/12 16:51:17 GMT] INFO PlaylistInputStream Alexandre listening to "Doo-Wops & Hooligans/08 Liquor Store Blues (feat. Damian.mp3"
[10/01/12 16:51:17 GMT] DEBUG TranscodeInputStream Starting transcoder: [/share/HDA_DATA/.qpkg/Subsonic/home/transcode/lame] [-S] [-h] [--resample] [44.1] [-b] [128] [--tt] [Liquor Store Blues (feat. Damian Marley)] [--ta] [Bruno Mars] [--tl] [Doo-Wops & Hooligans] [/share/Multimedia/Musiques/Bruno Mars/Doo-Wops & Hooligans/08 Liquor Store Blues (feat. Damian.mp3] [-]
[10/01/12 16:52:41 GMT] DEBUG InputStreamReaderThread (/share/HDA_DATA/.qpkg/Subsonic/home/transcode/lame) fatal error: can't update LAME-tag frame!
[10/01/12 16:55:09 GMT] INFO PlaylistInputStream Alexandre listening to "Doo-Wops & Hooligans/09 Count On Me.mp3"
[10/01/12 16:55:09 GMT] DEBUG TranscodeInputStream Starting transcoder: [/share/HDA_DATA/.qpkg/Subsonic/home/transcode/lame] [-S] [-h] [--resample] [44.1] [-b] [128] [--tt] [Count On Me] [--ta] [Bruno Mars] [--tl] [Doo-Wops & Hooligans] [/share/Multimedia/Musiques/Bruno Mars/Doo-Wops & Hooligans/09 Count On Me.mp3] [-]
[10/01/12 16:55:20 GMT] INFO PlaylistInputStream admin listening to "Sexy Boy - Single/01 Sexy Boy.m4a"
[10/01/12 16:55:20 GMT] DEBUG TranscodeInputStream Starting transcoder: [/share/HDA_DATA/.qpkg/Subsonic/home/transcode/ffmpeg] [-i] [/share/Multimedia/Musiques/The Fallen Angels/Sexy Boy - Single/01 Sexy Boy.m4a] [-ab] [128k] [-v] [0] [-f] [mp3] [-]
[10/01/12 16:55:20 GMT] DEBUG InputStreamReaderThread (/share/HDA_DATA/.qpkg/Subsonic/home/transcode/ffmpeg) FFmpeg version UNKNOWN, Copyright (c) 2000-2008 Fabrice Bellard, et al.
[10/01/12 16:55:20 GMT] DEBUG InputStreamReaderThread (/share/HDA_DATA/.qpkg/Subsonic/home/transcode/ffmpeg) configuration: --enable-cross-compile --cross-prefix=/home/slug/optware/ts509/toolchain/i686-unknown-linux-gnu/bin/i686-unknown-linux-gnu- --arch=i686 --disable-encoder=snow --disable-decoder=snow --enable-shared --disable-static --enable-gpl --enable-postproc --prefix=/opt
[10/01/12 16:55:20 GMT] DEBUG InputStreamReaderThread (/share/HDA_DATA/.qpkg/Subsonic/home/transcode/ffmpeg) libavutil version: 49.6.0
[10/01/12 16:55:20 GMT] DEBUG InputStreamReaderThread (/share/HDA_DATA/.qpkg/Subsonic/home/transcode/ffmpeg) libavcodec version: 51.54.0
[10/01/12 16:55:20 GMT] DEBUG InputStreamReaderThread (/share/HDA_DATA/.qpkg/Subsonic/home/transcode/ffmpeg) libavformat version: 52.13.0
[10/01/12 16:55:20 GMT] DEBUG InputStreamReaderThread (/share/HDA_DATA/.qpkg/Subsonic/home/transcode/ffmpeg) libavdevice version: 52.0.0
[10/01/12 16:55:20 GMT] DEBUG InputStreamReaderThread (/share/HDA_DATA/.qpkg/Subsonic/home/transcode/ffmpeg) built on Nov 24 2010 00:00:06, gcc: 4.2.1
[10/01/12 16:55:20 GMT] DEBUG InputStreamReaderThread (/share/HDA_DATA/.qpkg/Subsonic/home/transcode/ffmpeg) Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/share/Multimedia/Musiques/The Fallen Angels/Sexy Boy - Single/01 Sexy Boy.m4a':
[10/01/12 16:55:20 GMT] DEBUG InputStreamReaderThread (/share/HDA_DATA/.qpkg/Subsonic/home/transcode/ffmpeg) Duration: 00:03:55.7, start: 0.000000, bitrate: 324 kb/s
[10/01/12 16:55:20 GMT] DEBUG InputStreamReaderThread (/share/HDA_DATA/.qpkg/Subsonic/home/transcode/ffmpeg) Stream #0.0(und): Audio: mp4a / 0x6134706D, 44100 Hz, stereo
[10/01/12 16:55:20 GMT] DEBUG InputStreamReaderThread (/share/HDA_DATA/.qpkg/Subsonic/home/transcode/ffmpeg) Stream mapping:
[10/01/12 16:55:20 GMT] DEBUG InputStreamReaderThread (/share/HDA_DATA/.qpkg/Subsonic/home/transcode/ffmpeg) Stream #0.0 -> #0.0
[10/01/12 16:55:20 GMT] DEBUG InputStreamReaderThread (/share/HDA_DATA/.qpkg/Subsonic/home/transcode/ffmpeg) Unsupported codec for output stream #0.0


I would like to solve "InputStreamReaderThread" and "JaudiotaggerParser" errors.

Thanks a lot for your help.

Re: Some errors (wav, m4a, parsing tags) (4.6)

PostPosted: Tue Jan 10, 2012 5:41 pm
by BKKKPewsey
The only errors that I can see are from the wav files.
What program are you using to tag them?
:mrgreen:

Re: Some errors (wav, m4a, parsing tags) (4.6)

PostPosted: Tue Jan 10, 2012 6:01 pm
by Archimede333
I used Windows Media Player for rip my CD, it tag automatically my files.

You see only error ? :/
But, why I don't play m4a file ? :(

Re: Some errors (wav, m4a, parsing tags) (4.6)

PostPosted: Tue Jan 10, 2012 7:50 pm
by BKKKPewsey
You failed to mention in your 1st post that the files didn't play!

I would suggest you try to play those files in another media player.
I just did a test by ripping a couple of tracks to WAV lossless with WMP.
To say that the results was less than satisfactory would be an understatement :roll:
Even WMP couldn't play them OK without a lot of skipping etc
However they did play in SS (badly)

Can you play any transcoded file eg not a mp3 or flv?

:mrgreen:

Re: Some errors (wav, m4a, parsing tags) (4.6)

PostPosted: Tue Jan 10, 2012 8:59 pm
by Archimede333
I thought that with the log, that would have is enough to see the errors. But I think that I didn't well express myself, and I bgin again my explications ;)

I have recently installed Subsonic on my NAS QNAP, and I cannot play .wav and .m4a files (with flash player into SS). I obtain presents errors in the log above (ffmpeg errors). I have also too erreur "Parser Error when parsing tags".

After your post, I have tested to listening .wav with another player (Windows Media Player). Obviously, it doesn't work because FFmpeg doesn't manage to encode files.

I come to read the .mp3 files ;)

Thank you for your help ;)

Re: Some errors (wav, m4a, parsing tags) (4.6)

PostPosted: Tue Jan 10, 2012 10:09 pm
by BKKKPewsey
I think we are having problems here with the translation :?

Are you saying that WMP cannot play the file that IT created.
WMP does not need FFmpeg it has its own codecs

Download a flac or ogg test file from the internet and see if subsonic can play it.
If it cannot you may have a problem with your transcode directory.

Also check to see if you can play videos (non flv)

:mrgreen:

Re: Some errors (wav, m4a, parsing tags) (4.6)

PostPosted: Wed Jan 11, 2012 6:04 pm
by Archimede333
Sorry for my translation:/

BKKKPewsey wrote:Are you saying that WMP cannot play the file that IT created.
WMP does not need FFmpeg it has its own codecs


Yesterday, I tryed to play .wav by using "external player" configuration of Subsonic ;).
WMP reads perfectly .wav file that it created.

I followed your advice and I can't play .ogg file and video (.mp4).

Log for .ogg file :
[11/01/12 18:00:16 GMT] DEBUG TranscodeInputStream Starting transcoder: [/share/HDA_DATA/.qpkg/Subsonic/home/transcode/ffmpeg] [-i] [/share/Multimedia/Musiques/01 - Injustice.ogg] [-ab] [128k] [-v] [0] [-f] [mp3] [-]
[11/01/12 18:00:16 GMT] DEBUG InputStreamReaderThread (/share/HDA_DATA/.qpkg/Subsonic/home/transcode/ffmpeg) FFmpeg version UNKNOWN, Copyright (c) 2000-2008 Fabrice Bellard, et al.
[11/01/12 18:00:16 GMT] DEBUG InputStreamReaderThread (/share/HDA_DATA/.qpkg/Subsonic/home/transcode/ffmpeg) configuration: --enable-cross-compile --cross-prefix=/home/slug/optware/ts509/toolchain/i686-unknown-linux-gnu/bin/i686-unknown-linux-gnu- --arch=i686 --disable-encoder=snow --disable-decoder=snow --enable-shared --disable-static --enable-gpl --enable-postproc --prefix=/opt
[11/01/12 18:00:16 GMT] DEBUG InputStreamReaderThread (/share/HDA_DATA/.qpkg/Subsonic/home/transcode/ffmpeg) libavutil version: 49.6.0
[11/01/12 18:00:16 GMT] DEBUG InputStreamReaderThread (/share/HDA_DATA/.qpkg/Subsonic/home/transcode/ffmpeg) libavcodec version: 51.54.0
[11/01/12 18:00:16 GMT] DEBUG InputStreamReaderThread (/share/HDA_DATA/.qpkg/Subsonic/home/transcode/ffmpeg) libavformat version: 52.13.0
[11/01/12 18:00:16 GMT] DEBUG InputStreamReaderThread (/share/HDA_DATA/.qpkg/Subsonic/home/transcode/ffmpeg) libavdevice version: 52.0.0
[11/01/12 18:00:16 GMT] DEBUG InputStreamReaderThread (/share/HDA_DATA/.qpkg/Subsonic/home/transcode/ffmpeg) built on Nov 24 2010 00:00:06, gcc: 4.2.1
[11/01/12 18:00:16 GMT] DEBUG InputStreamReaderThread (/share/HDA_DATA/.qpkg/Subsonic/home/transcode/ffmpeg) Input #0, ogg, from '/share/Multimedia/Musiques/01 - Injustice.ogg':
[11/01/12 18:00:16 GMT] DEBUG InputStreamReaderThread (/share/HDA_DATA/.qpkg/Subsonic/home/transcode/ffmpeg) Duration: 00:02:51.0, start: 0.338141, bitrate: 185 kb/s
[11/01/12 18:00:16 GMT] DEBUG InputStreamReaderThread (/share/HDA_DATA/.qpkg/Subsonic/home/transcode/ffmpeg) Stream #0.0: Audio: vorbis, 44100 Hz, stereo, 224 kb/s
[11/01/12 18:00:16 GMT] DEBUG InputStreamReaderThread (/share/HDA_DATA/.qpkg/Subsonic/home/transcode/ffmpeg) Stream mapping:
[11/01/12 18:00:16 GMT] DEBUG InputStreamReaderThread (/share/HDA_DATA/.qpkg/Subsonic/home/transcode/ffmpeg) Stream #0.0 -> #0.0
[11/01/12 18:00:16 GMT] DEBUG InputStreamReaderThread (/share/HDA_DATA/.qpkg/Subsonic/home/transcode/ffmpeg) Unsupported codec for output stream #0.0


Log for .mp4 file :
[11/01/12 18:01:05 GMT] DEBUG TranscodeInputStream Starting transcoder: [/share/HDA_DATA/.qpkg/Subsonic/home/transcode/ffmpeg] [-ss] [0] [-i] [/share/Multimedia/Musiques/30_Seconds_to_Mars_-_Hurricane.mp4] [-async] [1] [-b] [1000k] [-s] [400x224] [-ar] [44100] [-ac] [2] [-v] [0] [-f] [flv] [-vcodec] [libx264] [-preset] [superfast] [-threads] [0] [-]
[11/01/12 18:01:05 GMT] DEBUG InputStreamReaderThread (/share/HDA_DATA/.qpkg/Subsonic/home/transcode/ffmpeg) FFmpeg version UNKNOWN, Copyright (c) 2000-2008 Fabrice Bellard, et al.
[11/01/12 18:01:05 GMT] DEBUG InputStreamReaderThread (/share/HDA_DATA/.qpkg/Subsonic/home/transcode/ffmpeg) configuration: --enable-cross-compile --cross-prefix=/home/slug/optware/ts509/toolchain/i686-unknown-linux-gnu/bin/i686-unknown-linux-gnu- --arch=i686 --disable-encoder=snow --disable-decoder=snow --enable-shared --disable-static --enable-gpl --enable-postproc --prefix=/opt
[11/01/12 18:01:05 GMT] DEBUG InputStreamReaderThread (/share/HDA_DATA/.qpkg/Subsonic/home/transcode/ffmpeg) libavutil version: 49.6.0
[11/01/12 18:01:05 GMT] DEBUG InputStreamReaderThread (/share/HDA_DATA/.qpkg/Subsonic/home/transcode/ffmpeg) libavcodec version: 51.54.0
[11/01/12 18:01:05 GMT] DEBUG InputStreamReaderThread (/share/HDA_DATA/.qpkg/Subsonic/home/transcode/ffmpeg) libavformat version: 52.13.0
[11/01/12 18:01:05 GMT] DEBUG InputStreamReaderThread (/share/HDA_DATA/.qpkg/Subsonic/home/transcode/ffmpeg) libavdevice version: 52.0.0
[11/01/12 18:01:05 GMT] DEBUG InputStreamReaderThread (/share/HDA_DATA/.qpkg/Subsonic/home/transcode/ffmpeg) built on Nov 24 2010 00:00:06, gcc: 4.2.1
[11/01/12 18:01:05 GMT] DEBUG InputStreamReaderThread (/share/HDA_DATA/.qpkg/Subsonic/home/transcode/ffmpeg) Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/share/Multimedia/Musiques/30_Seconds_to_Mars_-_Hurricane.mp4':
[11/01/12 18:01:05 GMT] DEBUG InputStreamReaderThread (/share/HDA_DATA/.qpkg/Subsonic/home/transcode/ffmpeg) Duration: 00:13:08.4, start: 0.000000, bitrate: 262 kb/s
[11/01/12 18:01:05 GMT] DEBUG InputStreamReaderThread (/share/HDA_DATA/.qpkg/Subsonic/home/transcode/ffmpeg) Stream #0.0(und): Video: h264, yuv420p, 400x224, 25.00 tb(r)
[11/01/12 18:01:05 GMT] DEBUG InputStreamReaderThread (/share/HDA_DATA/.qpkg/Subsonic/home/transcode/ffmpeg) Stream #0.1(und): Audio: mp4a / 0x6134706D, 44100 Hz, stereo
[11/01/12 18:01:05 GMT] DEBUG InputStreamReaderThread (/share/HDA_DATA/.qpkg/Subsonic/home/transcode/ffmpeg) /share/HDA_DATA/.qpkg/Subsonic/home/transcode/ffmpeg: unrecognized option '-preset'


I used a default configuration for encode my files :
  • Music
    Code: Select all
    ffmpeg -i %s -ab %bk -v 0 -f mp3 -
  • Video
    Code: Select all
    ffmpeg -ss %o -i %s -async 1 -b %bk -s %wx%h -ar 44100 -ac 2 -v 0 -f flv -vcodec libx264 -preset superfast -threads 0 -

Re: Some errors (wav, m4a, parsing tags) (4.6)

PostPosted: Wed Jan 11, 2012 6:49 pm
by BKKKPewsey
I do not like the look of those "UNKNOWN" flags in the log and its obvious that the transcoding isn't working.
You may have to wait for someone familiar with your hardware / OS to help further :(

Re: Some errors (wav, m4a, parsing tags) (4.6)

PostPosted: Wed Jan 11, 2012 7:08 pm
by Archimede333
Thank you for your help.

I am going to post my problem on the forum of QNAP ;)

Re: Some errors (wav, m4a, parsing tags) (4.6)

PostPosted: Thu Jan 12, 2012 7:42 pm
by sl1000
Is the wav issue you are experiencing not the same as: viewtopic.php?f=2&t=8533?
Transforming music with wav as an intermediate is therefore not working. Downgrading to version 4.5 fixes it. (qpkg is downloadable from the same topic on the qnap forum)

Re: Some errors (wav, m4a, parsing tags) (4.6)

PostPosted: Sun Jan 15, 2012 2:57 pm
by Archimede333
Hi,
After downgraded Subsonic (4.6 to 4.5), I could play wav, ogg, flac (etc.) and videos files. After having seen transcoding parameters, I reinstalled Subsonic 4.6, and added transcoding steps from v4.5 for wav, ogg, flac, wma and mpc files.

Step 1 :
ffmpeg -i %s -v 0 -f wav -


Step 2 :
lame -b %b --tt %t --ta %a --tl %l -S --resample 44.1 - -


However, I can't play video (I don't use Subsonic for it). Subsonic works verry well ;).

Thank you for your help.