Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: SDL-Based FFmpeg Port?

                  
   
  1. #1

    Default SDL-Based FFmpeg Port?

    I am posting this asking if any coder is interested in porting an FFmpeg based video player to DC using SDL.
    Looking at the tutorial this should be a easy task for a good programmer...

    http://ffmpeg.mplayerhq.hu/

    ffmpeg is a wonderful library for creating video applications or even general purpose utilities. ffmpeg takes care of all the hard work of video processing by doing all the decoding, encoding, muxing and demuxing for you. This can make media applications much simpler to write. It's simple, written in C, fast, and can decode almost any codec you'll find in use today, as well as encode several other formats.
    There is even a tutorial on creating a simple SDL-Based FFmpeg player:
    http://www.dranger.com/ffmpeg/

    Maybe a very simple GUI w/ file-browser with emphasis on being light-weight.
    And just port a few key codecs like DivX, XviD, but exclude most unimportant codecs, etc.
    Also only porting the decoding functions, excluding any encoding functions, of course.

    I am sure the DC can handle good quality mpeg-4 video, and also a lot of DC fans should appreciate this.

    So, anyone up to the challenge?

  2. #2
    Dream Coder
    Join Date
    Apr 2004
    Location
    Miami, FL
    Age
    38
    Posts
    4,675
    Rep Power
    50

    Default

    I too am sure that the DC can handle some good quality mpeg-4 video. The only problem is that ffmpeg is unlikely to run with any speed on the DC, and demand isn't high enough.
    If anyone is looking to buy, sell, trade games and support a developer directly at the same time, consider joining Goozex. Enjoy!

  3. #3

    Default

    dcplaya uses ffmpeg:

    http://www.dreamcast-scene.com/index.php/Main/DCPlaya
    http://sourceforge.net/projects/dcplaya


    - For a DCEvolution project I tried to strip down the GUI to a simple file browser but I got no idea what I am doing. It is LUA based.

  4. #4

    Default

    Really my idea was that SDL would bring better performance on DC

    Although yeah, I have my own modified DCPlaya, named DCPlaya 2.0 Beta 2X
    It is released as a self-boot .cdi image, get it here:

    http://www.megaupload.com/?d=4TWEZFY8


    ================================================== ==========================================
    DCPlaya 2.0 Beta 2X Is my modification of DCPLaya 2.0 Beta 2
    Optimised for playback of media using FFMpeg codecs.
    ================================================== ==========================================

    Background.lua - Edited to load background.jpg from CD instead of RamDisc
    - Brand new Background

    DCPlayaRC.lua - Edited for faster loading, and now skips VMU initialization prompt

    Subtitles.lua - Increased buffer from 1024kb to 4096kb

    UserConf.lua - Now only codecs loaded into Ram are FFMpeg and OGG ( Better for RAM usage )
    - Now only applications being executed are Subtitles and Song-Browser ( Better for CPU usage )

    FFMpeg.lez, Jpeg.lez and OGG.lez un-compressed to .lef extension for faster loading

    ================================================== ==========================================
    -OVERRiDE 2008
    ================================================== ==========================================
    I am looking for the source code to DCPlaya, they say it is public but I can not find it. I would be interested in compiling with the newest version of FFMpeg.
    Last edited by OVERRiDE_DC; November 30th, 2008 at 23:57.

  5. #5
    Dream Coder
    Join Date
    Apr 2004
    Location
    Miami, FL
    Age
    38
    Posts
    4,675
    Rep Power
    50

    Default

    IIRC the way the ffmpeg plugin was made was simply by taking bero's ffmpeg port and wrapping it in a lua plugin (from reading bits of forum posts and cracking open the bin to the plugin).
    Last edited by quzar; December 2nd, 2008 at 02:20.
    If anyone is looking to buy, sell, trade games and support a developer directly at the same time, consider joining Goozex. Enjoy!

  6. #6

    Default

    Quote Originally Posted by OVERRiDE_DC View Post
    I have my own modified DCPlaya, named DCPlaya 2.0 Beta 2X
    It is released as a self-boot .cdi image
    Sounds interesting, and thanks for the CD Image.

    Quote Originally Posted by OVERRiDE_DC View Post
    I am looking for the source code to DCPlaya, they say it is public but I can not find it.
    I believe the sourcecode wasn't released as a standalone package to download, your best bet would be to browse the CVS, take a look here:

    DCPlaya CVS at sourceforge

    It also looks like some changes were made in 2007, maybe the project isn't dead after all.

  7. #7

    Default

    Quote by Quazar-
    the way the ffmpeg plugin was made was simply by taking bero's ffmpeg port and wrapping it in a lua plugin
    So, do you think it would be more usefull to try to re-compile Bero's DC Movie Player with the newest version of FFMpeg? Maybe I can look at adding sync code aswell...

    Quote by DCDayDreamer:
    It also looks like some changes were made in 2007, maybe the project isn't dead after all.
    Thanks for the link, dont know how I missed that.
    And yeah desktop, gui, keyboard_emu, song_browser.lua have all been updated in 2k7, I will test these out later.

    And with all of the source updates in 2k7, including updates to FFMpeg, I am curious why they never compiled these into a newer release?...!

  8. #8
    DCEmu Coder Maturion's Avatar
    Join Date
    Aug 2007
    Location
    Munich, Germany
    Posts
    178
    Rep Power
    0

    Default

    Was the dcplaya source updated in 2007?

    Who did that?

    Btw, CE posted this over at DCEmulation.org: http://dcemulation.org/phpBB/viewtopic.php?f=72&t=98174

  9. #9
    Sega Dreamcast Support Basile's Avatar
    Join Date
    Jun 2007
    Location
    right there
    Posts
    113
    Rep Power
    0

    Default

    Was the dcplaya source updated in 2007?
    authors i guess .
    They are still there !
    I`ve recently asked them on sourceforge DCplaya`s forums
    http://sourceforge.net/forum/forum.p...orum_id=211453
    Benjamin Gérard answered .

  10. #10
    DCEmu Newbie
    Join Date
    Aug 2007
    Location
    Corrientes - Argentina
    Posts
    93
    Rep Power
    0

    Default

    Quote Originally Posted by OVERRiDE_DC View Post
    Really my idea was that SDL would bring better performance on DC

    Although yeah, I have my own modified DCPlaya, named DCPlaya 2.0 Beta 2X
    It is released as a self-boot .cdi image, get it here:

    http://www.megaupload.com/?d=4TWEZFY8




    I am looking for the source code to DCPlaya, they say it is public but I can not find it. I would be interested in compiling with the newest version of FFMpeg.
    i think that here is the source:

    http://sashipa.ben.free.fr/dcplaya/D.../download.html


Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •