From owner-freebsd-questions@freebsd.org Sat Jan 6 16:09:19 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 90986EBFA8F for ; Sat, 6 Jan 2018 16:09:19 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.187]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "mout.kundenserver.de", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 11FBB7466F for ; Sat, 6 Jan 2018 16:09:18 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de ([92.195.18.98]) by mrelayeu.kundenserver.de (mreue002 [212.227.15.167]) with ESMTPA (Nemesis) id 0MOo90-1eV5LX1COU-0068kw; Sat, 06 Jan 2018 17:09:09 +0100 Date: Sat, 6 Jan 2018 17:09:08 +0100 From: Polytropon To: Victor Sudakov Cc: Dave , freebsd-questions@freebsd.org Subject: Re: Convert .flac and .ape to mp3 Message-Id: <20180106170908.1cfa9894.freebsd@edvax.de> In-Reply-To: <20180106152444.GB35747@admin.sibptus.transneft.ru> References: <20180104163421.GA15692@admin.sibptus.transneft.ru> <1936112.H3c9qehT4n@amd.asgard.uk> <20180106152444.GB35747@admin.sibptus.transneft.ru> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:cOQg6Q10e2zRxAF9oLUHTjIujug40uLZvlj5d5PdCB+fcvFMc8+ QrwEeferxoVVBsmrLGvr6uQygwP62lGJkwoLDQYBzKMUVN2mnwTVImVE2PzY/n0DtYEfjWk BXF6qrGm7uHciOPKYZ6Xhsg1kjUSD5vVjmog9TVX7o8wiPoFUAhxx/6e639PLOp23MTN2SG DvOJtlWc0rMtxKpi1jjKw== X-UI-Out-Filterresults: notjunk:1;V01:K0:z1VHM8k/rLM=:KCq3oDIlBn3P3R4QOYxbGD Ou8PiJuoQ57HS/kIEoGJHJzGr+mPDVvj1uTweXIxaCMV/jveMMiVbRVRkh0Mz3kBY6Rq0xKuh fRPmQLwIjxDt1PBclrmTTAA1cHXHmEdEcLAyCwwZesAJLwYjqgM34ALVH1UHcfsXOj+DEBogG NLpfM7ro9dFCZHj5CzfMjDG2xZonFx2eMDGmBaCKmF2jhvjjFoHCui35mjxKI9wFtiT0CBkvk XaZiWDgGt4+8lTjbrL/6qm6aY9p6l7KNsGCu5wNgXur5FJ57Kzbo9qgRNw2WHJWHry6lAbWCX TYY3sTQ4xdg3UWJErrq+enGW3uMBGNZvUOCVW/2LtYWR//XLNo23/xyFTsFbmeoeWgktmVRfL X29RxZxeyU+n0Vryrp00QTjdXM5LhFtLKp6ZpD0CTuSmt5KSoHpccG9Ur6nXecN2n2AKkfPXx cBGT/7hHQRzrU5ZX+lsxNDt1ojPsIn62c8HBqmyPpG0nZ+qq7w7jMlQf45yPEM1xBJWnYoby1 1NkyH446qljqoo8aP3MjL2FYW+bXzVG2IX7cb+ysCXh+NtkOc4yx5MmahH1pkG0F2RD+RRvu8 mRLXvtwJ5ozGP2gRhBNY4791GFyqBRvqNuYhEnYSGriO8Hk4yxBfucAiN1HttosQbQbKxanzA LwPwT0K3cs3oqdEyARc6uMNLr1f0vKnC6qsml5xql5qDwV6EUI+Y6YMIt6G9napz1Jz76W3XY qLXL3FCaTeYGkDVkkNquy/Mdg/KZnqlBfqYUpVH8vh/NE+GwurSVvgdTXJo= X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Jan 2018 16:09:19 -0000 On Sat, 6 Jan 2018 22:24:44 +0700, Victor Sudakov wrote: > Dave wrote: > > > > > > What do you convert ape and flac audio files to mp3 with? > > > > > > multimedia/ffmpeg does not seem to support encoding to mp3 (only > > > decoding), what else could I try? > > > > I prefer audio/sox but, like FFMPeG, you need to compile in mp3 encoding > > support from port. Sox is the audio equivalent of FFMPeG, ie very, very > > powerful in it's own are of expertise which can be as simple or as complex > > to use as you want it to be, eg sox file.flac file.mp3 > > It would be interesting to find something which splits large flac/ape > files before converting to mp3, and parses .cue files for track names > and inserts them as ID tags into mp3 files. > > I hear sysutils/bchunk can split ape files into separate tracks but > how do I feed track names to ffmpeg/sox/whatever to be included as mp3 > ID tags? There is a dedicated tool for this which you can apply to the resulting MP3 files: install the id3tool package and use the program "id3tool": id3tool [] -t, --set-title=WORD Sets the title to WORD -a, --set-album=WORD Sets the album to WORD -r, --set-artist=WORD Sets the artist to WORD -y, --set-year=YEAR Sets the year to YEAR [4 digits] -n, --set-note=WORD Sets the note to WORD -g, --set-genre=INT Sets the genre code to INT -G, --set-genre-word=WORD Sets the genre to WORD -c, --set-track=INT Sets the track number to INT -l, --genre-list Shows the Genre's and their codes -v, --version Displays the version -h, --help Displays this message With this tool (and the artist / album / track / title information present, you can get "the best of both worlds", i. e., a directory and filesystem structure as well as ID3 tags for the individual MP3 files. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...