-
Notifications
You must be signed in to change notification settings - Fork 139
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
Add an example demonstrating media editing scenarios #62
Comments
Yes please ! Add a working example about it ! |
We now have a few samples here Including one that creates a webm file after using WebCodecs to encode the camera stream Closing, as I think the path to basic trim / concatenate functions is probably clear from the above. Roughly:
Please reopen if more to discuss. |
Hello ! My message has been written in october 2020 and at this time there was almost no information at all. My project almost work now but thanks anyway :) Actually, there is still a problem, I searched a lot but didn't find a way to demux webm files that use alpha channel as I reported here but got no help at all... Any idea ? Also, there is no example at all showing how to do the opposite : mux the EncodedVideoChunk into a mp4 file. Same thing for AudioEncoder / AudioDecoder : no example at all yet. It's not as obvious as you may think it is (when I ask my question in october 2020 I didnt even know what could be a muxer / demuxer and I'm sure that 99% of webdevelopers never heard about that - now I know, but it was not obvious - ) |
@tlecoz I totally agree with you! |
@chcunningham Can you please provide an example showing how to do the opposite : mux the EncodedVideoChunk into a mp4 file. I'm stuck with this problem now. |
Same here (mp4, not webm, and with audio if possible)
Le mer. 4 août 2021 à 11:22, henrywong ***@***.***> a écrit :
… @chcunningham <https://github.com/chcunningham> Can you please provide an
example showing how to do the opposite : mux the EncodedVideoChunk into a
mp4 file. I'm stuck with this problem now.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#62 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AACCTMKF3V2U3YAXKDHIMELT3EBEFANCNFSM4NNSWFMA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email>
.
|
You'll need to use something like https://github.com/videojs/mux.js or https://github.com/gpac/mp4box.js/ they both have code in their repositories showing how to generate an mp4 file. mux.js also offers a Slack channel for assistance: https://github.com/videojs/mux.js#talk-to-us We'll try to put one together in the future, but it's not a priority at the moment. |
Hello Dalecurtis,
You are everywhere, thank you for your message ! :)
I searched multiple times inside mp4box.js & mux.js repositories looking
for something like this but I'm so noob in muxing/demuxing that I didn't
find it :'(
Excuse me to ask this directly but can you give us the url of the html file
in the "test" folder of mp4box that show how to create a mp4 file ?
I suspected it was possible to do it using mp4box but as I said in a
previous message, it's not as obvious as you may think it is. (for a
simple web developer like me)
Have a nice day and thank you again for your work and your commitment
Le mer. 4 août 2021 à 19:29, Dale Curtis ***@***.***> a
écrit :
… You'll need to use something like https://github.com/videojs/mux.js or
https://github.com/gpac/mp4box.js/ they both have code in their
repositories showing how to generate an mp4 file. mux.js also offers a
Slack channel for assistance: https://github.com/videojs/mux.js#talk-to-us
We'll try to put one together in the future, but it's not a priority at
the moment.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#62 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AACCTMJBKAAT55UNBRPKWOTT3F2JBANCNFSM4NNSWFMA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email>
.
|
I'm trully surprised that I didn't see the mp4-generator_test.js in mux.js
because the name is obvious 😅
I'll try the mp4-box version.
Thank you a lot for your help and your time and your work :D
Le mer. 4 août 2021 à 19:54, Dale Curtis ***@***.***> a
écrit :
… These are the ones I saw:
https://github.com/videojs/mux.js/blob/main/test/mp4-generator.test.js
https://github.com/gpac/mp4box.js/blob/master/test/qunit-iso-creation.js
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#62 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AACCTMNQVFRXMKSPYIUSJDLT3F5ERANCNFSM4NNSWFMA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email>
.
|
Hello ! I tryed to create a mp4 using mp4box. It almost work but there is a problem. |
One of the key use cases mentioned in the explainer is
Non-realtime encoding/decoding/transcoding, such as for local file editing
Can we add an example demonstrating basic media editing operations like trim and concatenation ?
We are trying to understand on how to use WebCodecs to achieve the same functionality as MediaBlob to ensure that it meets developer needs.
The text was updated successfully, but these errors were encountered: