Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: Using LAME (Read 3505 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Using LAME

Hi to all,
I'm tying to use LAME to encode part of an audio buffer I have in memory.
For example in memory I have the buffer named stream where stream contains raw audio samples.
I would encode from (stream + x) to (stream + y) so I would encode ( y - x) samples starting at position x in the stream.
I don't get good results.
I would have an help, I'm desperate....

Best Regards,
Franco

Using LAME

Reply #1
"I don't get good results" is a little vague. Could you be a bit more specific?

Using LAME

Reply #2
"I don't get good results" is a little vague. Could you be a bit more specific?


Hi thank you for your reply.
For example doesn't matter how many audio raw samples I encode that windows media player always see the
duration of 29 seconds.
And sometime the wmp scrollbar moves in a strange way.

I don't know where my code could be wrong.

I hope to get help.

Best Regards,
Franco

Using LAME

Reply #3
Are you encoding to variable bitrate? If so then windows media player is notorious for not working correctly with this type of file. Have you tried looking at/playing your files with anything else?

Using LAME

Reply #4
Are you encoding to variable bitrate? If so then windows media player is notorious for not working correctly with this type of file. Have you tried looking at/playing your files with anything else?


Hi I don't know if I encoded at a variable bitrate. How can I know it? How lame detect the duration of the output mp3?
sorry for my very poor experience in this.
Best Regards,
Franco