Uploaded image for project: 'Help-Coaches-Desk'
  1. Help-Coaches-Desk
  2. HELC-627

FIWARE.Request.Coach.CreatiFI.Kurento-based video recorder produces invalid video files

    Details

    • Type: extRequest
    • Status: Closed
    • Priority: Major
    • Resolution: Done
    • Component/s: CreatiFI
    • Labels:
      None

      Description

      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.

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

      _______________________________________________
      Fiware-creatifi-coaching mailing list
      Fiware-creatifi-coaching@lists.fi-ware.org
      https://lists.fi-ware.org/listinfo/fiware-creatifi-coaching

      [Created via e-mail received from: Andrea Maestrini <amaestrini@create-net.org>]

        Issue Links

          Activity

          Hide
          llopez NaevaTeC Development Team added a comment -

          We didn't receive further comments on this. We close the issue.

          Show
          llopez NaevaTeC Development Team added a comment - We didn't receive further comments on this. We close the issue.
          Hide
          fw.ext.user FW External User added a comment -

          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.

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

          Dear,
          we have upgraded kurento to 6.0.1 and used the js client recorder you
          provided above but our setup is still broken.

          ALL the files (both in webm and mp4 format) have 382 bytes of size and
          ffmpeg says they are corrupted (so we can't use them). Kurento log for each
          recording session looks like that:

          (gst-plugin-scanner:30395): GStreamer-CRITICAL **:
          gst_structure_new_empty: assertion 'gst_structure_validate_name
          (name)' failed
          2015-07-30 10:38:30.330303 30389 [140047692265600] info
          KurentoModuleManager ModuleManager.cpp:129 loadModules() Looking
          for modules in /usr/lib/x86_64-linux-gnu/
          kurento/modules
          2015-07-30 10:38:30.331300 30389 [140047692265600] debug
          KurentoModuleManager ModuleManager.cpp:85 loadModule() Module
          loaded from /usr/lib/x86_64-linux-gnu/kurento/modules/libkmscoremodule.so
          2015-07-30 10:38:30.331434 30389 [140047692265600] info
          KurentoModuleManager ModuleManager.cpp:108 loadModule() Loaded
          core version 5.1.5
          2015-07-30 10:38:30.332344 30389 [140047692265600] debug
          KurentoModuleManager ModuleManager.cpp:85 loadModule() Module
          loaded from /usr/lib/x86_64-linux-gnu/kurento/modules/libkmsfiltersmodule.so
          2015-07-30 10:38:30.332391 30389 [140047692265600] info
          KurentoModuleManager ModuleManager.cpp:108 loadModule() Loaded
          filters version 5.1.1
          2015-07-30 10:38:30.338288 30389 [140047692265600] debug
          KurentoModuleManager ModuleManager.cpp:85 loadModule() Module
          loaded from /usr/lib/x86_64-linux-gnu/kurento/modules/libkmselementsmodule.so
          2015-07-30 10:38:30.338366 30389 [140047692265600] info
          KurentoModuleManager ModuleManager.cpp:108 loadModule() Loaded
          elements version 5.1.4
          2015-07-30 10:38:30.338531 30389 [140047692265600] info
          KurentoMediaServer main.cpp:217 main() Kmsc version: 5.1.3
          2015-07-30 10:38:30.338553 30389 [140047692265600] info
          KurentoMediaServer main.cpp:57 load_config() Reading
          configuration from: /etc/kurento/kurento.conf.json
          2015-07-30 10:38:30.338812 30389 [140047692265600] info
          KurentoMediaServer main.cpp:69 load_config() Configuration
          loaded successfully
          2015-07-30 10:38:30.339436 30389 [140047692265600] info
          KurentoWebSocketTransport WebSocketTransport.cpp:206
          WebSocketTransport() Secure websocket server not enabled
          2015-07-30 10:38:30.339797 30389 [140047692265600] info
          KurentoMediaServer main.cpp:224 main() Mediaserver started
          2015-07-30 10:38:30.339917 30389 [140047555254016] debug
          KurentoWorkerPool WorkerPool.cpp:36 workerThreadLoop() Working
          thread starting
          2015-07-30 10:38:30.339979 30389 [140047563646720] debug
          KurentoWorkerPool WorkerPool.cpp:36 workerThreadLoop() Working
          thread starting
          2015-07-30 10:39:19.787433 30389 [140047692265600] debug
          KurentoMediaServer main.cpp:92 signal_handler() Terminating.
          2015-07-30 10:39:19.787559 30389 [140047692265600] debug
          KurentoWebSocketTransport WebSocketTransport.cpp:303 stop() stop
          transport
          2015-07-30 10:39:19.787955 30389 [140047692265600] info
          KurentoMediaServer main.cpp:230 main() Mediaserver stopped
          MediaSet destruction disabled by default
          libdc1394 error: Failed to initialize libdc1394

          Thanks,
          Mike

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

          On Tue, Jul 14, 2015 at 8:34 AM, Andrea Maestrini <amaestrini@create-net.org
          > wrote:

          > 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@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@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.
          >>>
          >>> *******************************
          >>>
          >>
          >>
          >

          _______________________________________________
          Fiware-creatifi-coaching mailing list
          Fiware-creatifi-coaching@lists.fi-ware.org
          https://lists.fi-ware.org/listinfo/fiware-creatifi-coaching

          Show
          fw.ext.user FW External User added a comment - 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. ******************* Dear, we have upgraded kurento to 6.0.1 and used the js client recorder you provided above but our setup is still broken. ALL the files (both in webm and mp4 format) have 382 bytes of size and ffmpeg says they are corrupted (so we can't use them). Kurento log for each recording session looks like that: (gst-plugin-scanner:30395): GStreamer-CRITICAL **: gst_structure_new_empty: assertion 'gst_structure_validate_name (name)' failed 2015-07-30 10:38:30.330303 30389 [140047692265600] info KurentoModuleManager ModuleManager.cpp:129 loadModules() Looking for modules in /usr/lib/x86_64-linux-gnu/ kurento/modules 2015-07-30 10:38:30.331300 30389 [140047692265600] debug KurentoModuleManager ModuleManager.cpp:85 loadModule() Module loaded from /usr/lib/x86_64-linux-gnu/kurento/modules/libkmscoremodule.so 2015-07-30 10:38:30.331434 30389 [140047692265600] info KurentoModuleManager ModuleManager.cpp:108 loadModule() Loaded core version 5.1.5 2015-07-30 10:38:30.332344 30389 [140047692265600] debug KurentoModuleManager ModuleManager.cpp:85 loadModule() Module loaded from /usr/lib/x86_64-linux-gnu/kurento/modules/libkmsfiltersmodule.so 2015-07-30 10:38:30.332391 30389 [140047692265600] info KurentoModuleManager ModuleManager.cpp:108 loadModule() Loaded filters version 5.1.1 2015-07-30 10:38:30.338288 30389 [140047692265600] debug KurentoModuleManager ModuleManager.cpp:85 loadModule() Module loaded from /usr/lib/x86_64-linux-gnu/kurento/modules/libkmselementsmodule.so 2015-07-30 10:38:30.338366 30389 [140047692265600] info KurentoModuleManager ModuleManager.cpp:108 loadModule() Loaded elements version 5.1.4 2015-07-30 10:38:30.338531 30389 [140047692265600] info KurentoMediaServer main.cpp:217 main() Kmsc version: 5.1.3 2015-07-30 10:38:30.338553 30389 [140047692265600] info KurentoMediaServer main.cpp:57 load_config() Reading configuration from: /etc/kurento/kurento.conf.json 2015-07-30 10:38:30.338812 30389 [140047692265600] info KurentoMediaServer main.cpp:69 load_config() Configuration loaded successfully 2015-07-30 10:38:30.339436 30389 [140047692265600] info KurentoWebSocketTransport WebSocketTransport.cpp:206 WebSocketTransport() Secure websocket server not enabled 2015-07-30 10:38:30.339797 30389 [140047692265600] info KurentoMediaServer main.cpp:224 main() Mediaserver started 2015-07-30 10:38:30.339917 30389 [140047555254016] debug KurentoWorkerPool WorkerPool.cpp:36 workerThreadLoop() Working thread starting 2015-07-30 10:38:30.339979 30389 [140047563646720] debug KurentoWorkerPool WorkerPool.cpp:36 workerThreadLoop() Working thread starting 2015-07-30 10:39:19.787433 30389 [140047692265600] debug KurentoMediaServer main.cpp:92 signal_handler() Terminating. 2015-07-30 10:39:19.787559 30389 [140047692265600] debug KurentoWebSocketTransport WebSocketTransport.cpp:303 stop() stop transport 2015-07-30 10:39:19.787955 30389 [140047692265600] info KurentoMediaServer main.cpp:230 main() Mediaserver stopped MediaSet destruction disabled by default libdc1394 error: Failed to initialize libdc1394 Thanks, Mike ******************* On Tue, Jul 14, 2015 at 8:34 AM, Andrea Maestrini <amaestrini@create-net.org > wrote: > 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@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@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. >>> >>> ******************************* >>> >> >> > _______________________________________________ Fiware-creatifi-coaching mailing list Fiware-creatifi-coaching@lists.fi-ware.org https://lists.fi-ware.org/listinfo/fiware-creatifi-coaching
          Hide
          fw.ext.user FW External User added a comment -

          Dear,
          sorry, but we re-submitted a ticket on 30th of July, but up to now no
          feedback.
          The CreatiFI applicants need ASAP some feedback in order to fix him issues.
          Can you reply to us something asap, please?
          BR

          On Thu, Jul 30, 2015 at 3:50 PM, Andrea Maestrini <amaestrini@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.
          >
          > *******************
          >
          > Dear,
          > we have upgraded kurento to 6.0.1 and used the js client recorder you
          > provided above but our setup is still broken.
          >
          > ALL the files (both in webm and mp4 format) have 382 bytes of size and
          > ffmpeg says they are corrupted (so we can't use them). Kurento log for each
          > recording session looks like that:
          >
          > (gst-plugin-scanner:30395): GStreamer-CRITICAL **: gst_structure_new_empty: assertion 'gst_structure_validate_name (name)' failed
          > 2015-07-30 10:38:30.330303 30389 [140047692265600] info KurentoModuleManager ModuleManager.cpp:129 loadModules() Looking for modules in /usr/lib/x86_64-linux-gnu/
          > kurento/modules
          > 2015-07-30 10:38:30.331300 30389 [140047692265600] debug KurentoModuleManager ModuleManager.cpp:85 loadModule() Module loaded from /usr/lib/x86_64-linux-gnu/kurento/modules/libkmscoremodule.so
          > 2015-07-30 10:38:30.331434 30389 [140047692265600] info KurentoModuleManager ModuleManager.cpp:108 loadModule() Loaded core version 5.1.5
          > 2015-07-30 10:38:30.332344 30389 [140047692265600] debug KurentoModuleManager ModuleManager.cpp:85 loadModule() Module loaded from /usr/lib/x86_64-linux-gnu/kurento/modules/libkmsfiltersmodule.so
          > 2015-07-30 10:38:30.332391 30389 [140047692265600] info KurentoModuleManager ModuleManager.cpp:108 loadModule() Loaded filters version 5.1.1
          > 2015-07-30 10:38:30.338288 30389 [140047692265600] debug KurentoModuleManager ModuleManager.cpp:85 loadModule() Module loaded from /usr/lib/x86_64-linux-gnu/kurento/modules/libkmselementsmodule.so
          > 2015-07-30 10:38:30.338366 30389 [140047692265600] info KurentoModuleManager ModuleManager.cpp:108 loadModule() Loaded elements version 5.1.4
          > 2015-07-30 10:38:30.338531 30389 [140047692265600] info KurentoMediaServer main.cpp:217 main() Kmsc version: 5.1.3
          > 2015-07-30 10:38:30.338553 30389 [140047692265600] info KurentoMediaServer main.cpp:57 load_config() Reading configuration from: /etc/kurento/kurento.conf.json
          > 2015-07-30 10:38:30.338812 30389 [140047692265600] info KurentoMediaServer main.cpp:69 load_config() Configuration loaded successfully
          > 2015-07-30 10:38:30.339436 30389 [140047692265600] info KurentoWebSocketTransport WebSocketTransport.cpp:206 WebSocketTransport() Secure websocket server not enabled
          > 2015-07-30 10:38:30.339797 30389 [140047692265600] info KurentoMediaServer main.cpp:224 main() Mediaserver started
          > 2015-07-30 10:38:30.339917 30389 [140047555254016] debug KurentoWorkerPool WorkerPool.cpp:36 workerThreadLoop() Working thread starting
          > 2015-07-30 10:38:30.339979 30389 [140047563646720] debug KurentoWorkerPool WorkerPool.cpp:36 workerThreadLoop() Working thread starting
          > 2015-07-30 10:39:19.787433 30389 [140047692265600] debug KurentoMediaServer main.cpp:92 signal_handler() Terminating.
          > 2015-07-30 10:39:19.787559 30389 [140047692265600] debug KurentoWebSocketTransport WebSocketTransport.cpp:303 stop() stop transport
          > 2015-07-30 10:39:19.787955 30389 [140047692265600] info KurentoMediaServer main.cpp:230 main() Mediaserver stopped
          > MediaSet destruction disabled by default
          > libdc1394 error: Failed to initialize libdc1394
          >
          > Thanks,
          > Mike
          >
          > *******************
          >
          > On Tue, Jul 14, 2015 at 8:34 AM, Andrea Maestrini <
          > amaestrini@create-net.org> wrote:
          >
          >> 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@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@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.
          >>>>
          >>>> *******************************
          >>>>
          >>>
          >>>
          >>
          >

          _______________________________________________
          Fiware-creatifi-coaching mailing list
          Fiware-creatifi-coaching@lists.fi-ware.org
          https://lists.fi-ware.org/listinfo/fiware-creatifi-coaching

          Show
          fw.ext.user FW External User added a comment - Dear, sorry, but we re-submitted a ticket on 30th of July, but up to now no feedback. The CreatiFI applicants need ASAP some feedback in order to fix him issues. Can you reply to us something asap, please? BR On Thu, Jul 30, 2015 at 3:50 PM, Andrea Maestrini <amaestrini@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. > > ******************* > > Dear, > we have upgraded kurento to 6.0.1 and used the js client recorder you > provided above but our setup is still broken. > > ALL the files (both in webm and mp4 format) have 382 bytes of size and > ffmpeg says they are corrupted (so we can't use them). Kurento log for each > recording session looks like that: > > (gst-plugin-scanner:30395): GStreamer-CRITICAL **: gst_structure_new_empty: assertion 'gst_structure_validate_name (name)' failed > 2015-07-30 10:38:30.330303 30389 [140047692265600] info KurentoModuleManager ModuleManager.cpp:129 loadModules() Looking for modules in /usr/lib/x86_64-linux-gnu/ > kurento/modules > 2015-07-30 10:38:30.331300 30389 [140047692265600] debug KurentoModuleManager ModuleManager.cpp:85 loadModule() Module loaded from /usr/lib/x86_64-linux-gnu/kurento/modules/libkmscoremodule.so > 2015-07-30 10:38:30.331434 30389 [140047692265600] info KurentoModuleManager ModuleManager.cpp:108 loadModule() Loaded core version 5.1.5 > 2015-07-30 10:38:30.332344 30389 [140047692265600] debug KurentoModuleManager ModuleManager.cpp:85 loadModule() Module loaded from /usr/lib/x86_64-linux-gnu/kurento/modules/libkmsfiltersmodule.so > 2015-07-30 10:38:30.332391 30389 [140047692265600] info KurentoModuleManager ModuleManager.cpp:108 loadModule() Loaded filters version 5.1.1 > 2015-07-30 10:38:30.338288 30389 [140047692265600] debug KurentoModuleManager ModuleManager.cpp:85 loadModule() Module loaded from /usr/lib/x86_64-linux-gnu/kurento/modules/libkmselementsmodule.so > 2015-07-30 10:38:30.338366 30389 [140047692265600] info KurentoModuleManager ModuleManager.cpp:108 loadModule() Loaded elements version 5.1.4 > 2015-07-30 10:38:30.338531 30389 [140047692265600] info KurentoMediaServer main.cpp:217 main() Kmsc version: 5.1.3 > 2015-07-30 10:38:30.338553 30389 [140047692265600] info KurentoMediaServer main.cpp:57 load_config() Reading configuration from: /etc/kurento/kurento.conf.json > 2015-07-30 10:38:30.338812 30389 [140047692265600] info KurentoMediaServer main.cpp:69 load_config() Configuration loaded successfully > 2015-07-30 10:38:30.339436 30389 [140047692265600] info KurentoWebSocketTransport WebSocketTransport.cpp:206 WebSocketTransport() Secure websocket server not enabled > 2015-07-30 10:38:30.339797 30389 [140047692265600] info KurentoMediaServer main.cpp:224 main() Mediaserver started > 2015-07-30 10:38:30.339917 30389 [140047555254016] debug KurentoWorkerPool WorkerPool.cpp:36 workerThreadLoop() Working thread starting > 2015-07-30 10:38:30.339979 30389 [140047563646720] debug KurentoWorkerPool WorkerPool.cpp:36 workerThreadLoop() Working thread starting > 2015-07-30 10:39:19.787433 30389 [140047692265600] debug KurentoMediaServer main.cpp:92 signal_handler() Terminating. > 2015-07-30 10:39:19.787559 30389 [140047692265600] debug KurentoWebSocketTransport WebSocketTransport.cpp:303 stop() stop transport > 2015-07-30 10:39:19.787955 30389 [140047692265600] info KurentoMediaServer main.cpp:230 main() Mediaserver stopped > MediaSet destruction disabled by default > libdc1394 error: Failed to initialize libdc1394 > > Thanks, > Mike > > ******************* > > On Tue, Jul 14, 2015 at 8:34 AM, Andrea Maestrini < > amaestrini@create-net.org> wrote: > >> 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@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@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. >>>> >>>> ******************************* >>>> >>> >>> >> > _______________________________________________ Fiware-creatifi-coaching mailing list Fiware-creatifi-coaching@lists.fi-ware.org https://lists.fi-ware.org/listinfo/fiware-creatifi-coaching
          Hide
          llopez NaevaTeC Development Team added a comment -

          Hi,
          Sorry for the late reply. Most of the Kurento team takes holidays during the first two weeks of August.

          In relation to your request, we have validated the RecorderEndpoint capability in KMS v6.0.1 and, in our tests, everything seems to be working correctly. In the Kurento public mailing list nobody is reporting such type of problems after KMS v 6.0.1. On the other hand, we have possitive reports of having MP4 format working correctly now. This makes us think that there may be some type of problem with your application or with the way in which you are trying to use/configure Kurento Media Server. In order to unblock the situation, I suggest the following:

          1. Please, share with us your application code as well as build/deploy/execution instructions so that we can reproduce the problem in our testbeds.
          2. If this is not possible, we may need to use a more agile communication channel such as Skype or equivant, so that we can discuss with you in real-time what you are doing.

          Let us know which of the options you prefer.

          Show
          llopez NaevaTeC Development Team added a comment - Hi, Sorry for the late reply. Most of the Kurento team takes holidays during the first two weeks of August. In relation to your request, we have validated the RecorderEndpoint capability in KMS v6.0.1 and, in our tests, everything seems to be working correctly. In the Kurento public mailing list nobody is reporting such type of problems after KMS v 6.0.1. On the other hand, we have possitive reports of having MP4 format working correctly now. This makes us think that there may be some type of problem with your application or with the way in which you are trying to use/configure Kurento Media Server. In order to unblock the situation, I suggest the following: 1. Please, share with us your application code as well as build/deploy/execution instructions so that we can reproduce the problem in our testbeds. 2. If this is not possible, we may need to use a more agile communication channel such as Skype or equivant, so that we can discuss with you in real-time what you are doing. Let us know which of the options you prefer.
          Hide
          fw.ext.user FW External User added a comment -

          Dear,
          the applicant did a skype call with Prof. Luis Lopez, the Kurento GE
          expert, and the issue has been fixed.
          Thxs to Prof. Luis Lopez.

          You can close the ticket.

          BR

          On Thu, Aug 13, 2015 at 2:43 PM, Andrea Maestrini <amaestrini@create-net.org

          _______________________________________________
          Fiware-creatifi-coaching mailing list
          Fiware-creatifi-coaching@lists.fi-ware.org
          https://lists.fi-ware.org/listinfo/fiware-creatifi-coaching

          Show
          fw.ext.user FW External User added a comment - Dear, the applicant did a skype call with Prof. Luis Lopez, the Kurento GE expert, and the issue has been fixed. Thxs to Prof. Luis Lopez. You can close the ticket. BR On Thu, Aug 13, 2015 at 2:43 PM, Andrea Maestrini <amaestrini@create-net.org _______________________________________________ Fiware-creatifi-coaching mailing list Fiware-creatifi-coaching@lists.fi-ware.org https://lists.fi-ware.org/listinfo/fiware-creatifi-coaching

            People

            • Assignee:
              silviocretti Silvio Cretti
              Reporter:
              fw.ext.user FW External User
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: