View Full Version : Free download of MPEG4-CELP encoder ?
sabeel
11th May 2005, 13:41
Hi
I want to know whether there are any freely available MPEG4-CELP encoders,as i want to create MPEG4-CELP streams only.
I have tried the MPEG4-CELP encoder from from mpeg4 audio reference software to create MPEG4-CELP streams in MP4 fileformat,but they dont play on any players like philips-platform4,mpegable,quicktime.
I DONT THINK IT IS A PROBLEM WITH PLAYERS LIKE PHILIPS4-PLATFORM PLAYER BECAUSE I have tried playing some 'MP4 fileformat streams with Mpeg4-CELP' in philips-platform4 player,and philips4-platform player does play these Mp4 fileformat stream with MPEG4-celp.
Hence 'Philips-platform4 player' and 'mp4player' from mpeg4Ip tools does play Mpeg4-Celp streams in mp4 fileformat.
It is just that,those mp4 fileformat streams with mpeg4-celp, that i have created using the mpeg4 reference audio software are not playing in these players.
i am confused if it is a player problem or Mpeg4 reference audio encoder problem.
HENCE,
I want to know whether there are any freely available MPEG4-CELP encoders,as i want to create MPEG4-CELP streams only.
waiting for a positive response on the issue
thank you
sabeel
Sirber
11th May 2005, 15:32
What is MPEG4-CELP ?
SeeMoreDigital
11th May 2005, 15:48
Hi sabeel... and welcome to the forum.
I'm curious... what type of audio stream accompanies these MPEG4-CELP encodes?
Do you have any short samples we could try... Personally I've not had much trouble playing most variations of Mpeg4 in .MP4 using Nero's ShowTime 2 Player (and filters).
Cheers
Originally posted by Sirber
What is MPEG4-CELP ? the audio coding format defined in mpeg-4 for speech encoding
Originally posted by SeeMoreDigital
Do you have any short samples we could try...i already ask for this on hydrogenaudio, but he didnt answer...
moved to audio forum
planet1
11th May 2005, 18:49
QCELP (mpeg-4 style) is/will be used in the 3GPP2 standard (americas):
http://www.apple.com/quicktime/technologies/3gpp/faq.html
and QuickTime can encode that stuff (not as .mp4) - the question remains how to demux (maybe mp4UI) and play the elementary stream ...
(http://rarewares.org/mp4.html - maybe the Philips MPEG4 Player will do the job)
anyway I prefer AMR (afaik not part of the MPEG-4 audio codec family but still part of 3GP):
-free encoder (ffmpeg)
-free muxer (mp4box)
-free dshow filters (haali's mp4 splitter + ffdshow's amr decoder)
cya ;)
mp4box supports the importing of .qcp files, which includes qcelp afaik (but is not raw qcelp, but a container format for it)
planet1
11th May 2005, 21:00
http://filext.com/detaillist.php?extdetail=QCP
so that's what the .qcp extension is for - thx bond
(though jeanlf could have mentioned Q-CELP in his extension list http://gpac.sourceforge.net/auth_mp4box.php ;) )
http://www.cdmatech.com/images/products/mimage_purevoice_127x118.gif
http://www.cdmatech.com/solutions/products/purevoice.jsp
Player:
ftp://ftp.eudora.com/eudora/purevoice/windows/PureWin132.exe (probably too old)
ftp://ftp.eudora.com/purevoice/windows/PureWin200b5.exe.old (incl. DirectShow filter *rename .exe.old -> .exe*)
Encoder:
ftp://ftp.eudora.com/eudora/purevoice/windows/PVConverter3_1.zip
"pvconv v3.1.0: converts PCM (mono, 8 kHz, 16-bit) wav file to PureVoice qcp file, and vice-versa."
my approach:
ffmpeg.exe -i audio.ac3 -hq -vn -acodec pcm_s16be -ac 1 -ar 8000 audio.wav
pvconv audio.wav
(mp4box -add video.avi -add audio.qcp final.mp4)
mp4box -add video.avi -add audio.qcp -3gp final.3gp
results:
QuickTime doesnt play the 3GP - maybe because:
QT uses - Media Sub Type "mp4a"
and
mp4box - Media Sub Type "sqcp"
btw mp4box can correctly extract the QT-encoded 3GPP2 files
(extracted .qcp plays fine in the PureVoice Player)
Now if I only could convince Haali to add Q-CELP support to his splitter (assuming the Qualcomm dshow filters are of any use) :rolleyes:
Last but not least i wonder how EVRC & SMV are related to QCP - maybe they represent the two modes referred in the Player (PureVoice & SmartRate).
http://gpac.sourceforge.net/auth_mp4box.php
sabeel
12th May 2005, 06:51
Hi all
I am trying to create MPEG4-CELP streams ..which means the audio coding format defined in MPEG-4 STANDARD for speech encoding defined in ISO/IEC 14496-3 (SUB PART-3 Speech Coding - CELP)
I am trying to finally put this MPEG4-CELP in an MP4fileformat .. by using mp4creater.exe to do this job.this is ofcourse if there is an encoder that would give me MPEG4-CELP raw stream or i dont need to use to mp4creator.exe if the encoder can give me directly in mp4 fileformat.
The problem is i have tried this mpeg4-celp encoder from mpeg4 audio reference software .. and i have been successfully been able to create the mpeg4-celp audio stream in MP4 fileformat.
BUT these MP4 fileformat streams are not playing on any players like philips-platform4,mpegable,quicktime.
ALSO I DONT THINK IT IS A PROBLEM WITH PLAYERS LIKE PHILIPS4-PLATFORM PLAYER AND and 'wmp4player' from mpeg4Ip tools BECAUSE I have tried playing some 'MP4 fileformat streams' with Mpeg4-CELP' in philips-platform4 player and 'wmp4player',and these two players do play these Mp4 fileformat stream with MPEG4-celp.
I have verified that the MP4fileformat stream with MPEG-CELP audio created by using MPEG4 reference audio encoder is proper as i am getting the correct information abt the MPEG4-CELP stream like bitrate,sampling freq etc..by using MP4GUI and Mp4info.exe...this information matches with my encoding parameters.I have also decoded this MP4 fileformat stream with MPEG4-CELP by using the MPEG4 reference audio decoder and i by doing this decoding i have been able able to get back my source wave file properly.Hence it may not be a problem with mp4fileformat stream with MPEG4-CELP audio.
THATS WHY I DONT UNDERSTAND WHY those mp4 fileformat streams with mpeg4-celp, that i have created using the mpeg4 reference audio software are not playing in these players.
HENCE I want to know whether there are any OTHER freely available MPEG4-CELP encoders,as i want to create MPEG4-CELP streams only,either as a raw MPEG-CELP audio stream or MPEG4-CELP stream in MP4 fileformat.
waiting for a positive response on the issue
thank you
sabeel
as i wrote on hydrogenaudio, upload such a small celp .mp4 somewhere so we can check it ourselves
if you ignore us wanting to help you, we will start to ignore you
SeeMoreDigital
12th May 2005, 12:11
Originally posted by bond
as i wrote on hydrogenaudio, upload such a small celp .mp4 somewhere so we can check it ourselvesAgreed!
You can email a short sample to me if you like at SeeMoreDigital@msn.com
Cheers
sabeel
12th May 2005, 12:28
Hi bond,SeeMoreDigital
i have attached the MP4 fileformat stream with MPEG4-CELP audio in this reply.This is an MP4 fileformat stream with MPEG4-CELP audio that i have created using the MPEG4-CELP encoder from MPEG4 reference audio software.
I hope u guys will be able to access the attachment.Pls do let me know if u guys arent able to..i shall mail it to u guys...bond where..do u want me to mail u
The fact that some program/hardware can read corectly the headers, is not meant that they are capable to decode the rest of the file.
eb
SeeMoreDigital
12th May 2005, 13:48
Sabeel has emailed me a test clip which you guys can download here (http://82.2.167.237/Uploaded_Files/Doom9_Forum_files/Sabeel_Test_Clip01.zip).
EDIT: I must admit I've been unable to play the file in any of my players (including hardware players)... even tried de-muxing and re-muxing the stream :(
Cheers
hm it seems your stream is "error resilient" celp and not normal celp
most decoders cant decode the error resilient versions of the streams they normally support (the same for mpeg-4 video, aac aso...)
i assume you enabled error resilience while encoding with the reference, make sure its disabled
sabeel
12th May 2005, 19:15
Hi Bond
Thnx for reply.
But the confusing part is that the MPEG4-CELP encoder of MPEG4 reference audio software doesnt has any option like enabling or disabling the error-resilient property of the MPEG4-CELP stream
Can u please enlighten me as to how i can avoid the enabling of error-resilience property..since i couldnt find such an option in the MPEG4-CELP reference encoder.
(If incase we cannot disable the error-resilience property IN THE MPEG4-CELP ENCODER OF MPEG4 AUDIO REFERENCE SOFTWARE..can anyone please suggest any other freely available MPEG4-CELP encoder)
waiting for a positive response
thnx
sabeel
sorry, dunno anything about the celp reference encoder, but i cant imagine that you cant set any options, not even in the source before compiling!?
sabeel
12th May 2005, 20:27
Thnx bond
Actually. i would not understand the source code as it is written in such a jargon manner.The reference encoder seems to encode the MPEG4-CELP streams inherently in a error-resilient way.
HENCE Can anyone please tell me whether there are any OTHER freely available MPEG4-CELP encoders,as i want to create MPEG4-CELP streams only,either as a raw MPEG-CELP audio stream or MPEG4-CELP stream in MP4 fileformat
Waiting for a positive response
Thnx
sabeel
sabeel
13th May 2005, 07:33
Hi all
I wanted to know what is the meaning of "error-resilient MPEG4-CELP".
How do u make out syntactically or other way that MPEG4-CELP stream is error-resilient.
Is their a way in the syntax of MPEG4-CELP that i can find out if the stream is error-resilient.
Are their any modes in encoding of MPEG-CELP that error-resilient property of MPEG4-CELP is set and if i use other modes it would then probably result in not using the error resilience of MPEG4-CELP stream.
thnx
sabeel
SeeMoreDigital
13th May 2005, 09:08
Please sabeel... hold back on the red text!
It attention grabbing in all the wrong ways...
Cheers
planet1
13th May 2005, 11:54
Seems that my assumption was wrong.
Q-CELP (used in 3GPP2) is NOT similar/compatible to MPEG4-CELP (used in MP4) ! :eek:
It rather seems that MPEG4-CELP has more in common with AMR (e.g. ACELP algorithm):
http://www.audiocoding.com/modules/wiki/?page=CELP
planet1
13th May 2005, 11:59
http://www-mobile.ecs.soton.ac.uk/speech_codecs/standards/dod_celp.html
conspiracy theories are welcome ! :devil:
sabeel, no need to send me a pm with the same questions you also post in the thread...
if i know the answer i will answer
I wanted to know what is the meaning of "error-resilient MPEG4-CELP". error resilience means that a decoder that supports error resilience can reproduce errors in the bitstream while decoding it, errors that might have been introduced by a crappy transition (eg radio) for example
How do u make out syntactically or other way that MPEG4-CELP stream is error-resilient. syntactically? no idea
Is their a way in the syntax of MPEG4-CELP that i can find out if the stream is error-resilient. your .mp4 file signals that the stream is error resilient. as i dont assume that the reference encoder signals this wrongly, i assume your stream is error resilient
Are their any modes in encoding of MPEG-CELP that error-resilient property of MPEG4-CELP is set and if i use other modes it would then probably result in not using the error resilience of MPEG4-CELP stream. no idea
vBulletin® v3.8.2, Copyright ©2000-2009, Jelsoft Enterprises Ltd.