tyage / video-player

Video player for Atom editor.
MIT License
21 stars 8 forks source link

Change the output type from ogg to webm, or select #13

Closed raccy closed 9 years ago

raccy commented 9 years ago

VLC fails to convert a few videos to ogg, but succeeds convert its to webm. Webm is more beautiful than ogg, but needs more machine resources to convert. So, the good idea is that selecting ogg or webm? If you change ogg to webm, modify the code according to the following line.

-`#transcode{vcodec=theo,vb=800,scale=1,acodec=vorb,ab=128,channels=2,samplerate=44100}:http{mux=ogg,dst=:${port}}`,
+`#transcode{vcodec=VP80,vb=800,scale=1,acodec=vorb,ab=128,channels=2,samplerate=44100}:http{mux=ffmpeg{mux=webm},dst=:${port}}`,

Failed videos are dumped Niconico live streams with NLE by rtmpdump-nico-live.

tyage commented 9 years ago

The idea is looks good to me. I will add an option to use webm in converting.

Well, any pull request is welcome!

tyage commented 9 years ago

It is great if you show me the video :) But if you don't feel like to do, you don't have to.

raccy commented 9 years ago

@tyage Great! I can play my video very fine and clear!