-
Notifications
You must be signed in to change notification settings - Fork 116
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tool to split videos? #20
Comments
Sorry, I don't have such tool. |
Thank you,
how have you created the txt chunks in the example?
|
Please check the file example/server-h264.js By the way I missed a part of your questions. |
Thanks again. So if I take an MP4 with H264 video and AAC audio, I can use your "extractChunks" method to create the files I need for audio/video streaming, correct? Sorry, I'm quite newbie on JS and audio/video things... coming from good ol' backend with Java. |
Nope, It won't work. It can only read 264 file. |
So that extractChunks in example/server-h264.js is for H264 only. So, sorry, not clear: how can I get an MP4 (H264+AAC) video file and prepare something like your raw/*.txt files to feed your (great!) jmuxer? |
Yes, example/server-h264.js is for H264 only. It is an example of playing raw h264 without audio. Honestly I don't know any tool for making chunk of both audio and video. In my case, my server would provide chunk data. Basically it was an app that would record video and audio and converted that chunks on the fly. How did I get those chunks? I had to do few steps in order to make such chunks from mp4. For your information here were the steps:
Since JMuxer does not depends on any predefined packet format, so I just wanted to show an demo how it could work. Hope this helps Regards, |
Thank you. I'll try and do my best. |
Sorry for bothering again... could you take a look at my steps? I did Then I have to do something like |
|
Is there a tool that I can use to create chunks in the proper format needed for server.js? Also, which kind of video/audio codecs and container should I use?
The text was updated successfully, but these errors were encountered: