![]() Popular players like MPC-HC/BE and Daum PotPlayer will also work. ![]() VLC is the default option but something else can be chosen in preferences. To sum up, the advantage of this method is that we can check available tracks early in onLoadedMetadata event and that we don't rely on webkitVideoDecodedByteCount and webkitAudioDecodedByteCount that sometimes have timing issues. WebTorrent Desktop won’t directly play all content (such as H265) and if it tries to stream an unsupported video you will be given the option to use an external player. (this has the caveat that we directly play videos without supported audio without giving the option to open in VLC) The other option could be to allow to play videos without any audio track either because it has not any audio stream or because the audio stream codec is not supported. (this has the caveat that videos with no audio track are treated like error WebTorrent Desktop can't play media files that don't contain audio #759) If we use the same approach we use before, we can say that for a video element we expect at least one video track and one audio track and for an audio element we expect at least one audio track. Media is the most comprehensive and best video converter tool that could help you convert video and audio files between 200+ file formats such as MP4 to MKV, MKV to WMV, etc. I changed the approach and instead of using ay() Promise I try with experimental videoTracks and audioTracks which describe the number of available (correctly decoded) tracks. As mentioned above, you could convert video files with VLC unsupported audio codec to VLC accepted files through video converter tools.
0 Comments
Leave a Reply. |