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
|-+  Support and General Use
| |-+  Plugins/Viewers
| | |-+  updated mpegplayer
« previous next »
  • Print
Pages: [1]

Author Topic: updated mpegplayer  (Read 3823 times)

Offline aznofazns

  • Member
  • *
  • Posts: 44
updated mpegplayer
« on: April 03, 2007, 12:22:50 AM »
the first time i installed rockbox was early January and the mpegplayer's performance was pretty good. it was fast and A/V sync was good. but i just updated rockbox and now the mpegplayer is extremely laggy. the fps still says 25ish but it freezes every second, and A/V sync is off. why is this?
Logged
Gigabeat F40

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: updated mpegplayer
« Reply #1 on: April 03, 2007, 12:24:35 AM »
Can you provide a sample file that shows the bad A/V sync?
Logged

Offline aznofazns

  • Member
  • *
  • Posts: 44
Re: updated mpegplayer
« Reply #2 on: April 03, 2007, 07:32:25 AM »
the file with the bad sync and framerate is too large, but i think i've found the problem. i converted an avi to an mpeg and it tore the original 1 gig file into 4 separate files 650 megs each at high quality and 320x240 res. maybe the gigabeat's cpu can't handle such a large, high quality file? all my other, smaller mpegs still have good framerate and sync.
Logged
Gigabeat F40

Offline Mad Cow

  • Member
  • *
  • Posts: 445
Re: updated mpegplayer
« Reply #3 on: April 03, 2007, 07:42:18 AM »
There should be no problem, I have a ~650 mb. file at perfect quality and it plays fine.
Logged
iRiver H10 5GB, Gigabeat F40, Gigabeat S60, all rockboxed. :P

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: updated mpegplayer
« Reply #4 on: April 03, 2007, 10:37:24 AM »
I played a 1.3 gb file at 320x176 (1150kbps) without any syncing problems at all.

Trim the first five minutes of one of those, and see if that's in sync, but basically speaking, Filesize is not a problem. Bitrate might be a problem, but you'd need to get significantly higher than 1150kbps before frameskipping can't keep up the Sync (the 1150 didn't do frameskipping except during disk spinups) and most of my 320x240 files at decent resolutions don't either.

So please, try to cut the file and create a sample that demonstrates the problem, or better yet, try the cut version on your PC. If your program insists on cutting the file without asking you, it's very possible that it's introducing the syncing errors because the audio is often not in the same place as the video at a certain point in the file.
Logged

Offline aznofazns

  • Member
  • *
  • Posts: 44
Re: updated mpegplayer
« Reply #5 on: April 03, 2007, 04:55:10 PM »
here's a 25 megabyte sample of the video clip i was referring to earlier with the extreme lag. i tried playing it on my computer and it's flawless, but it's laggy on my gigabeat. resolution is 320x180ish, audio bitrate is 128 kbps, audio sample rate is 44.1 khz.

http://www.wikiupload.com/file_store/upload_1/12164458784612bcbd27128.MPG
Logged
Gigabeat F40

Offline aznofazns

  • Member
  • *
  • Posts: 44
Re: updated mpegplayer
« Reply #6 on: April 03, 2007, 04:57:03 PM »
sorry bad link. this should be the correct one. click the windows media player-like button to download it.

http://www.wikiupload.com/download_page.php?id=117766
Logged
Gigabeat F40

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: updated mpegplayer
« Reply #7 on: April 03, 2007, 06:16:25 PM »
Firstly, the file you've uploaded is 320x240 at 30fps, which is higher than we claimed mpegplayer supports, so you shouldn't have expected it to play back properly in the first place.

Secondly: It works fine for me. AV sync is fine with a current build for me. How old was your build when you tried it?
Logged

Offline aznofazns

  • Member
  • *
  • Posts: 44
Re: updated mpegplayer
« Reply #8 on: April 03, 2007, 08:45:40 PM »
i updated my build yesterday. As for the resolution and fps, i thought the gigabeat was supposed to play video at 320x240, and the fps for all of my previous non-lag videos was around 30. For example, the Elephant's Dream sample video in the wiki is 320x240 and the fps is 30 and it plays back flawlessly. For the video i uploaded, there seems to be no sync problem, but there is still noticeable lag.
Logged
Gigabeat F40

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: updated mpegplayer
« Reply #9 on: April 03, 2007, 08:57:31 PM »
Yesterday. Please, CURRENT.

As of when I said what I said, it had no severe lag.

And no, if you look at the wiki page, 320x240 is 28fps, as a maximum. This was true until sometime yesterday. Any video that was 30fps MIGHT have played fast enough, but we never claimed it would, so the choppiness would be expected.

But you said bad sync, and I asked for an example of the problem. There is no problem with this current video, you tried to play an unsupported resolution/framerate combination, and it behaved exactly as we would've expected. You just didn't check the wiki page, and didn't know it wasn't supported. If you use a current build though, it's fine.

Is there still an AV sync problem, that you didn't give us a sample of?

And, elephant's dream should be 24fps, film frame rate.
« Last Edit: April 03, 2007, 09:03:27 PM by Llorean »
Logged

Offline aznofazns

  • Member
  • *
  • Posts: 44
Re: updated mpegplayer
« Reply #10 on: April 04, 2007, 04:21:40 PM »
No, somehow the A/V sync disappeared. Sorry for the fps technicality. Do u know of any conversion program that allows me to set the fps? I have WinAVIVideoConverter but there doesn't seem to be a fps setting.
Logged
Gigabeat F40

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: updated mpegplayer
« Reply #11 on: April 04, 2007, 04:38:57 PM »
30 should work with new builds. WinFF on the plugin's wiki page lets you easily set fps.
Logged

Offline aznofazns

  • Member
  • *
  • Posts: 44
Re: updated mpegplayer
« Reply #12 on: April 04, 2007, 05:03:08 PM »
wow it's amazing how a one-day-later build could have prevented my problem. i just installed the current build and video is flawless. next time i'll be sure to have a current build before asking a question. thanks for the help.
Logged
Gigabeat F40

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Plugins/Viewers
| | |-+  updated mpegplayer
 

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

Page created in 0.075 seconds with 14 queries.