Page 1 of 1

[Solved] Flac transcoding defaults to 128kbps

PostPosted: Thu Apr 26, 2012 7:12 pm
by yarbo
I've recently started re-ripping a lot of my music collection as FLAC so that I have more freedom when streaming. For example, when streaming to work, I like 320kbps, cause I have the available bandwidth both at home and at the office. But when streaming to my Android, I limit the bandwidth to 192kbps, to preserve bandwidth.

However, when looking at the log, it seems to default to 128kbps when transocding flac to mp3 to stream to the office (when I'd rather it use 320kbps).

Here's my log:

Code: Select all
[4/26/12 12:06:23 PM PDT]    DEBUG   TranscodeInputStream   Starting transcoder: [/var/subsonic/transcode/ffmpeg] [-i] [/media/sdc1/music_catalogues/max/X Japan/ART OF LIFE/01 - ART OF LIVE.flac] [-ab] [128k] [-v] [0] [-f] [mp3] [-]
[4/26/12 12:06:24 PM PDT]    DEBUG   InputStreamReaderThread   (/var/subsonic/transcode/ffmpeg) ffmpeg version N-31780-gd5d74cf, Copyright (c) 2000-2011 the FFmpeg developers
[4/26/12 12:06:24 PM PDT]    DEBUG   InputStreamReaderThread   (/var/subsonic/transcode/ffmpeg) built on Aug 9 2011 14:18:27 with gcc 4.5.2
[4/26/12 12:06:24 PM PDT]    DEBUG   InputStreamReaderThread   (/var/subsonic/transcode/ffmpeg) configuration: --disable-ffplay --disable-ffprobe --disable-ffserver --enable-gpl --enable-nonfree --enable-postproc --enable-pthreads --enable-libfaac --enable-libmp3lame --enable-libvpx --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --enable-zlib --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libvpx --enable-version3 --enable-bzlib --enable-static --disable-shared --extra-libs=-static --extra-cflags=--static
[4/26/12 12:06:24 PM PDT]    DEBUG   InputStreamReaderThread   (/var/subsonic/transcode/ffmpeg) libavutil 51. 11. 1 / 51. 11. 1
[4/26/12 12:06:24 PM PDT]    DEBUG   InputStreamReaderThread   (/var/subsonic/transcode/ffmpeg) libavcodec 53. 9. 1 / 53. 9. 1
[4/26/12 12:06:24 PM PDT]    DEBUG   InputStreamReaderThread   (/var/subsonic/transcode/ffmpeg) libavformat 53. 6. 0 / 53. 6. 0
[4/26/12 12:06:24 PM PDT]    DEBUG   InputStreamReaderThread   (/var/subsonic/transcode/ffmpeg) libavdevice 53. 2. 0 / 53. 2. 0
[4/26/12 12:06:24 PM PDT]    DEBUG   InputStreamReaderThread   (/var/subsonic/transcode/ffmpeg) libavfilter 2. 28. 1 / 2. 28. 1
[4/26/12 12:06:24 PM PDT]    DEBUG   InputStreamReaderThread   (/var/subsonic/transcode/ffmpeg) libswscale 2. 0. 0 / 2. 0. 0
[4/26/12 12:06:24 PM PDT]    DEBUG   InputStreamReaderThread   (/var/subsonic/transcode/ffmpeg) libpostproc 51. 2. 0 / 51. 2. 0
[4/26/12 12:06:24 PM PDT]    DEBUG   InputStreamReaderThread   (/var/subsonic/transcode/ffmpeg) [flac @ 0xa082b20] max_analyze_duration 5000000 reached at 5015510
[4/26/12 12:06:24 PM PDT]    DEBUG   InputStreamReaderThread   (/var/subsonic/transcode/ffmpeg) Input #0, flac, from '/media/sdc1/music_catalogues/max/X Japan/ART OF LIFE/01 - ART OF LIVE.flac':
[4/26/12 12:06:24 PM PDT]    DEBUG   InputStreamReaderThread   (/var/subsonic/transcode/ffmpeg) Metadata:
[4/26/12 12:06:24 PM PDT]    DEBUG   InputStreamReaderThread   (/var/subsonic/transcode/ffmpeg) TITLE : ART OF LIFE
[4/26/12 12:06:24 PM PDT]    DEBUG   InputStreamReaderThread   (/var/subsonic/transcode/ffmpeg) ARTIST : X JAPAN
[4/26/12 12:06:24 PM PDT]    DEBUG   InputStreamReaderThread   (/var/subsonic/transcode/ffmpeg) ALBUM : ART OF LIFE
[4/26/12 12:06:24 PM PDT]    DEBUG   InputStreamReaderThread   (/var/subsonic/transcode/ffmpeg) DATE : 1993
[4/26/12 12:06:24 PM PDT]    DEBUG   InputStreamReaderThread   (/var/subsonic/transcode/ffmpeg) track : 01
[4/26/12 12:06:24 PM PDT]    DEBUG   InputStreamReaderThread   (/var/subsonic/transcode/ffmpeg) TRACKTOTAL : 01
[4/26/12 12:06:24 PM PDT]    DEBUG   InputStreamReaderThread   (/var/subsonic/transcode/ffmpeg) GENRE : Japanese Rock
[4/26/12 12:06:24 PM PDT]    DEBUG   InputStreamReaderThread   (/var/subsonic/transcode/ffmpeg) Duration: 00:29:00.42, bitrate: 816 kb/s
[4/26/12 12:06:24 PM PDT]    DEBUG   InputStreamReaderThread   (/var/subsonic/transcode/ffmpeg) Stream #0.0: Audio: flac, 44100 Hz, stereo, s16
[4/26/12 12:06:24 PM PDT]    DEBUG   InputStreamReaderThread   (/var/subsonic/transcode/ffmpeg) Output #0, mp3, to 'pipe:':
[4/26/12 12:06:24 PM PDT]    DEBUG   InputStreamReaderThread   (/var/subsonic/transcode/ffmpeg) Metadata:
[4/26/12 12:06:24 PM PDT]    DEBUG   InputStreamReaderThread   (/var/subsonic/transcode/ffmpeg) TIT2 : ART OF LIFE
[4/26/12 12:06:24 PM PDT]    DEBUG   InputStreamReaderThread   (/var/subsonic/transcode/ffmpeg) TPE1 : X JAPAN
[4/26/12 12:06:24 PM PDT]    DEBUG   InputStreamReaderThread   (/var/subsonic/transcode/ffmpeg) TALB : ART OF LIFE
[4/26/12 12:06:24 PM PDT]    DEBUG   InputStreamReaderThread   (/var/subsonic/transcode/ffmpeg) TDRL : 1993
[4/26/12 12:06:24 PM PDT]    DEBUG   InputStreamReaderThread   (/var/subsonic/transcode/ffmpeg) TRCK : 01
[4/26/12 12:06:24 PM PDT]    DEBUG   InputStreamReaderThread   (/var/subsonic/transcode/ffmpeg) TRACKTOTAL : 01
[4/26/12 12:06:24 PM PDT]    DEBUG   InputStreamReaderThread   (/var/subsonic/transcode/ffmpeg) TCON : Japanese Rock
[4/26/12 12:06:24 PM PDT]    DEBUG   InputStreamReaderThread   (/var/subsonic/transcode/ffmpeg) TSSE : Lavf53.6.0
[4/26/12 12:06:24 PM PDT]    DEBUG   InputStreamReaderThread   (/var/subsonic/transcode/ffmpeg) Stream #0.0: Audio: libmp3lame, 44100 Hz, stereo, s16, 128 kb/s
[4/26/12 12:06:24 PM PDT]    DEBUG   InputStreamReaderThread   (/var/subsonic/transcode/ffmpeg) Stream mapping:
[4/26/12 12:06:24 PM PDT]    DEBUG   InputStreamReaderThread   (/var/subsonic/transcode/ffmpeg) Stream #0.0 -> #0.0
[4/26/12 12:06:24 PM PDT]    DEBUG   InputStreamReaderThread   (/var/subsonic/transcode/ffmpeg) Press [q] to stop, [?] for help
[4/26/12 12:06:24 PM PDT]    DEBUG   AudioScrobblerService   Successfully registered now playing for song 'ART OF LIFE' for user yarbo at Last.fm.


Notice the ffmpeg command with [128k] as the listed bitrate....

Any idea how I can have it default to the highest bitrate, unless the player I am using specifically requests a lower bandwidth?

Re: Flac transcoding defaults to 128kbps

PostPosted: Thu Apr 26, 2012 9:05 pm
by BKKKPewsey
Set the player you use to 320k rather then No Limit - its a bit of a weird default of ffmpeg.

:mrgreen:

Re: Flac transcoding defaults to 128kbps

PostPosted: Thu Apr 26, 2012 9:36 pm
by yarbo
A large part of my music collection is still in V0 VBR mp3's - will setting the limit to 320kbps, cause lame to be used to "upscale" them, or will it just stream them as is?

And does transcoding a V0 VBR mp3 to 320kbps cause any "lossy compression" issues with the music?

Re: Flac transcoding defaults to 128kbps

PostPosted: Fri Apr 27, 2012 12:01 am
by BKKKPewsey
No it will not "upscale" them it will play at the max bitrate that it is encoded for a mp3 or for a flac it will downsample to 320k.

:mrgreen:

Re: [Solved] Flac transcoding defaults to 128kbps

PostPosted: Fri Apr 27, 2012 12:22 am
by yarbo
Thanks again BKKKPewsey, you are truly a scholar and a gentleman. =D

Re: [Solved] Flac transcoding defaults to 128kbps

PostPosted: Wed Jul 25, 2012 1:41 am
by bass-style
Having the same issue with No Limit is set in the player when transcoding from MIDI.
The problem is Subsonic sets the %b variable to 128 by default instead of leaving it blank.

Re: [Solved] Flac transcoding defaults to 128kbps

PostPosted: Sun Mar 02, 2014 11:38 pm
by spookybathtub
It would be great for the Subsonic devs to correct this, by using 320k as default or some other way.