Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
translations translations
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Thank You for your continued support and contributions!

+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Feature Ideas
| | |-+  (Feature Request) Support for more video formats (Such as WMV)
« previous next »
  • Print
Pages: [1]

Author Topic: (Feature Request) Support for more video formats (Such as WMV)  (Read 3842 times)

Offline dangerousd777

  • Member
  • *
  • Posts: 21
  • Hi, my name is Darian, and I am 14 years old...
    • My Myspace
(Feature Request) Support for more video formats (Such as WMV)
« on: January 23, 2009, 11:48:20 PM »
Is it possible for Rockbox on the Sansa e200 to decode and render any other files other than Mpeg-1 and Mpeg-2? I know Mpeg-4 probably isn't possible since the CPU isn't very fast (30 mhz, automatically clocks up to 80 mhz as you can see in debug, as well as shows how many clock cycles per second it takes to decode and render audio files. You can change the boost counter in frequency to 1 (from 30-80 mhz or down from 30-24 mhz and that makes it much faster with jpeg decoding and demos.). WMA typically tends to be a lower resource intensive format so I wonder if WMV is similar.
 
Just wondering, because right now I'm using Mpeg-1 and it is decent but the compression/quality is no where near as good as XviD or anything.

If you could do it, like WMV with WMA audio, then it would be a kind of godsend... I'm serious, the file size at 220x176 would be very small and the quality would be pretty good. WMA sounds decent at about 64-96 kbps (while WMA 9 [10 pro] and ogg vorbis sound fine at as low as 32 kbps), it would be the same to decode yet less to render compared to higher bitrate audio, and certainly less intensive than Mp3.

Mpeg-1 and Mpeg-2 are limited to about 23.97 FPS at minimum, WMV could go much lower but only around 15 FPS would be tolerable... but it might be a matter of limitations with the CPU and decoding, maybe even other things as well.
« Last Edit: January 24, 2009, 12:01:56 AM by dangerousd777 »
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 9373
Re: (Feature Request) Support for more video formats (Such as WMV)
« Reply #1 on: January 24, 2009, 06:47:30 AM »
We'd like to see other formats, however anything slower then MPEG2 isn't likely to work well on your sansa. 
Logged

Offline dangerousd777

  • Member
  • *
  • Posts: 21
  • Hi, my name is Darian, and I am 14 years old...
    • My Myspace
Re: (Feature Request) Support for more video formats (Such as WMV)
« Reply #2 on: January 25, 2009, 08:13:58 PM »
True, the solution for that may be to use a lower framerate, less complex audio stream such as WMA, simpler video conversion profile and lower resolution.

In the meantime while we all think about this I'll find a way to measure the CPU usage of decoding different video formats, the only thing is the results may be a bit subjective due to the decoder used (I probably will be using FFDShow).
Nevertheless, there are PLENTY of different video formats to test out, some may be only slightly more or less intensive than Mpeg-1/2, however the more compressed the more likely that won't be so.
Logged

Offline soap

  • Member
  • *
  • Posts: 1679
  • Creature of habit.
Re: (Feature Request) Support for more video formats (Such as WMV)
« Reply #3 on: January 25, 2009, 08:34:34 PM »
Quote from: dangerousd777 on January 25, 2009, 08:13:58 PM
True, the solution for that may be to use a lower framerate, less complex audio stream such as WMA,
This is the second time you have suggested WMA is less CPU intensive to decode.
See here.  (WMA decoding on the iPod Video should be the same as on your Sansa).
Even before saratoga split MP3 decoding onto both cores, nearly doubling its speed, it was faster than WMA.  Now it stomps all over it.
Logged
Rockbox Forum Guidelines
The Rockbox Manual
How to Ask Questions the Smart Way

Offline dangerousd777

  • Member
  • *
  • Posts: 21
  • Hi, my name is Darian, and I am 14 years old...
    • My Myspace
Re: (Feature Request) Support for more video formats (Such as WMV)
« Reply #4 on: February 02, 2009, 01:24:49 AM »
Quote from: soap on January 25, 2009, 08:34:34 PM
Quote from: dangerousd777 on January 25, 2009, 08:13:58 PM
True, the solution for that may be to use a lower framerate, less complex audio stream such as WMA,
This is the second time you have suggested WMA is less CPU intensive to decode.
See here.  (WMA decoding on the iPod Video should be the same as on your Sansa).
Even before saratoga split MP3 decoding onto both cores, nearly doubling its speed, it was faster than WMA.  Now it stomps all over it.


MP3 surely is the one to use then.

I wonder about a comparison of the video formats. Most but maybe not all compressed formats are slower than Mpeg 1/2, I wonder however if there are any formats offering better quality/size and the same speed, unlikely however. With WinFF though I don't think I need to worry so much anymore, the video compression is great with 2-pass and bitrate between 125-400 based on scene complexity.
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 9373
Re: (Feature Request) Support for more video formats (Such as WMV)
« Reply #5 on: February 02, 2009, 11:00:57 AM »
Probably not.  The CPU/compression trade off is fundamental in video codecs.
Logged

Offline dangerousd777

  • Member
  • *
  • Posts: 21
  • Hi, my name is Darian, and I am 14 years old...
    • My Myspace
Re: (Feature Request) Support for more video formats (Such as WMV)
« Reply #6 on: February 02, 2009, 09:55:52 PM »
FLAC is the least, Mp3 is close...

I use Ogg Vorbis, because it offers excellent compression. It might be shortening my battery life, but I don't mind I don't use it for very long. The Sansa went through 2 days of heavy usage and then finally the battery died and it only took 2 hours to charge.

If anything, I think Mpeg-2 works fine, not the greatest compression/quality you would expect, but it works good enough compared to my other Mp4 player which used .SMV (Motion Jpeg like format + IDA ADPCM WAV audio) and the compression, quality, and conversion speed was absolutely TERRIBLE.

Mpeg is VERY VERY FAST  :P
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Feature Ideas
| | |-+  (Feature Request) Support for more video formats (Such as WMV)
 

  • SMF 2.0.19 | SMF © 2021, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.061 seconds with 17 queries.