Omnimaga: The Coders Of Tomorrow
Welcome, Guest. Please login or register.
 
Omnimaga: The Coders Of Tomorrow
20 May, 2013, 06:20:21 *
Welcome, Guest. Please login or register.

Login with username, password and session length
 
   home   news downloads projects tutorials misc forums rules new posts irc about Login Register  
+-OmnomIRC

You must Register, be logged in and have at least 40 posts to use this shout-box! If it still doesn't show up afterward, it might be that OmnomIRC is disabled for your group or under maintenance.

Note: You can also use an IRC client like mIRC, X-Chat or Mibbit to connect to an EFnet server and #omnimaga.

Pages: 1 [2] 3 4 ... 8   Go Down
  Print  
Author Topic: Nspire Movie Player - alternative to nPlayer -  (Read 5432 times) Bookmark and Share
0 Members and 1 Guest are viewing this topic.
tangrs
LV4 Regular (Next: 200)
****
Offline Offline

Gender: Male
Last Login: Yesterday at 11:25:08
Date Registered: 13 July, 2011, 04:32:25
Location: Australia
Posts: 188

Topic starter
Total Post Ratings: +84

View Profile WWW
« Reply #15 on: 10 March, 2012, 11:06:17 »
+2

New version.

Esc key ends movie instead of '5' and movie rewind issue fixed. Also included a binary version of moviecompile for Windows.

* nspiremovieplayer-v0.1.1.zip (391 KB - downloaded 102 times.)
« Last Edit: 10 March, 2012, 11:07:01 by tangrs » Logged
Hayleia
Programming Absol
LV11 Super Veteran (Next: 3000)
***********
Offline Offline

Last Login: Yesterday at 19:28:05
Date Registered: 01 June, 2011, 20:12:47
Location: ud-ud ?
Posts: 2043


Total Post Ratings: +254

View Profile
« Reply #16 on: 10 March, 2012, 13:56:12 »
0

Thanks for compiling it Smiley
Now how exactly do you use the moviecompile.exe ? Tongue

Quote
Otherwise, if you enjoy more control over the ffmpeg options, make a folder for all your frames. Then compile the helper.c program and copy the executable into your folder.

Change into your directory and run the following command on the command line:

ffmpeg -i /path/to/movie -s qvga -an -r 15 frame-%05d.jpg

This will spit out a whole lot of files. When it finishes, run the moviecompile program and it will produce a file. Copy this to your calculator along with the main program and run it. Make sure the extension ends in .nmp.tns.
Do we put the video in the "folder for all your frames" or do we put frames in it ?
Which format is supported ?
What does "Change into your directory" mean ? Tongue (I am French)

edit: I didn't understand anything to ffmpeg -.-°
Would it be possible to have a method with SUPER, for example ? It can convert a video into a sequence of JPG images, with 15 fps, etc, which is what you use according to what I understood Smiley
« Last Edit: 10 March, 2012, 17:47:00 by Hayleia » Logged





Spoiler for what I am according to...:
me: useless
Pokemon Test: an Absol
turiqwalrus: an eggplant
p2: A HUMAN BEING !
Blackpilar and p2: iplantonlyplantwantplanttoplantknowplantifplantyouplantareplantaplantboyplantorplantaplantgirlplant
click here to know where you got your last +1s
njaddison
LV4 Regular (Next: 200)
****
Offline Offline

Gender: Male
Last Login: 15 May, 2013, 02:46:53
Date Registered: 08 November, 2011, 03:56:20
Location: South Carolina(USA)
Posts: 153


Total Post Ratings: -5

View Profile
« Reply #17 on: 13 March, 2012, 01:52:05 »
0

Mon ami Rishi est stupide...
Il n'aime pas ndless.

He is missing out on all of the awesome stuff ndless lets you do, like this.

Also, I have no idea how to compile a sequence of images or whatever. Yeah, and couldn't I use something like super? I don't have ffmpegy thingy or whatever. I just want to be able to easily watch movies on my nspire.
« Last Edit: 13 March, 2012, 02:18:45 by njaddison » Logged


NerdTests.com says I'm a Highly Dorky Nerd God.  Click here to take the Nerd Test, get geeky images and jokes, and talk to others on the nerd forum!


tangrs
LV4 Regular (Next: 200)
****
Offline Offline

Gender: Male
Last Login: Yesterday at 11:25:08
Date Registered: 13 July, 2011, 04:32:25
Location: Australia
Posts: 188

Topic starter
Total Post Ratings: +84

View Profile WWW
« Reply #18 on: 17 March, 2012, 11:21:10 »
0

Sorry for the lack of updates, I've been busy in the past week Big smile

So basically, here's an update on the situation so far:

The movie player work but it lags... Like a lot. There's two ways out - optimize the compression routines or decode ahead of time somehow and cache the frames.

Both ways, it'll take some time. I'm looking into both options right now. When we get that sorted, we can start working on stuff like fast forward and rewinding.

The other thing on the TODO list is support for the older calculators. This might come a bit later though seeing as I don't have an old Nspire to test with and the emulator image is lost somewhere on my hard drive.

Basically, top priority right now is optimizing the damn thing. Sound 'may' be a possibility through the serial port but given how annoying it is to make a dock connector, I doubt it will be feasible any time soon.

Oh and about the video converting thing, I'll look into a way to make that easier. I'm a Mac/*nix user so most of the instructions were for *nix users.
« Last Edit: 17 March, 2012, 11:23:14 by tangrs » Logged
DJ Omnimaga
Retired Omnimaga founder (Site issues must be PM'ed to Netham45, Eeems, Shmibs, Deep Thought and AngelFish, not me.)
Editor
LV15 Omnimagician (Next: --)
*
Offline Offline

Gender: Male
Last Login: Today at 05:36:37
Date Registered: 25 August, 2008, 07:00:21
Location: Québec (Canada)
Posts: 50204


Total Post Ratings: +2611

View Profile WWW
« Reply #19 on: 17 March, 2012, 20:37:01 »
0

Actually I didn't find Super to be any easier than ffmpeg. Most of the times it wouldn't even convert at all and it seemed really picky. X.x

The only way to really make it easier for the user of the video player is that the author of it creates a computer software designed specifically for the video player or at least as easy as it is to create RealSound or FX Audio Player music. In most cases, though, this requires a considerable amount of work for the author and he needs to know a computer language in addition to the Nspire one, so doing this is not very likely to happen.
« Last Edit: 17 March, 2012, 20:40:05 by DJ_O » Logged

Retired 83+ coder, Omnimaga/TIMGUL founder. Now doing power metal music (formerly did electronica)

Follow me on Bandcamp|Facebook|Reverbnation|Youtube|Twitter|Myspace
xacto
LV3 Member (Next: 100)
***
Offline Offline

Gender: Male
Last Login: 15 May, 2013, 03:41:59
Date Registered: 26 January, 2012, 02:01:06
Posts: 64

Total Post Ratings: +10

View Profile
« Reply #20 on: 14 April, 2012, 05:06:44 »
0

Hey tangrs I was wondering how to convert a movie for this. I already have the moviecompile.exe file, but I don't really have a clue how to compile everything in the beginning or what you meant when you said," Go into the source code and change the movie filename. Change into the directory and run make and it should compile everything."
Logged
annoyingcalc
the annoying calculator
LV10 31337 u53r (Next: 2000)
**********
Offline Offline

Gender: Male
Last Login: Today at 00:11:45
Date Registered: 14 April, 2011, 23:02:24
Location: In the glorious land of minecraft
Posts: 1778


Total Post Ratings: +57

View Profile WWW
« Reply #21 on: 14 April, 2012, 05:09:00 »
0

with super I get 00001.jpg 00002.jpg not frame-00001.jpg
Logged

Click here to see where you got your post ratings

My minecraft server is usually up, even if mcserverlist says it is down

Spoiler for siq:
Spoiler for signature:
xacto
LV3 Member (Next: 100)
***
Offline Offline

Gender: Male
Last Login: 15 May, 2013, 03:41:59
Date Registered: 26 January, 2012, 02:01:06
Posts: 64

Total Post Ratings: +10

View Profile
« Reply #22 on: 15 April, 2012, 04:53:54 »
0

also does anyone know how to do this using super?
Logged
Hayleia
Programming Absol
LV11 Super Veteran (Next: 3000)
***********
Offline Offline

Last Login: Yesterday at 19:28:05
Date Registered: 01 June, 2011, 20:12:47
Location: ud-ud ?
Posts: 2043


Total Post Ratings: +254

View Profile
« Reply #23 on: 20 May, 2012, 17:56:56 »
0

Bump
Any progress on this so we can watch MLP on calc Tongue ?
Logged





Spoiler for what I am according to...:
me: useless
Pokemon Test: an Absol
turiqwalrus: an eggplant
p2: A HUMAN BEING !
Blackpilar and p2: iplantonlyplantwantplanttoplantknowplantifplantyouplantareplantaplantboyplantorplantaplantgirlplant
click here to know where you got your last +1s
Hayleia
Programming Absol
LV11 Super Veteran (Next: 3000)
***********
Offline Offline

Last Login: Yesterday at 19:28:05
Date Registered: 01 June, 2011, 20:12:47
Location: ud-ud ?
Posts: 2043


Total Post Ratings: +254

View Profile
« Reply #24 on: 26 May, 2012, 19:16:31 »
0

Sorry to keep bumping this topic but I don't manage to convert videos.
Using ffmpeg, I can get the frames (named frame-00001.jpg to frame-03032.jpg) but running the moviecompile program does nothing Huh?
Logged





Spoiler for what I am according to...:
me: useless
Pokemon Test: an Absol
turiqwalrus: an eggplant
p2: A HUMAN BEING !
Blackpilar and p2: iplantonlyplantwantplanttoplantknowplantifplantyouplantareplantaplantboyplantorplantaplantgirlplant
click here to know where you got your last +1s
xacto
LV3 Member (Next: 100)
***
Offline Offline

Gender: Male
Last Login: 15 May, 2013, 03:41:59
Date Registered: 26 January, 2012, 02:01:06
Posts: 64

Total Post Ratings: +10

View Profile
« Reply #25 on: 14 June, 2012, 00:16:44 »
0

I was just wondering if anyone could give me the exact link of ffmpeg and instructions on like what to type once ffmpeg is open because I have been dying to try it out but I have absolutely no idea whatsoever on what to do or how to do it. Thanks.
Logged
xacto
LV3 Member (Next: 100)
***
Offline Offline

Gender: Male
Last Login: 15 May, 2013, 03:41:59
Date Registered: 26 January, 2012, 02:01:06
Posts: 64

Total Post Ratings: +10

View Profile
« Reply #26 on: 30 August, 2012, 06:43:58 »
0

Nevermind about my previous post. I finally was able to make it work. w00t So many movies so little memory. I better get started. Grin
« Last Edit: 30 August, 2012, 06:45:06 by xacto » Logged
DJ Omnimaga
Retired Omnimaga founder (Site issues must be PM'ed to Netham45, Eeems, Shmibs, Deep Thought and AngelFish, not me.)
Editor
LV15 Omnimagician (Next: --)
*
Offline Offline

Gender: Male
Last Login: Today at 05:36:37
Date Registered: 25 August, 2008, 07:00:21
Location: Québec (Canada)
Posts: 50204


Total Post Ratings: +2611

View Profile WWW
« Reply #27 on: 30 August, 2012, 07:07:57 »
0

It would definitively be nice if there was a quicker and easier way to do it, though. SUPER is hard to download and doesn't work properly with most videos and FFMPEG requires command prompt and typing a lot of parameters. Unless there was an easier way posted before and I missed it/forgot?
Logged

Retired 83+ coder, Omnimaga/TIMGUL founder. Now doing power metal music (formerly did electronica)

Follow me on Bandcamp|Facebook|Reverbnation|Youtube|Twitter|Myspace
xacto
LV3 Member (Next: 100)
***
Offline Offline

Gender: Male
Last Login: 15 May, 2013, 03:41:59
Date Registered: 26 January, 2012, 02:01:06
Posts: 64

Total Post Ratings: +10

View Profile
« Reply #28 on: 31 August, 2012, 06:14:35 »
0

I'm actually working on creating a text file on how I did it. When it's done, I'm hoping others will be able use it and achieve the same results. I'll try to get it posted this weekend. Wait, how would you us ffmpeg through command prompt?
« Last Edit: 31 August, 2012, 06:39:52 by xacto » Logged
MasterGeek
LV2 Member (Next: 40)
**
Offline Offline

Gender: Male
Last Login: 16 April, 2013, 15:17:32
Date Registered: 14 April, 2012, 09:59:26
Location: Canada
Posts: 24


Total Post Ratings: 0

View Profile
« Reply #29 on: 16 September, 2012, 18:52:48 »
0

It could be possible to make a "package" of all the files you need (including ffmpeg) and use a batch file to start the process. You would just put the file you want to convert in a certain folder or give it a certain name and open the batch file.
If you want I could make the batch file as I have experience with batch files.
« Last Edit: 16 September, 2012, 18:53:39 by MasterGeek » Logged
Pages: 1 [2] 3 4 ... 8   Go Up
  Print  
 
Jump to:  

Powered by EzPortal
Powered by MySQL Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Powered by PHP
Page created in 0.305 seconds with 31 queries.
Skin by DJ Omnimaga edited from SMF default theme with the help of tr1p1ea.
All programs, games and songs avaliable on this website are property of their respective owners.
Best viewed in Opera, Firefox, Chrome and Safari with a resolution of 1024x768 or above.