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
| | |-+  Playing self-encoded files with mpegplayer
« previous next »
  • Print
Pages: [1]

Author Topic: Playing self-encoded files with mpegplayer  (Read 1255 times)

Offline Vortex

  • Member
  • *
  • Posts: 155
Playing self-encoded files with mpegplayer
« on: May 11, 2007, 05:09:47 PM »
Hi everyone,

I was trying out the mpegplayer plugin on my new Sansa. First I tried the sample "Elephant's Dream" movie clip which played fine. The video was slow at some parts, but the frameskip kept the audio and video in sync. It worked (almost) perfect.

I then tried to convert some of my own videos using mencoder and the commandline posted in the wiki.

This is what I used to convert my files:
Code: [Select]
mencoder [file] -of mpeg -oac lavc -lavcopts acodec=mp2:abitrate=192 -af resample=44100:0:0 
-ovc lavc -lavcopts vcodec=mpeg2video:vbitrate=469 -vf scale -ofps 15 -zoom -xy 224 -o output.mpg

I tried different frame- and bitrates but I'm always experiencing the same problem. The audio and video are perfectly in sync for a short time, then the video suddenly takes some huge leaps ahead of the audio. Then the video becomes very laggy since it has to wait for the audio to catch up. Once they are in sync again it will stay like this for some time, but eventually the video will skip ahead again.
It looks like the video suddenly skips 2 seconds or so ahead.

The files play perfectly fine on my computer, though.

Since the sample video played fine, I'm almost sure that I'm doing something wrong while encoding.

Any ideas? ???
« Last Edit: May 11, 2007, 05:11:42 PM by Vortex »
Logged

Offline X86

  • Member
  • *
  • Posts: 142
Re: Playing self-encoded files with mpegplayer
« Reply #1 on: May 12, 2007, 03:24:48 PM »
I recommend you to use WinFF to encode videos,

Winff http://biggmatt.com/winff/downloads/winff-version-0.29.html

and use the xml file to override WinFF's xml : http://www.rockbox.org/twiki/pub/Main/PluginMpegplayer/presets.xml
Logged

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

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

Page created in 0.065 seconds with 16 queries.