electro-music.com   Dedicated to experimental electro-acoustic
and electronic music
 
    Front Page  |  Articles  |  Radio
 |  Media  |  Forum  |  Wiki  |  Links  |  Store
Forum with support of Syndicator RSS
 FAQFAQ   CalendarCalendar   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   LinksLinks
 RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in  Chat RoomChat Room 
 Forum index » How-tos
MP3 encoding problem!!!
Post new topic   Reply to topic
Page 1 of 1 [11 Posts]
View unread posts
View new posts in the last week
Mark the topic unread :: View previous topic :: View next topic
Author Message
Lorenzo



Joined: Nov 09, 2008
Posts: 349
Location: Trieste - Italyjstan

PostPosted: Mon Mar 16, 2009 2:06 am    Post subject: MP3 encoding problem!!! Reply with quote  Mark this post and the followings unread

I have to convert some files from wav to mp3...
but the encoder put at the biginning and at the and of the track a
little "mute space" and cut in bad way the track!

I try with Soundforge, Nero, Audiograbber... Switch
I try chaining 2 and 3 converts...

How I can resolve this problem?

Thank you!

_________________
Oh Yeah!
Yes!
Wow!
Back to top
View user's profile Send private message Visit poster's website
Blue Hell
Site Admin


Joined: Apr 03, 2004
Posts: 20273
Location: The Netherlands, Enschede
Audio files: 143
G2 patch files: 318

PostPosted: Mon Mar 16, 2009 9:47 am    Post subject: Reply with quote  Mark this post and the followings unread

mp3 works with blocks of data, so mp3 files can not have an arbitrary size .. maybe that is the problem?
_________________
Jan
Back to top
View user's profile Send private message Visit poster's website
Lorenzo



Joined: Nov 09, 2008
Posts: 349
Location: Trieste - Italyjstan

PostPosted: Mon Mar 16, 2009 10:11 am    Post subject: Reply with quote  Mark this post and the followings unread

Blue Hell wrote:
mp3 works with blocks of data, so mp3 files can not have an arbitrary size .. maybe that is the problem?


so it is not possible add an text file like... m3u
so mp3 player read the file like differents files??

Crying or Very sad

_________________
Oh Yeah!
Yes!
Wow!
Back to top
View user's profile Send private message Visit poster's website
Blue Hell
Site Admin


Joined: Apr 03, 2004
Posts: 20273
Location: The Netherlands, Enschede
Audio files: 143
G2 patch files: 318

PostPosted: Mon Mar 16, 2009 10:16 am    Post subject: Reply with quote  Mark this post and the followings unread

I'm not sure what you try to do Lorenzo ... I'm guessing that you have several files that you want to convert to mp3 where the files should be played one after the other without any audible gaps, is that correct?
_________________
Jan
Back to top
View user's profile Send private message Visit poster's website
Antimon



Joined: Jan 18, 2005
Posts: 3618
Location: Sweden
Audio files: 254
G2 patch files: 95

PostPosted: Mon Mar 16, 2009 11:43 am    Post subject: Reply with quote  Mark this post and the followings unread

Hmm... I've done tracks that fade into each other, and successfully converted them to mp3s (at least they sound ok in iTunes). I've used CDEx (PC) or Sox (Mac) - I think it was CDEx I used for those fades. Maybe worth a try, if you haven't already?

/Stefan

_________________
Antimon's Window
@soundcloud @Flattr home - you can't explain music
Back to top
View user's profile Send private message Visit poster's website
Lorenzo



Joined: Nov 09, 2008
Posts: 349
Location: Trieste - Italyjstan

PostPosted: Mon Mar 16, 2009 12:32 pm    Post subject: Reply with quote  Mark this post and the followings unread

Blue Hell wrote:
I'm not sure what you try to do Lorenzo ... I'm guessing that you have several files that you want to convert to mp3 where the files should be played one after the other without any audible gaps, is that correct?


Quite correct...
I had a long wav file (is my electronic live session).
I convert this in several mp3 files... but they plays with
ugly gaps between on track and another...
So I wonder if it is possible convert that wav file in a
single mp3 and add an text file (like .m3u or ... I don't know)
for make the player read this file without gaps
but virtually divided in traks.
(I have to put it online... )

sorry... my English is not so good... Embarassed

Thank Antimon,
I will try CDEx... tomorrow... now I quite tired and frustrated Crying or Very sad

_________________
Oh Yeah!
Yes!
Wow!
Back to top
View user's profile Send private message Visit poster's website
Blue Hell
Site Admin


Joined: Apr 03, 2004
Posts: 20273
Location: The Netherlands, Enschede
Audio files: 143
G2 patch files: 318

PostPosted: Mon Mar 16, 2009 1:25 pm    Post subject: Reply with quote  Mark this post and the followings unread

This is a bit more involved than I had thought initially ...

The wikipedia article about gapless playback sums it all up ... http://en.wikipedia.org/wiki/Gapless_playback ... the problem is at both sides really, recording and playback ... and mp3 has no "official" support for gapless audio (although encoding with LAME and playback with winamp might work, some mp3 players also claim to be able to play back mp3s without gaps).

I don't think an m3u file can solve this ... as it's a playlist basically, telling the player in what order to play tracks, where to find those track and how long each track is. It would also need to specify a start offset into a track would it be able to make gapless audio, but there is no such feature. Pls files have the same limitations, look here for an overview of m3u and pls files.

In the wikipedia article it is suggested that the ogg file format would be better suited for gapless playback, this would still depend on the player to to do the right thing with the meta information in the file ... an also it says that all lossless formats (like FLAC) are inherently free of this problem.

Some discussions about mp3 splitting that seemed interesting :

http://www.hydrogenaudio.org/forums/lofiversion/forums.html/t62757.html

http://www.hydrogenaudio.org/forums/forums.html?showtopic=35654

http://www.hydrogenaudio.org/forums/forums.html?showtopic=35612&st=0&p=314141&#entry314141

Hairy stuff ....

And here is a link to the pcutmp3 program that is discussed in the links above : http://code.google.com/p/pcutmp3/

_________________
Jan
Back to top
View user's profile Send private message Visit poster's website
Lorenzo



Joined: Nov 09, 2008
Posts: 349
Location: Trieste - Italyjstan

PostPosted: Tue Mar 17, 2009 10:06 am    Post subject: Reply with quote  Mark this post and the followings unread

Blue Hell, thank you very much for your kindness!!!!


I tried pcutmp3... but finally I'm thinking to use and upload in ogg format! Wink


Thanks

_________________
Oh Yeah!
Yes!
Wow!
Back to top
View user's profile Send private message Visit poster's website
Blue Hell
Site Admin


Joined: Apr 03, 2004
Posts: 20273
Location: The Netherlands, Enschede
Audio files: 143
G2 patch files: 318

PostPosted: Tue Mar 17, 2009 2:58 pm    Post subject: Reply with quote  Mark this post and the followings unread

Yeah, this pcut thingie seems not the easiest program to deal with ... maybe someone wrote a graphical front end for it?

I had been experimenting with gapless mp3s a bit as well, but many years ago ... and I gave up on it at that time ... so it's an interesting problem Laughing

_________________
Jan
Back to top
View user's profile Send private message Visit poster's website
Lorenzo



Joined: Nov 09, 2008
Posts: 349
Location: Trieste - Italyjstan

PostPosted: Wed Mar 18, 2009 12:18 am    Post subject: Reply with quote  Mark this post and the followings unread

Blue Hell wrote:

... so it's an interesting problem Laughing


Using Foobar as player I notice that there are no problems with ogg file.
Even if looking the waveform with Soundforge there is gap in the beginning
of tracks still... in fact Windows Media Player can't read these continually.


I think it is strange that doesn't exist a file like .cue to add at an mp3 file
making the payer virtually read this file like several files.
It would maybe bypass gaps problem.

_________________
Oh Yeah!
Yes!
Wow!
Back to top
View user's profile Send private message Visit poster's website
Blue Hell
Site Admin


Joined: Apr 03, 2004
Posts: 20273
Location: The Netherlands, Enschede
Audio files: 143
G2 patch files: 318

PostPosted: Wed Mar 18, 2009 9:17 am    Post subject: Reply with quote  Mark this post and the followings unread

The idea with ogg files, as I understood it, is that the true start and end points of the audio can be determined from the ogg file itself- so there would be no cue file needed. Of course the player will then have to use that information to do the right thing (as FooBar apparently does). For mp3 there is no "official" way to do the same, although some programs do use an unofficial way.
_________________
Jan
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic
Page 1 of 1 [11 Posts]
View unread posts
View new posts in the last week
Mark the topic unread :: View previous topic :: View next topic
 Forum index » How-tos
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum
AmbiphonicDSP

Please support our site. If you click through and buy from
our affiliate partners, we earn a small commission.


Forum with support of Syndicator RSS
Powered by phpBB © 2001, 2005 phpBB Group
Copyright © 2003 through 2009 by electro-music.com - Conditions Of Use