Transcoding to MP3 V2

Alternative Android Client for Subsonic

Moderators: daneren2005, moderators

Transcoding to MP3 V2

Postby peioe » Thu Apr 17, 2014 2:54 pm

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 :)
peioe
 
Posts: 8
Joined: Thu Apr 17, 2014 2:47 pm

Re: Transcoding to MP3 V2

Postby daneren2005 » Fri Apr 18, 2014 9:20 pm

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.
Developer of DSub for Android
daneren2005
 
Posts: 1709
Joined: Fri Jul 06, 2012 7:52 pm

Re: Transcoding to MP3 V2

Postby mr_nobody » Sat Apr 19, 2014 2:58 pm

V2 is a lame preset, therefore it only works with lame, not ffmpeg.
mr_nobody
 
Posts: 202
Joined: Thu May 31, 2012 8:17 pm

Re: Transcoding to MP3 V2

Postby peioe » Sat Apr 19, 2014 5:57 pm

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.
peioe
 
Posts: 8
Joined: Thu Apr 17, 2014 2:47 pm

Re: Transcoding to MP3 V2

Postby pedro_fr » Sat Apr 19, 2014 8:12 pm

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
pedro_fr
 
Posts: 19
Joined: Sun Dec 08, 2013 5:32 pm

Re: Transcoding to MP3 V2

Postby peioe » Sun Apr 20, 2014 12:17 pm

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 :/
peioe
 
Posts: 8
Joined: Thu Apr 17, 2014 2:47 pm

Re: Transcoding to MP3 V2

Postby Zooey22 » Thu May 01, 2014 3:41 pm

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
2,363 artists
11,276 albums
89,187 songs
1030.93 GB
6,936 hour
Zooey22
 
Posts: 12
Joined: Thu Aug 02, 2012 1:32 am

Re: Transcoding to MP3 V2

Postby mr_nobody » Fri May 02, 2014 3:31 pm

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?
mr_nobody
 
Posts: 202
Joined: Thu May 31, 2012 8:17 pm

Re: Transcoding to MP3 V2

Postby peioe » Fri May 16, 2014 4:23 pm

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 :)
peioe
 
Posts: 8
Joined: Thu Apr 17, 2014 2:47 pm


Return to DSub for Android

Who is online

Users browsing this forum: No registered users and 6 guests