How to play a encoded video file ?
-
I encoded a .wmv file in to base64 format and placed as a tag in XML. Is there any way to play that encoded video file in the browser's embeded player( any player ) ? Which player is encoded video compatible ? I used base64 encoding for jpg file. it is working properly. i can view the encoded jpg file in the browser. In the same way is there any possbility to play the encoded video file in the browser ? Which encoding is optimal for video ? What is the role of CODEC in video encoding ?
Karthik M
-
I encoded a .wmv file in to base64 format and placed as a tag in XML. Is there any way to play that encoded video file in the browser's embeded player( any player ) ? Which player is encoded video compatible ? I used base64 encoding for jpg file. it is working properly. i can view the encoded jpg file in the browser. In the same way is there any possbility to play the encoded video file in the browser ? Which encoding is optimal for video ? What is the role of CODEC in video encoding ?
Karthik M
No. You can't really do that. All you havwe done is ASCII encoded the binary data and potentially added a massive overhead to the processing. You cant just past such an encoded object to a video player and it can work out what to do with it. I personally would never encode video data into base64 and then embedd it in XML. That is asking for trouble.