Skip to content
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

save the video as mp4 file #84

Open
le-wei opened this issue Nov 23, 2017 · 1 comment
Open

save the video as mp4 file #84

le-wei opened this issue Nov 23, 2017 · 1 comment

Comments

@le-wei
Copy link

le-wei commented Nov 23, 2017

I want to save the video as mp4 file, how to set the video parameters for the vlc use wcjs-player. I looked at the implementation of addPlaylist not sure whether to pass it。please help me 。thank you

@le-wei
Copy link
Author

le-wei commented Nov 23, 2017

I already know how to save the video stream use wcjs-player。Use the following way
`


<script>
var wjs = require("wcjs-player");
var player = new wjs("#player").addPlayer({
autoplay: true,
wcjs: require('webchimera.js')
});
var playerUrl = [{
url: "file:///E:/xiamu.flv",
vlcArgs: ":sout=#duplicate{dst=file{dst=F:\\2.mp4,no-overwrite},dst=display} :sout-all :sout-keep"
}];
var playlist = player.addPlaylist(playerUrl);
</script>

` thank you very much。

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

No branches or pull requests

1 participant