Page 1 of 1

Transcoding Expert Wanted

PostPosted: Sun Sep 16, 2012 11:49 am
by PieterB
After installing R4.7, transcoding .wma lossless didn't work at all. I replaced the FFMPEG & LAME decoders with the most recent ones. That worked. It appeared that the FFMPEG replacement was essential.
One of the effects of an older LAME&FFMPEG was a terrible hiss when changing tracks. That happened with the last 4.7 beta.

Looking at the log file, as mentioned before, there's a long list of 'invalid dropings'. Though the sound quality is OK, something seems to be wrong here.
I used the recommended transcoding string: ffmpeg -i %s -ab 192k -v 0 -f mp3 -
And now using the recommended string from http://sourceforge.net/apps/mediawiki/subsonic/index.php?title=Transcoders#Transcoding_to_MP3: ffmpeg -i %s -acodec libmp3lame -ab 192k -f mp3 -

In both cases the 'invalid dropings' appear in the log.

Does anybody have an explanation?

This is the log, stripped from all the 'invalid dropings'

Code: Select all
[2012-09-16 13:22:27,718] INFO PlayQueueInputStream - PieterB listening to "Leaving Home\01 Leaving Home David Berkman Leaving Home.wma"
[2012-09-16 13:22:27,750] DEBUG TranscodeInputStream - Starting transcoder: [c:\subsonic\transcode\ffmpeg] [-i] [\\NasLite-11\Disk-2\Music\David Berkman\Leaving Home\01 Leaving Home David Berkman Leaving Home.wma] [-acodec] [libmp3lame] [-ab] [192k] [-f] [mp3] [-]
[2012-09-16 13:22:28,875] INFO PlayQueueInputStream - PieterB listening to "Leaving Home\01 Leaving Home David Berkman Leaving Home.wma"
[2012-09-16 13:22:28,890] DEBUG TranscodeInputStream - Starting transcoder: [c:\subsonic\transcode\ffmpeg] [-i] [\\NasLite-11\Disk-2\Music\David Berkman\Leaving Home\01 Leaving Home David Berkman Leaving Home.wma] [-acodec] [libmp3lame] [-ab] [192k] [-f] [mp3] [-]
[2012-09-16 13:22:29,812] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\ffmpeg) ffmpeg version N-38622-g1eabd71 Copyright (c) 2000-2012 the FFmpeg developers
[2012-09-16 13:22:29,812] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\ffmpeg)   built on Mar  7 2012 00:18:03 with gcc 4.6.2
[2012-09-16 13:22:29,812] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\ffmpeg)   configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-runtime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libfreetype --enable-libgsm --enable-libmp3lame --enable-libopenjpeg --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib
[2012-09-16 13:22:29,812] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\ffmpeg)   libavutil      51. 42.100 / 51. 42.100
[2012-09-16 13:22:29,812] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\ffmpeg)   libavcodec     54. 10.100 / 54. 10.100
[2012-09-16 13:22:29,812] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\ffmpeg)   libavformat    54.  2.100 / 54.  2.100
[2012-09-16 13:22:29,812] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\ffmpeg)   libavdevice    53.  4.100 / 53.  4.100
[2012-09-16 13:22:29,812] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\ffmpeg)   libavfilter     2. 63.100 /  2. 63.100
[2012-09-16 13:22:29,812] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\ffmpeg)   libswscale      2.  1.100 /  2.  1.100
[2012-09-16 13:22:29,812] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\ffmpeg)   libswresample   0.  7.100 /  0.  7.100
[2012-09-16 13:22:29,812] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\ffmpeg)   libpostproc    52.  0.100 / 52.  0.100
[2012-09-16 13:22:29,812] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\ffmpeg) Input #0, asf, from '\\NasLite-11\Disk-2\Music\David Berkman\Leaving Home\01 Leaving Home David Berkman Leaving Home.wma':
[2012-09-16 13:22:29,812] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\ffmpeg)   Metadata:
[2012-09-16 13:22:29,812] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\ffmpeg)     title           : Leaving Home
[2012-09-16 13:22:29,812] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\ffmpeg)     artist          : David Berkman
[2012-09-16 13:22:29,812] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\ffmpeg)     WM/MediaPrimaryClassID: {D1607DBC-E323-4BE2-86A1-48A42A28441E}
[2012-09-16 13:22:29,812] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\ffmpeg)     WMFSDKVersion   : 11.0.5721.5251
[2012-09-16 13:22:29,812] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\ffmpeg)     WMFSDKNeeded    : 0.0.0.0000
[2012-09-16 13:22:29,812] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\ffmpeg)     IsVBR           : 1
[2012-09-16 13:22:29,812] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\ffmpeg)     WM/Year         : 2002
[2012-09-16 13:22:29,812] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\ffmpeg)     WM/EncodingTime : 18446744à­?? ®??À®??à®??`°?? °?? °?? ±???
[2012-09-16 13:22:29,812] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\ffmpeg)     WM/UniqueFileIdentifier: AMGa_id=R   578480;AMGp_id=P   148039;AMGt_id=T  5430303
[2012-09-16 13:22:29,812] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\ffmpeg)     composer        : David Berkman
[2012-09-16 13:22:29,812] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\ffmpeg)     publisher       : Palmetto
[2012-09-16 13:22:29,812] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\ffmpeg)     genre           : Jazz
[2012-09-16 13:22:29,812] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\ffmpeg)     album           : Leaving Home
[2012-09-16 13:22:29,812] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\ffmpeg)     album_artist    : David Berkman
[2012-09-16 13:22:29,812] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\ffmpeg)     WM/Provider     : AMG
[2012-09-16 13:22:29,812] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\ffmpeg)     WM/ProviderRating: 4
[2012-09-16 13:22:29,812] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\ffmpeg)     WM/ProviderStyle: Jazz
[2012-09-16 13:22:29,812] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\ffmpeg)     PeakValue       : 2857
[2012-09-16 13:22:29,812] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\ffmpeg)     AverageLevel    : 4219
[2012-09-16 13:22:29,812] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\ffmpeg)     track           : 1
[2012-09-16 13:22:29,812] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\ffmpeg)   Duration: 00:05:14.79, start: 0.000000, bitrate: 731 kb/s
[2012-09-16 13:22:29,812] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\ffmpeg)     Stream #0:0(eng): Audio: wmalossless (c[1][0][0] / 0x0163), 44100 Hz, stereo, s16, 1152 kb/s
[2012-09-16 13:22:29,812] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\ffmpeg) Output #0, mp3, to 'pipe:':
[2012-09-16 13:22:29,812] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\ffmpeg)   Metadata:
[2012-09-16 13:22:29,812] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\ffmpeg)     TIT2            : Leaving Home
[2012-09-16 13:22:29,812] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\ffmpeg)     TPE1            : David Berkman
[2012-09-16 13:22:29,812] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\ffmpeg)     WM/MediaPrimaryClassID: {D1607DBC-E323-4BE2-86A1-48A42A28441E}
[2012-09-16 13:22:29,812] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\ffmpeg)     WMFSDKVersion   : 11.0.5721.5251
[2012-09-16 13:22:29,812] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\ffmpeg)     WMFSDKNeeded    : 0.0.0.0000
[2012-09-16 13:22:29,812] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\ffmpeg)     IsVBR           : 1
[2012-09-16 13:22:29,812] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\ffmpeg)     WM/Year         : 2002
[2012-09-16 13:22:29,812] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\ffmpeg)     WM/EncodingTime : 18446744à­?? ®??À®??à®??`°?? °?? °?? ±???
[2012-09-16 13:22:29,812] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\ffmpeg)     WM/UniqueFileIdentifier: AMGa_id=R   578480;AMGp_id=P   148039;AMGt_id=T  5430303
[2012-09-16 13:22:29,812] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\ffmpeg)     TCOM            : David Berkman
[2012-09-16 13:22:29,812] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\ffmpeg)     TPUB            : Palmetto
[2012-09-16 13:22:29,812] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\ffmpeg)     TCON            : Jazz
[2012-09-16 13:22:29,812] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\ffmpeg)     TALB            : Leaving Home
[2012-09-16 13:22:29,812] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\ffmpeg)     TPE2            : David Berkman
[2012-09-16 13:22:29,812] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\ffmpeg)     WM/Provider     : AMG
[2012-09-16 13:22:29,812] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\ffmpeg)     WM/ProviderRating: 4
[2012-09-16 13:22:29,812] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\ffmpeg)     WM/ProviderStyle: Jazz
[2012-09-16 13:22:29,812] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\ffmpeg)     PeakValue       : 2857
[2012-09-16 13:22:29,812] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\ffmpeg)     AverageLevel    : 4219
[2012-09-16 13:22:29,812] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\ffmpeg)     TRCK            : 1
[2012-09-16 13:22:29,812] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\ffmpeg)     TSSE            : Lavf54.2.100
[2012-09-16 13:22:29,812] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\ffmpeg)     Stream #0:0(eng): Audio: mp3, 44100 Hz, stereo, s16, 192 kb/s
[2012-09-16 13:22:29,812] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\ffmpeg) Stream mapping:
[2012-09-16 13:22:29,812] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\ffmpeg)   Stream #0:0 -> #0:0 (wmalossless -> libmp3lame)
[2012-09-16 13:22:29,812] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\ffmpeg) Press [q] to stop, [?] for help
[2012-09-16 13:22:29,812] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\ffmpeg) Multiple frames in a packet from stream 0
[2012-09-16 13:22:29,812] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\ffmpeg) DTS 696, next:1020829 st:0 invalid droping
[2012-09-16 13:22:29,812] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\ffmpeg) DTS 835, next:1206585 st:0 invalid droping
[2012-09-16 13:22:29,812] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\ffmpeg) DTS 1021, next:1345902 st:0 invalid droping
[2012-09-16 13:22:29,812] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\ffmpeg) DTS 1206, next:1531658 st:0 invalid droping
[2012-09-16 13:22:29,812] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\ffmpeg) DTS 1393, next:1717414 st:0 invalid droping
[2012-09-16 13:22:29,812] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\ffmpeg) DTS 1578, next:1903170 st:0 invalid droping
[2012-09-16 13:22:29,812] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\ffmpeg) DTS 1717, next:2088926 st:0 invalid droping
[2012-09-16 13:22:29,812] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\ffmpeg) DTS 1903, next:2228243 st:0 invalid droping
[2012-09-16 13:22:29,812] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\ffmpeg) DTS 2089, next:2413999 st:0 invalid droping
[2012-09-16 13:22:29,812] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\ffmpeg) DTS 2228, next:2599755 st:0 invalid droping
[2012-09-16 13:22:29,812] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\ffmpeg) DTS 2414, next:2739072 st:0 invalid droping
[2012-09-16 13:22:29,812] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\ffmpeg) DTS 2600, next:2924828 st:0 invalid droping
[2012-09-16 13:22:29,812] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\ffmpeg) size=      60kB time=00:00:02.53 bitrate= 194.2kbits/s   


Thanks for answering!

Re: Transcoding Expert Wanted

PostPosted: Sun Sep 16, 2012 5:15 pm
by BKKKPewsey
What the hell are "invalid dropings" :shock:
Perhaps it's something you get when playing too many Byrds albums :lol:

My brief testing with different ffmpeg versions usually results in grief - ok got it decode blah files - now wont display videos
and so on....
The best I managed with the latest static builds would decode all my test videos :)
Play all my test audio files :) - unless they were 24 bit (very hit and miss there, flac worked sometimes, wma nope)
Ok so nearly cracked it me thought - then discovered that the audio would work via jukebox but not via web player.
Just silence but no errors in logs :?
If you then start trying to changing the transcoding strings using all the clear and comprehensive documentation available :roll: - even more grief :(
So I would second the request

:mrgreen: