Support and General Use > Plugins/Viewers

AVI playback

<< < (8/11) > >>

saratoga:

--- Quote from: XVilka on February 28, 2010, 07:10:36 PM ---May you can add only support of AVI container (and may be others, for example mkv) from libavformat (part of ffmpeg)?
And other codecs can added more simply.

--- End quote ---

Its certainly possible to add other containers right now.  Just takes some effort.

(IMO VOB makes a lot more sense then AVI given that MPEG2 in AVI is nonexistant). 

gottahavit:
ok so mostly because I'm bored right now and was curious how this might work.  I ported an mpeg-4/avi decoder I worked with a few years ago to rockbox this weekend.  Right now it's just decoding and displaying AFAP to the display, but I do have the decoding and display working(at least on my sansa and the simulator).  If anyone with a faster target device is curious to try this I would love to see how fast it is on other devices.

If you are interested please PM me with your device info and contact info and I will get you a .rock to try it out.

Please keep in mind this is not a functional "player" it's just decoding and rendering the video, no audio, no menus and I take no responsibility for crashing your player.

As for speed on my e280 v1 it can decode and display 220X176 divx encoded at 250kbps at an average of 26fps.  not sure how much I can speed it up but at least with dual core audio won't slow it down.

I am currently working on adding audio and synching.  Later assuming I don't lose interest I will look at re-using mpegplayer UI and controls.

saratoga:

--- Quote from: gottahavit on March 31, 2010, 09:12:10 PM ---ok so mostly because I'm bored right now and was curious how this might work.  I ported an mpeg-4/avi decoder I worked with a few years ago to rockbox this weekend.  Right now it's just decoding and displaying AFAP to the display, but I do have the decoding and display working(at least on my sansa and the simulator). 

--- End quote ---

Awesome!


--- Quote from: gottahavit on March 31, 2010, 09:12:10 PM ---If you are interested please PM me with your device info and contact info and I will get you a .rock to try it out.

--- End quote ---

This probably won't work.  .rock files usually don't work too well outside of the version they're compiled for.  A better idea would be to open a flyspray task with your patch and then ask people to test it on various devices and post the results there.  Plus technically you have to give out the source code with the .rock file anyway, so its usually just easier to use the patch tracker.

gottahavit:

--- Quote from: saratoga on March 31, 2010, 09:30:52 PM ---
--- Quote from: gottahavit on March 31, 2010, 09:12:10 PM ---ok so mostly because I'm bored right now and was curious how this might work.  I ported an mpeg-4/avi decoder I worked with a few years ago to rockbox this weekend.  Right now it's just decoding and displaying AFAP to the display, but I do have the decoding and display working(at least on my sansa and the simulator). 

--- End quote ---

Awesome!


--- Quote from: gottahavit on March 31, 2010, 09:12:10 PM ---If you are interested please PM me with your device info and contact info and I will get you a .rock to try it out.

--- End quote ---

This probably won't work.  .rock files usually don't work too well outside of the version they're compiled for.  A better idea would be to open a flyspray task with your patch and then ask people to test it on various devices and post the results there.  Plus technically you have to give out the source code with the .rock file anyway, so its usually just easier to use the patch tracker.

--- End quote ---

Well I looked and the plugin version hasn't been updated in quite a while so anyone with a recent version should be able to add the reference in the viewers config and copy in the .rock. 

As it stands the code is a total mess and I have no intentions of releasing it in it's current state for view by anyone nor making the test available to more than a few people at this point.

IF and WHEN this gets closer to a useable target I will be happy to submit it to the rockbox gods to see if they want to include in the official build, but right now I am just looking for couple people to confirm this as a proof of concept.

If this is against any rockbox rules then I will withdraw the request for testers and wait until I have this in a more useable state. 

BTW I Don't want to start a big phillisophical debate, but I have never heard anyone claim that GPL negates the ability to distribute limited binary only release  to testers. 

saratoga:

--- Quote from: gottahavit on March 31, 2010, 09:49:01 PM ---As it stands the code is a total mess and I have no intentions of releasing it in it's current state for view by anyone nor making the test available to more than a few people at this point.

IF and WHEN this gets closer to a useable target I will be happy to submit it to the rockbox gods to see if they want to include in the official build, but right now I am just looking for couple people to confirm this as a proof of concept.

If this is against any rockbox rules then I will withdraw the request for testers and wait until I have this in a more useable state. 

BTW I Don't want to start a big phillisophical debate, but I have never heard anyone claim that GPL negates the ability to distribute limited binary only release  to testers. 

--- End quote ---

It does't prevent a limited test, but you'd have to give the limited set of testers the source code. 

And if you're going to do that, I recommend posting the source code on the patch tracker.  Generally people post code there before its ready to be committed since it allows feedback while the code is under revision, which most people find helpful.  Not to mention its kind of silly to ask a community of developers and hackers for feedback modifying code they wrote without showing them what you changed :)

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version