[Solved] Flac transcoding defaults to 128kbps

Need help? Post your questions here.

Moderator: moderators

[Solved] Flac transcoding defaults to 128kbps

Postby yarbo » Thu Apr 26, 2012 7:12 pm

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?
Last edited by yarbo on Fri Apr 27, 2012 12:21 am, edited 1 time in total.
User avatar
yarbo
 
Posts: 26
Joined: Tue Jan 10, 2012 6:15 pm

Re: Flac transcoding defaults to 128kbps

Postby BKKKPewsey » Thu Apr 26, 2012 9:05 pm

Set the player you use to 320k rather then No Limit - its a bit of a weird default of ffmpeg.

:mrgreen:
Everyone is entitled to be stupid, Image but some abuse the privilege!

Due to the confusion from too many genres of music, we have decided to put both country music and rap music into the genre of Crap music.
User avatar
BKKKPewsey
 
Posts: 2080
Joined: Mon May 23, 2011 12:16 pm
Location: United Kingdom

Re: Flac transcoding defaults to 128kbps

Postby yarbo » Thu Apr 26, 2012 9:36 pm

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?
User avatar
yarbo
 
Posts: 26
Joined: Tue Jan 10, 2012 6:15 pm

Re: Flac transcoding defaults to 128kbps

Postby BKKKPewsey » Fri Apr 27, 2012 12:01 am

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:
Everyone is entitled to be stupid, Image but some abuse the privilege!

Due to the confusion from too many genres of music, we have decided to put both country music and rap music into the genre of Crap music.
User avatar
BKKKPewsey
 
Posts: 2080
Joined: Mon May 23, 2011 12:16 pm
Location: United Kingdom

Re: [Solved] Flac transcoding defaults to 128kbps

Postby yarbo » Fri Apr 27, 2012 12:22 am

Thanks again BKKKPewsey, you are truly a scholar and a gentleman. =D
User avatar
yarbo
 
Posts: 26
Joined: Tue Jan 10, 2012 6:15 pm

Re: [Solved] Flac transcoding defaults to 128kbps

Postby bass-style » Wed Jul 25, 2012 1:41 am

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.
bass-style
 
Posts: 8
Joined: Wed Jan 11, 2012 10:28 pm

Re: [Solved] Flac transcoding defaults to 128kbps

Postby spookybathtub » Sun Mar 02, 2014 11:38 pm

It would be great for the Subsonic devs to correct this, by using 320k as default or some other way.
spookybathtub
 
Posts: 110
Joined: Thu Oct 07, 2010 7:13 am


Return to Help

Who is online

Users browsing this forum: No registered users and 9 guests