IPB

Welcome Guest ( Log In | Register )

It is safe to use Medieval CUE Splitter?
quisnox
post Oct 11 2010, 14:19
Post #1





Group: Members
Posts: 9
Joined: 21-August 10
Member No.: 83251



I have big collection of music ripped to 'file.flac' & 'file.cue', so I need to split it to separate files.

Currently tested a lot of tools, but Medieval CUE Splitter does task fastest. But is it safe to use for whole collection?

I don't need CRC checksums, just want to split my collection.



p.s. sorry for my poor English..
Go to the top of the page
+Quote Post
 
Start new topic
Replies
quisnox
post Oct 11 2010, 22:12
Post #2





Group: Members
Posts: 9
Joined: 21-August 10
Member No.: 83251



Okay okay,

1. I do not need silence before or after tracks/1:1 track copies (by lenght).

2. I need just split my files, do it FAST (because it's about ~150 discographys of different bands, hundreds of albums), and don't hurt quality.

Medieval doesn't encodes files, just physically splits and writes tags, or I'm wrong? If yes, then I fully understand why files won't pass any verification. But by the way - I just want to split for future digital usage (I've never burned audio CD and will never do it in future).

3. I use Linux. Medieval works under Wine, CUEtools requires additional Micro$oft crapware such NET Framework. Default Linux tools like Flacon or shnsplit is a joke.
Go to the top of the page
+Quote Post
Takla
post Oct 11 2010, 22:24
Post #3





Group: Members
Posts: 169
Joined: 14-November 09
Member No.: 74931



QUOTE (quisnox @ Oct 11 2010, 21:12) *
Okay okay,........ tools like Flacon or shnsplit is a joke.


It's not just a "if I burn it to CD issue". You may well hear nasty clicks at the beginning of tracks split with medieval cue splitter. I tried it on Windows XP and it produced horrible clicks in some cases.

But mostly I use Debian and am sure shnsplt should not be regarded as a joke. Search my posts (there aren't many) or on my user name and you'll find a script which will successfully split cue+flac, and tag and rename the output files*. No clicks or other artefacts. You can also find some other tools for Linux/BSD such as split2flac which people seem to use successfully. I have split plenty (hundreds) of cue+flac, cue+ape, cue+wv etc using my simple script so I can at least say it isn't a joke and It Works For Me(™)

You can also check out this blog which has various other tools/methods/tips/opinions split-lossless-audio-ape-flac-wv-wav-by-cue-file

*found it: http://www.hydrogenaudio.org/forums/lofive...php/t76685.html
Go to the top of the page
+Quote Post
quisnox
post Oct 12 2010, 09:29
Post #4





Group: Members
Posts: 9
Joined: 21-August 10
Member No.: 83251



QUOTE (Takla @ Oct 11 2010, 22:24) *
QUOTE (quisnox @ Oct 11 2010, 21:12) *
Okay okay,........ tools like Flacon or shnsplit is a joke.


It's not just a "if I burn it to CD issue". You may well hear nasty clicks at the beginning of tracks split with medieval cue splitter. I tried it on Windows XP and it produced horrible clicks in some cases.

But mostly I use Debian and am sure shnsplt should not be regarded as a joke. Search my posts (there aren't many) or on my user name and you'll find a script which will successfully split cue+flac, and tag and rename the output files*. No clicks or other artefacts. You can also find some other tools for Linux/BSD such as split2flac which people seem to use successfully. I have split plenty (hundreds) of cue+flac, cue+ape, cue+wv etc using my simple script so I can at least say it isn't a joke and It Works For Me(™)

You can also check out this blog which has various other tools/methods/tips/opinions split-lossless-audio-ape-flac-wv-wav-by-cue-file

*found it: http://www.hydrogenaudio.org/forums/lofive...php/t76685.html

Thanx, it's good.

cuetag sample.cue split-track*.flac command is the devil. It writes tags, but file names leaves stupid.

Damn lossless. I think in Linux computer is better to stay with lossy formats.
Go to the top of the page
+Quote Post
Takla
post Oct 13 2010, 04:38
Post #5





Group: Members
Posts: 169
Joined: 14-November 09
Member No.: 74931



QUOTE (quisnox @ Oct 12 2010, 08:29) *
cuetag sample.cue split-track*.flac command is the devil. It writes tags, but file names leaves stupid.


I didn't notice this when I read your post before. cuetag doesn't do the renaming. It takes info from the cue file and adds it to the audio file tags. The actual naming would usually be done with shnsplit, or something like lltag. It's hard to know what you meant by "but file names leaves stupid" in the absence of any explanation or example, but I suspect you might be referring to special characters such as accents and non Roman letters. This is a problem with character encoding (nothing to do with audio encoding!) and is easily fixed using convmv. For example
CODE
convmv --notest -f utf7 -t utf8 <your_problem_file>


With this in mind I've improved my script. You no longer need lltag. Requirements are shntool, convmv, cuetag and the usual decoders for flac, wavpack, ape etc. convmv is in Debian, Fedora and Slackware so you should find it available whatever you use.

Usage is as simple as possibe
CODE
cue+lossless2flacs <cuefile>

and you can run it from any directory so it works nicely with find. For example as long as your cue+lossless collection is organised with one cue+lossless per directory then you can run
CODE
find <path> -iname "*.cue" -execdir cue+lossless2flacs "{}" \+

Obviously replace <path> with the top directory of your lossless collection. You should end up with each directory still containing the original cue+lossless (I'm not happy deleting these until the output is checked but perhaps it would make sense to automatically move or rename them) and also a set of numbered, named, tagged flacs with all the names retaining their diacritic marks and other funny stuff that makes English speakers nervous. This comes with the famous Works For Me(™) Quality Assurance Warranty and is fully backed up by the 0800-URMOM tech support helpdesk (recruiting now!) and the No Monies Returned Lifetime Guarantee(™). I have tried it out using it directly and with find and it happily spits out correctly splitted flacs with names such as "09_-_Corderito, ¿por qué te escondes?.flac" or "13_-_Araujo, Juan de - Lamentación 1a. de Miércoles Santo.flac" so I hope that now file names leaves cleverly blink.gif

CODE
#!/bin/bash
# cue+lossless2flacs

if [ ! $# == 1 ]; then
    echo "Usage: $(basename "$0") <cuefile>"
    exit
fi

CUE="$1"
TOPDIR=$(dirname "$1")
LSSLSS="$TOPDIR"/$(ls |egrep '[fF][lL][aA][cC]$|[aA][pP][eE]$|[wW][vV]$|[wW][aA][vV]$')


echo "cue file is "$1""
echo "lossless image file is "$LSSLSS""

mkdir "$TOPDIR"/tmp;
shnsplit -d "$TOPDIR"/tmp -w -f "$CUE" -t %n_-_%t -o flac "$LSSLSS";
rm "$TOPDIR"/tmp/00_-_pregap.flac;
convmv --notest -f utf7 -t utf8 "$TOPDIR"/tmp/*.flac;
cuetag "$CUE" "$TOPDIR"/tmp/*.flac;
mv "$TOPDIR"/tmp/*.flac "$TOPDIR"/;
rm -rf "$TOPDIR"/tmp;
exit


edited for typos.
edit for script correction.

This post has been edited by Takla: Oct 13 2010, 05:07
Go to the top of the page
+Quote Post
quisnox
post Oct 13 2010, 16:32
Post #6





Group: Members
Posts: 9
Joined: 21-August 10
Member No.: 83251



QUOTE (Takla @ Oct 13 2010, 04:38) *
QUOTE (quisnox @ Oct 12 2010, 08:29) *
cuetag sample.cue split-track*.flac command is the devil. It writes tags, but file names leaves stupid.


I didn't notice this when I read your post before. cuetag doesn't do the renaming. It takes info from the cue file and adds it to the audio file tags. The actual naming would usually be done with shnsplit, or something like lltag. It's hard to know what you meant by "but file names leaves stupid" in the absence of any explanation or example, but I suspect you might be referring to special characters such as accents and non Roman letters. This is a problem with character encoding (nothing to do with audio encoding!) and is easily fixed using convmv. For example
CODE
convmv --notest -f utf7 -t utf8 <your_problem_file>


Thanx for the really smart script... I have some questions about it..

First.. how to..start? Just pust script on Desktop, make it executable, navigate to directory containing .cue file ant then run? I know, it's stupid question, but I'm new linux user (still learning).

And..file names. For example, the perfect file naming for me must be 01 - First Song Name.flac, 02 - Second Song Name.flac & etc...how to change 'renaming template' ?

and the last question...it looks this script uses temporary directory - so how it about speed? I was used
CODE
cuebreakpoints sample.cue | shnsplit -o flac sample.ape

to split images in the past, and it worked really fast (I'm not sure exactly, that command used temporary dir for work or not)
Go to the top of the page
+Quote Post

Posts in this topic


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 24th July 2014 - 00:46