Welcome, Guest. Please login or register.

Author Topic: Where are the weak points?  (Read 14623 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline Kronos

  • Resident blue troll
  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 4017
    • Show only replies by Kronos
    • http://www.SteamDraw.de
Re: Where are the weak points?
« Reply #14 on: September 27, 2014, 12:31:07 PM »
We are way offtopic here....

Converting only makes sense when the picture has few colors and clear shapes otherwise you be better of letting the bitmap scale up/down (SteamDraw will allways use the orginal resolution so nothing lossy bout that).

If you still want to convert you should either use autotrace or maybe even better XTrace (http://www.amigafuture.de/downloads.php?view=detail&df_id=5092).
Note will take ages on big multicolored images and results may vary. At the last Geit@home we traced a FullHD Princess Peach from MarioKart8 with XTrace and it took 2 hours (AFAIR), result was o.k..
1. Make an announcment.
2. Wait a while.
3. Check if it can actually be done.
4. Wait for someone else to do it.
5. Start working on it while giving out hillarious progress-reports.
6. Deny that you have ever announced it
7. Blame someone else
 

Offline HeiroglyphTopic starter

  • Hero Member
  • *****
  • Join Date: Jun 2010
  • Posts: 1100
    • Show only replies by Heiroglyph
Re: Where are the weak points?
« Reply #15 on: September 27, 2014, 05:00:46 PM »
Quote from: Kronos;774013

@Heiroglyph
If you want us to suggest you a coding project you should start with giving some pointers as to what skills you have and what kind of project you'd like.

Some small 10k utility or 100MB of sources ?


Good points.

I just got this platform a few days ago, so I should do something relatively small first, but after that I'd like a larger single person project.

Quote

Game or app ?


I'm not a gamer, but I do like writing tools.

Quote

Ported or all your own ?


If it's useful enough, I'm not against doing ports of libraries, command line apps or GUI apps that become native.

Personally I don't feel that GTK, QT, etc. really have a place on Amiga-like OSs right now.

Quote

Heavy on GUI or just interested in algorythms ?

etc etc


I definitely need to brush up on MUI, but a command line tool or library is fine at first.

I love doing video and graphics related applications, but I'm not sure I can legally write them from scratch, it's kind of a gray area.

I could for example fix a bug or feature in ffmpeg without a problem.

I wouldn't mind doing some Datatype or Reggae additions if there are holes there.
 

Offline kamelito

Re: Where are the weak points?
« Reply #16 on: September 27, 2014, 07:19:57 PM »
@Amigadave
Modern port maybe not complete already exist.
http://sourceforge.net/projects/xamos/

Kamelito
 

Offline HeiroglyphTopic starter

  • Hero Member
  • *****
  • Join Date: Jun 2010
  • Posts: 1100
    • Show only replies by Heiroglyph
Re: Where are the weak points?
« Reply #17 on: September 27, 2014, 07:56:53 PM »
Ok, I'm pretty interested in some additions to Reggae. Maybe some demuxers and muxers for mp4, mov, mkv, etc and some codecs.

So what actually uses Reggae? I haven't noticed any applications that mention using it so far.

If nothing is using it, then maybe I should write one first?
 

Offline pVC

Re: Where are the weak points?
« Reply #18 on: September 28, 2014, 07:05:39 AM »
Quote from: Heiroglyph;774041
Ok, I'm pretty interested in some additions to Reggae. Maybe some demuxers and muxers for mp4, mov, mkv, etc and some codecs.

So what actually uses Reggae? I haven't noticed any applications that mention using it so far.

If nothing is using it, then maybe I should write one first?


Oh, yeah, Reggae classes please! MorphOS's Jukebox music player uses Reggae and would need more supported formats. For example proper FLAC implementation.
Daily MorphOS user and Amiga active.
 

Offline HeiroglyphTopic starter

  • Hero Member
  • *****
  • Join Date: Jun 2010
  • Posts: 1100
    • Show only replies by Heiroglyph
Re: Where are the weak points?
« Reply #19 on: September 28, 2014, 07:23:33 AM »
Quote from: pVC;774068
Oh, yeah, Reggae classes please! MorphOS's Jukebox music player uses Reggae and would need more supported formats. For example proper FLAC implementation.


Is there a video player? I've only seen audio. (not that I'm against doing audio, but I like video)

Not much in the way of examples in the SDK either, just how to download using HTTP (3 different ways),how to play an audio file if you know in advance that it's an audio file (again, 3 different ways) and a sine wave generator with hard coded filters.

Nothing on detecting the type and number of streams or building up the right classes, nothing on display or writing to a file.

At the very least they could open the source for the bmp demux and maybe make a quick and dirty image viewer.
 

Offline pVC

Re: Where are the weak points?
« Reply #20 on: September 28, 2014, 07:37:14 AM »
Quote from: Heiroglyph;774069
Is there a video player? I've only seen audio. (not that I'm against doing audio, but I like video)


MorphOS version of MPlayer is so good, that there isn't much need for another player, BUT some kind of simple video editor is very wanted.
Daily MorphOS user and Amiga active.
 

Offline pVC

Re: Where are the weak points?
« Reply #21 on: September 28, 2014, 07:48:01 AM »
If it's any help, there are some example programs with source codes for reggae usage: http://morphos-files.net/find.php?find=reggae
Daily MorphOS user and Amiga active.
 

Offline HeiroglyphTopic starter

  • Hero Member
  • *****
  • Join Date: Jun 2010
  • Posts: 1100
    • Show only replies by Heiroglyph
Re: Where are the weak points?
« Reply #22 on: September 28, 2014, 07:48:41 AM »
Quote from: pVC;774071
MorphOS version of MPlayer is so good, that there isn't much need for another player, BUT some kind of simple video editor is very wanted.

My train of thought is that mplayer or vlc or ffmpeg, etc only help themselves and only get bugfixes and improvements on their own timeframe.

If Reggae (or Amiga datatypes) had proper support, then all applications that use Reggae could take advantage of them.

Reggae looks like it has fixed a lot of the Datatypes limitations if I can figure out how to use it properly. Unfortunately it still looks limited to 8 bits per color channel, no HDRI :(

Edit: I do see 16 bits per channel! It's not float, but it's better than 8 bits.

Edit2: Video isn't going to be good through Reggae, it's documented as not supporting any YUV color spaces currently. It would be high CPU and low quality. This is really just for basic images and audio.
« Last Edit: September 28, 2014, 09:01:43 AM by Heiroglyph »
 

Offline HeiroglyphTopic starter

  • Hero Member
  • *****
  • Join Date: Jun 2010
  • Posts: 1100
    • Show only replies by Heiroglyph
Re: Where are the weak points?
« Reply #23 on: September 28, 2014, 07:54:14 AM »
Quote from: pVC;774072
If it's any help, there are some example programs with source codes for reggae usage: http://morphos-files.net/find.php?find=reggae


Some of those do come with source, thanks, I'll check them out.
 

Offline krashan

  • Full Member
  • ***
  • Join Date: Jan 2003
  • Posts: 247
  • Country: pl
  • Thanked: 1 times
  • Gender: Male
  • Hardware designer and programmer
    • Show only replies by krashan
    • Personal homepage
Re: Where are the weak points?
« Reply #24 on: September 28, 2014, 09:58:42 AM »
Quote from: Heiroglyph;774073
Unfortunately it still looks limited to 8 bits per color channel, no HDRI :(

Edit: I do see 16 bits per channel! It's not float, but it's better than 8 bits.

Edit2: Video isn't going to be good through Reggae, it's documented as not supporting any YUV color spaces currently. It would be high CPU and low quality. This is really just for basic images and audio.
Reggae is an evolving framework. It is designed to be extendable. Even if it does not support some feature now, such a feature can be probably added.

Current Reggae supports only two video formats: "GRAY8" and "RGBA32". For serious video support at least one YUV format will be needed. For high dynamic range images probably another one. However additional formats should be added with care. Application programmer expects filters to support all the formats. Then adding many formats to Reggae means more work for filter programmers.

The question of HDR image format in Reggae is open. It may be ARGB64, it may be 4 x float too. Preliminary introduction of ARGB64 was inspired by PNG specification, and it is not widely supported by Reggae classes yet. We can discuss it.

Offline jj

  • Lifetime Member
  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 4051
  • Country: wales
  • Thanked: 2 times
  • Gender: Male
    • Show only replies by jj
Re: Where are the weak points?
« Reply #25 on: September 28, 2014, 11:02:00 AM »
very very very rarely use torrents but morphos does seem to be missing a decent gui based torrent client.

Is there anything decent on morphos for creating mui GUIs like visual studio?
“We don't stop playing because we grow old; we grow old because we stop playing.” - George Bernard Shaw

Xbox Live: S0ulA55a551n2
 
Registered MorphsOS 3.13 user on Powerbook G4 15"
 

Offline HeiroglyphTopic starter

  • Hero Member
  • *****
  • Join Date: Jun 2010
  • Posts: 1100
    • Show only replies by Heiroglyph
Re: Where are the weak points?
« Reply #26 on: September 28, 2014, 06:58:50 PM »
Quote from: Krashan;774080
Reggae is an evolving framework. It is designed to be extendable. Even if it does not support some feature now, such a feature can be probably added.

Current Reggae supports only two video formats: "GRAY8" and "RGBA32". For serious video support at least one YUV format will be needed. For high dynamic range images probably another one. However additional formats should be added with care. Application programmer expects filters to support all the formats. Then adding many formats to Reggae means more work for filter programmers.

The question of HDR image format in Reggae is open. It may be ARGB64, it may be 4 x float too. Preliminary introduction of ARGB64 was inspired by PNG specification, and it is not widely supported by Reggae classes yet. We can discuss it.


Wow, I didn't expect input from the author.

I can work with 8bit for images for now, but the addition of YV12 for 4:2:0 streaming playback and UYVY for 4:2:2 editing would be crucial for video.

For others to add to the list of available classes, it would be nice to have examples of a demux/decoder pair and possibly an encoder/mux pair.

Splitting the demux and decoder is a great addition for video where you can have multiple containers (avi, mov, etc) share decoders, but I'm a little confused about the demux/decoder separation on many formats such as still images though.

I assume layered formats, such as PSD and TIFF would somehow fall under the type MMT_DOCUMENT? Are they intended to expose a list of MMT_PICTURE or am I way off base here?

Thanks for the hard work, I can't wait to start using it.
John
 

Offline rzookol

  • Jr. Member
  • **
  • Join Date: Jul 2006
  • Posts: 77
    • Show only replies by rzookol
Re: Where are the weak points?
« Reply #27 on: September 28, 2014, 07:56:46 PM »
Here, You have an example program which i use during reggae classes developmnent
http://brain.umcs.lublin.pl/~rzookol/download/progressive_tester/
(compile with -noixemul)
ps. reggae has CMYK32 format too supported

I'm working on Exif metadata support for reggae so it should be available in next morphos release. As for writing decoders i suggest starting with some rather easy formats such as PhotoCD or SGI.
 

Offline HeiroglyphTopic starter

  • Hero Member
  • *****
  • Join Date: Jun 2010
  • Posts: 1100
    • Show only replies by Heiroglyph
Re: Where are the weak points?
« Reply #28 on: September 28, 2014, 08:05:59 PM »
Quote from: rzookol;774122
Here, You have an example program which i use during reggae classes developmnent
http://brain.umcs.lublin.pl/~rzookol/download/progressive_tester/
(compile with -noixemul)
ps. reggae has CMYK32 format too supported

I'm working on Exif metadata support for reggae so it should be available in next morphos release. As for writing decoders i suggest starting with some rather easy formats such as PhotoCD or SGI.


Thanks, that looks like it could be very helpful.

I've written everything from DirectShow and Quicktime codecs to a complete layered PSD parser, so I'm not too concerned with the formats themselves, I just need to understand Reggae.
 

Offline krashan

  • Full Member
  • ***
  • Join Date: Jan 2003
  • Posts: 247
  • Country: pl
  • Thanked: 1 times
  • Gender: Male
  • Hardware designer and programmer
    • Show only replies by krashan
    • Personal homepage
Re: Where are the weak points?
« Reply #29 from previous page: September 29, 2014, 07:23:43 AM »
Quote from: Heiroglyph;774113
I can work with 8bit for images for now, but the addition of YV12 for 4:2:0 streaming playback and UYVY for 4:2:2 editing would be crucial for video.
In my opinion Reggae should use one, or at most two YUV formats. Remember, more "common formats" means more work for filter implementors. Other YUV subformats should be supported with conversions.

Quote from: Heiroglyph;774113
For others to add to the list of available classes, it would be nice to have examples of a demux/decoder pair and possibly an encoder/mux pair.
Rzookol has plans to release source of some of his classes. I may add to this, that I work on LibMaker application, which is a GUI driven, parametrized code skeleton generator for shared libraries, BOOPSI classes, MUI classes and Reggae classes as well.

Quote from: Heiroglyph;774113
Splitting the demux and decoder is a great addition for video where you can have multiple containers (avi, mov, etc) share decoders, but I'm a little confused about the demux/decoder separation on many formats such as still images though.
For such formats demuxer decodes (and detaches) the header, extracts metadata (if any). Demuxers are also responsible for format recognition (Reggae performs content based recognition).

Quote from: Heiroglyph;774113
I assume layered formats, such as PSD and TIFF would somehow fall under the type MMT_DOCUMENT? Are they intended to expose a list of MMT_PICTURE or am I way off base here?
MMT_DOCUMENT is a postsign standing on a boundary of uncharted land ;-). In my opinion PSD (I guess you mean Photoshop format) is out of Reggae scope. Of course one can imagine a document, where multiple images are stacked one on another and alphablended. However PSD allows for much more than that. Layers can be combined in numerous, non-trivial ways. Do we really want the whole Photoshop compatible image composition engine in Reggae? Or it just should deliver layer images, their offsets and scaling factors and enumerate combiners used?