LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-16-2013, 11:50 AM   #16
kostya
Member
 
Registered: Mar 2010
Location: Moscow, Russia
Distribution: Ubuntu Studio, antix(mepis), Fedora, FreeBSD
Posts: 174

Original Poster
Blog Entries: 5

Rep: Reputation: 18

Quote:
Originally Posted by domaxmax View Post
Guys, easy solution for me was to covert files to wav first.

Regards,
Maxim
Yeah, quite logical to do in case of FLAC files.
 
Old 05-04-2015, 02:02 AM   #17
FreewheelinFrank
LQ Newbie
 
Registered: Mar 2012
Distribution: Debian Jessie
Posts: 11

Rep: Reputation: Disabled
Quote:
Originally Posted by JohnPiers View Post
I know this thread is quite old but would be super grateful if someone could help with this:

I have a .flac file that's pretty big: approx 1.6 Gig The file plays 100% from start to finish! I want to split the file but when I use the standard way of doing things:
I get the error:

So when I use: This is what I get below? Please help someone, sorry if I am being stupid but cannot figure it out!


Roger Waters - The Pros And Cons Of Hitch Hiking [VinylRip 24 bits] [FLAC]]$ cuebreakpoints cons.cue | sed s/$/0/ | shnsplit -o flac cons.flac
Splitting [cons.flac] (266879977898:15) --> [split-track01.flac] (3:12.100) : 100% OK
Splitting [cons.flac] (266879977898:15) --> [split-track02.flac] (4:07.310) : 100% OK
Splitting [cons.flac] (266879977898:15) --> [split-track03.flac] (2:17.690) : 100% OK
Splitting [cons.flac] (266879977898:15) --> [split-track04.flac] (2:02.200) : 100% OK
Splitting [cons.flac] (266879977898:15) --> [split-track05.flac] (4:45.050) : 100% OK
Splitting [cons.flac] (266879977898:15) --> [split-track06.flac] (3:16.930) : 100% OK
Splitting [cons.flac] (266879977898:15) --> [split-track07.flac] (6:58.720) : 100% OK
Splitting [cons.flac] (266879977898:15) --> [split-track08.flac] (1:37.560) : 100% OK
Splitting [cons.flac] (266879977898:15) --> [split-track09.flac] (2:59.490) : 100% OK
Splitting [cons.flac] (266879977898:15) --> [split-track10.flac] (4:36.100) : 100% OK
Splitting [cons.flac] (266879977898:15) --> [split-track11.flac] (4:49.280) : 100% OK
Splitting [cons.flac] (266879977898:15) --> [split-track12.flac] (266879977857:32) : 0% ERROR
shnsplit: warning: error while transferring -4195974166 bytes of data
shnsplit: error: failed to split file
Bringing up a very old thread here, but I've just had the same problem in Debian Jessie and found this thread while looking for an answer.

Comparing my output and JohnPiers', I noticed that it was the final track both times that failed to split.

A workaround is to create a dummy final track with INDEX set to the total length of the original .flac file (from file properties).

The error then appears when the command tries to split the dummy track, but by then all the real tracks have been split sucessfully.
 
Old 05-05-2015, 02:49 AM   #18
kostya
Member
 
Registered: Mar 2010
Location: Moscow, Russia
Distribution: Ubuntu Studio, antix(mepis), Fedora, FreeBSD
Posts: 174

Original Poster
Blog Entries: 5

Rep: Reputation: 18
Quote:
Originally Posted by JohnPiers View Post
I know this thread is quite old but would be super grateful if someone could help with this:

I have a .flac file that's pretty big: approx 1.6 Gig The file plays 100% from start to finish! I want to split the file but when I use the standard way of doing things:
I get the error:

So when I use: This is what I get below? Please help someone, sorry if I am being stupid but cannot figure it out!


Roger Waters - The Pros And Cons Of Hitch Hiking [VinylRip 24 bits] [FLAC]]$ cuebreakpoints cons.cue | sed s/$/0/ | shnsplit -o flac cons.flac
Splitting [cons.flac] (266879977898:15) --> [split-track01.flac] (3:12.100) : 100% OK
Splitting [cons.flac] (266879977898:15) --> [split-track02.flac] (4:07.310) : 100% OK
Splitting [cons.flac] (266879977898:15) --> [split-track03.flac] (2:17.690) : 100% OK
Splitting [cons.flac] (266879977898:15) --> [split-track04.flac] (2:02.200) : 100% OK
Splitting [cons.flac] (266879977898:15) --> [split-track05.flac] (4:45.050) : 100% OK
Splitting [cons.flac] (266879977898:15) --> [split-track06.flac] (3:16.930) : 100% OK
Splitting [cons.flac] (266879977898:15) --> [split-track07.flac] (6:58.720) : 100% OK
Splitting [cons.flac] (266879977898:15) --> [split-track08.flac] (1:37.560) : 100% OK
Splitting [cons.flac] (266879977898:15) --> [split-track09.flac] (2:59.490) : 100% OK
Splitting [cons.flac] (266879977898:15) --> [split-track10.flac] (4:36.100) : 100% OK
Splitting [cons.flac] (266879977898:15) --> [split-track11.flac] (4:49.280) : 100% OK
Splitting [cons.flac] (266879977898:15) --> [split-track12.flac] (266879977857:32) : 0% ERROR
shnsplit: warning: error while transferring -4195974166 bytes of data
shnsplit: error: failed to split file
But do you get the files in the end? Because I think I had this one as well.
 
Old 05-05-2015, 12:08 PM   #19
FreewheelinFrank
LQ Newbie
 
Registered: Mar 2012
Distribution: Debian Jessie
Posts: 11

Rep: Reputation: Disabled
Quote:
Originally Posted by kostya View Post
But do you get the files in the end? Because I think I had this one as well.
You get all the tracks except the final one. With the work around above, you get the last track too.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
MPlayer error play 3gp files error: Cannot find codec for audio format 0x726D6173 hocheetiong Linux - Software 1 08-29-2008 01:49 PM
Best file format for CD quality audio leupi Linux - General 4 08-07-2007 08:50 AM
How to convert rm format music files to mp3 format me4linux Linux - Software 2 05-15-2007 02:45 PM
LXer: Agile Expands Compliance, Product Portfolio, Product Collaboration and Quality Management Capabilities in Latest Version of Leading PLM Solution LXer Syndicated Linux News 0 12-13-2005 09:31 AM
An easy solution for k3b - error while encoding audio files Ariel A. Linux - Software 0 01-09-2005 11:18 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:29 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration