Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. XML / XSL
  4. How to play a encoded video file ?

How to play a encoded video file ?

Scheduled Pinned Locked Moved XML / XSL
questionxmltutorial
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    karthik Tamizhmathi
    wrote on last edited by
    #1

    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

    A 1 Reply Last reply
    0
    • K karthik Tamizhmathi

      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

      A Offline
      A Offline
      ajisthekingofpop
      wrote on last edited by
      #2

      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.

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups