[Fiware-creatifi-coaching] [CreatiFI Benelux Hub] Kurento-based video recorder produces invalid video files

Andrea Maestrini amaestrini at create-net.org
Tue Jul 14 08:34:42 CEST 2015


Dear FIWARE coach,
we received an updated from a CreatiFI applicants.
CreatiFI phase 1 finishes on 15th of July.
The developer needs an answer asap.
Could you provide some hints?
Thanks in advance.

***********************************************

Here are the details:

1. Logs:

https://gist.github.com/mbajur/7b28464e80803f7bcc10

2. Version:

 Found modules:
    Module: 'core' version '5.1.0'
    Module: 'elements' version '5.1.0'
    Module: 'filters' version '5.1.0'

3. https://gist.github.com/mbajur/27d9bf6dd6467f0546c7
4. We're trying to record audio and video using webRTC recorder (and save
it to webm). It was recording files pretty well for a few times when we
started working on it but, after some time, it stoped. Without making any
changes to the JS code. It's apparently an issue with the backend

***********************************************

On Wed, Jul 1, 2015 at 12:36 PM, Andrea Maestrini <amaestrini at create-net.org
> wrote:

> Dear FIWARE coach,
> we forward you an update request received from a CreatiFI applicant we are
> not able to solve.
> Please let us know if you need direct contact with the submitter.
> Thanks.
>
> **********************************
>
> Previously, we've been trying to use kurento server to record a webcam
> videos in browser, save them on the server as mp4 files and send them to
> our video processing backend.
>
> Kurento uses webm as a default but that extension is not supported by
> Windows Media Services (used by our backend) so we were forced to try to
> use a mp4 saving format.
>
> First attempt ended up with empty files generated by Kurento. After few
> issues created and few discussions on github and [tutaj nazywa tego serwisu
> do zgłaszania usterek w kurento] we have been told, that it's a common
> issue when kurento is configured to use mp4 and we should change it to webm.
>
> We have tried that recently but that issue is still there - kurento
> produces empty, 0 byte webm files which are obviously corrupted and are not
> able to be processed by ffmpeg nor Windows Media Services.
>
> Basically this is the "status report" on the solution that FIWARE expert
> has been provided to us before: "We have been making some tests and our
> recommendation for you is to record using WEBM format and later
> post-process and transcode the media to the format you want. Recording
> needs to take place in live mode and some MP4 players don't like the
> container format required for that. Using WEBM in combination with a
> post-processing step (for which you can use ffmpeg) is probably your best
> option for avoiding such type of incompatibilities."
>
> However, even after changing the video format to webm as it has been
> suggested to us -- the 0-file-size problem persists.
> The question is then - is there anything else that can be done about it?
> **********************************
>
> On Thu, Apr 9, 2015 at 2:48 PM, Andrea Maestrini <
> amaestrini at create-net.org> wrote:
>
>> Dear FIWARE coach,
>> we forward you a support request received from a CreatiFI applicant we
>> are not able to solve.
>> Please let us know if you need direct contact with the submitter.
>> Thanks.
>>
>> *******************************
>>
>> We are using Kurento to capture video from browsers - specifically
>> Android phone based browser - to avoid the users having to download and
>> install the VBOT native video recorder app.
>>
>> We have installed Kurento Media Server on our server - the reason is that
>> we are uploading the recorded videos further to our VBOT pipeline. We
>> needed to keep our middleware and Kurento installed on the same server to
>> be able to push the video file to our storage (MS Azure).
>>
>> After installation everything was working great but after a day, without
>> any further changes made to the code, we have encountered a strange issue
>> with files generated by a recorder.
>>
>> Basically, files saved by kurento recorder javascript app are corrupted
>> (empty) and running
>>
>> ffmpeg -i /tmp/video.mp4
>>
>> returns:
>>
>> /tmp/video.mp4: Invalid data found when processing input
>>
>> JS Client code: https://gist.github.com/p-grzelczak/236f1e8d9e10eca95fe2
>>
>> What can be possibly wrong in here or how to even debug that?
>>
>> I would really appreciate the help.
>>
>> *******************************
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.fiware.org/private/fiware-creatifi-coaching/attachments/20150714/a74afff5/attachment.html>


More information about the Fiware-creatifi-coaching mailing list

You can get more information about our cookies and privacy policies clicking on the following links: Privacy policy   Cookies policy