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. C#
  4. Simple video player with subtitles?

Simple video player with subtitles?

Scheduled Pinned Locked Moved C#
graphicsgame-devquestion
4 Posts 2 Posters 1 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.
  • N Offline
    N Offline
    neonova
    wrote on last edited by
    #1

    Hi everyone! I am working with ms studio 2008. I need to make simple divx (avi) player with subtitles (srt). I googled this, and I found very simple solutions for video (like directx.audiovideoplayback...), with many examples of player... But, I can't find any solution that includes subtitles. Is there any free library that provides this? Or some other way... Any solution is welcome... Thanks In Advance

    L 1 Reply Last reply
    0
    • N neonova

      Hi everyone! I am working with ms studio 2008. I need to make simple divx (avi) player with subtitles (srt). I googled this, and I found very simple solutions for video (like directx.audiovideoplayback...), with many examples of player... But, I can't find any solution that includes subtitles. Is there any free library that provides this? Or some other way... Any solution is welcome... Thanks In Advance

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      This isn't exactly simple. Why do you need to do this? Can't you tell them to use VLC[^]?

      N 1 Reply Last reply
      0
      • L Lost User

        This isn't exactly simple. Why do you need to do this? Can't you tell them to use VLC[^]?

        N Offline
        N Offline
        neonova
        wrote on last edited by
        #3

        It's my student project... I have to make movie catalog (database) for movies stored on hard disk. Also, this catalog should have its own player. I already made one using directx sdk, but it doesn't show subtitles. I live in non-English speaking country, so subtitles are very important. If it's not extreme hard, I would really like to add them to video...

        L 1 Reply Last reply
        0
        • N neonova

          It's my student project... I have to make movie catalog (database) for movies stored on hard disk. Also, this catalog should have its own player. I already made one using directx sdk, but it doesn't show subtitles. I live in non-English speaking country, so subtitles are very important. If it's not extreme hard, I would really like to add them to video...

          L Offline
          L Offline
          Lost User
          wrote on last edited by
          #4

          Ok I live in the Netherlands. I don't usually use subs (English is easy). Anyway. You could make some sort of overlay and parse+display the subtitles yourself. Parsing an srt file is the easiest part. For the overlay, see: http://www.codeguru.com/cpp/g-m/directx/article.php/c1229 For what to actually put on it.. I'd get a sprite font somewhere (or make one), reading font files is terrible (nice result, but terrible to code)

          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