Skip to content
This repository has been archived by the owner on May 4, 2021. It is now read-only.

The way to run this demo correctly. #4

Open
RobbieXie opened this issue Feb 14, 2020 · 1 comment
Open

The way to run this demo correctly. #4

RobbieXie opened this issue Feb 14, 2020 · 1 comment

Comments

@RobbieXie
Copy link

  1. mkdir videos; //otherwise nodejs fs error
  2. modify findVideoDuration in videoUtils.js (the previous issue gave the way). to get the correct duration for each .ts file, otherwise, only the first 00000.ts is playable.
  3. make sure you have installed ffmpeg, because nodejs use child_process call the ffmpeg to convert the original .webm file
@ClockworkPirate
Copy link

  1. mkdir videos; //otherwise nodejs fs error
  2. modify findVideoDuration in videoUtils.js (the previous issue gave the way). to get the correct duration for each .ts file, otherwise, only the first 00000.ts is playable.
  3. make sure you have installed ffmpeg, because nodejs use child_process call the ffmpeg to convert the original .webm file

Are you able to elaborate on the second point? I have modified the code to correctly work out the duration as this was throwing null errors, but I still only seem to get a small section of the stream.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants