what video formats supported by chromecast device (mp4,flv,m3u8,flv,avi)?

泄露秘密 提交于 2019-12-11 12:32:22

问题


How we can send mp4,m3u8,rtmp,flv,avi urls from iphone to chromecast to play them? Are these format supported by chromecast ?

Do we need a specific iPhone app so it send mp4,m3u8,rtmp,flv,avi urls to chromecast? OR We can send media urls using iPhone chrome browser(i am not talking about screen mirroring here)?

If we can send direct media urls via iphone to chromecast device how about sending url of media page instead of actual media url will chromecast device play the media ?


回答1:


As Paul indicated, the media formats supported by ChromeCast is limited. Video in other formats will have to be transcoded into the supported formats before sending it to the ChromeCast device. I've open sourced an app that does transcoding with VLC: https://github.com/entertailion/Fling

If you want to let the ChromeCast device load a web page with media embedded, be aware that ChromeCast does not support Flash. It does support web pages that use the HTML5 video player. To be able to load another page on a ChromeCast device you will have to write your own app and receiver html that will redirect to the page you want to load.

The easiest way to play media files that are not supported is to use the Chrome browser casting extension.




回答2:


Supported media can be found on the developers site :

https://developers.google.com/cast/docs/media

Right now we support iOS native apps for casting content from iPhone/iPad.



来源:https://stackoverflow.com/questions/18155806/what-video-formats-supported-by-chromecast-device-mp4-flv-m3u8-flv-avi

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!