Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > General > Audio encoding

Reply
 
Thread Tools Display Modes
Old 11th May 2005, 14:41   #1  |  Link
sabeel
Registered User
 
Join Date: May 2005
Posts: 18
Free download of MPEG4-CELP encoder ?

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
sabeel is offline   Reply With Quote
Old 11th May 2005, 16:32   #2  |  Link
Sirber
Registered User
 
Sirber's Avatar
 
Join Date: Oct 2002
Location: Canada
Posts: 8,732
What is MPEG4-CELP ?
__________________
download RealAnime and Bencos
Sirber is offline   Reply With Quote
Old 11th May 2005, 16:48   #3  |  Link
SeeMoreDigital
Life looks better in HDTV
 
SeeMoreDigital's Avatar
 
Join Date: Jun 2003
Location: UK
Posts: 10,009
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
__________________
Still confused about anamorphic images? Then look here! | Main Encoding Interests: Hardware device playback | My Gear |
SeeMoreDigital is offline   Reply With Quote
Old 11th May 2005, 18:50   #4  |  Link
bond
Moderator
 
Join Date: Nov 2001
Posts: 9,780
Quote:
Originally posted by Sirber
What is MPEG4-CELP ?
the audio coding format defined in mpeg-4 for speech encoding

Quote:
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
__________________
Between the weak and the strong one it is the freedom which oppresses and the law that liberates (Jean Jacques Rousseau)
I know, that I know nothing (Socrates)

MPEG-4 ASP FAQ | AVC/H.264 FAQ | AAC FAQ | MP4 FAQ | MP4Menu stores DVD Menus in MP4 (guide)
Ogg Theora | Ogg Vorbis
use WM9 today and get Micro$oft controlling the A/V market tomorrow for free
bond is offline   Reply With Quote
Old 11th May 2005, 19:49   #5  |  Link
planet1
... space nerd ...
 
planet1's Avatar
 
Join Date: Feb 2004
Location: Terra
Posts: 150
QCELP (mpeg-4 style) is/will be used in the 3GPP2 standard (americas):

http://www.apple.com/quicktime/techn.../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
planet1 is offline   Reply With Quote
Old 11th May 2005, 20:01   #6  |  Link
bond
Moderator
 
Join Date: Nov 2001
Posts: 9,780
mp4box supports the importing of .qcp files, which includes qcelp afaik (but is not raw qcelp, but a container format for it)
__________________
Between the weak and the strong one it is the freedom which oppresses and the law that liberates (Jean Jacques Rousseau)
I know, that I know nothing (Socrates)

MPEG-4 ASP FAQ | AVC/H.264 FAQ | AAC FAQ | MP4 FAQ | MP4Menu stores DVD Menus in MP4 (guide)
Ogg Theora | Ogg Vorbis
use WM9 today and get Micro$oft controlling the A/V market tomorrow for free
bond is offline   Reply With Quote
Old 11th May 2005, 22:00   #7  |  Link
planet1
... space nerd ...
 
planet1's Avatar
 
Join Date: Feb 2004
Location: Terra
Posts: 150
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/solutions/pr.../purevoice.jsp


Player:

ftp://ftp.eudora.com/eudora/purevoic...PureWin132.exe (probably too old)
ftp://ftp.eudora.com/purevoice/windo...n200b5.exe.old (incl. DirectShow filter *rename .exe.old -> .exe*)


Encoder:

ftp://ftp.eudora.com/eudora/purevoic...nverter3_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)

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
planet1 is offline   Reply With Quote
Old 12th May 2005, 07:51   #8  |  Link
sabeel
Registered User
 
Join Date: May 2005
Posts: 18
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
sabeel is offline   Reply With Quote
Old 12th May 2005, 12:43   #9  |  Link
bond
Moderator
 
Join Date: Nov 2001
Posts: 9,780
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
__________________
Between the weak and the strong one it is the freedom which oppresses and the law that liberates (Jean Jacques Rousseau)
I know, that I know nothing (Socrates)

MPEG-4 ASP FAQ | AVC/H.264 FAQ | AAC FAQ | MP4 FAQ | MP4Menu stores DVD Menus in MP4 (guide)
Ogg Theora | Ogg Vorbis
use WM9 today and get Micro$oft controlling the A/V market tomorrow for free
bond is offline   Reply With Quote
Old 12th May 2005, 13:11   #10  |  Link
SeeMoreDigital
Life looks better in HDTV
 
SeeMoreDigital's Avatar
 
Join Date: Jun 2003
Location: UK
Posts: 10,009
Quote:
Originally posted by bond
as i wrote on hydrogenaudio, upload such a small celp .mp4 somewhere so we can check it ourselves
Agreed!

You can email a short sample to me if you like at SeeMoreDigital@msn.com


Cheers
__________________
Still confused about anamorphic images? Then look here! | Main Encoding Interests: Hardware device playback | My Gear |
SeeMoreDigital is offline   Reply With Quote
Old 12th May 2005, 13:28   #11  |  Link
sabeel
Registered User
 
Join Date: May 2005
Posts: 18
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
Attached Files
File Type: zip testcelp.zip (125.5 KB, 137 views)

Last edited by sabeel; 12th May 2005 at 13:31.
sabeel is offline   Reply With Quote
Old 12th May 2005, 13:30   #12  |  Link
eb
Registered User
 
Join Date: Feb 2004
Location: Poland
Posts: 515
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
eb is offline   Reply With Quote
Old 12th May 2005, 14:48   #13  |  Link
SeeMoreDigital
Life looks better in HDTV
 
SeeMoreDigital's Avatar
 
Join Date: Jun 2003
Location: UK
Posts: 10,009
Sabeel has emailed me a test clip which you guys can download here.

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
__________________
Still confused about anamorphic images? Then look here! | Main Encoding Interests: Hardware device playback | My Gear |

Last edited by SeeMoreDigital; 12th May 2005 at 15:42.
SeeMoreDigital is offline   Reply With Quote
Old 12th May 2005, 16:10   #14  |  Link
bond
Moderator
 
Join Date: Nov 2001
Posts: 9,780
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
__________________
Between the weak and the strong one it is the freedom which oppresses and the law that liberates (Jean Jacques Rousseau)
I know, that I know nothing (Socrates)

MPEG-4 ASP FAQ | AVC/H.264 FAQ | AAC FAQ | MP4 FAQ | MP4Menu stores DVD Menus in MP4 (guide)
Ogg Theora | Ogg Vorbis
use WM9 today and get Micro$oft controlling the A/V market tomorrow for free
bond is offline   Reply With Quote
Old 12th May 2005, 20:15   #15  |  Link
sabeel
Registered User
 
Join Date: May 2005
Posts: 18
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
sabeel is offline   Reply With Quote
Old 12th May 2005, 20:58   #16  |  Link
bond
Moderator
 
Join Date: Nov 2001
Posts: 9,780
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!?
__________________
Between the weak and the strong one it is the freedom which oppresses and the law that liberates (Jean Jacques Rousseau)
I know, that I know nothing (Socrates)

MPEG-4 ASP FAQ | AVC/H.264 FAQ | AAC FAQ | MP4 FAQ | MP4Menu stores DVD Menus in MP4 (guide)
Ogg Theora | Ogg Vorbis
use WM9 today and get Micro$oft controlling the A/V market tomorrow for free
bond is offline   Reply With Quote
Old 12th May 2005, 21:27   #17  |  Link
sabeel
Registered User
 
Join Date: May 2005
Posts: 18
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 is offline   Reply With Quote
Old 13th May 2005, 08:33   #18  |  Link
sabeel
Registered User
 
Join Date: May 2005
Posts: 18
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

Last edited by sabeel; 13th May 2005 at 08:38.
sabeel is offline   Reply With Quote
Old 13th May 2005, 10:08   #19  |  Link
SeeMoreDigital
Life looks better in HDTV
 
SeeMoreDigital's Avatar
 
Join Date: Jun 2003
Location: UK
Posts: 10,009
Please sabeel... hold back on the red text!

It attention grabbing in all the wrong ways...


Cheers
__________________
Still confused about anamorphic images? Then look here! | Main Encoding Interests: Hardware device playback | My Gear |
SeeMoreDigital is offline   Reply With Quote
Old 13th May 2005, 12:54   #20  |  Link
planet1
... space nerd ...
 
planet1's Avatar
 
Join Date: Feb 2004
Location: Terra
Posts: 150
Seems that my assumption was wrong.

Q-CELP (used in 3GPP2) is NOT similar/compatible to MPEG4-CELP (used in MP4) !

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 is offline   Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 16:16.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.