Page 1 of 1

Transcoding to MP3 V2

PostPosted: Thu Apr 17, 2014 2:54 pm
by peioe
Hi :)

I just installed DSub and it's awesome :) But there's something I can't figure out. I tried searching the forum so sorry if the solution was posted somewhere but I didn't find it :(

What I'd like to do is to transcode to MP3 V2. I have this on my server settings:
Image
But if I select "unlimited" in DSub (or in the "Players" settings on the server), it transcodes to MP3 320 CBR. If I pick a bitrate, it transcodes to that bitrate. But I have no idea how to tell subsonic to use the options from the "Transcoding" settings.

And another thing, is it possible to only transcode when the source is a FLAC ? Meaning that if it's 320 CBR for example, keeping it as is.

Thanks in advance for your answers and for DSub, it's pretty damn good :)

EDIT: nvm. Figured it out by myself, sorry for the post. I changed the transcoding options to using FLAC and LAME instead of ffmpeg and now it works. Thanks anyway :)

Re: Transcoding to MP3 V2

PostPosted: Fri Apr 18, 2014 9:20 pm
by daneren2005
I have no idea what mp3 v2 is, and I can't seem to find anything online about it other then quality comparisons. In the server settings there is a Downsample option. You might want to try putting in the -v 2 option there as well to see if that works.

Re: Transcoding to MP3 V2

PostPosted: Sat Apr 19, 2014 2:58 pm
by mr_nobody
V2 is a lame preset, therefore it only works with lame, not ffmpeg.

Re: Transcoding to MP3 V2

PostPosted: Sat Apr 19, 2014 5:57 pm
by peioe
I managed to make it work (somehow) with LAME.
In case somebody is interested in the future:
Image
Step 1: flac -c -d -F %s
Step 2: lame --tt %t --ta %a --tl %l -q 0 -V 3 --vbr-new - -

For some reason it didn't work (it created an mp3 file but it was named .flac) at first and by doing the same thing about 50 times in the end it worked, no idea why. The only thing is that because of how subsonic works, all the tags except title/artist/album are lost. But for me it's ok, I'd rather have VBR than perfect tags on my phone :p

daneren2005: LAME's VBR presets range from V9 to V0 (V9 being the lowest quality, V0 the highest). V2's target bitrate is around 190kbps. In the end I decided to use V3 though.

Re: Transcoding to MP3 V2

PostPosted: Sat Apr 19, 2014 8:12 pm
by pedro_fr
As you test ?
ffmpeg -i %s -ab 320k -id3v2_version 3 -map_metadata 0 -map 0\:0 -ar 44100 -ac 2 -v 0 -f mp3 -

Envoyé depuis mon GT-I9505XXUEMKF avec tapatalk

Re: Transcoding to MP3 V2

PostPosted: Sun Apr 20, 2014 12:17 pm
by peioe
I tried similar commands and they didn't work. Right now to be honest I'm too scared to touch anything, since it works and it's rather buggy and seems not to work with the exact same commands sometimes :/

Re: Transcoding to MP3 V2

PostPosted: Thu May 01, 2014 3:41 pm
by Zooey22
Personally I would not leave the files in the v2 format as Daneren said wth is that ? :D Easier to convert or make sure lame uses real .mp3. I use Dbpoweramp to handle all my batch etc, conversions. Better to have a library with 'excepted' formats than not imo
s

Re: Transcoding to MP3 V2

PostPosted: Fri May 02, 2014 3:31 pm
by mr_nobody
Zooey22 wrote:Personally I would not leave the files in the v2 format as Daneren said wth is that ? :D Easier to convert or make sure lame uses real .mp3. I use Dbpoweramp to handle all my batch etc, conversions. Better to have a library with 'excepted' formats than not imo
s


As previously stated v2 is a lame preset, therefore an mp3. I'm not sure what point you're trying to make?

Re: Transcoding to MP3 V2

PostPosted: Fri May 16, 2014 4:23 pm
by peioe
V2 is a lame preset. Lame is the most common MP3 encoder, by very very far. Your dbpoweramp uses lame and has those presets. Don't try to help if you have no idea what you're talking about Zooey :)