RecorderEndpoint : Can we record MP4 video with AAC audio codec ?

1,226 views
Skip to first unread message

SAGAR PILKHWAL

unread,
Sep 30, 2016, 3:43:38 AM9/30/16
to kurento
Hi,

Is it possible to change the recorder endpoint configuration to record MP4 video in AAC audio codec format. Unfortunately I want to play recorded video in IE browser which only supports MP3 and AAC audio codecs.

Regards,
Sagar Pilkhwal

Ivan Gracia

unread,
Sep 30, 2016, 1:33:14 PM9/30/16
to Kurento Public
I think it's better to do some post-edition of the file, rather than transcoding it to AAC and MP4 in real time, just to avoid the CPU load. Other than that, the recorder uses h.264 and MPEG when configured to record in MP4.

Ivan Gracia



--
You received this message because you are subscribed to the Google Groups "kurento" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kurento+unsubscribe@googlegroups.com.
To post to this group, send email to kur...@googlegroups.com.
Visit this group at https://groups.google.com/group/kurento.
For more options, visit https://groups.google.com/d/optout.

Robert Swain

unread,
Nov 17, 2016, 10:57:28 AM11/17/16
to kurento
It is outputting MPEG-1 Layer 3 audio it seems. In my opinion, it should really default to LC AAC as that is the expectation when encountering audio in any MP4 file. MP3 audio in MP4 is a bit weird.


On Friday, 30 September 2016 19:33:14 UTC+2, igracia wrote:
I think it's better to do some post-edition of the file, rather than transcoding it to AAC and MP4 in real time, just to avoid the CPU load. Other than that, the recorder uses h.264 and MPEG when configured to record in MP4.

Ivan Gracia



On Fri, Sep 30, 2016 at 9:43 AM, SAGAR PILKHWAL <pilkhwa...@gmail.com> wrote:
Hi,

Is it possible to change the recorder endpoint configuration to record MP4 video in AAC audio codec format. Unfortunately I want to play recorded video in IE browser which only supports MP3 and AAC audio codecs.

Regards,
Sagar Pilkhwal

--
You received this message because you are subscribed to the Google Groups "kurento" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kurento+u...@googlegroups.com.

Robert Swain

unread,
Nov 24, 2016, 6:48:31 AM11/24/16
to kurento
I have tested patching the MP4 recording profiles in kms-core to use AAC instead of mp3 and that improved compatibility as QuickTime Player on macOS was then able to play the files. Specifically, change https://github.com/Kurento/kms-core/blob/master/src/gst-plugins/commons/kmsrecordingprofile.c#L69 to:

    GstCaps *ac = gst_caps_from_string ("audio/mpeg,mpegversion=4");

Johnny Hauser

unread,
Jan 30, 2017, 10:51:31 PM1/30/17
to kurento
Kurento 6.4 is producing compatible mp4 files for me, but mp4 files with Kurento 6.6 don't have audio on iOS devices. In order to upgrade, I think I need a build that has your change, Robert. How can I create a kurento media server executable that has it? Do you happen to have a Dockerfile for it? I figured out the build process for the kurento-media-server repo, but I used the script in the README to get the dependencies like kms-core.

mi...@ammonite.com.au

unread,
Sep 6, 2017, 2:11:26 AM9/6/17
to kurento
Any update on this? I'm thinking this will fix the issues with Safari 11 and Safari on IOS 11 Beta not being able to handle the audio streamed back. (the video is great)

Melissa Horton

unread,
Sep 8, 2017, 8:34:46 PM9/8/17
to kurento
I am stuck in the same spot
Message has been deleted
Message has been deleted

vijay krishna

unread,
Dec 28, 2017, 8:47:33 PM12/28/17
to kurento

I faced similar issue today. I tried to build kms-core from github repo. Looks like ubuntu repos have been changed, I am getting connection timed out for debian repo . Somehow I've managed to build kms-core into a deb file and make that mp4 recording working. If anyone needs the above mentioned updated deb file, I can provide it.
Reply all
Reply to author
Forward
0 new messages