Old Blogs

Old blogs

Which API works with which codecs: the source

Application development - December 20th, 2006 - Written by Oren Levine

Here’s the source code for the codec discovery application I posted a couple of days ago. Use it as you wish; we have already heard from some developers who want to include automatic codec detection in their applications, so that they can use the right codec or format for a particular device.

Update Dec. 21: Here are the codec trace files for the devices we tested. These include more detailed information than is listed in the table in the previous post.

-Oren

About the author Oren Levine

I’m Oren Levine and I work in the S60 marketing team, focusing on what S60 offers to software developers and others who are interested in [..]

  • Number of posts: 54

Comments(2)

  1. yuku wrote

    I was surprised to see on the trace file that 3250 supports video recordings of 352×288 and 320×240. The internal video recorder only supports up to 176×144.

    Does it mean that actually the phone is able to record in bigger resolution? Is there any application/demo that can record in higher resolution?

    Thank you.

  2. Florin wrote

    Hello Yuku,

    The codec supports those higher resolutions, but I can not comment on how how real-time the entire recording process is. I do not have idea about applications using these higher resolutions, but I hope some will be created/updated. After all, the information here is intended for developers.

Which API works with which codecs? Your questions answered

Application development, Devices, Music, Video - December 18th, 2006 - Written by Oren Levine

Some of the most common questions we hear from S60 multimedia developers concern the differences in multimedia support among different S60 devices. Because the multimedia feature set in a given device depends in large part on the device hardware, different devices may support different audio and video codecs. These hardware dependencies also affect the SDK; a particular API may only work with a subset of the supported codecs in the device.

My colleague Florin Lohan came up with a clever way to get to the bottom of this problem, and find out more about these hardware issues for you in the developer community. He wrote a simple S60 application that lists the codecs supported in the device, and ran it on every S60 device he could find to compile a comprehensive list of devices, API’s, and codecs. You can download it and try it out on your favorite S60 device.

Read on for more info about the codecs and API’s. We plan to publish this information to Forum Nokia as well in the near future.

-Oren


Device categories:

S60 3rd Edition
30H1: N71, N72, N73, N75, N80, N91, N92, E60, E61, E70
30H2: 3250, 5500, E50, E62
30H3: N93

S60 3rd Edition Feature Pack 1:
31H1: N95
31H2: 6290

Audio codecs

audio_codecs_s.gif

(Click here for full-size image)

( 1) CMMFCodec-based AAC encoder present, but there is no MMF Controller to use this codec alone. AAC encoding used in capturing video from phone’s camera, or getting AAC emcapsulated inside mp4 file format (without video).
( 2) not in N80, N91
( 3) not in 5500
( 4) not in E60, E61, E65, E70, N91
( 5) not in N92,
( 6) not in N91
( 7) not in E60, E61, E70
( 8) not in 5500, E50,
( 9) not in 5500
(10) not in E62

Video codecs

video codecs.GIF

(1) RealVideo, H.263/MPEG-4 and H.264 decoders in 31H1 are HW accelerated
(2) Not in E62
(3) Not in E-Series phones (E60, E61, E70)

About the author Oren Levine

I’m Oren Levine and I work in the S60 marketing team, focusing on what S60 offers to software developers and others who are interested in [..]

  • Number of posts: 54

Comments(10)

  1. Steve Litchfield wrote

    Err…. this video table/page is a mess in MSIE - you might want to rethink the layout?

  2. Oren Levine wrote

    Thanks, Steve. I replaced the tables with graphics (still not ideal) until I can sort out the formatting.

  3. Eldar Murtazin wrote

    Great apps. I try it on some FP1 devices and get a very interesting info. At least 4 devices are very different in terms of 3D hardware :)
    31H1 means 3td edition FP1 Hardware 1 (with 3D accelerator from OMAP 2420)

    31H2 the same but with software accelerator, right?

  4. Florin Lohan wrote

    Hello Eldar,

    31H2 does not use OMAP. Except for AMR-NB encoding, all encoding and decoding is in software.
    If you send the logs for those 4 devices to me, I can try to explain what is there :-)

  5. Jukka Eklund wrote

    3D graphics is a different topic, it would require another table I think.

    OMAP2420 is the only HW capable of accelerated 3D graphics (OpenGL ES).

  6. Nav wrote

    How about accessing the codecs? Anybody is successful in that. I retrieved the devvideo encoder features on N80. But getting errors when trying to use the h.263 encoder using CMMFDevVideoRecord. I have tried the normal steps of doing it. But is there any issue in general?

  7. Gerardo wrote

    I was interested on getting this list dyncamically from code. What API’s have you used to accomplish this?. I am interested on getting the list of audio codecs supported by a device, as i said, dynamically, from code. Any ideas?

  8. Florin wrote

    Gerardo, just take a look to the next post in this blog.
    Nav, you may need professional support from Forum Nokia. This is available to Forum Nokia PRO members.

  9. Gopal wrote

    I tried your codec .sis on my E61, but got “System Error (-18)”? Does it mean that no Hardware codecs exist in my E61?
    =====================================
    KErrNotReady -18 A device required by an i/o operation is not ready to start operations. A common reason for returning this code is because a device has not been initialised, or has no power.
    =====================================

  10. Max Vlasov wrote

    Oren, very useful app, but along the answers it adds some question in some areas. For example, many applications consider 8kHz, 16 bit the best audio for Nokia 6120c, but two moments confuses me, 2 of 3 audio encoders that Codecs had showed supports 48 kHz, and also mp4 videos on the device are actually recorded with the audio track at 48 kHz. Is it possible to add some audio capabilities information about the device like all possible frequencies and sample resolutions? I’m not aware of such application that supplies the information.

    Also, as I found out, the app uses generic UID (0xA000017F) and this can lead to “Update error” in cases when another app uses the same UID. THe latter is possible since there are many little apps created for one’s internal research needs but later becoming public. Generally it’s not a big deal, but it took some time for me to find this. So if it’s possible, please, assign an unique UID.

    Thanks

Visit new S60 Blogs

You are browsing old S60 blogs. Please note that these sections are not updated any more. Go to the new S60 Blogs to find out the latest news!

New blog categories:

Categories

What is S60?