Author Topic: Spinal's Media Player...  (Read 25545 times)

0 Members and 1 Guest are viewing this topic.

Offline spinal

  • Coder of DSision
  • Neo MOD
  • Hero Member
  • *
  • Posts: 796
    • spinalcode
Spinal's Media Player...
« on: March 20, 2008, 09:12:36 PM »
Nickname: Spinal
Projet name : Spinal Media Player
From : England
Division : NDS APP
Original enter : YES
Support Motion : No
In last NEO Compo this project have won in the top 10 : NO
Project description: A good movie player for Nintendo DS, coded with palib.

You will need to convert your movies to .smf to play them with Spinal Media Player, converter included.

* Note - press X to switch of the lower screen during playack.



Can not attach, file too large, here is a link to it.
download


Here is a quick guide for those who do not know how to convert a movie file using the supplied converter.

first open the convert.ini in a text editor, for windows users, notpad is a good choice.

the following lines in the ini file should be changed -

Filename = input.avi

simply, this is the full path and filename of the file you wish to convert. a good example might be

Filename = c:\movies\stargate.avi

the next line to change is

aspect = wide

this will set the resolution of the end file, wide is 256x144, ideal for widescreen movies, full will give you 256x192.

next is -

quality = 5

this will set the end quality of the movie. Because the format is jpg based, each frame is compressed separately rather than setting a bitrate. 1 is the best quality and 31 is worst. I recommend between 5 and 10 for reliability, although setting it as good as 2 for widescreen will give quite smooth playback.

volume = 400

this will set the output volume of the movie. If your input movie is quite quiet, setting this higher will be better. The number is a percentage so 100 = original volume, 400 = 4x original volume.

last is the important one -

output = output.smf

this will set the ouput filename of your movie. please remember the .smf or the movie player will not list it.

One last note, currently movie player can only play movies from the root of the card.
« Last Edit: March 29, 2008, 05:50:07 AM by spinal »

Offline MagNet

  • Full Member
  • ***
  • Posts: 110
Re: Spinal's Media Player...
« Reply #1 on: March 22, 2008, 08:08:25 PM »
I'm just testing this APP and I've ran into a problem. The file browser displays only one folder and I can't select anything else. When I press A the file browser becomes black and can't do anything from there. Am I supposed to place to media files or the NDS file to some specified directory?

Offline spinal

  • Coder of DSision
  • Neo MOD
  • Hero Member
  • *
  • Posts: 796
    • spinalcode
Re: Spinal's Media Player...
« Reply #2 on: March 22, 2008, 09:04:13 PM »
Have you tried placing them in the root of your card? I don't think I added folder support yet.

Offline MagNet

  • Full Member
  • ***
  • Posts: 110
Re: Spinal's Media Player...
« Reply #3 on: March 22, 2008, 09:21:33 PM »
Ok, that works.

Also how about adding subtitle support?
« Last Edit: March 22, 2008, 09:23:18 PM by MagNet »

Offline The Compiler

  • Newbie
  • *
  • Posts: 10
Re: Spinal's Media Player...
« Reply #4 on: March 26, 2008, 04:20:53 AM »
Hello,

does anyone have a sample file in the right format (or the excact command for ffmpeg) for me? Because I've got only Linux here, and the converter doesn't run properly under wine.

Flo

Offline krazedkat

  • Newbie
  • *
  • Posts: 3
Re: Spinal's Media Player...
« Reply #5 on: March 29, 2008, 03:08:15 AM »
i THINK i know how to use the converter but can u post a tutorial please?
 thanks

Offline spinal

  • Coder of DSision
  • Neo MOD
  • Hero Member
  • *
  • Posts: 796
    • spinalcode
Re: Spinal's Media Player...
« Reply #6 on: March 29, 2008, 11:49:53 PM »
ok, updated first post with quick guide to converting.

Offline sumiguchi

  • Jr. Member
  • **
  • Posts: 83
    • sumiguchi
Re: Spinal's Media Player...
« Reply #7 on: April 04, 2008, 12:36:18 PM »
Can someone just post a sample clip?

Offline spinal

  • Coder of DSision
  • Neo MOD
  • Hero Member
  • *
  • Posts: 796
    • spinalcode
Re: Spinal's Media Player...
« Reply #8 on: April 04, 2008, 03:10:03 PM »

Offline sumiguchi

  • Jr. Member
  • **
  • Posts: 83
    • sumiguchi
Re: Spinal's Media Player...
« Reply #9 on: April 05, 2008, 01:45:44 PM »
Thanks for the clip - the player works pretty well - but I think I like your direction to make a lib for devrs :)


Offline moegie

  • Newbie
  • *
  • Posts: 15
Re: Spinal's Media Player...
« Reply #10 on: April 05, 2008, 07:04:34 PM »
hmm, the sound kinda keeps jittering. even on quality 1. any explenation for this ?

Offline spinal

  • Coder of DSision
  • Neo MOD
  • Hero Member
  • *
  • Posts: 796
    • spinalcode
Re: Spinal's Media Player...
« Reply #11 on: April 05, 2008, 09:42:13 PM »
The sound will jitter MORE on quality 1, some cards access the data slower than others, depending on which card you have, you may need to set the quality as low as 8 or 10.

Explanation - The higher quality the video, the less compressed it has to be. This will result in a lot more data needing to be read from the flash card. If your card is one of the slower ones, it will take longer to read the data than it does to play it, resulting in jittering in the audio, perhaps even gaps and repeats.

Offline moegie

  • Newbie
  • *
  • Posts: 15
Re: Spinal's Media Player...
« Reply #12 on: April 06, 2008, 04:52:00 AM »
ok; i tried it a few times but the sound was still bad (repeating) and then i tried on quality 31... guess what: repeating sound. so i gave up...  ::sm-01::
is there any difference between original file types ? i used a simple wma for this. or is it the duration ? my vid is 1h 15min.

Offline spinal

  • Coder of DSision
  • Neo MOD
  • Hero Member
  • *
  • Posts: 796
    • spinalcode
Re: Spinal's Media Player...
« Reply #13 on: April 06, 2008, 06:04:23 PM »
It should not matter what the original file type is, as it is first split onto single frames and uncompressed audio. Does the example clip I posted work ok? Also what flash card are you using?

Offline moegie

  • Newbie
  • *
  • Posts: 15
Re: Spinal's Media Player...
« Reply #14 on: April 07, 2008, 01:53:47 AM »
example didn't work either. i guess i have "slow" card. I'm using the f-card ( an n-card clone) wich works perfectlly for everything else.