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
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
| | |-+  XVID Support?
« previous next »
  • Print
Pages: [1] 2

Author Topic: XVID Support?  (Read 4198 times)

Offline Mikgerdan1991

  • Member
  • *
  • Posts: 10
XVID Support?
« on: March 08, 2009, 12:52:51 AM »
Hi, first post!  ;D

Well, currently, I have a Zen Vision M, and I am considering switching to the iPod Video just so I can get Rockbox on it for all the features it has. (How is Rockbox going for the Zen, anyway?) Anyway, the ONLY thing keeping me with the Zen is XVID support. In my opinion, it's the best video compressor, and the file size is extremely low compared to MPEG. Is there any chance of XVID support for Rockbox, or is work already possibly being done?
Logged

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: XVID Support?
« Reply #1 on: March 08, 2009, 12:58:40 AM »
XVID is significantly more computationally complex, and is very unlikely to even come particularly close to full speed on the iPod Video. While nobody's working on XVID if you want to watch video on Rockbox the Gigabeat players are much better suited to it and are more likely to be full speed if someone does do the work  for XVID.

As it stands, people have suggested it, but nobody is apparently interested in putting in the time to do it.
Logged

Offline Mikgerdan1991

  • Member
  • *
  • Posts: 10
Re: XVID Support?
« Reply #2 on: March 08, 2009, 10:59:02 PM »
Aw, that really sucks, I'm sure file size is a lot of people's concerns with MP# Video Players these days, with most of them being around 30-60 GB...With MPEG, you couldn't store a whole lot of movies on a Rockbox device.  :-\

Ah well, I guess I'll stick with my Zen, more space means more videos.  ;)

I'm not a coder, nor do I know anything about it, but would it be that difficult to put a new video codec onto Rockbox?
Logged

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: XVID Support?
« Reply #3 on: March 08, 2009, 11:24:43 PM »
At ~500MB per movie at a quite good quality, I can store 60 movies on a 30GB device. That's not really "not many."

It's not really as simple as "just putting a codec on." You'd need to do a lot of optimizations specific to the architecture of the player, and possibly convert it to fixed point.
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: XVID Support?
« Reply #4 on: March 09, 2009, 12:02:51 AM »
Quote from: Mikgerdan1991 on March 08, 2009, 10:59:02 PM
I'm not a coder, nor do I know anything about it, but would it be that difficult to put a new video codec onto Rockbox?

Full Xvid support is basically impossible given the CPU on the iPod video. 

And anyway, you overestimate the savings with Xvid.  The difference in file size is fairly small.  The wiki recommends 0.3 bits/pixel for MEPG2.  Typical Xvid is around 1.5-2 bits/pixel.
Logged

Offline Mikgerdan1991

  • Member
  • *
  • Posts: 10
Re: XVID Support?
« Reply #5 on: March 09, 2009, 03:06:23 AM »
I don't know, I converted a 2 minute XVID movie (at 256 vid, 128 mp3 audio), which was around 3 MB, to MPG, and it became 7 MB. And it was even pretty bad quality....

Ok, forget about the iPod Video, then. Just XVID on any player maybe? I'd be willing to switch to anything for Rockbox, I just didn't want to convert ALL my videos to MPEG...and lose space or quality in the process.
Logged

Offline cool_walking_

  • Rockbox Expert
  • Member
  • *
  • Posts: 695
Re: XVID Support?
« Reply #6 on: March 09, 2009, 03:46:34 AM »
As said above, XVID could be possible on some of the other targets, but it needs someone to code it.  Rockbox developers are just individual people who work on whatever they want to work on.
Logged

Offline Mikgerdan1991

  • Member
  • *
  • Posts: 10
Re: XVID Support?
« Reply #7 on: March 09, 2009, 06:49:34 AM »
I know.  ;)

It was just a suggestion, though. No big deal if I don't get my XVID.  8)

A very strong suggestion...But a suggestion, nonetheless.
Logged

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: XVID Support?
« Reply #8 on: March 09, 2009, 11:00:02 AM »
It sounds like maybe you didn't use a good conversion tool/settings. Are you sure you converted to MPEG-2, not MPEG-1, and did you spend much time experimenting with settings? There's a lot of things about MPEG-2 you can tweak to get a bit more out of it for the bitrate.

Also, it really helps to watch them on an actual player. Because they're limited to 16-bit color, and much smaller screens, some of the quality differences just aren't nearly as visible on the actual portable player.
« Last Edit: March 09, 2009, 11:02:44 AM by Llorean »
Logged

Offline Mikgerdan1991

  • Member
  • *
  • Posts: 10
Re: XVID Support?
« Reply #9 on: March 11, 2009, 11:14:58 PM »
Well, I went with your MPEG 2 suggestion. I got that same file i tried before down to about 5 MB, but still, at pretty bad quality. I can't try it on my player because it doesn't have MPEG 2 capability, but I tried it at just that size, and it wasn't great.
And yep, I have a pretty good converter, I can 'tweak' a lot of stuff, and it's still about 60% larger (in file size).
Maybe you can recommend the one you use?
Logged

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: XVID Support?
« Reply #10 on: March 11, 2009, 11:19:34 PM »
I just use ffmpeg. As I said though, it'll make a larger difference if you watch it on a player.

One thing you definitely need to not do if you're watching it on the PC is stretch the window at all. Play it in its native 320x240 or 320x160 size, after conversion. I'd still expect the filesize to be larger, but when you can only watch a few hours per charge maximum, even 30 movies would be a considerable amount, let alone the approximately 60 I would expect.

Storage space ought only to be a problem if you're going for a very extended period with an inability to sync the device.
« Last Edit: March 12, 2009, 12:09:01 AM by Llorean »
Logged

Offline Mikgerdan1991

  • Member
  • *
  • Posts: 10
Re: XVID Support?
« Reply #11 on: March 12, 2009, 02:13:37 AM »
Well, I like to have all my videos on my Zen...and with XVID right now, I can. Right now, 16 GB in music, and about 27 in videos. I don't know if I'd have any space left with MPEG... :(

But thanks for the advice, I'll try ffmpeg.
Logged

Offline soap

  • Member
  • *
  • Posts: 1678
  • Creature of habit.
Re: XVID Support?
« Reply #12 on: March 12, 2009, 02:24:52 AM »
Quote from: Mikgerdan1991 on March 12, 2009, 02:13:37 AM
Well, I like to have all my videos on my Zen...and with XVID right now, I can. Right now, 16 GB in music, and about 27 in videos. I don't know if I'd have any space left with MPEG... :(
Are those full-resolution XviDs?  (512x384 or so)
If so, when you kick them down to half-framerate, 320x240 the files will be smaller than what you currently have, even if you double the bits-per-pixel.
Logged
Rockbox Forum Guidelines
The Rockbox Manual
How to Ask Questions the Smart Way

Offline Mikgerdan1991

  • Member
  • *
  • Posts: 10
Re: XVID Support?
« Reply #13 on: March 13, 2009, 04:07:51 PM »
Nah, I make all my videos 400x300, usually 256 kbps. Or kbs. Whatever the unit is.
I get pretty decent quality at such a low file size with XVID.  ;D
Logged

Offline soap

  • Member
  • *
  • Posts: 1678
  • Creature of habit.
Re: XVID Support?
« Reply #14 on: March 13, 2009, 05:16:55 PM »
Still enough that at the same bitrate, at 320x240 I would expect no visible difference.
1.576 times the needed number of pixels = plenty of bandwidth to play with.
Logged
Rockbox Forum Guidelines
The Rockbox Manual
How to Ask Questions the Smart Way

  • Print
Pages: [1] 2
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Feature Ideas
| | |-+  XVID Support?
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.093 seconds with 14 queries.